[Bug 789234] New: osc mbranch does not work as expected with additional attributes
https://bugzilla.novell.com/show_bug.cgi?id=789234 https://bugzilla.novell.com/show_bug.cgi?id=789234#c0 Summary: osc mbranch does not work as expected with additional attributes Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wolfgang@rosenauer.org QAContact: adrian@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/18.0 Firefox/18.0 osc mbranch -u Evergreen:MaintenanceProject -a Evergreen:Maintained is supposed to set up a branch correctly using these attributes. But when a package is submitted using osc mr -a Evergreen:MaintenanceProject it still creates a request which has the wrong releasetarget Reproducible: Always Steps to Reproduce: 1. branch a package for update using osc mbranch -u Evergreen:MaintenanceProject -a Evergreen:Maintained 2. make some local changes 3. submit the patch using osc mr -a Evergreen:MaintenanceProject Actual Results: The patch is requested against the correct project (here openSUSE:Evergreen:Maintenance) but using the releasetarget "openSUSE:11,4:Update" instead of openSUSE:Evergreen:11.4 Expected Results: releasetarget is openSUSE:Evergreen:11.4 -- 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=789234 https://bugzilla.novell.com/show_bug.cgi?id=789234#c Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com AssignedTo|bnc-team-screening@forge.pr |adrian@suse.com |ovo.novell.com | -- 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=789234 https://bugzilla.novell.com/show_bug.cgi?id=789234#c1 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Adrian Schröter <adrian@suse.com> 2012-11-13 12:39:34 UTC --- Please use osc mbranch -u Evergreen:UpdateProject -a Evergreen:Maintained instead, this creates the right branch. -- 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=789234 https://bugzilla.novell.com/show_bug.cgi?id=789234#c2 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #2 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2012-11-13 12:50:57 UTC --- Sorry, does not work: osc mbranch -u Evergreen:UpdateProject -a Evergreen:Maintained mozilla-nspr ... osc patchinfo osc commit osc mr -a Evergreen:MaintenanceProject Submits the patch to openSUSE:Evergreen:Maintenance, BUT 1. issue -------- osc meta prj openSUSE:Evergreen:Maintenance:13 <repository name="openSUSE_11.4_Update"> <releasetarget project="openSUSE:11.4:Update" repository="standard" trigger="maintenance"/> <path project="openSUSE:11.4:Update" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> </repository> This would do a release request against openSUSE:11.4:Update but as I have no rights there I only get an error. 2. issue -------- osc cat openSUSE:Evergreen:Maintenance:13 mozilla-nspr.openSUSE_11.4_Update _link <link project="openSUSE:11.4:Update" package="mozilla-nspr" baserev="945253b83e5f922261f5c14b9914cd36"> <patches> <branch/> </patches> </link> This also will try to release into openSUSE:11.4:Update instead of openSUSE:Evergreen:11.4 -- 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=789234 https://bugzilla.novell.com/show_bug.cgi?id=789234#c3 --- Comment #3 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2012-11-13 12:52:25 UTC --- If I fix both issues manually in the incident project: - the releasetarget - the source link of all involved packages then everything seems to work afterwards. -- 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=789234 https://bugzilla.novell.com/show_bug.cgi?id=789234#c4 --- Comment #4 from Adrian Schröter <adrian@suse.com> 2012-11-13 13:26:29 UTC --- k, it works only for some packages, because "OBS:BranchTarget" feature is not yet implemented for mbranch .... doing this now. -- 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=789234 https://bugzilla.novell.com/show_bug.cgi?id=789234#c5 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #5 from Adrian Schröter <adrian@suse.com> 2012-11-13 14:11:58 UTC --- support added (with test case). -- 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.
participants (1)
-
bugzilla_noreply@novell.com