Skip to content

Fix compilation of hackage-security test suite with Cabal-syntax on Hackage and bump version of hackage-repo-tool before release #281

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

Merged
merged 5 commits into from
Aug 13, 2022

Conversation

Mikolaj
Copy link
Member

@Mikolaj Mikolaj commented Aug 12, 2022

No description provided.

@Mikolaj Mikolaj changed the title Bump version of hackage-repo-tool before release Fix compilation of hackage-security with Cabal-syntax on Hackage and bump version of hackage-repo-tool before release Aug 12, 2022
@Mikolaj Mikolaj changed the title Fix compilation of hackage-security with Cabal-syntax on Hackage and bump version of hackage-repo-tool before release Fix compilation of hackage-security test suite with Cabal-syntax on Hackage and bump version of hackage-repo-tool before release Aug 12, 2022
@Mikolaj
Copy link
Member Author

Mikolaj commented Aug 12, 2022

See also haskell/cabal#8371 and haskell/cabal#8370.

@@ -1,6 +1,6 @@
cabal-version: 1.12
name: hackage-security
version: 0.6.2.1
version: 0.6.2.2
Copy link
Member

Choose a reason for hiding this comment

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

If you bump the version, you should delete the x-revision field, (or set the revision to 0 I suppose, but I never tried this).

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. Thank you.

Copy link

Choose a reason for hiding this comment

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

its not clear to me why there's an x-revision field in the cabal file in the repo at all? typically x-revision is supposed to be managed for you by hackage server.

Copy link
Member

Choose a reason for hiding this comment

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

Makes it easier to automatically upload the revision with https://github.com/hackage-trustees/hackage-cli

Copy link
Member

@andreasabel andreasabel left a comment

Choose a reason for hiding this comment

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

Thanks!

@Mikolaj
Copy link
Member Author

Mikolaj commented Aug 13, 2022

I wasn't able to revise on Hackage the Cabal-syntax breakage that requires the last commit, so I'm merging with it included, as a workaround.

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

Successfully merging this pull request may close these issues.

6 participants