Skip to content
Snippets Groups Projects
Unverified Commit c7243cd8 authored by Caleb Connolly's avatar Caleb Connolly :recycle:
Browse files

add a wrapper script using ttq with git push-options (MR 2)


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>
parent 3bb6be9e
No related branches found
No related tags found
1 merge request!2Make TTQ behave better in scripts
Pipeline #141197 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:00:15

avatar
Download artifacts

No artifacts found

Passed

00:00:14

avatar
Download artifacts

No artifacts found