Debian salsa PR ( by quqi99 )

作者:张华 发表于:2026-06-17 版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明

问题

之前提交过github PR, launchpad MP (means PR), 在debian salsa里提交PR还是第一次(也不知道是不是叫PR).

帐号注册

首先帐号注册不是自动的, 是人工的, 直接注册了是要被拒的,必须给salsa admin发邮件还会被approve. salsa admin的信息可以从 https://wiki.debian.org/Salsa 找到:

复制代码
web irc link: https://webchat.oftc.net/?channels=salsa
email: salsa-admin@debian.org
ticket: https://salsa.debian.org/salsa/support
and salsa has these administrators (IRC nick in parenthesis):
 Alexander Wirt (formorer)
 Joerg Jaspert (ganneff)
 Thomas Goirand (zigo)
 Antonio Terceiro (terceiro)

注册了帐号后给他们写邮件 (若第一次被拒了,要重新注册后再发邮件),如:

复制代码
Dear salsa admin,
 
I am writing to request a review of my salsa account registration, as I believe it might be a false positive triggered by the spam filter.
 
I registered on May 26 with the username "xxx" and the email "xxx@xxx.com". I need this account to contribute to the ovn project and create a PR.
 
I recently received an automated rejection email, but I would really appreciate it if you could help me unblock this account or re-approve the
registration. I am ready to provide any additional info if needed. 
 
Thank you for your time and assistance.

salsa admin批准后剩下的就是上传ssh key啥的,那就和github PR流程一样了, 可参考: OpenStack开发过程中常用Git操作场景 - https://zhhuabj.blog.csdn.net/article/details/9425385

切换工程

先将要工作的project给fork到zhhuabj, 然后运行'git push zhhuabj rsyslog_permission_2143318'提交代码后打开给的链接创建PR.

结果第二天发现PR CI failure, 那是因为我提交错地方了。那个链接打开之后它默认的是提交到自己帐号里了。 这个修改project的设置很隐蔽,在那个链接创建PR的界面的第一行有个"Change branches"的字眼,不仔细看还不容易找到。

复制代码
#From rsyslog_permission_2143318 into debian/sid   Change branches
From zhhuabj/ovn:rsyslog_permission_2143318 into xxx/third-party/ovn:debian/sid   Change branches