--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/5db41fbb-a87f-4eb2-b554-fe0a675188f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
A few thoughts:
I agree with Sebastian on the build number: let’s go with the incremental build number without a reset. As milestones near, the build # is often used in conversations, issue numbers, etc.
Regarding the build/version file itself, here’s one way I’ve seen it done: the file named “VERSION” exists in source, and its contents read like a template, e.g.:
Build: $BUILD$
Branch: $BRANCH$
Timestamp: $DATE$
Version: $VERSION$ // or, this is the current value of the service/product and is updated manually. It is from this file that the existing ‘service signature’ API call gets its service version # from
The dev build environment simply ignores this file. The official build environment, during compile time, substitutes in the correct values. This could be a gradle task that simply is not run on the dev environment, but is included on the Jenkins config. What do ya’ll think?
Overall, I see the VERSION file referenced directly (e.g. which service did I just download?), and used programmatically to show the typical “Help-About” information in the application, and possibly to check for compatibility, etc.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/bfa72732-d850-47af-8ced-de6315a0fa31%40googlegroups.com.
To post to this group, send email to openl...@googlegroups.com.
Hi Paweł, sounds good to me.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/270a6e25-6ad9-42d9-9681-4a2d81c004a1%40googlegroups.com.
Ah, you are probably thinking about the dev box scenario, and perhaps testing. I say just return the tokens, so on a dev machine the build # returned from the endpoint is “$BUILD$” or whatever the token is.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/704a2a66-1b02-4046-9124-37397e983848%40googlegroups.com.