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

Implement revision urls, drop "index/" url #63

Merged
merged 3 commits into from
May 30, 2023
Merged

Conversation

andreabedini
Copy link
Member

Closes #58

@andreabedini andreabedini self-assigned this May 30, 2023
targets <- prepareIndexPkgMetadata expiryTime ppv
let path = outputDir </> "index" </> prettyShow pkgName </> prettyShow pkgVersion </> "package.json"
Copy link
Collaborator

Choose a reason for hiding this comment

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

We're now no longer writing this file anywhere? Does that matter?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think it ever mattered. I don't think hackage serves it either.

Copy link
Collaborator

@michaelpj michaelpj left a comment

Choose a reason for hiding this comment

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

Not really sure what the tradeoff is here but seems fine.

@andreabedini
Copy link
Member Author

Not really sure what the tradeoff is here but seems fine.

It should be safe; but you just made be think that I didn't serve the latest cabal file anymore so I put that back under the hackage url (package/pkg-id/pkg-name.cabal)

@andreabedini andreabedini merged commit 32c033c into main May 30, 2023
@andreabedini andreabedini deleted the andrea/hackage-urls branch May 30, 2023 08:56
andreabedini added a commit to IntersectMBO/cardano-haskell-packages that referenced this pull request Jul 7, 2023
disassembler pushed a commit to IntersectMBO/cardano-haskell-packages that referenced this pull request Jul 10, 2023
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.

Hackage url compatibility
2 participants