Gentoo Archives: gentoo-dev

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-dev@l.g.o
Cc: exherbo-dev@×××××××××××××.org
Subject: [gentoo-dev] Re: Extending -scm with upstream revision awareness
Date: Sun, 15 Jun 2008 17:47:23
Message-Id: g33kim$dc$1@ger.gmane.org
In Reply to: [gentoo-dev] Extending -scm with upstream revision awareness by Ciaran McCreesh
1 Ciaran McCreesh wrote:
2
3 > Since some people have been asking about this... Here's how I'd see
4 > upstream revision awareness being added to the -scm proposal.
5 >
6 > * add src_fetch_extra or whatever to avoid doing the fetches in
7 > src_unpack.
8 >
9 > * add pkg_scm_info. It outputs a string containing no spaces.
10 >
11 > * When installing an scm package with suitable EAPI to VDB / exndbam,
12 > rewrite the scm version to -scm@THE_INFO_OUTPUT.
13 >
14 > * When doing a pretend install, consider reinstalling any scm package
15 > that was installed more than $user_option ago, and mark it as "might
16 > reinstall".
17 >
18 > * When updating an scm package, do src_fetch_extra then pkg_scm_info.
19 > At user option, if the pkg_scm_info value hasn't changed and it's a
20 > reinstall, skip reinstalling.
21 ... and reset the reference date "$user_option ago" is compared to to have
22 it reconsidered in "$user_option ago" again.
23 (or reset the date when this package got installed to the current date)
24
25 --
26 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: Extending -scm with upstream revision awareness Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>