-
Notifications
You must be signed in to change notification settings - Fork 22
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
Single module #269
Single module #269
Conversation
…at build time. Instead, inject a tag or commit during build time. GitTag will be used if set, falling back on GitCommit
|
Can you explain this further? Certainly we would need to increment the version of stanza, but I'm not clear on why the whole versioning system needs to be reworked. Are you sure? |
We would get the stanza module version from
We used a package to read the module version when calling
We could set the version in the |
Thanks for explaining. I see what you're saying. I think we should look for a way to use Ideally, the release process we have (creating a github release) would set the version based on the git tag ( Thoughts on this approach? |
I believe this is exactly what I am doing. When running in CircleCI, we will use the git tag. So the same release process exists:
I added |
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.
Got it. Sorry I missed that.
LGTM (assuming unit tests are fixed)
|
|
…er solution than more performance
|
|
Closing for now. I am not sure what is causing the Linux failures. I will circle back in the future. |
Description of Changes
Converted Stanza to a single module. Managing multiple modules complicates the release process. Now that Stanza's core has been implemented into Open Telemetry, we can safely manage Stanza as a single module.
This meant the existing versioning system would need to be replaced. I opted for variable injection at build time by leveraging GIT_TAG and GIT_COMMIT environment variables.
Makefile will set GIT_COMMIT.
If GIT_TAG is set, it will take precedence over GIT_COMMIT
TODO: Determine the new Stanza version and update the changelog. I believe this is technically not a breaking change, individual packages can still be imported and used by external applications.
Please check that the PR fulfills these requirements