git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: Petr Baudis <pasky@ucw.cz>
Cc: Chris Wright <chrisw@osdl.org>, git@vger.kernel.org
Subject: Re: [PATCH 0/3] cogito spec file updates
Date: Tue, 3 May 2005 14:32:16 -0700	[thread overview]
Message-ID: <20050503213216.GF5324@shell0.pdx.osdl.net> (raw)
In-Reply-To: <20050503212142.GB15995@pasky.ji.cz>

* Petr Baudis (pasky@ucw.cz) wrote:
> Dear diary, on Tue, May 03, 2005 at 09:35:36PM CEST, I got a letter
> where Chris Wright <chrisw@osdl.org> told me that...
> > * Chris Wright (chrisw@osdl.org) wrote:
> > > Here's the outstanding updates for the spec file, up to 0.8-2 which is
> > > the latest on kernel.org.
> > > 
> > > 	http://www.kernel.org/pub/software/scm/cogito/RPMS/
> > 
> > What's your method for creating a release tarball?  If it were formalized
> > (i.e. Makefile rule), then it'd be simple to use VERSION to drive the
> > spec file, and it'd only need updating for real content changes (similar
> > to what Kay did).
> 
> For now, I do it so seldom that I just manually do
> 
> 	cg-log >Changelog
> 	cg-export ~/cogito-0.9
> 	cp Changelog ~/cogito-0.9
> 	cd ~
> 	tar cvvfz cogito-0.9.tar.gz cogito-0.9
> 
> OTOH, I'd like to change this all to just
> 
> 	cg-export ~/cogito-0.9.tar.gz
> 
> when I get to merge the relevant patches; I'm not sure there is so much
> of a value to bundle the Changelog; just get the git tree and do cg-log
> on your own, or use the web interface.
> 
> I might however have some private mkrelease.sh script which would do
> 
> 	echo "$1" >VERSION
> 	update-spec-file
> 	echo "$1" | cg-commit
> 	cg-tag "$1"
> 
> or something.

If you had a Makefile target like the one Mark Allen just posted, would
you use that?  I'd simply add a git.spec: rule, and have git.spec built
as a dependency for tarball.

> BTW, did you have a particular reason to split the .spec file updates to
> three parts? I think it doesn't make much sense and it'd be probably
> enough to update it at once, when we are not doing it at the right time
> anyway.

Just because that's how I had them locally, and it keeps the file
revision history intact (I don't mind how you prefer to pull them in).

thanks,
-chris

  reply	other threads:[~2005-05-03 21:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 21:15 [PATCH] release tarball make targets Mark Allen
2005-05-03 18:28 ` [PATCH 0/3] cogito spec file updates Chris Wright
2005-05-03 18:30   ` [PATCH 1/3] cogito spec file 0.7-1 Chris Wright
2005-05-03 18:32     ` [PATCH 2/3] cogito spec file 0.8-1 Chris Wright
2005-05-03 18:33       ` [PATCH 3/3] cogito spec file 0.8-2 Chris Wright
2005-05-03 19:35   ` [PATCH 0/3] cogito spec file updates Chris Wright
2005-05-03 21:21     ` Petr Baudis
2005-05-03 21:32       ` Chris Wright [this message]
2005-05-03 21:44         ` Petr Baudis
2005-05-03 23:01           ` Chris Wright
2005-05-04 14:38           ` H. Peter Anvin
2005-05-04 14:54             ` Horst von Brand
2005-05-04 15:01               ` H. Peter Anvin
2005-05-04 15:27             ` Chris Wright
2005-05-04  1:00     ` Horst von Brand

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=20050503213216.GF5324@shell0.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=pasky@ucw.cz \
    /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;
as well as URLs for NNTP newsgroup(s).