Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565536 - egencache --update-changelog: please allow exclude of directories and commits
Summary: egencache --update-changelog: please allow exclude of directories and commits
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-11 20:41 UTC by Robin Johnson
Modified: 2015-12-14 10:02 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-11-11 20:41:53 UTC
This is after talking about egencache --update-changelog improvements needed in #gentoo-infra, during turning on the functionality.

egencache needs the ability to exclude some commits and directories from updating changelogs.

1.
--changelog-exclude-commit 56bd759df1d0c750a065b8c845e93d5dfa6b549d

Should exclude the initial commit to repo/gentoo.git, as otherwise it will be in EVERY single ChangeLog. It should support any argument(s) that is a valid references, and resolve them to an actual commithash to exclude. It should be valid to specify MULTIPLE times, with one reference per instance.

2.
--changelog-exclude-path dir/
--changelog-exclude-path dir/file
--changelog-exclude-path **/files/digests-* (FUTURE)

Should explicitly exclude that directory and file from being included the list of changed files for changelog entries. If this means no files are changed for a given entry, the entry should probably be omitted.  It should be valid to specify MULTIPLE times, with one path fragment per instance. Path fragments shall be taken relative to the base directory of the repo. Wildcards may be considered in future.