Package: qa.debian.org
Severity: normal
Tags: patch
X-Debbugs-Cc: Lucas Nussbaum <[email protected]>
User: [email protected]
Usertags: udd

Dear Maintainer,

>From the Salsa MR:

"
 UDD erroneously complains about invalid Forwarded values [1].

 Those patches were forwarded upstream via email as indicated with mailto: 
URIs, there are a few packages using this:

 
https://codesearch.debian.net/search?q=Forwarded%3A+mailto%3A+path%3Adebian%2Fpatches&literal=1&perpkg=1

 [1] https://udd.debian.org/patches.cgi?src=routino&version=3.4.3-3
"

https://salsa.debian.org/qa/udd/-/merge_requests/65

The patch is trivial:

--- a/rimporters/patches.rb
+++ b/rimporters/patches.rb
@@ -246,6 +246,9 @@ def analyze_forwarded(forwarded, upstream_bug)
   elsif fw =~ /^http(s)?:\/\//
     val = 'yes'
     reason = fw
+  elsif fw =~ /^mailto:/
+    val = 'yes'
+    reason = fw
   elsif fw =~ /^yes$/i
     # DEP3 says:
     # > Ideally the value is an URL proving that it has been forwarded and 
where one can find more

Kind Regards,

Bas

Reply via email to