Skip to content
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

Dynamic versioning #20

Merged
merged 6 commits into from
Apr 3, 2023
Merged

Dynamic versioning #20

merged 6 commits into from
Apr 3, 2023

Conversation

ThePrez
Copy link
Member

@ThePrez ThePrez commented Apr 1, 2023

No description provided.

ThePrez added 3 commits March 31, 2023 19:12
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
@ThePrez ThePrez requested a review from jeber-ibm April 1, 2023 00:13
ThePrez added 3 commits March 31, 2023 19:56
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
Copy link
Member

@jeber-ibm jeber-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to approve this because I want to see what the new build looks like. I think I would still like a change flag in the version string that is produced.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this is adding classes to the .gitignore. Could cause problems if we really add a BuildInfo class later.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will run into inconvenience if we try to add a git-managed BuildInfo.java, so we aren't at that much risk of accidental ignores

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this new class need a prolog, like all the other classes in JTOpen

Copy link
Member Author

@ThePrez ThePrez Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. It should have something. I am not a fan of the classic prolog since we can use short abbreviated copyright/license headers. Still, probably should use the same for consistency's sake

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked having the change flag in the version string. That way we can easily tell what version of code we have instead of having to look up the versioning information. Can we keep that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to discuss this further. I wouldn't want to remove something useful but I also don't understand the utility of the change flag.
Maybe there is a solution that can stay mostly automated but still have the same usefulness. What if this was generated from the commit id?

@jeber-ibm jeber-ibm marked this pull request as ready for review April 3, 2023 12:28
@jeber-ibm jeber-ibm merged commit 494cf10 into IBM:main Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants