public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] scm eclasses/ebuilds and revision logging
@ 2008-01-12  3:09 Bernd Steinhauser
  2008-01-12  3:58 ` Avuton Olrich
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Bernd Steinhauser @ 2008-01-12  3:09 UTC (permalink / raw
  To: gentoo-dev

Hi,

this is sth. that has been brought up in the KDE4 forums thread and on
irc. The thing is, that if you're using a live ebuild you might very
likely run into bugs, that have been introduced in a newer revision.
Now when you get in touch with upstream about that bug it might be very
useful if you can tell them, that you know, that a specific version in
the past worked. The idea was now to add the ability to the scm eclasses
to do this automatically.
So after installation then sth. like this
${CAT}/${P} merged at revision (or commit) ${REVISION}
to a file like /var/log/portage/scm.log.
Now I'm sure there are a few dirty ways to achieve this, but I wonder if
there is an easy and clean way to do this?

The problem is (I think so), that you can't just write sth. to / because
of the sandbox, so there needs to be a way to get around that, and it
should also happen after installation (post_inst).

Now if anyone wonders if this might even be useful for the distributed
scm's, I do think so. Because of course if you merge sth. from another
tree, or your ebuild repo_uri fetches from a local dir, then you might
have _other_ commit hashes than upstream, but at least you can then look
into your own repo and tell them, when that was and what happened since
then.

I'm aware of the fact, that the revision of the currently installed
package is part of the environment and that is saved, but I'm not only
interested in the revision of the currently installed version, but also
in the revision of the previously installed version. Just wanted to
emphasize that again. ;)

Hope someone comes up with some good ideas. ;)

Greetings,
Bernd
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-01-14  8:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-12  3:09 [gentoo-dev] scm eclasses/ebuilds and revision logging Bernd Steinhauser
2008-01-12  3:58 ` Avuton Olrich
2008-01-12 23:14   ` Bernd Steinhauser
2008-01-12 15:40 ` [gentoo-dev] " Ryan Hill
2008-01-12 23:20   ` Bernd Steinhauser
2008-01-14  8:47   ` Bernd Steinhauser
2008-01-13  0:11 ` [gentoo-dev] " Mike Frysinger
2008-01-13  0:20   ` [gentoo-dev] sth (Was: scm eclasses/ebuilds and revision logging) Ciaran McCreesh
2008-01-13  0:34   ` [gentoo-dev] scm eclasses/ebuilds and revision logging Bernd Steinhauser
2008-01-13  2:27     ` [gentoo-dev] " Markus Ullmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox