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

Add check that latest index state is not in the future #216

Open
michaelpj opened this issue Apr 19, 2023 · 0 comments
Open

Add check that latest index state is not in the future #216

michaelpj opened this issue Apr 19, 2023 · 0 comments

Comments

@michaelpj
Copy link
Contributor

If someone adds a package that is in the future, as happened recently (discussion here: https://github.com/input-output-hk/cardano-haskell-packages/pull/214), then we will accept that fine. The only problem with this is:

  1. To use it you have to put your index-state in the future
  2. Subsequent people adding packages will have to add timestamps after this future date. This does not play well with all our scripts which assume they can safely put in the current time as the timestamp, they will all not work until the future date passes.

This is a bit of a weird occurrence, but annoying enough that we should probably guard against it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant