Re: idea bouncing: using cvs as a replacement for mergemaster



From: "Daniel O'Connor" <doconnor@xxxxxxxxxxxx>
Date: Wed, 28 Nov 2007 20:45:26 +1030
Sender: owner-freebsd-current@xxxxxxxxxxx

On Wed, 28 Nov 2007, Giorgos Keramidas wrote:
On 2007-11-27 22:45, "Aryeh M. Friedman" <aryeh.friedman@xxxxxxxxx>
wrote:
I was thinking seeing the fact that I already have a cvs repo of
- -current does it make sense to just use CVS to update /etc
instead of mergemaster... if so any ideas on doing it cleanly?

It may work, but it doesn't ``scale'' to dozens of machines, and you
still have to do merging when upstream files (the ones in the FreeBSD
repository) change. It's not particularly hard to merge with CVS, if
you consider the src/etc files of FreeBSD a ``vendor branch'', but
it's not exactly a fun ride either.

etcmerge does a 3 way merge which makes most updates almost completely
painless.. It does need to be taught to special case certain files tho
(ie all of the ones derived from others like spwd.db, aliases.db, etc)
but apart from that it is very nice.

It is a port - sysutils/etcmerge.

Another simple solution, which needs more publicity, is 'mergemaster
-U'. I do my updates using -Ui and seldom have to deal any manual
merge. It's not perfect as I still need to deal with locally modified
files, but "it's good enough".
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@xxxxxx Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751

Attachment: pgpoS6xk47evE.pgp
Description: PGP signature



Relevant Pages

  • Re: idea bouncing: using cvs as a replacement for mergemaster
    ... Another simple solution, which needs more publicity, is 'mergemaster ... I do my updates using -Ui and seldom have to deal any manual ... for Genesis Software - http://www.gsoft.com.au ...
    (freebsd-current)
  • Re: SUMMARY: Fast releases demand binary updates..
    ... That way if a site chooses to deploy our stock releases or patches, that's fine, but they can also manage their own custom snapshots. ... Presumably a first starting point is to take the assumption that the build system will produce a series of install snapshots, presumably using installworld/installkernel to a specific DESTDIR, and that all updates will be generated between them, with version names and relevant difference combinations to be assigned to them by the admin. ... The second part will be handling what's normally done by mergemaster in some way -- for some environments, simply generating a second tarball that contains the output of distrib-dirs and then providing that to bootstrap mergemaster rather than a source tree would be sufficient. ... If using Colin's binary difference pieces, they will often be quite compact, and it's easy to imagine storing the necessary information to roll back or forwards by several revisions in a relatively small amount of space. ...
    (freebsd-current)
  • Re: SUMMARY: Fast releases demand binary updates..
    ... That way if a site chooses to deploy our stock releases or patches, that's fine, but they can also manage their own custom snapshots. ... Presumably a first starting point is to take the assumption that the build system will produce a series of install snapshots, presumably using installworld/installkernel to a specific DESTDIR, and that all updates will be generated between them, with version names and relevant difference combinations to be assigned to them by the admin. ... The second part will be handling what's normally done by mergemaster in some way -- for some environments, simply generating a second tarball that contains the output of distrib-dirs and then providing that to bootstrap mergemaster rather than a source tree would be sufficient. ... If using Colin's binary difference pieces, they will often be quite compact, and it's easy to imagine storing the necessary information to roll back or forwards by several revisions in a relatively small amount of space. ...
    (freebsd-stable)
  • Re: question on mergemaster
    ... >If mergemaster checked each file for a magic value, ... the point that users can easily start losing updates. ... Type 'in' to install all new files, but prompt for changed files ...
    (freebsd-current)
  • RELENG CVS syncronization question
    ... I was just syncing my /usr/src using cvs to get today's security ... updates to 4.8, and I noticed that if I use ...
    (freebsd-questions)