⭐ NOTICE: EHR Repositories moving to GitLab

repository
ehr

(Robby O'Connor) #21

I’d like to – I just don’t wanna deal with drama if I do it. I had my quota of LibreHealth drama for the foreseeable future


(Saptarshi Purkayastha) #22

So please let the EHR team decide things for that project. I don’t believe the infra team should force other teams.


(Robby O'Connor) #23

Sorry – we’ve been talking about this for over a year and we agreed between the end GCI and GSoC… so trying to just hold them to that :slight_smile: Plus – it’d be nice if we unified things.


(Tony McCormick) #24

@robby I talked to @aethelwulffe and @teryhill and we can do this toward the end of next week, it’s Easter weekend, so we’ve got family stuff going on.

Before we “switch” let’s make sure ALL the repos/issues,etc we are currently using are replicated, exactly as is (as much as possible). This might mean flushing the current stuff and resyncing.

Maybe Wednesday, we replicate them and I test, then we cut over Thursday and reverse the mirrorring. If there are issue we can revert back to Github after everyone has had a chance to shake out any issues and questions.

We definitely want to keep a github mirror of all repos, because no one I have ever heard of looks at GitLab to find any projects or personal work examples.

We’ll somehow need to tell people (clearly, on Github) that the Github stuff is a mirror and the master repo are on GitLab.

People will be able to continue to pull from github for installs and things, only the developers will need to switch over to gitlab.


(Robby O'Connor) #25

For Issues/PRs – they will migrate over – I will show up as author of issues where users do not have accounts on GitLab, but it will be clear who the original authors are – see current issues/PRs for what it will look like.

I planned on syncing and re-importing.

As I said prior – I will make a clear message at the top of the repo that this is a mirror. Will touch base later this week. VERY happy - to see this moving forward @tony!!! Sorry for being so aggressive in pushing this – just trying to make things more unified.


(Robby O'Connor) #26

I have nuked the repository on the GitLab side for now – will re-import soonish.


(Robby O'Connor) #27

@tony @teryhill @aethelwulffe How is Wednesday for the move?


(Tony McCormick) #28

Like I said, do the replication Wednesday and I’ll check it. If it looks good we can cut it over (ie: lock the issues and reverse the mirrors on Thursday).

Since many of us will want to use our github accounts to login to gitlab can you use that for the issue ownership, in some way?


(Robby O'Connor) #29

Okay – I will do it on Wednesday – just following up.


(Michael Downey) #30

FYI …

Even if using a GitHub account for registration & signing in, folks will need to still “Register” for the first with GitLab (and create a user ID) before they can have an actual account for mentioning, assignment, etc. This can be done with the GitHub account to link it, but you’ll still have to provide GitLab an email address, user ID, etc. the first time. (It is possible that there will already be someone with one’s GitHub user ID on GitLab.)

Thereafter you can continue to sign in with GitHub, Google, etc. as well as via email address & password if desired.


(Robby O'Connor) #31

If you want your contributions to be under your name – you MUST get a GitLab account by Wednesday 1600 UTC.


(Tony McCormick) #32

Thanks, looks like I did that… @tmccormi Member since August 30, 2016


(Tony McCormick) #33

@robby please, please drop the attitude in your posts/emails.


(Tony McCormick) #34

Art and Terry both already have GitLab accounts


(Robby O'Connor) #35

I did – cleaned up the posts – I just added emphasis – wasn’t meant to have an attitude. Ah the perils of text-based communication :slight_smile:


(Robby O'Connor) #36

The migration is in progress.


(Robby O'Connor) #37

FIN.


(Robby O'Connor) #38

I have also configured mirroring from GitLab to GitHub.


(Tony McCormick) #39

We are working thru this as we speak. Most of the Interns failed to register on GitLab so their issues and PR’s are under Robby, but notes have been added to all posts that show the original owner. Once they register we can assign them back.

When we are done the repo names will be normalized as follows:

LibreHealth EHR Base - librehealth/lh-ehr.git

LibreHealth EHR Test Tools - lh-ehr-test-tools.git

LibreHealth EHR Contribs - lh-ehr-contribs.git

LibreHealth EHR FHIR API - lh-ehr-fhir-api.git

LibreHealth EHR Design Doc Assets - lh-ehr-design-doc-assets.git

LibreHealth EHR API - lh-ehr-api.git

for any repos you are using just use the following command in the repo (or UI)

git set-url origin git@gitlab.com:librehealth/REPO-NAME.git (if you have uploaded a SSH KEY)

or

git set-url origin https://userid@gitlab.com/librehealth/REPO-NAME.git

This link will get you a filtered list of just the EHR repos … https://gitlab.com/librehealth?utf8=✓&filter=ehr

Please test things tomorrow, we want to lock the ISSUES and reverse the mirrors sometime late Thursday afternoon.


(Tony McCormick) #40

Not quite finished @r0bby … as discuss please rename the repos to the normalized list we agreed on.