Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558322 - portage checks for news before postsync.d/ hooks are executed
Summary: portage checks for news before postsync.d/ hooks are executed
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 549914
  Show dependency tree
 
Reported: 2015-08-20 23:25 UTC by Julian Ospald
Modified: 2015-09-22 01:38 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 Julian Ospald 2015-08-20 23:25:09 UTC
More specifically: news are checked in between repo.postsync.d/ and postsync.d/

So if you pull the news manually into your tree in postsync.d/ hooks, this will sort of mess up expected behavior.

This is creating minor annoyance for our postsync.d hooks https://github.com/hasufell/portage-gentoo-git-config/pull/6 which help to run the gentoo tree directly from git.
Comment 1 Zac Medico gentoo-dev 2015-08-21 00:06:27 UTC
There's a patch in the following branch:

https://github.com/zmedico/portage/tree/bug_558322

I've posted it for review here:

https://archives.gentoo.org/gentoo-portage-dev/message/6f0d6cb3af6bccaaeeee137822f7297d
Comment 2 Zac Medico gentoo-dev 2015-08-21 02:13:09 UTC
This is in the master branch now:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=bafb62bb32432094f1c413a9a7e2dc902ff11a5a
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-09-22 01:33:26 UTC
/etc/portage/repo.postsync.d/example
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2015-09-22 01:38:09 UTC
correction: Released in portage-2.2.21