-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat: go-framework init profile and extension #1800
Conversation
4acc1a3
to
4b1d658
Compare
4b1d658
to
9903385
Compare
2a60cc7
to
6feef2c
Compare
36dfed6
to
3ae1311
Compare
9fbe6a8
to
4e263b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing my approval so we fix the supported bases
Corrected to base 24.04 for go and commented all platforms except amd64 |
arm64: | ||
ppc64el: | ||
s390x: | ||
# arm64: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps include a note explaining what should be done including which command to run to check the architecture, e.g., uname -m
and how to interpret the command output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Added comment with dpkg --print-architecture
command, as that is the one giving the correct name (debian architecture names are used)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Added comment with dpkg --print-architecture
command, as that is the one giving the correct name (debian architecture names are used)
This PR implements the spec ISD153, "12-Factor Go Support" for charmcraft.
For that, a new init profile called "go-framework" and a new go extension, called "go-framework" are needed. These additions are similar to the flask and django init profiles and extensions.
For the Go profile, the base 24.04 is used.
Code in extensions is refactored, so all 12 factor extensions, that are similar, inherit from _TwelveFactorBase.