[opensuse-packaging] Adding a new package as part of an update for 13.1
Hi, I'm working on bnc #868699, and for the fix I need to deliver - 2 updated packages, already present in 13.1 - 2 new packages, not present in 13.1 I was able to add the 2 update packages to my update project, but I can't do that for the pakages which are not present in 13.1 : $ osc branch -M openSUSE:13.1:Update php5-pear-channel-symfony2 Server returned an error: HTTP Error 404: Not Found $ osc maintained php5-pear-channel-symfony2 BuildService API error: no packages found by search criteria I tried to create the package manually, and the directory is submitted, but not the local files. The failure is on the osc side: $ osc commit Traceback (most recent call last): File "/usr/bin/osc", line 26, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 60, in run return prg.main(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 343, in main return self.cmd(args) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 366, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 484, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1214, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 4382, in do_commit if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 4382, in <genexpr> if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib/python2.7/site-packages/osc/core.py", line 1568, in is_link_to_different_project orgprj = self.get_local_origin_project() File "/usr/lib/python2.7/site-packages/osc/core.py", line 1563, in get_local_origin_project root = ET.fromstring(self.get_local_meta()) File "<string>", line 124, in XML TypeError: must be string or read-only buffer, not None Right now I'm at a loss how to proceed. Is it possible to add new packages as part of an update? Thanks, Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Friday 2014-04-18 13:17, Robert Munteanu wrote:
I'm working on bnc #868699, and for the fix I need to deliver
- 2 updated packages, already present in 13.1 - 2 new packages, not present in 13.1
I was able to add the 2 update packages to my update project, but I can't do that for the pakages which are not present in 13.1 :
$ osc branch -M openSUSE:13.1:Update php5-pear-channel-symfony2 Server returned an error: HTTP Error 404: Not Found
As always, you can use other methods (like osc branch, osc copypac) to prepare packages/projects, and then (again using other methods), using a multi-package `osc sr` submit request to send them in. (I've never found myself in the position to require using branch -M) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Apr 18, 2014 at 3:58 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Friday 2014-04-18 13:17, Robert Munteanu wrote:
I'm working on bnc #868699, and for the fix I need to deliver
- 2 updated packages, already present in 13.1 - 2 new packages, not present in 13.1
I was able to add the 2 update packages to my update project, but I can't do that for the pakages which are not present in 13.1 :
$ osc branch -M openSUSE:13.1:Update php5-pear-channel-symfony2 Server returned an error: HTTP Error 404: Not Found
As always, you can use other methods (like osc branch, osc copypac) to prepare packages/projects, and then (again using other methods), using a multi-package `osc sr` submit request to send them in.
Ah, thanks. osc copypac worked for me: $ osc copypac server:php:applications php5-pear-channel-symfony2 home:robert_munteanu:branches:openSUSE:13.1:Update $ osc copypac server:php:applications php5-pear-symfony2-Yaml home:robert_munteanu:branches:openSUSE:13.1:Update Afterwards, I needed to explicitly enable the build flags for each package.
(I've never found myself in the position to require using branch -M)
I only followed this process since it was mentioned on the wiki [1] . But at least today I learned something new. Thanks! Robert [1]: http://en.opensuse.org/openSUSE:Package_maintenance#Create_a_branch -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Apr 18, 2014 at 4:31 PM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
On Fri, Apr 18, 2014 at 3:58 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Friday 2014-04-18 13:17, Robert Munteanu wrote:
I'm working on bnc #868699, and for the fix I need to deliver
- 2 updated packages, already present in 13.1 - 2 new packages, not present in 13.1
I was able to add the 2 update packages to my update project, but I can't do that for the pakages which are not present in 13.1 :
$ osc branch -M openSUSE:13.1:Update php5-pear-channel-symfony2 Server returned an error: HTTP Error 404: Not Found
As always, you can use other methods (like osc branch, osc copypac) to prepare packages/projects, and then (again using other methods), using a multi-package `osc sr` submit request to send them in.
Ah, thanks. osc copypac worked for me:
I think I was a bit eager to say that it worked. After testing, when doing osc mr I got an error back $ osc mr Using target project 'openSUSE:Maintenance' Server returned an error: HTTP Error 400: Bad Request Maintenance incident request contains release target project openSUSE:Factory with invalid project kind "standard" for package php5-pear-channel-symfony2 I tried using sr, but that did not work either $ osc sr Submitting package php5-pear-channel-symfony2 Submitting package php5-pear-phpunit-PHP_CodeCoverage.openSUSE_13.1_Update Submitting package php5-pear-phpunit.openSUSE_13.1_Update Submitting package php5-pear-symfony2-Yaml Server returned an error: HTTP Error 400: Bad Request The target project openSUSE:13.1:Update is a maintenance release project, a submit self is not possible, please use the maintenance workflow instead. What should I do next? Robert -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Apr 18, 2014 at 09:58:47PM +0300, Robert Munteanu wrote:
On Fri, Apr 18, 2014 at 4:31 PM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
On Fri, Apr 18, 2014 at 3:58 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Friday 2014-04-18 13:17, Robert Munteanu wrote:
I'm working on bnc #868699, and for the fix I need to deliver
- 2 updated packages, already present in 13.1 - 2 new packages, not present in 13.1
I was able to add the 2 update packages to my update project, but I can't do that for the pakages which are not present in 13.1 :
$ osc branch -M openSUSE:13.1:Update php5-pear-channel-symfony2 Server returned an error: HTTP Error 404: Not Found
As always, you can use other methods (like osc branch, osc copypac) to prepare packages/projects, and then (again using other methods), using a multi-package `osc sr` submit request to send them in.
Ah, thanks. osc copypac worked for me:
I think I was a bit eager to say that it worked. After testing, when doing osc mr I got an error back
$ osc mr Using target project 'openSUSE:Maintenance' Server returned an error: HTTP Error 400: Bad Request Maintenance incident request contains release target project openSUSE:Factory with invalid project kind "standard" for package php5-pear-channel-symfony2
I tried using sr, but that did not work either
$ osc sr Submitting package php5-pear-channel-symfony2 Submitting package php5-pear-phpunit-PHP_CodeCoverage.openSUSE_13.1_Update Submitting package php5-pear-phpunit.openSUSE_13.1_Update Submitting package php5-pear-symfony2-Yaml Server returned an error: HTTP Error 400: Bad Request The target project openSUSE:13.1:Update is a maintenance release project, a submit self is not possible, please use the maintenance workflow instead.
What should I do next?
Submit the seperate packages seperately to openSUSE:13.1:Update and we will merge it. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi Marcus, On Fri, Apr 18, 2014 at 10:03 PM, Marcus Meissner <meissner@suse.de> wrote:
On Fri, Apr 18, 2014 at 09:58:47PM +0300, Robert Munteanu wrote:
On Fri, Apr 18, 2014 at 4:31 PM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
On Fri, Apr 18, 2014 at 3:58 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Friday 2014-04-18 13:17, Robert Munteanu wrote:
I'm working on bnc #868699, and for the fix I need to deliver
- 2 updated packages, already present in 13.1 - 2 new packages, not present in 13.1
I was able to add the 2 update packages to my update project, but I can't do that for the pakages which are not present in 13.1 :
$ osc branch -M openSUSE:13.1:Update php5-pear-channel-symfony2 Server returned an error: HTTP Error 404: Not Found
As always, you can use other methods (like osc branch, osc copypac) to prepare packages/projects, and then (again using other methods), using a multi-package `osc sr` submit request to send them in.
Ah, thanks. osc copypac worked for me:
I think I was a bit eager to say that it worked. After testing, when doing osc mr I got an error back
$ osc mr Using target project 'openSUSE:Maintenance' Server returned an error: HTTP Error 400: Bad Request Maintenance incident request contains release target project openSUSE:Factory with invalid project kind "standard" for package php5-pear-channel-symfony2
I tried using sr, but that did not work either
$ osc sr Submitting package php5-pear-channel-symfony2 Submitting package php5-pear-phpunit-PHP_CodeCoverage.openSUSE_13.1_Update Submitting package php5-pear-phpunit.openSUSE_13.1_Update Submitting package php5-pear-symfony2-Yaml Server returned an error: HTTP Error 400: Bad Request The target project openSUSE:13.1:Update is a maintenance release project, a submit self is not possible, please use the maintenance workflow instead.
What should I do next?
Submit the seperate packages seperately to openSUSE:13.1:Update and we will merge it.
Submitted - sr #230820 ( new package php5-pear-channel-symfony2 ) - sr #230821 ( new package php5-pear-symfony2-Yaml ) - mr #230822 ( existing packages php5-pear-phpunit, php5-pear-phpunit-PHP_CodeCoverage ) Please let me know if there's anything else I need to do. Thanks, Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Apr 18, 2014 at 10:19:34PM +0300, Robert Munteanu wrote:
Hi Marcus,
On Fri, Apr 18, 2014 at 10:03 PM, Marcus Meissner <meissner@suse.de> wrote:
On Fri, Apr 18, 2014 at 09:58:47PM +0300, Robert Munteanu wrote:
On Fri, Apr 18, 2014 at 4:31 PM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
On Fri, Apr 18, 2014 at 3:58 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Friday 2014-04-18 13:17, Robert Munteanu wrote:
I'm working on bnc #868699, and for the fix I need to deliver
- 2 updated packages, already present in 13.1 - 2 new packages, not present in 13.1
I was able to add the 2 update packages to my update project, but I can't do that for the pakages which are not present in 13.1 :
$ osc branch -M openSUSE:13.1:Update php5-pear-channel-symfony2 Server returned an error: HTTP Error 404: Not Found
As always, you can use other methods (like osc branch, osc copypac) to prepare packages/projects, and then (again using other methods), using a multi-package `osc sr` submit request to send them in.
Ah, thanks. osc copypac worked for me:
I think I was a bit eager to say that it worked. After testing, when doing osc mr I got an error back
$ osc mr Using target project 'openSUSE:Maintenance' Server returned an error: HTTP Error 400: Bad Request Maintenance incident request contains release target project openSUSE:Factory with invalid project kind "standard" for package php5-pear-channel-symfony2
I tried using sr, but that did not work either
$ osc sr Submitting package php5-pear-channel-symfony2 Submitting package php5-pear-phpunit-PHP_CodeCoverage.openSUSE_13.1_Update Submitting package php5-pear-phpunit.openSUSE_13.1_Update Submitting package php5-pear-symfony2-Yaml Server returned an error: HTTP Error 400: Bad Request The target project openSUSE:13.1:Update is a maintenance release project, a submit self is not possible, please use the maintenance workflow instead.
What should I do next?
Submit the seperate packages seperately to openSUSE:13.1:Update and we will merge it.
Submitted
- sr #230820 ( new package php5-pear-channel-symfony2 ) - sr #230821 ( new package php5-pear-symfony2-Yaml ) - mr #230822 ( existing packages php5-pear-phpunit, php5-pear-phpunit-PHP_CodeCoverage )
Please let me know if there's anything else I need to do.
Benni merged your submits into openSUSE:Maintenance:2755 You can check it below http://download.opensuse.org/repositories/openSUSE:/Maintenance:/2755/openSU... as an additional update repo, if you want to. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wed, Apr 23, 2014 at 12:59 PM, Marcus Meissner <meissner@suse.de> wrote:
On Fri, Apr 18, 2014 at 10:19:34PM +0300, Robert Munteanu wrote:
Hi Marcus,
On Fri, Apr 18, 2014 at 10:03 PM, Marcus Meissner <meissner@suse.de> wrote:
On Fri, Apr 18, 2014 at 09:58:47PM +0300, Robert Munteanu wrote:
On Fri, Apr 18, 2014 at 4:31 PM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
On Fri, Apr 18, 2014 at 3:58 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Friday 2014-04-18 13:17, Robert Munteanu wrote: > >I'm working on bnc #868699, and for the fix I need to deliver > >- 2 updated packages, already present in 13.1 >- 2 new packages, not present in 13.1 > >I was able to add the 2 update packages to my update project, but I >can't do that for the pakages which are not present in 13.1 : > >$ osc branch -M openSUSE:13.1:Update php5-pear-channel-symfony2 >Server returned an error: HTTP Error 404: Not Found
As always, you can use other methods (like osc branch, osc copypac) to prepare packages/projects, and then (again using other methods), using a multi-package `osc sr` submit request to send them in.
Ah, thanks. osc copypac worked for me:
I think I was a bit eager to say that it worked. After testing, when doing osc mr I got an error back
$ osc mr Using target project 'openSUSE:Maintenance' Server returned an error: HTTP Error 400: Bad Request Maintenance incident request contains release target project openSUSE:Factory with invalid project kind "standard" for package php5-pear-channel-symfony2
I tried using sr, but that did not work either
$ osc sr Submitting package php5-pear-channel-symfony2 Submitting package php5-pear-phpunit-PHP_CodeCoverage.openSUSE_13.1_Update Submitting package php5-pear-phpunit.openSUSE_13.1_Update Submitting package php5-pear-symfony2-Yaml Server returned an error: HTTP Error 400: Bad Request The target project openSUSE:13.1:Update is a maintenance release project, a submit self is not possible, please use the maintenance workflow instead.
What should I do next?
Submit the seperate packages seperately to openSUSE:13.1:Update and we will merge it.
Submitted
- sr #230820 ( new package php5-pear-channel-symfony2 ) - sr #230821 ( new package php5-pear-symfony2-Yaml ) - mr #230822 ( existing packages php5-pear-phpunit, php5-pear-phpunit-PHP_CodeCoverage )
Please let me know if there's anything else I need to do.
Benni merged your submits into openSUSE:Maintenance:2755
You can check it below http://download.opensuse.org/repositories/openSUSE:/Maintenance:/2755/openSU... as an additional update repo, if you want to.
Thanks for the heads-up. Verified by using a fresh 13.1 VM, and # zypper ar http://download.opensuse.org/repositories/openSUSE:/Maintenance:/2755/openSU... # zypper ref # zypper in php5-pear-phpunit At this point the correct dependencies are pulled in and the phpunit tests which fail with the version from 13.1 pass. Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Friday 2014-04-18 14:58, Jan Engelhardt wrote:
On Friday 2014-04-18 13:17, Robert Munteanu wrote:
I'm working on bnc #868699, and for the fix I need to deliver
- 2 updated packages, already present in 13.1 - 2 new packages, not present in 13.1 [...]
As for the osc problem you too observed: https://bugzilla.novell.com/show_bug.cgi?id=874267 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Jan Engelhardt
-
Marcus Meissner
-
Robert Munteanu