Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forbid future index-states in CI #1158

Closed
wants to merge 1 commit into from
Closed

Forbid future index-states in CI #1158

wants to merge 1 commit into from

Conversation

jasagredo
Copy link
Contributor

This prevents future index-states to land in our cabal project.

In any case this will also be forbidden by cabal itself in the near future, so it is here just as a sanity check.

Copy link
Member

@amesgen amesgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, but do we actually want this now given that the cabal-install 3.12.1.0 with your fix is imminent (haskell/cabal#9885 (comment)) as you mention? The script looks quite ad-hoc.

@jasagredo
Copy link
Contributor Author

It is indeed very ad-hoc, but it happened just now:

❯ cabal build all
Warning: Requested index-state 2024-06-18T14:00:00Z is newer than
'cardano-haskell-packages'! Falling back to older state
(2024-06-18T12:42:43Z).

This was for some time a future index-state

@jasagredo
Copy link
Contributor Author

Closing as cabal-install 3.12.1.0 was released

@jasagredo jasagredo closed this Jun 28, 2024
@amesgen amesgen deleted the js/index-states branch June 28, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants