Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 466116

Summary: repoman : '--include-arches' feature request
Product: Portage Development Reporter: Agostino Sarubbo <ago>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 468524    
Attachments: poc

Description Agostino Sarubbo gentoo-dev 2013-04-16 15:00:05 UTC
Created attachment 345704 [details]
poc

This was already discussed on irc with Zac, here is the summary.

When I/someone try to commit a package, sometimes there are repoman complains (mostly dependency.bad) that cause failures. 
In the most of the cases, if we are talking about a stabilization, the complain does not regard the arch in question, so is a pita get a failure every time and/or retry with --force.

So, for example, if I'm committing for arm, have anything like:
repoman commit --include-arches arm -m "Stable for arm" will catch only the problem that regards arm.


Why --ignore-arches is not fine in this case:

man repoman says:
-i, --ignore-arches - Ignore arch-specific failures (where arch != host)

Obviously I have not a gentoo-x86 repository for each machine/chroot, so if, for example, I'm doing the commit from an x86_64 machine and I'm trying to stabilize for x86, this option is not valid. Attached an example.
Comment 2 Zac Medico gentoo-dev 2013-05-03 21:12:03 UTC
This is fixed in 2.1.11.63 and 2.2.0_alpha174.