Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: Initial Clearing
    • Component/s: Git
    • Labels:
      None

      Description

      The Apache Isis community has voted and decided to move the primary source control for Isis from svn to git. Please create a git repo for isis and migrate the code to that.

      The Vote thread: http://markmail.org/thread/dudvrvmthzbkirdw
      The Vote Result thread: http://markmail.org/thread/i3qddjyg3f73ivi6

      Dan Haywood (the current PMC chair for Isis) will be the contact for infra if there are any issues.

        Issue Links

          Activity

          Hide
          danhaywood Dan Haywood added a comment - Reporter
          can I ask why this ticket is in a state of "WaitForUser"? What do you need from me... there's no explanation in comments so I'm at a loss...
          Show
          danhaywood Dan Haywood added a comment - Reporter can I ask why this ticket is in a state of "WaitForUser"? What do you need from me... there's no explanation in comments so I'm at a loss...
          Hide
          infrabot #asfinfra Bot added a comment -
          <danielsh> The ticket's state is "Waiting for Infra".
          Show
          infrabot #asfinfra Bot added a comment - <danielsh> The ticket's state is "Waiting for Infra".
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          It is now, yes. But I'm pretty sure it wasn't before I commented on it. Whatever... so long as it's in infra's backlog and it isn't blocked from my side.
          Show
          danhaywood Dan Haywood added a comment - Reporter It is now, yes. But I'm pretty sure it wasn't before I commented on it. Whatever... so long as it's in infra's backlog and it isn't blocked from my side.
          Hide
          ipv6guru Gavin added a comment -
          Im ready to go with this, first thing is to make svn r/o and it will stay that way until you approve the git-wip repo (Or unless changes are needed).
          You ready to go r/o ?
          Show
          ipv6guru Gavin added a comment - Im ready to go with this, first thing is to make svn r/o and it will stay that way until you approve the git-wip repo (Or unless changes are needed). You ready to go r/o ?
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          Many thanks, Gavin. Yes, you can make svn read-only now.
          Show
          danhaywood Dan Haywood added a comment - Reporter Many thanks, Gavin. Yes, you can make svn read-only now.
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          Hi Gavin,
          are you likely to be working on this today (Thu 29 Nov) or tomorrow (Fri 30). Working from home these two days so would fit my schedule very well if you could.
          Thx, Dan
          Show
          danhaywood Dan Haywood added a comment - Reporter Hi Gavin, are you likely to be working on this today (Thu 29 Nov) or tomorrow (Fri 30). Working from home these two days so would fit my schedule very well if you could. Thx, Dan
          Hide
          ipv6guru Gavin added a comment -
          Going to start within a couple of hours.
          Show
          ipv6guru Gavin added a comment - Going to start within a couple of hours.
          Hide
          ipv6guru Gavin added a comment -
          Just to update: the import is still going on.
          Show
          ipv6guru Gavin added a comment - Just to update: the import is still going on.
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          I see that the import to git.apache.org finished at about 2am this morning, however (as I guess you probably know) looks like there are issues. Here's what git clone gave me:

          $ git clone http://git.apache.org/isis.git isis-git-ro
          Cloning into 'isis-git-ro'...
          error: Unable to get pack index http://git.apache.org/isis.git/objects/pack/pack
          -baf84c25a8cc9f1646d4339d99de143b4b601b8b.idx
          error: Unable to get pack index http://git.apache.org/isis.git/objects/pack/pack
          -0852bba4f5b17a52d7cad5a86ea707642437c596.idx
          error: Unable to get pack index http://git.apache.org/isis.git/objects/pack/pack
          -1f2d6397ba10138e8999387795df0720553c7840.idx
          error: Unable to get pack index http://git.apache.org/isis.git/objects/pack/pack
          -003eedd75f67447def570b5210d1755f508c6123.idx
          error: Unable to find ea20a504e9e65d49741565437ff4d251ad41d983 under http://git.
          apache.org/isis.git
          Cannot obtain needed commit ea20a504e9e65d49741565437ff4d251ad41d983
          while processing commit 14946be843f148b7de654d6281127c809d1800d6.
          error: Fetch failed.
          Show
          danhaywood Dan Haywood added a comment - Reporter I see that the import to git.apache.org finished at about 2am this morning, however (as I guess you probably know) looks like there are issues. Here's what git clone gave me: $ git clone http://git.apache.org/isis.git isis-git-ro Cloning into 'isis-git-ro'... error: Unable to get pack index http://git.apache.org/isis.git/objects/pack/pack -baf84c25a8cc9f1646d4339d99de143b4b601b8b.idx error: Unable to get pack index http://git.apache.org/isis.git/objects/pack/pack -0852bba4f5b17a52d7cad5a86ea707642437c596.idx error: Unable to get pack index http://git.apache.org/isis.git/objects/pack/pack -1f2d6397ba10138e8999387795df0720553c7840.idx error: Unable to get pack index http://git.apache.org/isis.git/objects/pack/pack -003eedd75f67447def570b5210d1755f508c6123.idx error: Unable to find ea20a504e9e65d49741565437ff4d251ad41d983 under http://git . apache.org/isis.git Cannot obtain needed commit ea20a504e9e65d49741565437ff4d251ad41d983 while processing commit 14946be843f148b7de654d6281127c809d1800d6. error: Fetch failed.
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          I tried a second time and it failed, but in a different pack:

          $ git clone http://git.apache.org/isis.git isis-git-ro
          Cloning into 'isis-git-ro'...
          error: Unable to get pack file http://git.apache.org/isis.git/objects/pack/pack-
          d97f86fec69a3300e03fee50ad88386d91392c50.pack
          Recv failure: Connection was reset
          error: Unable to find 06ee27c2f179ca5b52e1de6a6e171155a0ec60c7 under http://git.
          apache.org/isis.git
          Cannot obtain needed tree 06ee27c2f179ca5b52e1de6a6e171155a0ec60c7
          while processing commit 7464a2ae24d3c91e6b99d9165937104b3b208418.
          error: Fetch failed.

          This was encouraging; it suggested that the issue might have been transient network issue rather than something corrupt in the repo.

          So, I tried again:

          $ git clone http://git.apache.org/isis.git isis-git-ro
          Cloning into 'isis-git-ro'...
          Checking out files: 100% (6290/6290), done.

          And it worked this time.

          I just spun through the log quickly, looks pretty complete to me. I'll play around a bit more with it today.

          ~~~
          I know you have more to do with the read/write clone and also the github.com clone. But I noticed that there was a clone at github.com/apache/isis, however that seems incomplete... only has one branch, and is missing the master branch. Just fyi.
          Show
          danhaywood Dan Haywood added a comment - Reporter I tried a second time and it failed, but in a different pack: $ git clone http://git.apache.org/isis.git isis-git-ro Cloning into 'isis-git-ro'... error: Unable to get pack file http://git.apache.org/isis.git/objects/pack/pack- d97f86fec69a3300e03fee50ad88386d91392c50.pack Recv failure: Connection was reset error: Unable to find 06ee27c2f179ca5b52e1de6a6e171155a0ec60c7 under http://git . apache.org/isis.git Cannot obtain needed tree 06ee27c2f179ca5b52e1de6a6e171155a0ec60c7 while processing commit 7464a2ae24d3c91e6b99d9165937104b3b208418. error: Fetch failed. This was encouraging; it suggested that the issue might have been transient network issue rather than something corrupt in the repo. So, I tried again: $ git clone http://git.apache.org/isis.git isis-git-ro Cloning into 'isis-git-ro'... Checking out files: 100% (6290/6290), done. And it worked this time. I just spun through the log quickly, looks pretty complete to me. I'll play around a bit more with it today. ~~~ I know you have more to do with the read/write clone and also the github.com clone. But I noticed that there was a clone at github.com/apache/isis, however that seems incomplete... only has one branch, and is missing the master branch. Just fyi.
          Hide
          ipv6guru Gavin added a comment -
          Please check and approve (or not) https://git-wip-us.apache.org/repos/asf/isis.git .

          (Github will catch up from git.a.o today)
          Show
          ipv6guru Gavin added a comment - Please check and approve (or not) https://git-wip-us.apache.org/repos/asf/isis.git . (Github will catch up from git.a.o today)
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          Hi Gav,
          yeah, looks good - thanks. And github looks like it has caught up fully too.

          We are using CMS for our site, so in the original svn we still need the site/trunk directory. Not sure what the protocol is for the trunk and branches directories? I guess we should move them to one side will clear labelling that this code is now moved? Any advice for us?

          Cheers
          Dan
          Show
          danhaywood Dan Haywood added a comment - Reporter Hi Gav, yeah, looks good - thanks. And github looks like it has caught up fully too. We are using CMS for our site, so in the original svn we still need the site/trunk directory. Not sure what the protocol is for the trunk and branches directories? I guess we should move them to one side will clear labelling that this code is now moved? Any advice for us? Cheers Dan
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          per your request on IIRC, I've asked the other PMC members to check the code also. Will get back to you once I've had some further feedback.
          Show
          danhaywood Dan Haywood added a comment - Reporter per your request on IIRC, I've asked the other PMC members to check the code also. Will get back to you once I've had some further feedback.
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          Hi Gav,
          ok, four of us in the PMC have now looked at the code over in the git repo, and it all looks good to us.

          So, can you make bot the git and svn repos read/write? I'll let you know once I've jigged svn around (a la trafficserver) so that you can lock down all of it except the svn site dir.

          Thx
          Dan

          Show
          danhaywood Dan Haywood added a comment - Reporter Hi Gav, ok, four of us in the PMC have now looked at the code over in the git repo, and it all looks good to us. So, can you make bot the git and svn repos read/write? I'll let you know once I've jigged svn around (a la trafficserver) so that you can lock down all of it except the svn site dir. Thx Dan
          Hide
          ipv6guru Gavin added a comment -
          Both repos are r/w now.
          Show
          ipv6guru Gavin added a comment - Both repos are r/w now.
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          Thanks, Gav.

          One tiny thing I've noticed on the github repo... the default branch is "0.1.2-incubating", and our mainline has a branch name of "trunk" rather than "master".

          Is there a way to change this to rename "trunk" to "master" and to make that branch the default?

          Thx
          Dan
          Show
          danhaywood Dan Haywood added a comment - Reporter Thanks, Gav. One tiny thing I've noticed on the github repo... the default branch is "0.1.2-incubating", and our mainline has a branch name of "trunk" rather than "master". Is there a way to change this to rename "trunk" to "master" and to make that branch the default? Thx Dan
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          Hi Gav,
          We've also noticed that git.apache.org also doesn't seem to have a "master" branch, and that neither it nor github are being updated automatically.

          Can you look into?

          Thx
          Dan
          Show
          danhaywood Dan Haywood added a comment - Reporter Hi Gav, We've also noticed that git.apache.org also doesn't seem to have a "master" branch, and that neither it nor github are being updated automatically. Can you look into? Thx Dan
          Hide
          ipv6guru Gavin added a comment -
          git.apache.org needed switching over from the svn repository - now done.
          github mirrors git.apache.org - so that will ctach up today.
          github default changed to 'trunk' - when it catches up it should revert to'master'
          Show
          ipv6guru Gavin added a comment - git.apache.org needed switching over from the svn repository - now done. github mirrors git.apache.org - so that will ctach up today. github default changed to 'trunk' - when it catches up it should revert to'master'
          Hide
          danhaywood Dan Haywood added a comment - Reporter
          Hi Gav,
          Looks like github is now synchronizing... thanks.

          One last thing: could you set github's default branch to be 'master' also?

          And, just so I know, what's the latency of the sync?

          Thx
          Dan
          Show
          danhaywood Dan Haywood added a comment - Reporter Hi Gav, Looks like github is now synchronizing... thanks. One last thing: could you set github's default branch to be 'master' also? And, just so I know, what's the latency of the sync? Thx Dan
          Hide
          ipv6guru Gavin added a comment -
          Done. svn now read only apart from isis/site which is still read/write
          Show
          ipv6guru Gavin added a comment - Done. svn now read only apart from isis/site which is still read/write

            People

            • Assignee:
              Unassigned
              Reporter:
              danhaywood Dan Haywood
              Request participants:
              None
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: