public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Usages of CVS $Header$ keyword in ebuilds - use cases wanted
Date: Wed, 27 Aug 2008 21:16:49 +0200	[thread overview]
Message-ID: <20080827191649.GK27338@gentoo.org> (raw)
In-Reply-To: <b41005390808271157r5ba7d46cv4d2af1412d79511f@mail.gmail.com>

On 27-08-2008 11:57:30 -0700, Alec Warner wrote:
> > For who is it a mess?  Not for repoman users, I suppose, and everyone
> > should be using it, right?  As the one who personally played with the
> > code in repoman that determines whether or not the "double commit" is
> > necessary, I think it's mostly a repoman internal problem.  The commit
> > script problems put aside.
> 
> So you are saying we should do what?
> 
> precompute the CVS header and inject it into $header$ ourselves
> take the checksums
> generate the manifest
> revert the $header$ change
> then commit the ebuild and manifest at once
> 
> ?
> 
> The only reason we have double commits right now is that the $header$
> replacement is done by cvs at commit time so if we don't do two
> commits the checksums all break due to the substitution..how is that
> repoman's fault?

It's not.  But I don't see the problem (apart from a "race condition"
with rsync generation) with the two commits either.

Incidently the $Header: $ "feature" just helps me a lot at the moment to
keep the Prefix tree up-to-date.  Hence, I'm against switching them off
or removing them as long as we use CVS for gentoo-x86.


-- 
Fabian Groffen
Gentoo on a different level



  parent reply	other threads:[~2008-08-27 19:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-26 20:40 [gentoo-dev] Usages of CVS $Header$ keyword in ebuilds - use cases wanted Robin H. Johnson
2008-08-26 20:41 ` Yuri Vasilevski
2008-08-26 20:54   ` Robin H. Johnson
2008-08-26 20:59     ` Yuri Vasilevski
2008-08-26 21:45       ` Robin H. Johnson
2008-08-26 21:57         ` Yuri Vasilevski
2008-08-26 22:25           ` Robin H. Johnson
2008-08-26 22:37             ` René 'Necoro' Neumann
2008-08-26 22:54               ` Robin H. Johnson
2008-08-26 23:19                 ` René 'Necoro' Neumann
2008-08-26 23:28                   ` René 'Necoro' Neumann
2008-08-26 22:46             ` Yuri Vasilevski
2008-08-26 22:46         ` Raúl Porcel
2008-08-27 16:35   ` Fabian Groffen
2008-08-27 17:28     ` Robin H. Johnson
2008-08-27 17:38       ` Fabian Groffen
2008-08-27 18:57         ` Alec Warner
2008-08-27 19:15           ` Robin H. Johnson
2008-08-27 19:24             ` Fabian Groffen
2008-08-27 19:16           ` Fabian Groffen [this message]
2008-08-26 20:46 ` Mart Raudsepp
2008-08-27 17:12 ` Paul Varner
2008-10-01 15:31 ` Thilo Bangert
2008-10-01 23:21   ` Robin H. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080827191649.GK27338@gentoo.org \
    --to=grobian@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox