Gitbox migration completed - What you need to do

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Gitbox migration completed - What you need to do

Aldrin Piri
(quick note:  a markdown formatted version of this content is available at
[3])

All,

There was a flurry of messages as we sought to get some quick details out
about our migration to the ASF Gitbox system and I wanted to take this
message to consolidate those items into a comprehensive and less hastily
composed message.

There are a few different paths to consider and I will try to enumerate
those with the associated steps, so please choose your own adventure.
Please note that this change does affect ALL repositories in the NiFi
community and all references to NiFi refer to our efforts as a whole.

You have one or more repositories checked out. These repositories are
either from GitHub (in the case of NiFi, https://github.com/apache/nifi) or
git-wip (in the case of NiFi,
http://git-wip-us.apache.org/repos/asf/nifi.git). Each of the repositories
will need to be handled based on your role in the community and desired
functionality.
<https://gist.github.com/apiri/1c934fb8b5b3b38e1b01a70f1cfe4be7#i-am-an-apache-nifi-contributor>I
am an Apache NiFi contributor

   -

   *GitHub*: There are no actions required from you. You can continue to
   make use of the workflow already in place.
   -

   *git-wip*: You will need to update your remote to point to the new
   gitbox location. This can be accomplished via git remote set-url origin
   https://gitbox.apache.org/repos/asf/nifi.git

<https://gist.github.com/apiri/1c934fb8b5b3b38e1b01a70f1cfe4be7#i-am-an-apache-nifi-committer-and-want-to-keep-the-same-workflow-with-the-git-wip-repositories>I
am an Apache NiFi committer and want to keep the same workflow with the
git-wip repositories

The key distinction is that the ASF Gitbox service considers both GitHub
and Gitbox repos as writable repositories. This is in contrast to before
the migration where GitHub was strictly a mirror of the git-wip
repositories.

   -

   *git-wip*: You will need to update your remote to point to the new
   gitbox location. This can be accomplished via git remote set-url origin
   https://gitbox.apache.org/repos/asf/nifi.git
   -

   *GitHub*: No changes are needed, but you will not be able to push to the
   repository.

<https://gist.github.com/apiri/1c934fb8b5b3b38e1b01a70f1cfe4be7#i-am-an-apache-nifi-committer-and-would-like-access-to-the-github-functionality-manually-closing-prs-pushing-to-the-github-repository-directly>I
am an Apache NiFi committer and would like access to the GitHub
functionality (Manually closing PRs, pushing to the GitHub repository
directly)

   -

   *git-wip* (Optional): You will need to update your remote to point to
   the new gitbox location. This can be accomplished via git remote set-url
   origin https://gitbox.apache.org/repos/asf/nifi.git
   -

   *GitHub*: You will need to


   1. link your Apache account to GitHub via https://id.apache.org/
   2. enable 2-Factor Authentication on GitHub for the account you wish to
   link at https://github.com/settings/security
   3. link your Apache & GitHub accounts to the GitBox service at
   https://gitbox.apache.org/setup/

*NOTE:* There are automated, periodic tasks that perform these
synchronizations. Give up to 30 minutes after completing each step should
you get stuck through the process before trying again.

   1. You should receive emails inviting you to various teams on GitHub.
   nifi-committers is the team needed for access to our repositories on
   GitHub
   2. You now have push access to the GitHub repositories in NiFi. You can
   choose to maintain the https:// url for the repositories, or, should you
   wish to leverage an existing GitHub ssh-key, you can update your remote for
   any repository via:

git remote set-url origin https://gitbox.apache.org/repos/asf/nifi.git

You can get the narrative of one committer setting this up and used as the
reference for the above list [1].

For more detail and background about GitBox, check out [2].

[1]
https://lists.apache.org/thread.html/e8c31b993eea119adcd7888f6669d2961bf6dd82184b0823a34e45a6@%3Cdev.nifi.apache.org%3E
[2] https://gitbox.apache.org/ [3] All,

There was a flurry of messages as we sought to get some quick details out
about our migration to the ASF Gitbox system and I wanted to take this
message to consolidate those items into a comprehensive and less hastily
composed message.

There are a few different paths to consider and I will try to enumerate
those with the associated steps, so please choose your own adventure.
Please note that this change does affect ALL repositories in the NiFi
community and all references to NiFi refer to our efforts as a whole.

You have one or more repositories checked out. These repositories are
either from GitHub (in the case of NiFi, https://github.com/apache/nifi) or
git-wip (in the case of NiFi,
http://git-wip-us.apache.org/repos/asf/nifi.git). Each of the repositories
will need to be handled based on your role in the community and desired
functionality.
<https://gist.github.com/apiri/1c934fb8b5b3b38e1b01a70f1cfe4be7#i-am-an-apache-nifi-contributor-1>I
am an Apache NiFi contributor

   -

   *GitHub*: There are no actions required from you. You can continue to
   make use of the workflow already in place.
   -

   *git-wip*: You will need to update your remote to point to the new
   gitbox location. This can be accomplished via git remote set-url origin
   https://gitbox.apache.org/repos/asf/nifi.git

<https://gist.github.com/apiri/1c934fb8b5b3b38e1b01a70f1cfe4be7#i-am-an-apache-nifi-committer-and-want-to-keep-the-same-workflow-with-the-git-wip-repositories-1>I
am an Apache NiFi committer and want to keep the same workflow with the
git-wip repositories

The key distinction is that the ASF Gitbox service considers both GitHub
and Gitbox repos as writable repositories. This is in contrast to before
the migration where GitHub was strictly a mirror of the git-wip
repositories.

   -

   *git-wip*: You will need to update your remote to point to the new
   gitbox location. This can be accomplished via git remote set-url origin
   https://gitbox.apache.org/repos/asf/nifi.git
   -

   *GitHub*: No changes are needed, but you will not be able to push to the
   repository.

<https://gist.github.com/apiri/1c934fb8b5b3b38e1b01a70f1cfe4be7#i-am-an-apache-nifi-committer-and-would-like-access-to-the-github-functionality-manually-closing-prs-pushing-to-the-github-repository-directly-1>I
am an Apache NiFi committer and would like access to the GitHub
functionality (Manually closing PRs, pushing to the GitHub repository
directly)

   -

   *git-wip* (Optional): You will need to update your remote to point to
   the new gitbox location. This can be accomplished via git remote set-url
   origin https://gitbox.apache.org/repos/asf/nifi.git
   -

   *GitHub*: You will need to


   1. link your Apache account to GitHub via https://id.apache.org/
   2. enable 2-Factor Authentication on GitHub for the account you wish to
   link at https://github.com/settings/security
   3. link your Apache & GitHub accounts to the GitBox service at
   https://gitbox.apache.org/setup/

*NOTE:* There are automated, periodic tasks that perform these
synchronizations. Give up to 30 minutes after completing each step should
you get stuck in the process before trying again.

   1. You should receive emails inviting you to various teams on GitHub.
   nifi-committers is the team needed for access to our repositories on
   GitHub
   2. You now have push access to the GitHub repositories in NiFi. You can
   choose to maintain the https:// url for the repositories or, should you
   wish to leverage an existing GitHub ssh-key, update your remote for any
   repository via:

git remote set-url origin [hidden email]:apache/nifi

You can get the narrative of one committer setting this up and used as the
reference for the above list [1].

For more detail and background about GitBox, check out [2].

[1]
https://lists.apache.org/thread.html/e8c31b993eea119adcd7888f6669d2961bf6dd82184b0823a34e45a6@%3Cdev.nifi.apache.org%3E

[2] https://gitbox.apache.org/

[3] https://gist.github.com/apiri/1c934fb8b5b3b38e1b01a70f1cfe4be7