Organizing modules on Bintray

Reviving this thread as I was finally able to complete the Modulus to Bintray script.

It’s at https://github.com/openmrs/openmrs-contrib-modulus2bintray

I’ve run it a couple of times to verify it works correctly. All modules from Modulus and Artifactory are now at https://bintray.com/openmrs/omod. (I haven’t set it up to run periodically yet so it will get out of sync soon).

There seems to be a bug in Bintray, which doesn’t display the latest released version of a module correctly, which I reported to the Bintray team and I’m waiting for their response.

Also, if we are to go after Darius suggestion, we need to identify, which modules should be hosted at https://bintray.com/openmrs/omod (anything that has ever been bundled or core-supported module) and which at https://bintray.com/openmrs/omod-community (everything else).

@jthomas, please share this update on the pm call, thanks!

@darius and @reubenv, a couple of REST requests for the new addons tool integration: https://bintray.com/api/v1/repos/openmrs/omod/packages https://bintray.com/api/v1/packages/openmrs/omod/coreapps?attribute_values=1 (note the “Maintainers” attribute) https://bintray.com/api/v1/packages/openmrs/omod/coreapps/versions/1.14.0?attribute_values=1 (note the “OpenMRS Core Compatibility” and “Downloads (modulus)” attributes on the version" https://bintray.com/api/v1/packages/openmrs/omod/coreapps/files

See https://bintray.com/docs/api for more

3 Likes