Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623032 - app-portage/repoman-2.3.2: spurious copyright header updates
Summary: app-portage/repoman-2.3.2: spurious copyright header updates
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-29 17:13 UTC by Zac Medico
Modified: 2022-07-12 03: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 2017-06-29 17:13:23 UTC
Sometimes I notice repoman call update_copyright for files that have not really changed. If the git index is not completely in sync with the file (stat result differs), then repoman thinks the file has changed because it shows up in the output of this command:

    git diff-index --name-only --relative --diff-filter=M HEAD

If we call `git update-index --refresh` first, then we can avoid spurious copyright header updates.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:23 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.