- 27 Mar, 2021 8 commits
-
-
Georges Racinet authored
This should be often nicer than `--branch-prefix`. Did not bother to make both of them really compatible and deal with resulting corner cases, that's why they are mutually exclusive.
-
Georges Racinet authored
This looks somewhat redundant, but `make` is not currently available in the CI image. We could add it (but not the whole toolchain) but it's not worth the effort for now.
-
Georges Racinet authored
It will be useful in other scripts
-
Georges Racinet authored
The only tests so far are in fetch-watch-tags, which is motivation to run pytest for the (very young) package
-
Georges Racinet authored
The given paths will now be interpreted from the current working directory, as this is more natural for a console script, that typically is installed in some `bin` directory (by default on the conversion system, it will be `~/.local/bin`. Services and timers can still use absolute paths. This change brings in the dependency to `requests`, or, rather, makes it explicit. Also, Python console scripts take care of returning with code 0 if the callable returns nothing (actually, `None`). Complements: `sys.exit(None)` gives return code 1 in interactive sessions and code 0 if non-interactive.
-
Georges Racinet authored
This will allow sharing basic utilities, like branch name parsing and the like, and allow for proper testing On the conversion machine, we will install the console scripts with `pip install --user -e`. This is what the Makefile defaults to, and it leads to convert-pull-local, the first migrated script to lie in `~/.local/bin`. The source and destination paths are now interpreted relative to the current working directory, which is more natural for scripts that are installed in such a dedicated directory.
-
Georges Racinet authored
-
Georges Racinet authored
On the conversion system, we made the clone of upstream-conversion also the home directory of the system user that runs the scripts.
-
- 18 Mar, 2021 8 commits
-
-
Georges Racinet authored
For now a big string in the module is good enough
-
Georges Racinet authored
will make it easier to expand
-
Georges Racinet authored
Indeed, it can create several issues. Kept the old spelling not to bother with updating service/timer etc.
-
Georges Racinet authored
There was a forgotten case, but it's actually better this way.
-
Georges Racinet authored
and started to test this, with CI. closes #1
-
Georges Racinet authored
will make some parts testable for this script that has to run unattended with nothing to do most of the times.
-
Georges Racinet authored
-
Georges Racinet authored
Initial import, as-is.
-
- 13 Mar, 2021 14 commits
-
-
Georges Racinet authored
-
Georges Racinet authored
This is nicer for editors and linters
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
A boring operation that was very repetitive. Might as well automate it.
-
Georges Racinet authored
It is an implementation detail that it is written in Python. However, won't drop the `.sh` in a shell script, because that is dangerous (people could try `--help` and it's often not supported, got a system user `--help` once because of this).
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
We'll run flake8 on it only afterwards.
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
-