Skip to content
  • Eli Schwartz's avatar
    db-update: die when trying to update a package without updating a pending rebuild · 8804e63f
    Eli Schwartz authored
    A semi-common pattern is for one maintainer to stage a rebuild of a
    package due to e.g. cascading repository-wide python/boost/whatever
    rebuilds, and then for the original maintainer of the package to not
    notice and update the package in the stable repo, leaving an out of date
    rebuild in staging or testing.
    
    Then the the out of date package gets moved and ends up breaking things,
    possibly via a package downgrade, possibly via breaking compatibility
    with a much more targeted rebuild uploaded all at once. Ultimately,
    Things Happen™ and the repository hierarchy gets broken.
    
    Prevent this by enforcing for all packages that exist in
    multiple levels of the repo: staging -> testing -> stable
    
    That updates to one must come with an update to all the others.
    8804e63f