commit:     83dadf8c97a858d2a16ea4bdc0596b15980002be
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Wed Mar 11 12:15:35 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 12:50:10 2026 +0000
URL:        
https://gitweb.gentoo.org/proj/assign-pull-requests.git/commit/?id=83dadf8c

codeberg: add new package notice only when relevant

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Part-of: https://github.com/gentoo/assign-pull-requests/pull/11
Closes: https://github.com/gentoo/assign-pull-requests/pull/11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 assign-pull-requests-codeberg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assign-pull-requests-codeberg.py b/assign-pull-requests-codeberg.py
index bdcac13..88a9b65 100644
--- a/assign-pull-requests-codeberg.py
+++ b/assign-pull-requests-codeberg.py
@@ -345,7 +345,7 @@ def assign_one(
     if existing_package and not self_maintained and not bugs:
         body += "\n\n**If you do not receive any reply to this pull request, 
please open or link a bug to attract the attention of maintainers**"
 
-    if not existing_package:
+    if packages and not existing_package:
         body += "\n\n## New packages\nThis Pull Request appears to be 
introducing new packages only. Due to limited manpower, adding new packages is 
considered low priority. This does not mean that your pull request will not 
receive any attention, however, it might take quite some time for it to be 
reviewed. In the meantime, your new ebuild might find a home in the [GURU 
project repository](https://wiki.gentoo.org/wiki/Project:GURU): the ebuild 
repository maintained collaboratively by Gentoo users. GURU offers your ebuild 
a place to be reviewed and improved by other Gentoo users, while making it easy 
for Gentoo users to install it and enjoy the software it adds."
 
     # Verify maintainers for invalid addresses

Reply via email to