Skip to content

Add a commit check that detects removing non-redundant ("last with keyword") versions #381

@mgorny

Description

@mgorny

Let's say I have the following package:

Keywords for dev-python/soupsieve:
         |                               |   u   |  
         | a   a     p s     r   a l     |   n   |  
         | m   r h   p p   i i s l o m m | e u s | r
         | d a m p p c a x a s 3 p o 6 i | a s l | e
         | 6 r 6 p p 6 r 8 6 c 9 h n 8 p | p e o | p
         | 4 m 4 a c 4 c 6 4 v 0 a g k s | i d t | o
---------+-------------------------------+-------+-------
   2.3.1 | + + + + + + + + ~ ~ ~ ~ o ~ ~ | 8 o 0 | gentoo
[I]2.3.2 | + + + + + + + + ~ ~ ~ o ~ ~ ~ | 8 o   | gentoo

i.e. 2.3.2 doesn't have ~alpha. Normally, pkgcheck reports:

dev-python/soupsieve
  DroppedKeywords: version 2.3.2: alpha, x64-macos

However, if I remove the old version and commit, the package passes cleanly. I think it'd be useful if pkgcheck detected that last version having some keyword was removed, and warned about that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions