Include Cohort Builder OWA in OpenMRS Bintray Account

cohort-builder
releases
Tags: #<Tag:0x00007f88c66c76a8> #<Tag:0x00007f88c66c7568>

(Bruce Bigirwenkya) #1

I need help adding the Cohort Builder OWA to the OpenMRS Bintray account. This is for the version 1.0.0 release.

Link to the zip file: https://bintray.com/enkya/owa/openmrs-owa-cohortbuilder

@raff :slightly_smiling_face:


(Rafal Korytkowski) #2

It cannot be added twice.

It was created under OpenMRS account at https://bintray.com/openmrs/owa/openmrs-owa-cohortbuilder some time ago.

Do you want to release a new version of that?


(Bruce Bigirwenkya) #3

Yes @raff . The initial was a beta release


(Darius Jazayeri) #4

Bruce, Rafal,

Ideally releasing the zip file to bintray would happened via a script run by the CI server.

What CI are we using to build the cohort Builder now?


(Bruce Bigirwenkya) #5

@darius we are using Travis CI. I generated the zip file after a deployment to my fork’s master. The bintray account details I was using for the deployment were to my bintray account


(Rafal Korytkowski) #6

I’ve added your user to OpenMRS Bintray so you can release cohortbuilder with your account. Please accept the invitation you should have received via e-mail.

I also fixed the config to release from a tag instead of master at https://github.com/openmrs/openmrs-owa-cohortbuilder/commit/22ec25ed04ad72f61a45a348b7341129db3ab721 and added release instructions at https://github.com/openmrs/openmrs-owa-cohortbuilder/blob/master/README.md#releasing

The 1.0.0-beta was released to Bintray as 1.0.0, which I fixed to be 1.0.0-beta. Please release 1.0.0 following the instructions after you approved invitation.


(Patrick Luboobi) #7

Hello @raff, Could you please add me too as a user on openMRS Bintray for the release of Add-on Manager.


(Bruce Bigirwenkya) #8

@raff thanks for the help.

I am however unable to create a release on the cohort-builder repo.

The tags I create locally can’t be pushed upstream. So my fork shows the version 1.0.0 release but the upstream does not get those tags after a PR is merged


(Rafal Korytkowski) #9

I see. You have to be at least /dev/3 to do a release. Please contact @dkayiwa to know how you can be upgraded :slight_smile:

Meanwhile, I’ve released it for you.


(Daniel Kayiwa) #10

@elbertbiggs360 ever seen this? https://wiki.openmrs.org/display/RES/OpenMRS+Developer+Stages


(Patrick Luboobi) #11

Hello @raff, the travis build gives 401 unauthorized while trying to upload the zipped OWA to Bintray’s openMRS account. I guess this is because am not a member of the account. Can I please be added so as to enable the upload. My account is https://bintray.com/patlub


(Bruce Bigirwenkya) #12

@dkayiwa yes I have seen it before. I shall review it again

Thanks @raff and @dkayiwa


(Rafal Korytkowski) #13

Could you please explain what are you trying to release and from where? The cohortbuilder must be released from https://github.com/openmrs/openmrs-owa-cohortbuilder and not your fork.


(Patrick Luboobi) #14

Am trying to release Add-On Manager. You already added it to the openMRS Bintray account. But I suppose I need to be a member for the zipped file to be uploaded after the travis build.


(Rafal Korytkowski) #15

@patrick, since it’s under github.com/openmrs it needs to be released from there. I’ve configured credentials and added instructions at https://github.com/openmrs/openmrs-owa-addonmanager#releasing

Let me know, if you have privileges to release from there or if not what version should be released and I can trigger it.


(Patrick Luboobi) #16

I don’t have the privileges to release. But am trying to releases 1.0.0-beta. Though after your commits, the travis build says Skipping a deployment with the Bintray provider because this is not a tagged commit Thanks for the help @raff


(Rafal Korytkowski) #17

The release is done from tags and not from master, thus the message. If you configure it to be done from master, it will release a new version with each commit, which we do not want.

The release is out.


(Patrick Luboobi) #18

Thank @raff you were very helpful.


(Patrick Luboobi) #19

Hello @raff we have made some changes and we wish to release version 1.0.0-beta-2 of Add On Manager. Link to repo https://github.com/openmrs/openmrs-owa-addonmanager


(Daniel Kayiwa) #20

@patrick i already did that.