[Ncep.list.fv3-announce] global-workflow master being renamed and other GitFlow changes coming!

Kate Friedman - NOAA Federal Kate.Friedman at noaa.gov
Mon Jul 15 19:16:18 UTC 2019


All,

The planned changes to the global-workflow repo on VLab have been
completed. The HEAD of the global-workflow repository is now the "develop"
branch. The "master" branch still exists but the HEAD no longer points to
it. The develop branch contains the history of the master branch and
commits to the HEAD of the repo will now be done on the develop branch. We
will keep the master branch around for a while, at least until we move to
GitHub.

Additionally the new "operations" branch has been established and has the
same permissions as "develop". Anyone wishing to push changes to the
operations branch will proceed similarly to how changes are pushed to the
develop branch (via Gerrit code-review while we're still on VLab).

Users who make fresh clones of the global-workflow repo will now see the
"develop" branch as the default instead of "master":

[Kate.Friedman at m71a3 global-workflow]$ git clone gerrit:global-workflow
./test
Cloning into './test'...
remote: Counting objects: 2749, done
remote: Finding sources: 100% (37082/37082)
remote: Total 37082 (delta 24780), reused 37066 (delta 24780)
Receiving objects: 100% (37082/37082), 129.63 MiB | 22.99 MiB/s, done.
Resolving deltas: 100% (24780/24780), done.
[Kate.Friedman at m71a3 global-workflow]$ cd test
[Kate.Friedman at m71a3 test]$ git branch
** develop*
[Kate.Friedman at m71a3 test]$


Those of you who do a "git pull" in an existing branch will see the develop
branch listed as a new addition:

[Kate.Friedman at m71a3 global-workflow]$ git pull
remote: Counting objects: 2739, done
remote: Finding sources: 100% (50/50)
remote: Total 50 (delta 36), reused 50 (delta 36)
Unpacking objects: 100% (50/50), done.
>From gerrit:global-workflow
* * [new branch]        develop                        -> origin/develop*


Users wishing to have a copy of the develop branch in clones made before
today will need to check it out like any other branch:

> git checkout develop


That should be it though! No other steps needed on your part! Please let me
know if you encounter any issues that you feel may be related to this
change. Thank you to the VLab admins for assisting with this!

Kate Friedman
NOAA/NWS/NCEP/EMC Engineering and Implementation Branch


On Wed, Jul 10, 2019 at 12:25 PM Kate Friedman - NOAA Federal <
Kate.Friedman at noaa.gov> wrote:

> All,
>
> *To follow the recent adoption of GitFlow procedures at EMC for our code
> management the global-workflow master will be renamed to "develop".*
> Additionally, a release branch called "operations" will be established and
> will have similar permissions as master/develop, meaning commits to it will
> be controlled by the global-workflow code managers. The operations branch
> will be used to prepare releases for hand-off to NCO, whereas the develop
> branch will continue to be used as the master branch has been.
>
> In preparing for this change a test repo was set up by the VLab admins and
> the master-to-develop name change was tested there. Results from those
> tests show that this change should not cause conflicts with your
> established branches/clones and should be relatively seamless. If you would
> like further details on how this change is accomplished let me know!
>
> *So what does this change mean to you?* It means:
>
>    1. When you make a new clone of global-workflow you will get the
>    "develop" branch as your default now instead of "master". Proceed as you
>    normally would from there.
>    2. You will sync your branches with the "develop" branch instead of
>    the "master" branch (git merge origin/develop).
>    3. Users will want to do a "git fetch" in their existing clones to
>    ingest the change (one time thing after rename is completed). You can also
>    do a "git pull" but only if you don't have uncommitted changes in your
>    local clone. A "git fetch" will pull down updated information from VLab but
>    won't integrate changes into your current branch.
>    4. Pushes to the HEAD of the repo (i.e. currently "master") for
>    review/commit will go to the develop branch instead of the master branch
>    (mostly for code managers knowledge).
>    5. Learning to say "develop" instead of "master". (<sarcasm>HARDEST
>    part of this! I won't lie to you, this bit may take a while, especially if
>    you're still saying "trunk".</sarcasm>)
>
> *It is the intention of the global-workflow code managers to make these
> changes within the next week.* There is one commit currently in review
> that I'd like to complete before making the change. I will let you all know
> when the changes are done or if we decide to delay the change a bit more.
>
> FYI, when we move the global-workflow repo to GitHub it will start with
> the develop branch as the default/HEAD branch so you should be used to it
> by then!
>
> Let me know of any questions or concerns you may have about this change!
> Thanks all!
>
> Kate Friedman
> NOAA/NWS/NCEP/EMC Engineering and Implementation Branch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.lstsrv.ncep.noaa.gov/pipermail/ncep.list.fv3-announce/attachments/20190715/7e2f810e/attachment.html 


More information about the Ncep.list.fv3-announce mailing list