> On April 14, 2014, 3:32 a.m., Ben Mahler wrote: > > It is unfortunately a 3 step process to ensure the links on the website are > > not broken: > > > > (1) Add old releases to svn 'archive' repository. > > (2) Update download link on our website to point to the 'archive' mirror. > > (3) Delete release from the svn 'release' repository. > > > > Would be amazing if the release script did each step here (or at least > > prompted the user)! Right now this adds a change to do (3) without (1) and > > (2). > > > > We could consider directing people to the archive folder for *all* old > > releases, instead of having a mirror link for each old release. That would > > simplify things on our end, but I'm not sure how much direct traffic we > > would be sending to the 'archive' svn server as a result. > > Vinod Kone wrote: > (1) is done automatically for us because we are using svnpubsub > (http://archive.apache.org/dist/mesos/). > (2) previous releases column in http://mesos.apache.org/downloads/ should > always point to archive (it already does for 0.14.2 and older) > > right now scripting the update of the website for a new release, > unfortunately, cannot be easily automated. this would need some refactoring > of the website code. also, the release script doesn't prompt to update the > website because typically we update the website with a release blog post > which is asynchronous. > > Ben Mahler wrote: > Ah I forgot (1) is done automatically, that makes things easier! > > But I'm still wondering whether we'll accidentally break links with this. > Let's say we release 0.19.0, then this will prompt to delete 0.18.0 only (in > the steady state). We can't delete 0.18.0 until we update the link for 0.18.0 > to point the archive, right?
yes. you are right. we should probably do this as part of the website update rather than release script. sigh. - Vinod ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20298/#review40235 ----------------------------------------------------------- On April 14, 2014, 1:53 a.m., Vinod Kone wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/20298/ > ----------------------------------------------------------- > > (Updated April 14, 2014, 1:53 a.m.) > > > Review request for mesos and Ben Mahler. > > > Bugs: MESOS-850 > https://issues.apache.org/jira/browse/MESOS-850 > > > Repository: mesos-git > > > Description > ------- > > See summary. > > > Diffs > ----- > > support/release.sh 633bbace091bddd582b9fcef5d35b331a0f169f0 > > Diff: https://reviews.apache.org/r/20298/diff/ > > > Testing > ------- > > > Thanks, > > Vinod Kone > >
