From owner-freebsd-hackers Sun Mar 16 16:39:29 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC4D637B401 for ; Sun, 16 Mar 2003 16:39:26 -0800 (PST) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A64D43F3F for ; Sun, 16 Mar 2003 16:39:26 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0507.cvx22-bradley.dialup.earthlink.net ([209.179.199.252] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18uies-0006JA-00; Sun, 16 Mar 2003 16:39:20 -0800 Message-ID: <3E7518D7.DA16352@mindspring.com> Date: Sun, 16 Mar 2003 16:37:43 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Nate Williams Cc: Sean Chittenden , Sergey Babkin , hackers@FreeBSD.ORG Subject: Re: making CVS more convenient References: <3E73DCF7.80490FA6@bellatlantic.net> <15988.49648.483313.383942@emerger.yogotech.com> <3E74CC37.DF83EE46@bellatlantic.net> <15988.52765.777500.37926@emerger.yogotech.com> <20030316195807.GH66903@perrin.int.nxad.com> <3E75010D.EEA8B4D@mindspring.com> <15989.1782.166458.477601@emerger.yogotech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a456fb36b65bf8578b26d38590d331b570387f7b89c61deb1d350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nate Williams wrote: > > Nate's suggestion covers the version number issue... sort of. It > > assumes that the patches will be approved for commit to the main > > repo > > This is easy to get around, b/c if the commit doesn't happen > successfully on the repo, then the commit fails, and as such it also > won't also be committed to the local branch (the remote commit failed). I see how you are viewing this: as a means of avoiding a full CVSup. I think the reason the cache was wanted was not to avoid the CVSup, but to allow operations *other than CVSup* to proceed more quickly? If so, this kind of reduces the reason for having a local cache: attempt locally, and then, if successful, attempt remotely. > > and it assumes that the main repo will not get tagged in > > between. > > For *most* users, this is not a problem. My solution is for the > developer. However, it's not intended to make the local cache a > complete mirror of the remote repository. That is a whole 'nother > project. :) Specifically, it's for "the FreeBSD developer", not "the developer who uses FreeBSD". 8-). > > A more minor problem is that it replaced the version conflict with a > > "$FreeBSD$" conflict that CVSup has to ignore. > > See above. This is mostly a non-issue as long as the versions are kept > up-to-date. No merges will be attempted what-so-ever, even if they > would not necessarily cause conflicts. I think this is still an issue because of the date, and because of the committer name. Even if the committer name is the same (in your scenario where "the FreeBSD developer" is the issue, I'll concede it might be, except in the mentor case), the timestamp will still shoot you in the foot. > However, this is all a pipe-dream, although Sergey's work is making it > less pie-in-the-sky. Yes. As I said: 10 years and counting. 8-). > The other solution to the problem is the P4 route. Making things so > darn effecient that there's little need to have a local mirror. Where > this falls down is when the remote developer doesn't have a 24x7 > connection to the main repository. From what I've been told ClearCase > allows for 'mirrored read-only' repositories similar to what most of the > open-source CVS developers have been doing with sup/CVSup for years, > although it's nowhere near as effecient as CVSup at creating snapshots. Yes, P4 solves a *lot* of the problems, except the mirroring in the first place. ClearCase is nice, in its way, but you are right about CVSup being a much better tool for the job; that's why all the people who complain about it continue running it anyway... 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message