1. 27 Mar, 2021 8 commits
    • Georges Racinet's avatar
      convert-local: new --min-gitlab-version option · 09748e9c6c06
      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's avatar
      Tests: made a `run-all-tests` command and a `test` make target · 045bc68c6edc
      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's avatar
      Extracted version parsing from fetch_watch_tags · 087279283936
      Georges Racinet authored
      It will be useful in other scripts
    • Georges Racinet's avatar
      Tests: requirements and CI adaptation · bfd554f78f9a
      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's avatar
      Packaging: imported fetch-watch-tags as a module · 7ecb143dc676
      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's avatar
      packaging: made a proper Python project with console scripts · bee38da7b9b3
      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's avatar
      hgignore: conflict temporary files · 52b6d33b0368
      Georges Racinet authored
    • Georges Racinet's avatar
      hgignore: adaptation for repo also being a user home directory · 4308242b2fcc
      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.
  2. 18 Mar, 2021 8 commits
  3. 13 Mar, 2021 14 commits