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 /diff/:package/:version page #75

Closed
wojtekmach opened this issue Aug 12, 2021 · 4 comments
Closed

Add /diff/:package/:version page #75

wojtekmach opened this issue Aug 12, 2021 · 4 comments

Comments

@wojtekmach
Copy link
Member

Currently we only support /diff/:package/:version1..:version2, that is, we create the diff between two versions.

This new endpoint would compare the given version against the immediately preceding version which we'd grab by using Hex HTTP API.

@ericmj
Copy link
Member

ericmj commented Aug 12, 2021

Another option is to have a link that lands you on https://diff.hex.pm/ with package name and "to" version already filled in. So you can just select the "from" version (default is the preceding version) and then go.

@wojtekmach
Copy link
Member Author

Oh, that's even better.

@ericmj
Copy link
Member

ericmj commented Aug 13, 2021

What about https://diff.hex.pm/?package=...&to=... in that case?

@wojtekmach
Copy link
Member Author

Good call. Closing in favour of #76.

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

2 participants