Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932739 - sys-apps/portage: Ability to pause binrepo cache sync in binrepos.conf (can be set for all repos in [DEFAULT] section)
Summary: sys-apps/portage: Ability to pause binrepo cache sync in binrepos.conf (can b...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 930802
Blocks: 924772
  Show dependency tree
 
Reported: 2024-05-25 16:26 UTC by Zac Medico
Modified: 2024-06-04 01:31 UTC (History)
2 users (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 2024-05-25 16:26:24 UTC
When performing source updates mixed with binary updates, it will be useful to temporarily pause binrepo cache sync for consistent and reproducible dependency calculations.
Comment 1 Larry the Git Cow gentoo-dev 2024-05-25 21:58:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=cd41fb9390fcca9dc8a565b5c52dbba73d9ae59c

commit cd41fb9390fcca9dc8a565b5c52dbba73d9ae59c
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2024-05-25 21:53:52 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2024-05-25 21:53:52 +0000

    binrepos.conf: Support "frozen" attribute
    
    In order to allow consistent and reproducible dependency calculations
    during mixed source and binary updates, add a "frozen" binrepos.conf
    attribute which will freeze binrepo index updates and cause messsages
    to indicate that the repo is frozen rather than up-to-date:
    
        Local copy of remote index is frozen and will be used.
    
    This should only be set temporarily in order to guarantee consistent
    and reproducible dependency calculations for mixed binary and source
    updates.
    
    Bug: https://bugs.gentoo.org/932739
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/portage/binrepo/config.py | 10 +++++++++-
 lib/portage/dbapi/bintree.py  |  5 +++--
 man/portage.5                 |  8 +++++++-
 3 files changed, 19 insertions(+), 4 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2024-06-04 01:31:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd08f05355b14c7594d0e0ccf46cdb2b1486cbe

commit 1dd08f05355b14c7594d0e0ccf46cdb2b1486cbe
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-04 01:31:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-04 01:31:07 +0000

    sys-apps/portage: add 3.0.65
    
    Closes: https://bugs.gentoo.org/930802
    Closes: https://bugs.gentoo.org/787623
    Closes: https://bugs.gentoo.org/922629
    Closes: https://bugs.gentoo.org/927241
    Closes: https://bugs.gentoo.org/930992
    Closes: https://bugs.gentoo.org/932739
    Closes: https://bugs.gentoo.org/932804
    Closes: https://bugs.gentoo.org/933297
    Closes: https://bugs.gentoo.org/933385
    Closes: https://bugs.gentoo.org/933442
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-3.0.65.ebuild | 242 +++++++++++++++++++++++++++++++++
 2 files changed, 243 insertions(+)