Re: freebsd-update

From: Lars Engels <lars.engels_at_0x20.net>
Date: Sat, 25 Jan 2014 12:32:36 +0100
On Fri, Jan 24, 2014 at 02:40:44PM -0500, Allan Jude wrote:
> On 2014-01-21 15:42, Kevin Oberman wrote:
> > On Tue, Jan 21, 2014 at 8:49 AM, John Baldwin <jhb_at_freebsd.org> wrote:
> >
> >> On Tuesday, January 21, 2014 10:46:37 am David Chisnall wrote:
> >>> On 21 Jan 2014, at 07:13, Antonio Olivares <olivares14031_at_gmail.com>
> >> wrote:
> >>>> On Tue, Jan 21, 2014 at 7:49 AM, Ivan Voras <ivoras_at_freebsd.org>
> >> wrote:
> >>>>> Hi,
> >>>>>
> >>>>> Is there any way I can avoid manually resolving hundreds of merge
> >>>>> conflicts of the following type while using freebsd-update ?
> >>>>>
> >>>>>  1 <<<<<<< current version
> >>>>>
> >>>>>
> >>>>>  2 # $FreeBSD: release/9.0.0/etc/csh.cshrc 50472 1999-08-27 23:37:10Z
> >>>>> peter $
> >>>>>
> >>>>>  3 =======
> >>>>>
> >>>>>
> >>>>>  4 # $FreeBSD: release/10.0.0/etc/csh.cshrc 50472 1999-08-27 23:37:10Z
> >>>>> peter $
> >>>>>
> >>>>>  5 >>>>>>> 10.0-RELEASE
> >>>>>
> >>>>>
> >>>>>
> >>>>> ?
> >>>>>
> >>>>> I can't be the only one seeing those...?
> >>>>>
> >>>> Yes, One has to manually go one by one to fix these :(
> >>>> I tried at one point a sed command like sed -i "" '>>>>'  to fix
> >>>> these, but it did not work correctly.  I see errrors when booting when
> >>>> I don't correct these :(
> >>> I thought this was fixed already (I didn't see these in the 9.2->10-RC3
> >> upgrade).  Doesn't freebsd-update pass -F (If the files differ only by VCS
> >> Id
> >> ($FreeBSD) install the new file) to mergemaster?
> >>
> >> AFAIK it doesn't use mergemaster?  I thought it used its own tool?  I
> >> really
> >> want to figure out a way to let it use etcupdate instead since it handles
> >> this case even for locally modified files cleanly.
> >>
> > Having just gone through this on a 10.0-rc5 to 10.0-RELEASE run, I can
> > assure you that it is not completely fixed. One huge part is fixed... every
> > file's ID line is no longer is changed on every release. OTOH, for files
> > that are modified, thy still show up. It hit many of the sendmail .cf
> > files. Annoying as I don't even use sendmail.
> >
> > Not sure if there was a good reason Colin re-invented the wheel on this. It
> > does not use mergemaster or even a reasonable differences editor such as
> > the one mergemaster uses. Just going to the mergemaster code for handling
> > diffs would be a HUGE win. I am getting really tired of
> > "/<<<<<CR>3dd<dwn>ddn".
> 
> I discussed this a bit with Colin on Wednesday during our interview with
> him for BSDNow.tv
> 
> He had some problems with mergemaster so wrote his own tool. In 10 it
> ignores the $Id tags, but there are still other changes that have to
> either be merged or the file replaced with the new one.
> 
> I am all for further improvement here.

Also using freebsd-update behind a proxy is really slow. Even with a
very fast internet connection (normally download rates ca. 3 MBytes / s)
downloading all the tiny binary diff files took more than 8 hours.
Maybe freebsd-update's backend could create a tarball of all those diffs
and provide this? 

Received on Sat Jan 25 2014 - 10:32:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC