Clarification needed on adding modules to Bintray


(Reuben Varghese) #1

I have noticed that our wiki doc for module releases contains info for the OpenMRS Bintray organisation members to be able to include other modules into the OpenMRS repo on Bintray. However, I noticed that it mentions that we must link the module with the module author’s bintray page rather than upload it to our repo. This results in a link being created but the module ultimately is still stored in the author’s repo itself and can only be accessed as an external user.

For example I have recently linked a module called Facelist. Inspite of linking it, I can only access it using [this url] instead of something like https://bintray.com/openmrs/omod/facelist(https://bintray.com/mozzy/omod/facelist)

Add-ons leverages the Bintray API which has a cap on the number of times we can use it to access external repositories( we can use the API to access the OpenMRS repo any number of times). We use the API to index module details. So, if we just link modules , we’ll soon run out of free API calls.

Hence , I wanted to know the correct approach keeping in mind the cap on the number of free API calls available.

Cc: @dkayiwa @darius @raff


(Reuben Varghese) #2

Bumping this thread up


(Darius Jazayeri) #3

I thought that I checked and verified that this wasn’t an issue, and that the Bintray REST API allows us to query things that are linked to the the OpenMRS repo via our own repo. Are you certain this is an issue?


(Reuben Varghese) #4

I just checked the API as well. On normally trying to visit bintray.com/openmrs/omod/{external-linked-module-name} , we receive a 404 error. However, I tried using the API to do the same and I am successfully able to get the module details. That’s good news indeed and simplifies the task of managing external modules much easier.

Thanks!