Bug 754008 - Can not commit modified mbranch (osc 0.134.0)
Summary: Can not commit modified mbranch (osc 0.134.0)
Status: NEW
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: All openSUSE 12.1
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: Adrian Schröter
URL:
Whiteboard: not:osc
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-26 09:54 UTC by Dr. Werner Fink
Modified: 2023-10-12 08:23 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Werner Fink 2012-03-26 09:54:56 UTC
I've done

 > osc mbranch words
 > osc rdelete home:WernerFink:branches:OBS_Maintained:words words.openSUSE_11.4_Update
 osc co -c -o 12.1 home:WernerFink:branches:OBS_Maintained:words words.openSUSE_12.1_Update
 > cd 12.1
 > osc patchinfo force=1

after fixing bug #742812 and adding the patchinfo I've tried to do

 > osc ci -m .

which results in

 Sending    words.changes
 Sending    words.spec
 Sending    _patchinfo
 Server returned an error: HTTP Error 404: Not Found

please make it work or better make an easy to use API and make also
hold the documentation at

 http://en.opensuse.org/openSUSE:Build_Service_Concept_Maintenance

uptodate with the current osc tools
Comment 1 Dr. Werner Fink 2012-03-26 10:11:30 UTC
Now just tried an other way

words/tmp> osc mbranch words
Project home:WernerFink:branches:OBS_Maintained:words created.
words/tmp> osc ls home:WernerFink:branches:OBS_Maintained:words
words.openSUSE_11.4_Update
words.openSUSE_12.1_Update
words/tmp> osc co -o 12.1 home:WernerFink:branches:OBS_Maintained:words
A    home:WernerFink:branches:OBS_Maintained:words
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_11.4_Update
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_11.4_Update/SuSEconfig.words
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_11.4_Update/scowl-6.dif
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_11.4_Update/scowl-6.tar.gz
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_11.4_Update/sysconfig.words
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_11.4_Update/words.changes
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_11.4_Update/words.spec
At revision 4f4cac339c24289a19a65444ab9e3aab.
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_12.1_Update
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_12.1_Update/SuSEconfig.words
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_12.1_Update/scowl-7.1.tar.gz
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_12.1_Update/sysconfig.words
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_12.1_Update/words.changes
A    home:WernerFink:branches:OBS_Maintained:words/words.openSUSE_12.1_Update/words.spec
At revision 31bc8afb049ce847e00a92f69f33f429.
words/tmp> mv home:WernerFink:branches:OBS_Maintained:words/ 12.1
words/tmp> cd 12.1/
tmp/12.1> rm -rf words.openSUSE_11.4_Update
tmp/12.1> osc patchinfo 
Creating new patchinfo...
A    /usr/src/werner/words/tmp/12.1/patchinfo
A    /usr/src/werner/words/tmp/12.1/patchinfo/_patchinfo
tmp/12.1> cd words.openSUSE_12.1_Update/
12.1/words.openSUSE_12.1_Update> cp -p ../../../words.changes .
12.1/words.openSUSE_12.1_Update> cp -p ../../../words.spec .
tmp/12.1> osc sr
Submitting package  words.openSUSE_11.4_Update
Submitting package  words.openSUSE_12.1_Update
Submitting patchinfo  patchinfo  to  openSUSE:11.4:Update, openSUSE:12.1:Update

Everything fine? Can we create the requests ? (y/n) y
WARNING:
WARNING: Project does not accept submit request, request to open a NEW maintenance incident instead
WARNING:
BuildService API error: Server did not define a default maintenance project, can't submit.
Comment 2 Marcus Rückert 2012-03-26 10:51:50 UTC
404 is a server side problem and not an osc issue. moving to right component and to Sascha.
Comment 3 Adrian Schröter 2012-03-26 12:26:20 UTC
We loose somewhere the information about the maintenance project in the database. I dunno where yet, but I fixed the config for now.
Comment 4 Adrian Schröter 2012-03-26 13:16:09 UTC
Werner, you usually want to create the _patchinfo file in a new package. I have improved the error messages and handling for this situation.