[Git][qa/jenkins.debian.net][master] reproducible debian: schedule: also report the salsa_username to be saved

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Wed Apr 30 14:13:05 BST 2025



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
c28314d4 by Mattia Rizzolo at 2025-04-30T15:11:15+02:00
reproducible debian: schedule: also report the salsa_username to be saved

The only reason we care here is because there are protections in place
to prevent mass scheduling from single users, and identifying the users
with the salsa username makes it possible to workaround said
protections.

Also, the scheduling users is logged on IRC.

Assume people are good.

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/cgi-bin/schedule


Changes:

=====================================
bin/cgi-bin/schedule
=====================================
@@ -110,7 +110,7 @@ def main(args):
                     check=True,
                     stdout=subprocess.PIPE,
                     stderr=subprocess.STDOUT,
-                    env={'LC_USER': user},
+                    env={'LC_USER': f'{salsa_username}:{user}'},
                 )
                 processes.append(p)
             except subprocess.CalledProcessError as e:



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c28314d47977eab1386850c7ad528a89806a86fe

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c28314d47977eab1386850c7ad528a89806a86fe
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250430/a4579358/attachment.htm>


More information about the Qa-jenkins-scm mailing list