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

Bug 543150

Summary: sys-apps/portage: repos.conf; support listing repositories for syncing only (disabling runtime use)
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-13 13:42:14 UTC
The idea is rather simple: I list a repository and want it to be synced via 'emerge --sync' / emaint but I don't want Portage to use it for dependency resolution, p.mask etc. Something along the lines of:

  [funtoo]
  location = /var/db/repos/funtoo
  sync-type = git
  auto-sync = yes
  enabled = no
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2015-03-13 14:22:16 UTC
I suppose an emerge option to override that would also be desired.

emerge --enable-repo funtoo -1a some-pkg
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2015-03-13 14:36:03 UTC
Which would also imply the inverse

emerge --disable-repo funtoo emerge -1a some-pkg