PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Thursday the 15th of May, 2014

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[11:25:48] <dstufft> WELP, MAL +1'd PEP 470 in concept. I am seriously surprised.
[12:48:48] <jezdez> dstufft: wooo!
[12:49:17] <dstufft> jezdez: that was not the email I expected when I saw MAL commented on that thread
[12:49:20] <dstufft> like
[12:49:21] <dstufft> at all
[12:49:29] <jezdez> well, I guess it makes sense
[12:49:45] <dstufft> I was sure that the discussion was going to end up being MAL/Stefan demanding that pip process external crap by default
[12:49:51] <dstufft> and everyone else not wanting that
[12:49:57] <dstufft> and just stalemateing
[12:50:21] <jezdez> it allows his company's workflow, and that's the important thing for him in that discussion, I believe
[12:50:39] <jezdez> even better if --extra-index-url gets some more attention
[12:50:46] <jezdez> hopefully a new name as well LOL
[12:52:04] <dstufft> yea we have --index-url, --extra-index-url, and --find-links which all provide extremely similar but slightly different things
[12:52:13] <dstufft> i'd love to figure out a way to unite those concepts
[12:52:44] <dstufft> (we also have --no-index which can be thrown in there for good measure)
[12:52:49] <jezdez> ideally by making the locator smarter and accept both a find-liks capable url as well as a simple api
[12:53:00] <jezdez> then have only one --index option
[12:53:03] <jezdez> which defaults to pypi
[12:53:14] <jezdez> disable pypi by adding a new one called --no-pypi
[12:53:37] <jezdez> --no-index would be moot
[12:54:13] <dstufft> yea my current thinking is that we have a singular --index option, and the locator can just determine what kind of URL it's dealing with. And either have it be "if you specify --index, it overrides the list and you have to also provide the PyPI URL" or "--index is always additive and there is an additional flag you can pass to turn off the defaut"
[12:54:56] <jezdez> heh, same thoughts
[12:54:58] <jezdez> make it so
[12:55:19] <jezdez> I wonder if we could move to using distlib's locator api for this
[12:55:33] <jezdez> as it already has a fallback system for multiple locators
[12:56:19] <dstufft> if PEP 470 goes through, the only real difference between --find-links and --index-url is that --find-links points to an exact url, and can also be a file url on it's own, and --index-url does the /<project>/<version>/, /<project>/, /, fallback thing
[12:56:47] <dstufft> so it shouldn't be too hard to unite them
[12:57:16] <dstufft> the big question would be whether it would be a bad thing to tack on extra stuff to the end of a find-links URL
[12:57:53] <dstufft> I need to play around with it more, probably will after PEP470 (hopefully) lands
[13:02:53] <jezdez> cool, dstufft