Closed r0mainK closed 6 years ago
Ok so there were some subtle things about dulwich i did not take into account, so gonna rewrite the init to handle all protocols/domains names, and will let it do the rest, e.g. check repo exists and credentials are correct
Cool. Yes, this is the best we can do.
@vmarkovtsev fixed tests we can merge this
The class representing the index. We use dulwich to manage a cached repo that serves as a local copy of the git repo -> dulwich implements clone/pull/commit/push etc.
index.json
in the index class attribute (python dict) -> called at initindex.json
with the current value of the class -> used in init, delete and publishAt init uses regex to check the given remote_repo, username and password args have a correct format, if either is missing there is no auth in the url. Also initializes commit message and calls fetch index.