Skip to content
Snippets Groups Projects
Caleb Connolly's avatar
Caleb Connolly authored
It's possible to push to a branch and open an MR with a single command
on GitLab with

  git push -o merge_request.create

One can also adjust the MR title and description with

  merge_request.title="beep"
  merge_request.description="boop"

However, it isn't possible to include newline literals in git push
options. As a workaround GitLab will automatically convert all '\n'
literals into newlines.

To enable using this with TTQ, add a simple wrapper script which runs
TTQ through awk to convert all newline literals into '\n'.

Signed-off-by: default avatarCaleb Connolly <caleb.connolly@linaro.org>
c7243cd8
History

ttq

testing team query

CLI program to query the testing team by SoC, device and UI.

$ ./ttq.py -h
usage: ttq.py [-h] [-o] [-f] [-m] [-n] [QUERY]

examples:
  list users by device:
  $ ./ttq.py  # all
  $ ./ttq.py librem  # matching *librem*
  $ ./ttq.py pinephone=  # matching *pinephone (not the pro)

  list users by SoC/device:
  $ ./ttq.py soc:sdm845  # matching *sdm845*

  list users by UI:
  $ ./ttq.py ui:  # all
  $ ./ttq.py ui:sxmo  # matching *sxmo*

positional arguments:
  QUERY               what to search for

options:
  -h, --help          show this help message and exit
  -o, --offline       never treat cached files as outdated
  -f, --force-update  force update of cached files
  -m, --matrix        show matrix users instead of gitlab users
  -n, --notes         print notes (if any)