Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557250 - Repoman does not catch stable ebuild removal with Git
Summary: Repoman does not catch stable ebuild removal with Git
Status: RESOLVED DUPLICATE of bug 236375
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 557246
  Show dependency tree
 
Reported: 2015-08-10 18:20 UTC by Robin Johnson
Modified: 2015-08-10 19:25 UTC (History)
4 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-08-10 18:20:21 UTC
Repoman is not detecting removal of stable ebuilds like in CVS.

How to reproduce (per bug 557246)

cd media-sound/pnmixer && \
git revert c7b661aecdac38b4483857dd786d6f694338c592 && \
git rm *{0.6_pre20111213,0.6_pre20140924}* files/pnmixer-0.6_pre20111213-* \
&& repoman commit -m 'Test new removal of stable ebuild.'

Result:
RepoMan scours the neighborhood...
>>> Creating Manifest for /code/gentoo/gentoo-git/repo/gentoo/media-sound/pnmixer
  ebuild.badheader              2
   media-sound/pnmixer/pnmixer-0.6_rc1.ebuild: Malformed CVS Header on line: 3
   media-sound/pnmixer/pnmixer-9999.ebuild: Malformed CVS Header on line: 3

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

* 0 files being committed... 
gpg: WARNING: unsafe permissions on homedir '/home/robbat2/.gnupg'
[master 6324d48] Test new removal of stable ebuild.
 5 files changed, 1 insertion(+), 184 deletions(-)
 rewrite media-sound/pnmixer/Manifest (67%)
 delete mode 100644 media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch
 delete mode 100644 media-sound/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch
 delete mode 100644 media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild
 delete mode 100644 media-sound/pnmixer/pnmixer-0.6_pre20140924.ebuild

Commit complete.
RepoMan sez: "If everyone were like you, I'd be out of business!"
Comment 1 Mike Gilbert gentoo-dev 2015-08-10 18:23:43 UTC
> Repoman is not detecting removal of stable ebuilds like in CVS.

Since when did it ever do that?
Comment 2 Mike Gilbert gentoo-dev 2015-08-10 18:33:39 UTC
repoman has never checked for removal of the last stable ebuild. This is not a regression. I am lowering the priority.

From my CVS tree:

floppym@naomi pnmixer % pwd
/home/floppym/src/gentoo-x86/media-sound/pnmixer

floppym@naomi pnmixer % eshowkw
Keywords for media-sound/pnmixer:
                |                               | u   |
                | a a   a         n   p     s   | n   |
                | l m   r h i m m i   p s   p   | u s | r
                | p d a m p a 6 i o p c 3   a x | s l | e
                | h 6 r 6 p 6 8 p s p 6 9 s r 8 | e o | p
                | a 4 m 4 a 4 k s 2 c 4 0 h c 6 | d t | o
----------------+-------------------------------+-----+-------
0.6_pre20111213 | o + o o o o o o o + o o o o + | o 0 | gentoo
0.6_pre20140924 | o ~ o o o o o o o ~ o o o o ~ | o   | gentoo
           9999 | o o o o o o o o o o o o o o o | o   | gentoo

floppym@naomi pnmixer % cvs rm -f pnmixer-0.6_pre20111213.ebuild
cvs remove: use `cvs commit' to remove this file permanently

floppym@naomi pnmixer % repoman manifest && repoman full
>>> Creating Manifest for /home/floppym/src/gentoo-x86/media-sound/pnmixer

RepoMan scours the neighborhood...
  ebuild.badheader              2
   media-sound/pnmixer/pnmixer-0.6_pre20140924.ebuild: Malformed Id header on line: 3
   media-sound/pnmixer/pnmixer-9999.ebuild: Malformed Id header on line: 3

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."
Comment 3 Zac Medico gentoo-dev 2015-08-10 19:25:14 UTC

*** This bug has been marked as a duplicate of bug 236375 ***