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

Implements version label should display what the current version (build) #1453

Merged
merged 3 commits into from
Feb 12, 2020

Conversation

wivern
Copy link
Contributor

@wivern wivern commented Feb 6, 2020

Closes OHDSI/Atlas#1910

Implementing the version display requires some additional rules of naming conventions.
I'd like to propose the following rules:

  • Development build remains the SNAPSHOT qualifier
  • Release candidates should be with RC1, RC2 and so on qualifier to be displayed correctly on the home page
  • Release version should be without any qualifier

The similar rules are used by the Spring team.

Milestone issues and release notes links

There was 4 additional options added to the pom.xml.

  • <buildinfo.atlas.milestone.id>22</buildinfo.atlas.milestone.id>
  • <buildinfo.webapi.milestone.id>25</buildinfo.webapi.milestone.id>
  • <buildinfo.atlas.release.tag>*</buildinfo.atlas.release.tag>
  • <buildinfo.webapi.release.tag>*</buildinfo.webapi.release.tag>

They point milestone id and release tag for Atlas and WebAPI repositories.
For development and release candidate builds which has no release the release.tag value should be an asterisk (*) since spring-boot-maven-plugin doesn't allow null values. For a release build the release.tag should be the release tag name as it created on the github (it's case sensitive). This allows making a direct link to the release notes of the proper version rather than a link to the whole release notes list.

Additionally name of the branch and commit id from where a build was assembled are included to the build info available by the WebAPI/info. This should provide to answer the frequent questions like the is this issue included in the build. And the life of people should be a little easier.

@wivern wivern requested a review from anthonysena February 6, 2020 16:07
@anthonysena anthonysena self-assigned this Feb 12, 2020
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.

ATLAS version label should display what the current version (build) is, including RC candidates
2 participants