yfprojects
yfprojects
> Attempting a lean rewrite: in a rewritten script, we could omit dependency resolution because other tools like pip freeze, pip-compile or pip-env are better at it. We still can...
We could use pip's dependency resolver which is a very low level requirement for our script. The implementation of `pip download` can serve as a reference: https://github.com/pypa/pip/blob/8a51fe790ae4df0601a9e6b7db3612e858cd1637/src/pip/_internal/commands/download.py#L77 Since the pip...
> (Alternatively, if you feel that we should keep dependency resolution as a feature of the script... then yes, we could use a package for that instead of calling pip...
Very nice although I wouldn't have used OOP for a script since the well defined API introduces quite some unused code.
I think it makes sense to publish this as a package on pypi. The code could then be split up into multiple files so that one could still download the...
Great @johannesjh! I will do a complete code review soon.
> It seems you want a non-zero return code if any task is actually executed (not up-to-date). is that it? currently not possible but should not be hard to achieve...
> I suppose borg developers had a reason for not compacting on each run... I'd do it like validation.
Maybe we could reopen the *repo add dialog* with the same contents when adding the repo fails?
> Should it be prefilled after vorta is restarted or just for the session? Just for the session imo.