-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync-template.sh
script does not create pull request
#14
Comments
Hmm - seems that JSON does not like the newline characters in the body of the PR message: {"title":"Synchronize files from linux-system-roles/template",
"base":"master",
"head":"lsr-template-sync",
"body":"This PR propagates files from [linux-system-roles/template](https://gith
ub.com/linux-system-roles/template) which should be in sync across [linux-system
-roles](https://github.com/linux-system-roles) repos. In case of changing affect
ed files via pushing to this PR, please do not forget also to push the changes t
o [linux-system-roles/template](https://github.com/linux-system-roles/template)
repo.
Revision: [`448ff39c16f171b7f09ff5a21e62340add304d55`](https://github.com/linux-
system-roles/template/tree/448ff39c16f171b7f09ff5a21e62340add304d55)
CC: @i386x, @pcahyna, @richm"} feed this to jq:
remove the newlines from the "body" field: {"title":"Synchronize files from linux-system-roles/template",
"base":"master",
"head":"lsr-template-sync",
"body":"This PR propagates files from [linux-system-roles/template](https://gith
ub.com/linux-system-roles/template) which should be in sync across [linux-system
-roles](https://github.com/linux-system-roles) repos. In case of changing affect
ed files via pushing to this PR, please do not forget also to push the changes t
o [linux-system-roles/template](https://github.com/linux-system-roles/template)
repo. Revision: [`448ff39c16f171b7f09ff5a21e62340add304d55`](https://github.com/
linux-system-roles/template/tree/448ff39c16f171b7f09ff5a21e62340add304d55) CC: @
i386x, @pcahyna, @richm"} feed this to jq {
"title": "Synchronize files from linux-system-roles/template",
"base": "master",
"head": "lsr-template-sync",
"body": "This PR propagates files from [linux-system-roles/template](https://github.com/linux-system-roles/template) which should be in sync across [linux-system-roles](https://github.com/linux-system-roles) repos. In case of changing affected files via pushing to this PR, please do not forget also to push the changes to [linux-system-roles/template](https://github.com/linux-system-roles/template) repo. Revision: [`448ff39c16f171b7f09ff5a21e62340add304d55`](https://github.com/linux-system-roles/template/tree/448ff39c16f171b7f09ff5a21e62340add304d55) CC: @i386x, @pcahyna, @richm"
} I probably broke this when I added support for |
Bash probably transforms escaped |
obsolete since we use tox-lsr now |
I just run
./sync-template.sh -r kernel_settings -t {{token}}
and I don't see anything in https://github.com/linux-system-roles/kernel_settings/pulls. By investigating the script's output, I foundThis is related to
curl
command, which was run ascurl
command above exits with 0, so the script behaves like everything have been ok.Observe that commit linux-system-roles/kernel_settings@54d04c1 has been pushed to
lsr-template-sync
branch successfully.The text was updated successfully, but these errors were encountered: