You are not logged in.
I'm using GitHub actions to update about 100 i18n packages for firefox-nightly automatically. However, when the job runs to using git to publish to aur, it fails with `
Pushing to ssh://aur.archlinux.org/firefox-nightly-i18n-fy-nl.git
remote: Traceback (most recent call last):
remote: File "/srv/http/aurweb/.venv/bin/aurweb-git-update", line 6, in <module>
remote: sys.exit(main())
remote: ^^^^^^
remote: File "/srv/http/aurweb/aurweb/git/update.py", line 474, in main
remote: save_metadata(metadata, conn, user)
remote: File "/srv/http/aurweb/aurweb/git/update.py", line 107, in save_metadata
remote: conn.execute(
remote: File "/srv/http/aurweb/aurweb/db.py", line 429, in execute
remote: return self._conn.execute(query, params)
remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
remote: File "/srv/http/aurweb/aurweb/db.py", line 379, in execute
remote: cur.execute(query, params)
remote: File "/srv/http/aurweb/.venv/lib/python3.12/site-packages/MySQLdb/cursors.py", line 179, in execute
remote: res = self._query(mogrified_query)
remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
remote: File "/srv/http/aurweb/.venv/lib/python3.12/site-packages/MySQLdb/cursors.py", line 330, in _query
remote: db.query(q)
remote: File "/srv/http/aurweb/.venv/lib/python3.12/site-packages/MySQLdb/connections.py", line 261, in query
remote: _mysql.connection.query(self, query)
remote: MySQLdb.OperationalError: (1020, "Record has changed since last read in table 'PackageSources'")
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/firefox-nightly-i18n-fy-nl.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur.archlinux.org/firefox-nightly-i18n-fy-nl.git'
Someone in the IRC channel suggested that I publish the packages one by one. However, the situation still happens.
You can find the origin logs here:
Serial publishing
Parallel publishing
How to solve this, or what else I can do?
Last edited by Sving1024 (2024-12-21 17:19:39)
Offline
Hm, that doesn't sound right .. If you get such a trace I think this might be worth a bug report against the aurweb repo: https://gitlab.archlinux.org/archlinux/aurweb
Offline
Now also crossposted by OP to the AURweb bugtracker: https://gitlab.archlinux.org/archlinux/ … issues/525
Offline