Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557426 - sys-apps/portage: sync repositories in parallel
Summary: sys-apps/portage: sync repositories in parallel
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 240187 549914
  Show dependency tree
 
Reported: 2015-08-13 08:32 UTC by Zac Medico
Modified: 2015-09-22 01:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2015-08-13 08:32:21 UTC
If we sync repos (and run hooks) in parallel, then it can reduce overall sync time. A given repo should be synced only after its masters have finished syncing.
Comment 1 Zac Medico gentoo-dev 2015-08-13 08:42:24 UTC
There's a patch in the following branch:

https://github.com/zmedico/portage/tree/parallel-sync

I've posted it for review here:

https://archives.gentoo.org/gentoo-portage-dev/message/93cfc4b36abc6bab56daec15cdfb93ba
Comment 2 Zac Medico gentoo-dev 2015-08-13 20:00:16 UTC
This is in the master branch now:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=496ff326dc18890889d1ea5d2aec590394635960
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-09-22 01:31:59 UTC
/etc/portage/repo.postsync.d/example
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2015-09-22 01:37:02 UTC
Correction: Released in portage-2.2.21