Gentoo Archives: gentoo-dev

From: "Paweł Hajdan
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: More versatile return codes for emerge
Date: Wed, 25 Jan 2012 20:05:36
Message-Id: 4F206043.9000108@gentoo.org
In Reply to: [gentoo-dev] RFC: More versatile return codes for emerge by Thomas Kahle
1 On 1/25/12 10:23 AM, Thomas Kahle wrote:
2 > I suggest that emerge could signal its various failures via return
3 > codes. That would be useful in automated archtesting:
4 >
5 > https://bugs.gentoo.org/show_bug.cgi?id=400705
6
7 My opinion is very similar to what Brian Harring said on that bug: some
8 Python API would be much better than still pretty vague return code
9 (what would you do with it?).
10
11 Some ideas:
12
13 - I emerge a list of packages, some unstable dependencies are required;
14 allow me to get a list of those package atoms
15
16 - same as above, but return list of USE flags adjustments required
17
18 - package blocks
19
20 - unsatisfied USE flag constraints
21
22 ... and so on. I think it can start very simple and small, and be
23 extended as needed.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] RFC: More versatile return codes for emerge Thomas Kahle <tomka@g.o>