euroargodev / argodmqc_owc

Argo float salinity calibration software
Apache License 2.0
10 stars 3 forks source link

Migrating repo from NOC to EUROARGODEV #5

Closed gmaze closed 4 years ago

gmaze commented 4 years ago

In order to migrate the repository from NOC to github servers at EUROARGODEV:

Requirements:

Migration procedure:

@edsmall-bodc, @matdon17 : I'll be happy to do this if you want me to.

gmaze commented 4 years ago

@edsmall-bodc do you confirm that the repo is located here: https://git.noc.ac.uk/bodc/owc-software-python

the last master commit was 3 weeks ago ...

(since I have seen other links based on your NOC git fork at https://git.noc.ac.uk/edsmall)

edsmall-bodc commented 4 years ago

@gmaze This is correct, I have been working mostly locally here to experiment and get the plots correct because my internet and VMware have been misbehaving.

My plan is to move the code across after the migration. I wasn't sure if it was happening last week or this week, so just kept it locally on my machine

gmaze commented 4 years ago

also @matdon17 @edsmall-bodc do you agree to change the name of the repo from "owc-software-python" to "owc-software" ? It's usually poor practice to have the language in the repo name

edsmall-bodc commented 4 years ago

I agree to the above. The initially naming scheme was purely because I wasn't sure if there was a company matlab version.

I realise euroargodev doesn't have the matlab version, but if the code is eventually moved to the same place as the matlab version, what title would you suggest to distinguish between the two?

matdon17 commented 4 years ago

Agreed re: python, but isn't 'software' redundant? Maybe just owc? or argodmqc_owc?

gmaze commented 4 years ago

to be honest I don't know, it's just that renaming a repo is not really recommended, so we may want to have it right from the beginning. but this is not dramatic

and yes "software" is not necessary either

I like your "argodmqc_owc" other possibilities: pyowc psalcalib

gmaze commented 4 years ago

let's go for "argodmqc_owc" ?

edsmall-bodc commented 4 years ago

I'd like to keep the owc to honour the original creators.

owcpy, to follow the numpy, scipy, etc convention?

You want me to rename the gitlab version before you move it?

gmaze commented 4 years ago

You want me to rename the gitlab version before you move it?

Nope, not needed

gmaze commented 4 years ago

almost there !

gmaze commented 4 years ago

Hi there, All done ! Please have a look to the readme and tell me the access rights settings you want !

gmaze commented 4 years ago

Please note, that there is a possible "transfer" of issues between repositories,

so it is feasible to migrate everything from https://github.com/euroargodev/User-Acceptance-Test-Python-version-of-the-OWC-tool to here as well.

I think it would be more consistent to have everything in the same place, and this is still feasible since there is only 2/3 contributors to the alpha-testing

edsmall-bodc commented 4 years ago

Looking at the settings and README now. I agree to moving issues to be with the code.

edsmall-bodc commented 4 years ago

@gmaze Should I be added to the list of people highlighed here: https://github.com/orgs/euroargodev/people

I will make a new branch tomorrow, write some code, and push it, and make a merge request to check everything is working correctly, but all looks good from my side here.

In terms of access, I think at this point no merge request should be able to be merged in without

  1. My consent
  2. Passing all unit tests
  3. Passing static code checks

Anyone should be allowed to look at and clone the code though, unless anyone has any issues with this?

I have successfully cloned the repo on my machine and everything runs!

gmaze commented 4 years ago

@gmaze Should I be added to the list of people highlighed here: https://github.com/orgs/euroargodev/people

I guess yes ! But this is supposedly @kamwal role to invite you to the euroargodev organisation (ask her) In the mean time, I have invited you to argodmqc_owc and your invitation is pending ... (you'll be listed as external collaborator until @kamwal get you in)

I will make a new branch tomorrow, write some code, and push it, and make a merge request to check everything is working correctly, but all looks good from my side here.

Good

In terms of access, I think at this point no merge request should be able to be merged in without:

  1. My consent
  2. Passing all unit tests
  3. Passing static code checks

All off these can be enforced in https://github.com/euroargodev/argodmqc_owc/settings/branch_protection_rules

The simplest is to list as Maintainers anyone to be authorized to push

gmaze commented 4 years ago

In the mean time, I'm just adding a binder link to play with the repo as it is, and then I'll move any changes to my fork

edsmall-bodc commented 4 years ago

At some point it would be nice to have a chat about binder - maybe when you have some time in July. Would just like to understand what it currently is, and (seeing as it's in a testing phase) what it is trying to be!

gmaze commented 4 years ago

yes, and it has a lot to do with the packaging of the software, pip distribution, where to put and how to handle ancillary data, etc ...

gmaze commented 4 years ago

I think the can close this issue when merging https://github.com/euroargodev/argodmqc_owc/pull/4

edsmall-bodc commented 4 years ago

I'll review and pull it in during phase 2 of testing

gmaze commented 4 years ago

@edsmall-bodc , why would you wait ? this is simply a better display of what was done to the code for migrating to github and adding CI with Actions.

edsmall-bodc commented 4 years ago

@gmaze I'm not "waiting", I'm just busy sorting something else out at the moment. Phase 2 is due to start next week (probably mid-week), and I just need to be sure that everything is ready for this phase (my priority).

This requires a review on my part, and it uses some things that I haven't used before. I was planning on reviewing it this weekend and checking out the new stuff you have added properly. I know what it does, but I want to know how it works before I merge it into the master.

If all is well, I would merge it in on Monday.

gmaze commented 4 years ago

sorry, I didn't meant that you're not busy with other things !