[Bug 749190] New: release number generation broken due to missing vrev's in links that are based on srcmd5s
https://bugzilla.novell.com/show_bug.cgi?id=749190 https://bugzilla.novell.com/show_bug.cgi?id=749190#c0 Summary: release number generation broken due to missing vrev's in links that are based on srcmd5s Classification: Internal Novell Products Product: openSUSE Build Service Version: master Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: backend AssignedTo: mls@suse.com ReportedBy: dmueller@suse.com QAContact: adrian@suse.com CC: ajohansson@suse.com Found By: --- Blocker: --- $ osc api /source/KDE:Distro:Factory/ocaml-facile?rev=2 | head -n 1 <directory name="ocaml-facile" rev="2" vrev="171" srcmd5="a02e3f4159df6660bfc50bd163361ef8"> has a proper "vrev" attribute, while the same with the md5 expaneded: $ osc api /source/KDE:Distro:Factory/ocaml-facile?rev=7fbd9cf3931d965b30c6c64ba3c5faf4 | head -n 1 <directory name="ocaml-facile" rev="7fbd9cf3931d965b30c6c64ba3c5faf4" srcmd5="7fbd9cf3931d965b30c6c64ba3c5faf4"> has not. from there the %release number generation goes downhill.. from sub getrev() in bs_srcserver: } elsif ($rev =~ /^[0-9a-f]{32}$/) { return undef unless -e "$projectsdir/$projid.pkg/$packid.rev" || -e "$projectsdir/$projid.pkg/$packid.mrev"; $rev = {'srcmd5' => $rev, 'rev' => $rev}; it just does not calculate vrev, which then gets in the relase number evaluation evaluated as 0, which causes the vrel of the expanded link to be wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749190
https://bugzilla.novell.com/show_bug.cgi?id=749190#c1
Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com