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

Make date to be part of the index url #7

Open
yarikoptic opened this issue Oct 6, 2022 · 3 comments
Open

Make date to be part of the index url #7

yarikoptic opened this issue Oct 6, 2022 · 3 comments

Comments

@yarikoptic
Copy link

I am here in a follow up to ReproNim/repropip#1 and I think pypi-timemachine is exactly what I need besides one "wishlist" aspect: be able to specify date not while starting up the pypi-timemachine but rather in the index-url, e.g.

 pip install --index-url http://127.0.0.1:5000/2014-02-03T12:33:02/ astropy

thus making it possible to reuse the same server for various dates, similarly to how https://snapshot.debian.org/ works. Do you think it is possible to implement or would be prohibitively expensive. (I haven't checked yet how pypi-timemachine functions, decided to just ask first... socializing you know ;-) )

@asmacdo
Copy link

asmacdo commented Oct 6, 2022

It also seems reasonable to accept cutoff date time as a query param, which wouldn't require a new endpoint?

nevermind, this request is coming from pip

@nevakrien
Copy link

I made a version that does that I can try adding that in but it's probably our of scope for this project

@yarikoptic
Copy link
Author

@nevakrien why do you think it is out of scope? may be @astrofrog would love 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

3 participants