Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735626 - sys-apps/portage: provide example postsync hook to call egencache --update-pkg-desc-index
Summary: sys-apps/portage: provide example postsync hook to call egencache --update-pk...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 735622 739718
  Show dependency tree
 
Reported: 2020-08-02 22:13 UTC by Zac Medico
Modified: 2020-11-22 07:18 UTC (History)
0 users

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 2020-08-02 22:13:06 UTC
In order to migrate users away from app-portage/esearch, we need to provide an example postsync hook to call egencache --update-pkg-desc-index.
Comment 2 Larry the Git Cow gentoo-dev 2020-08-09 04:46:17 UTC
The bug has been referenced in the following commit(s):

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

commit f5ffdbf201e784e1cf559ffe33d0da1c6935b687
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-08-02 23:33:05 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-08-09 04:43:52 +0000

    cnf/repo.postsync.d/example: add egencache --update-pkg-desc-index (bug 735626)
    
    Add an egencache --update-pkg-desc-index example for users
    of app-portage/esearch to migrate to.
    
    Bug: https://bugs.gentoo.org/735626
    Reviewed-by: Brian Dolbec <dolsen@gentoo.org>
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 cnf/repo.postsync.d/example | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-08-09 06:28:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c2610ab321d23a1f1d70cc7a550225c1213dbfa

commit 5c2610ab321d23a1f1d70cc7a550225c1213dbfa
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-08-09 06:21:51 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-08-09 06:24:00 +0000

    sys-apps/portage: Bump to version 3.0.2
    
     #711174 Identified and fixed some FEATURES=compress-build-logs
             corruption issues
     #734990 Fix sync-rcu to recover from removed sync-rcu-store-dir
     #735626 Add example postsync hook to call egencache
             --update-pkg-desc-index
     #736334 Add fork safety to sqlite cache module
    
    Bug: https://bugs.gentoo.org/733180
    Bug: https://bugs.gentoo.org/711174
    Bug: https://bugs.gentoo.org/734990
    Bug: https://bugs.gentoo.org/735626
    Bug: https://bugs.gentoo.org/736334
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/portage/Manifest             |   1 +
 sys-apps/portage/portage-3.0.2.ebuild | 263 ++++++++++++++++++++++++++++++++++
 2 files changed, 264 insertions(+)
Comment 4 Zac Medico gentoo-dev 2020-09-18 18:49:58 UTC
Making this block bug 739718 since there have been some changes in portage-3.0.7.