Thanks, Jon! ________________________________________ From: Jon Haddad <j...@jonhaddad.com> Sent: Thursday, October 17, 2019 7:07 AM To: dev@cassandra.apache.org Subject: Re: moving the site from SVN to git
The migration is finished. I had to fix a few things along the way. The docker containers didn't build correctly (based on debian:latest rather than a fixed tag), and the site had to be served out of the content directory rather than the publish one we were using. I'm going to address a couple things as follow ups. We still point people to IRC, I'll update that to slack. Longer term I'll migrate it to Hugo, which will make the entire process a lot easier. Jon On Wed, Oct 9, 2019 at 10:26 PM Jon Haddad <j...@jonhaddad.com> wrote: > OK, I checked with INFRA on some details and will finish the migration > tomorrow. > > On Thu, Oct 3, 2019 at 11:32 AM Jon Haddad <j...@jonhaddad.com> wrote: > >> Awesome, thanks Michael. >> >> We need to do a little bit of additional configuration to have it switch >> over. Specifically, we need to set up the .asf.yaml config to tell the >> servers how the site should be published. I can take care of it >> tomorrow. >> >> Reference: >> https://cwiki.apache.org/confluence/display/INFRA/.asf.yaml+features+for+git+repositories#id-.asf.yamlfeaturesforgitrepositories-Publishingabranchtoyourprojectwebsite >> >> On Thu, Oct 3, 2019 at 10:57 AM Michael Shuler <mich...@pbandjelly.org> >> wrote: >> >>> committed! :) >>> >>> https://gitbox.apache.org/repos/asf?p=cassandra-website.git >>> >>> Michael >>> >>> On 10/3/19 12:22 PM, Jon Haddad wrote: >>> > I think we can safely ignore them. Thanks for figuring this out. >>> > >>> > On Thu, Oct 3, 2019 at 10:01 AM Michael Shuler <mich...@pbandjelly.org >>> > >>> > wrote: >>> > >>> >> I'm making progress through many periodic timeouts to svn.a.o and >>> >> restarts, but it appears that svn2git is smart enough to pick up where >>> >> it left off. The first commit captured at the svn path I'm specifying >>> is >>> >> when Cassandra was moved to a top level project at r922689 >>> (2010-03-13). >>> >> I don't know the old incubator path, and it's probably OK to ignore >>> the >>> >> few older incubator commits? I imagine it would mean starting over the >>> >> entire import to pull in those older incubator svn commits, then >>> >> changing the url and somehow importing the newer path on top? >>> >> >>> >> I tried using a local path as the source to try to speed things up, >>> >> after I got my first few timeouts, but that fails. >>> >> >>> >> Curious if anyone really cares if we lose a few early commits - if >>> so, I >>> >> can try to figure out the old path and start again. >>> >> >>> >> Michael >>> >> >>> >> On 10/3/19 11:14 AM, Jon Haddad wrote: >>> >>> Thanks for taking a look, Michael. Hopefully you have better luck >>> than >>> >> me >>> >>> :) >>> >>> >>> >>> On Thu, Oct 3, 2019 at 6:42 AM Michael Shuler < >>> mich...@pbandjelly.org> >>> >>> wrote: >>> >>> >>> >>>> I cloned the empty cassandra-website git repo, and I'm running: >>> >>>> >>> >>>> svn2git http://svn.apache.org/repos/asf/cassandra/site >>> --rootistrunk >>> >>>> --no-minimize-url >>> >>>> >>> >>>> ..to see what I get. An svn checkout of the above url says it's only >>> >>>> 69M, so I suppose it's pulling all history of all time for all >>> projects? >>> >>>> >>> >>>> I'll let this roll for a while I run an errand and report back! >>> >>>> >>> >>>> Michael >>> >>>> >>> >>>> On 10/2/19 9:30 PM, Jon Haddad wrote: >>> >>>>> Daniel referred me to the GitBox self service system. >>> >>>>> >>> >>>>> I've attempted to port the site over using the tool Michael >>> suggested, >>> >>>> but >>> >>>>> after a couple hours it died with this message: >>> >>>>> >>> >>>>> command failed: r922600 >>> >>>>> git checkout -f master >>> >>>>> >>> >>>>> If either of you (Mick or Michael) want to give svn2git a shot >>> maybe >>> >>>> you'll >>> >>>>> get a different result. I think it may have been due to the >>> large >>> >> size >>> >>>>> of the repo and the small drive on the VM I was using. I can try >>> it >>> >>>> again >>> >>>>> tomorrow with more storage to see if I get a better result. Mick >>> if >>> >> you >>> >>>>> want to give it a shot in the meantime that would be appreciated. >>> >>>>> >>> >>>>> Jon >>> >>>>> >>> >>>>> On Wed, Oct 2, 2019 at 3:18 PM Jon Haddad <j...@jonhaddad.com> >>> wrote: >>> >>>>> >>> >>>>>> I created an INFRA ticket here: >>> >>>>>> https://issues.apache.org/jira/browse/INFRA-19218. >>> >>>>>> >>> >>>>>> On Wed, Sep 25, 2019 at 6:04 AM Michael Shuler < >>> >> mich...@pbandjelly.org> >>> >>>>>> wrote: >>> >>>>>> >>> >>>>>>> I see no good reason to trash history. There are tools to make >>> moving >>> >>>>>>> from svn to git (hopefully) painless. We used git-svn for the >>> main c* >>> >>>>>>> source to retain history of both, which this tool uses to do >>> >> migrations >>> >>>>>>> - https://github.com/nirvdrum/svn2git >>> >>>>>>> >>> >>>>>>> Michael >>> >>>>>>> >>> >>>>>>> On 9/25/19 12:57 AM, Mick Semb Wever wrote: >>> >>>>>>>> >>> >>>>>>>>> Personally, no, I don't. What I need to know is if someone who >>> >>>>>>> actually >>> >>>>>>>>> works on the site needs the history in *git*. >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> Yes. I need the history in *git*. >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> And I believe that INFRA can do the migration for you. >>> >>>>>>>> (For example, INFRA-12055 and spark-website) >>> >>>>>>>> >>> >>>>>>>> >>> >> --------------------------------------------------------------------- >>> >>>>>>>> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org >>> >>>>>>>> For additional commands, e-mail: dev-h...@cassandra.apache.org >>> >>>>>>>> >>> >>>>>>> >>> >>>>>>> >>> --------------------------------------------------------------------- >>> >>>>>>> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org >>> >>>>>>> For additional commands, e-mail: dev-h...@cassandra.apache.org >>> >>>>>>> >>> >>>>>>> >>> >>>>> >>> >>>> >>> >>>> >>> --------------------------------------------------------------------- >>> >>>> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org >>> >>>> For additional commands, e-mail: dev-h...@cassandra.apache.org >>> >>>> >>> >>>> >>> >>> >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org >>> >> For additional commands, e-mail: dev-h...@cassandra.apache.org >>> >> >>> >> >>> > >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org >>> For additional commands, e-mail: dev-h...@cassandra.apache.org >>> >>> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org For additional commands, e-mail: dev-h...@cassandra.apache.org