Summary: | sys-apps/portage: support sync of submodules such as glsa, news, and profiles | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | chutzpah, esigra |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 89641, 240187, 484436 |
Description
Zac Medico
2014-12-31 08:00:53 UTC
I have a patch in the following branch: https://github.com/zmedico/portage/tree/sync-submodule I've posted it for review here: http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5052 This is in the master branch now: https://github.com/gentoo/portage/commit/c8a850685232b938cf0896fc2d80e72d57edad17 Released in portage-2.2.16 hmm just tried in portage 2.2.20 on ppc: ~ # emaint --sync-submodule=profiles sync ERROR: module 'sync' does not have option '--check' sync module options: -A, --allrepos (sync module only): -A, --allrepos Sync all repos that have a sync-url defined -a, --auto (sync module only): -a, --auto Sync auto-sync enabled repos only -r, --repo (sync module only): -r, --repo Sync the specified repo Is it me or portage? Could we get support for git submodule sync too? (In reply to Joakim Tjernlund from comment #4) > hmm just tried in portage 2.2.20 on ppc: > > > ~ # emaint --sync-submodule=profiles sync > > ERROR: module 'sync' does not have option '--check' The error message is confusing. If you don't include one of the following actions, then it tries to use --checks as the default action: > sync module options: > -A, --allrepos (sync module only): -A, --allrepos Sync all repos that > have a sync-url defined > -a, --auto (sync module only): -a, --auto Sync auto-sync enabled repos > only > -r, --repo (sync module only): -r, --repo Sync the specified repo > > Is it me or portage? It will work if you include the -A action. > Could we get support for git submodule sync too? That's feasible. If we do that, then we might want to support moving metadata/layout.conf to profiles/layout.conf, since it makes sense to sync them together (see bug 559122). |