[Bug 1160446] New: osc (or obs) creates wrong submit request
http://bugzilla.suse.com/show_bug.cgi?id=1160446 Bug ID: 1160446 Summary: osc (or obs) creates wrong submit request Classification: Internal Novell Products Product: openSUSE Build Service Version: master Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: osc Assignee: adrian@suse.com Reporter: snwint@suse.com QA Contact: adrian@suse.com Found By: --- Blocker: --- 'osc sr -r N ...' does not work correctly (specifying a release). Compare # osc sr -r 1227 openSUSE.org:system:install:head installation-images SUSE:SLE-15-SP1:Update https://build.suse.de/request/show/208898 (wrong) with (copying revision 1227 to another project and submitting that) https://build.suse.de/request/show/208900 (ok) The bad part is that osc in both cases shows the same diff - see the build.suse.de pages but the actual submission is different - see the changelog diff. Despite '-r' the latest version is submitted. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1160446 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marco.strigl@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1160446 http://bugzilla.suse.com/show_bug.cgi?id=1160446#c1 --- Comment #1 from Marco Strigl <marco.strigl@suse.com> --- This is due the https://bugzilla.suse.com/attachment.cgi?bugid=1160446&action=enterfact that a mr is created if the target project does not accept submit requests. This is called instead: create_maintenance_request(apiurl, src_project, [src_package], tproject, dst_project, src_update, message) No rev is given to the function. But the action type for a maintenance incident can handle the src_rev: maintenance_incident': ('src_project', 'src_package', 'src_rev', 'tgt_project', 'tgt_package', 'tgt_releaseproject', 'person_name', 'opt_sourceupdate', opt_makeoriginolder', 'acceptinfo_rev', 'acceptinfo_srcmd5', 'acceptinfo_xsrcmd5', 'acceptinfo_osrcmd5', acceptinfo_oxsrcmd5') I created a PR to include the rev. PR as patch attached -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1160446 Marco Strigl <marco.strigl@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1160446 http://bugzilla.suse.com/show_bug.cgi?id=1160446#c2 --- Comment #2 from Marco Strigl <marco.strigl@suse.com> --- Created attachment 827158 --> http://bugzilla.suse.com/attachment.cgi?id=827158&action=edit fix -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1160446 http://bugzilla.suse.com/show_bug.cgi?id=1160446#c3 --- Comment #3 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1160446) was mentioned in https://build.opensuse.org/request/show/781739 Factory / osc -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1160446 http://bugzilla.suse.com/show_bug.cgi?id=1160446#c4 --- Comment #4 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1160446) was mentioned in https://build.opensuse.org/request/show/781771 Factory / osc -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1160446 http://bugzilla.suse.com/show_bug.cgi?id=1160446#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2020:1172-1: An update that has three recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1160446,1166537,1168862 CVE References: Sources used: SUSE Linux Enterprise Module for Development Tools 15-SP1 (src): osc-0.168.2-3.15.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1160446 https://bugzilla.suse.com/show_bug.cgi?id=1160446#c10 --- Comment #10 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2022:4351-1: An update that solves two vulnerabilities, contains one feature and has 22 fixes is now available. Category: security (important) Bug References: 1089025,1097996,1122675,1125243,1126055,1126058,1127932,1129757,1129889,1131512,1136584,1137477,1138165,1138977,1140697,1142518,1142662,1144211,1154972,1155953,1156501,1160446,1166537,1173926 CVE References: CVE-2019-3681,CVE-2019-3685 JIRA References: OBS-203 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP5 (src): osc-0.182.0-15.12.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com