vcstool
vcstool copied to clipboard
Support authentication
vcs_base.load_url()
currently doesn't support authentication. Add support for both basic and token-based authentication by parsing netrc-formatted files. Use appdirs
to support vcstool-specific authentication files for both the user and the system (user takes precedence).
Huh. I'm not sure what I'm doing wrong on the mock bits for earlier pythons.
Ah ha, it's an upstream python bug. All fixed now.
Note that this borrows heavily from vcstools.
As discussed offline it needs to be double checked that this contribution complies with the license.
Alright, this has been completely redesigned and rewritten from scratch. It does introduce the appdirs
dependency, as discussed.
Please add some documentation about the new auth files to the README.
Done in fc361a2287a953e9a274d1b2d37fa6fc3360ad8e, does that seem to be a sensible place to put it?
Gentle ping here.
Hey @dirk-thomas, how are you feeling about this?
@kyrofa / @dirk-thomas is there a reason why this MR was not accepted?