Skip to content

understanding the error message from test-bot when using the --keep-old flag #4935

Discussion options

You must be logged in to vote

--keep-old is supported for adding additional bottles, but you can't replace existing bottles.

The reason for this is because replacing a bottle requires incrementing rebuild (since a released bottle is immutable). Rebuild numbering however is currently scoped globally, e.g.

  bottle do
    root_url "https://ghcr.io/v2/freecad/freecad"
    rebuild 1 # <--- global rebuild
    sha256 cellar: :any, big_sur:  "5d63c496f3a0682a414d31207d290fbde724a9b8b2ba8cf8aaa195bf19a27179"
    sha256 cellar: :any, catalina: "a28dbd0a545c76ea8caef7aa5533622bfec130a4985724702bc67d0eb031e239"
    sha256 cellar: :any, mojave:   "45f987db03e2a0fa996c855b5f3987ac904fde6a41ecb64f8ffbbdca28a073a6"
  end

so you can'…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ipatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants