Skip to content
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

bs_publish calls publishedhook with array of all changed elements: arg list too long #6995

Open
bugfinder opened this issue Feb 18, 2019 · 1 comment
Assignees
Labels
Backend Things regarding the OBS backend

Comments

@bugfinder
Copy link
Member

as reported by coolo:

Just spotted in the publisher.log:

running rsync to rsync://download.publish.opensuse.org/put-repos-main at Mon Feb 11 15:24:53 2019
running trigger rsync to rsync://download.publish.opensuse.org/trigger-repos-sync at Mon Feb 11

18:50:39 2019
calling published hook /srv/obs/kiwi/prgs/Backports_upload.sh
Can't exec "/srv/obs/kiwi/prgs/Backports_upload.sh": Argument list too long at
/usr/lib/obs/server/bs_publish line 131.
/srv/obs/kiwi/prgs/Backports_upload.sh: Argument list too long
publish failed for openSUSE:Backports:SLE-15-SP1/standard :
/srv/obs/kiwi/prgs/Backports_upload.sh failed: 256
syncing database (110322 ops)

passing @changed in
qsystem(@$hook, $prp, $extrep, @changed) && die(" @$hook failed: $?\n");
is probably a bad idea as repos can be pretty large ...

@bugfinder bugfinder added the Backend Things regarding the OBS backend label Feb 18, 2019
@mlschroe
Copy link
Member

That @Changed passing needs to be ripped out anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend
Projects
None yet
Development

No branches or pull requests

2 participants