Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 236375

Summary: repoman doesn't warn when removing all stable version for a particular arch
Product: Portage Development Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: normal CC: blueness, pacho, robbat2
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2008-09-01 18:13:52 UTC
betelgeuse@pena /usr/portage/media-sound/alsa-utils $ eshowkw
Keywords for media-sound/alsa-utils:

              |                         s     |
              |                         p     |
              |                         a   x |
              |                         r   8 |
              |                         c   6 | u
              | a a             p     s -   - | n
              | l m   h i m m   p s   p f   f | u s
              | p d a p a 6 i p c 3   a b x b | s l
              | h 6 r p 6 8 p p 6 9 s r s 8 s | e o
              | a 4 m a 4 k s c 4 0 h c d 6 d | d t
--------------+-------------------------------+------
1.0.14_rc2-r3 | ~ + + ~ ~   ~ + +   + +   +   | * 0.9
1.0.14        | + + + + +   ~ + +   + +   +   |
1.0.14-r1     | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~   ~   | *
1.0.14-r2     | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~   ~   | *
1.0.15        | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~   ~   | *
1.0.16_rc1    | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~   ~   | *
1.0.16        | + + ~ + +   ~ + +   ~ +   +   |
1.0.16-r1     | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~   ~   | *
1.0.16-r2     | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~   ~   | *
1.0.17        | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~   ~   |

removing 1.0.14* went fine through repoman although it's the only stable for sh
Comment 1 Zac Medico gentoo-dev 2012-09-09 00:12:18 UTC
Things like this are tricky since repoman would have to parse the vcs diff.
Comment 2 Zac Medico gentoo-dev 2015-08-10 19:25:14 UTC
*** Bug 557250 has been marked as a duplicate of this bug. ***
Comment 3 Zac Medico gentoo-dev 2015-08-10 19:26:02 UTC
We should revisit this now that the git migration is complete.
Comment 4 Zac Medico gentoo-dev 2015-10-11 19:06:42 UTC
*** Bug 558906 has been marked as a duplicate of this bug. ***
Comment 5 Anthony Basile gentoo-dev 2015-10-11 22:48:02 UTC
(In reply to Zac Medico from comment #3)
> We should revisit this now that the git migration is complete.

This should be easier now.  If an ebuild is about to be removed (git diff shows a diff against /dev/null) then check its keywords, see if any are stable and then check against what remains.  I could probably write this in bash but the repoman code seems in bad shape.
Comment 6 Brian Dolbec (RETIRED) gentoo-dev 2015-10-31 04:36:35 UTC
It will be easier to add to repoman once I have things better organized into the plugin modules (the next stage of the rewrite).
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:35 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.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:25:24 UTC
pkgcheck has DroppedStableKeywords.