Organizing modules on Bintray

Thanks guys!

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

@raff this is great!

At this point I still think my suggestion (omod vs omod-community) is valid, but I don’t have any spare cycles to think about it, so if you’re not convinced yourself I would suggest we just proceed with putting everything in omod as you’ve currently done.

(@reubenv, we should switch the Addon Index project to start indexing from Bintray and go live with it now)

So we will stick to using one repo for now.

I’ve written down the migration path for Bintray/Addons from Modulus at Bintray Migration Path. Please have a look at it and see if I missed anything.

Please also review the new Module Release page.

Let’s try to set some deadlines.