-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Native Package Names and Directory Structure #1623
Labels
Milestone
Comments
ThisaruGuruge
added
Type/Task
Area/Build
Issues related to stdlib releases and build process
labels
Jul 8, 2021
3 tasks
3 tasks
3 tasks
3 tasks
3 tasks
Merged
3 tasks
This was referenced Jul 8, 2021
This was referenced Jul 8, 2021
3 tasks
This was referenced Jul 8, 2021
This was referenced Jul 9, 2021
3 tasks
3 tasks
3 tasks
Merged
3 tasks
3 tasks
3 tasks
3 tasks
This was referenced Jul 9, 2021
This was referenced Jul 9, 2021
Merged
3 tasks
Merged
3 tasks
3 tasks
3 tasks
Merged
3 tasks
Merged
3 tasks
3 tasks
Merged
3 tasks
3 tasks
Merged
3 tasks
3 tasks
3 tasks
Closing since all the modules completed this task |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Currently, some of the Standard Library packages are using
org.ballerinalang.stdlib.<package_name>
package prefix, while some are usingorg.ballerinalang.<package_name>
, and some are usingio.ballerina.stdlib.<package_name>
.These package names must align with each other and comply with the common convention. The convention is to use
io.ballerina.stdlib.<package_name>
.Along with this, the artifact group name (defined in the
gradle.properties
file, under thegroup
field) should also be updated. Currently, almost all the Standard Library modules are using theorg.ballerinalang
as the group name. This should be changed toio.ballerina.stdlib
.Along with these two tasks, the directory naming is also should be updated, as per the #1619
The idea is to remove the package name from the submodule directories, as follows:
io-native
->native
io-ballerina
->ballerina
Steps:
settings.gradle
. Gradle plugin version must be bumped to 0.10.0build-config:checkstyle
withcheckstyle
, and change thedownloadMultipleFiles
task todownloadCheckstyleRuleFiles
.group
ingradle.properties
toio.ballerina.stdlib
io.ballerina.stdlib.<ballerina_package_name>
Ballerina.toml
(and other toml files) to pick the jars from the correct locationArchive Error Log
step from thepull-request.yml
and thebuild-timestamped-master.yml
files../build.gradle
file as follows:ballerinaStdLibs "org.ballerinalang:auth-ballerina:${stdlibAuthVersion}"
to
ballerinaStdLibs "io.ballerina.stdlib:auth-ballerina:${stdlibAuthVersion}"
Let's update the list once this task is completed.
Level 1
Level 2
Level 3
Level 4
Level 5
Level 6
Level 7
Level 8
The text was updated successfully, but these errors were encountered: