1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 09:46:19 +02:00
Commit Graph

297 Commits

Author SHA1 Message Date
Vincent Untz
006eeb756b - fix default value for req_state in get_submit_request_list(): it's a list,
not a single string.
2009-05-03 08:57:29 +00:00
Marcus Hüwe
cf413bf953 - fixed #495823 ("osc leaves stale .osc/_to_be_deleted") 2009-04-28 20:31:02 +00:00
Michal Vyskocil
3e837ce9d8 bugfix: templates in edit commit message causes an empty commit logs 2009-04-28 07:15:57 +00:00
Marcus Hüwe
1ec537e9de - fixed #498330 ("buildlog inserts bogus newlines") 2009-04-27 18:30:00 +00:00
Michal Vyskocil
af5259b387 support of added .changes in commit message template 2009-04-27 08:54:59 +00:00
Michael Schröder
004ca3cafe - speed up osc sr list 2009-04-27 08:50:58 +00:00
Marcus Hüwe
8cc699fe01 - fixed #497987 - live buildlog was broken 2009-04-24 18:17:12 +00:00
Michael Schröder
eb14b3c2a4 - fix show_files_meta call 2009-04-23 09:23:13 +00:00
Michael Schröder
3a5072e9c1 - allow empty linkrepair commits 2009-04-23 08:39:00 +00:00
Michael Schröder
fd41f0b236 - fix write_conflictlist function 2009-04-23 08:35:11 +00:00
Michael Schröder
90cb8163b6 - fix test for modified files
- print message after the repairlink commit
- destroy upload revision if commit fails
- use "latest" when revision is not specified
2009-04-22 13:14:17 +00:00
9dfaf611f3 * revert rev=latest change, let mls do it right in all places.
* add hint to use "osc repairlink" on failed operations with links
* use correct target project and package name on repairlink
2009-04-22 12:32:29 +00:00
0c3d982ecc use "latest" revision on checkout, not "upload" (#441783) 2009-04-22 11:37:40 +00:00
Michael Schröder
9dbfeeb2ef - add 'osc repairlink' command
- pass revision correctly so that 'osc co' can checkout
  an old revision again
2009-04-21 16:52:26 +00:00
89e2e73dca - allow to specify target project and package on osc branch (requires
server version 1.6)
- add option to automatic checkout a branched package
2009-04-17 12:02:02 +00:00
Michal Vyskocil
41eb9614f0 commit message template
New functions:
osc.core.get_commit_message_template()
    - check the differences in .changes
    - extract them and add to the commit message
osc.core.dgst_from_string():
    - same as dgst, but work with string argument


Modified functions:
osc.core.edit_message():
    - new optional argument template
osc.commandline.do_commit():
    - use get_commit_message_template to collect the changes and call the
      edit_message with template argument
osc.core.edit_message():
    - used dgst_from_string for header_orig value, so commit message could be
      used as is with template. Used a mtime check for canceling support.
      TODO: maybe is dgst_from_string unecessary
2009-04-16 13:48:37 +00:00
Marcus Hüwe
ca911fd99d - bumped version to 0.116 2009-04-16 10:58:49 +00:00
e6815fc177 * use correct api url in checked out packages on setlinkrev command.
* make error message better matching reality
2009-04-16 08:13:55 +00:00
609e8f97b1 allow commit when files are in upload state on server without local
modifications. (#494370)
2009-04-14 14:33:02 +00:00
Marcus Hüwe
f4fd8ac0fe - added missing close() to streamfile() (TODO: is this really needed?)
- get_source_file: use streamfile() retrieve the data
2009-04-09 16:14:29 +00:00
Marcus Hüwe
8282e232d8 - added streamfile() method
- print_buildlog: use streamfile() to retrieve the buildlog
- do_cat: use streamfile() to retrieve a file - there's no need to have a tempfile or to read the entire file into memory anymore
2009-04-09 15:52:59 +00:00
Marcus Hüwe
92759ad082 - SubmitReq class: replaced src_md5 attribute with src_rev
- use plain revision numbers instead srcmd5's when creating a submitrequest
2009-04-09 13:02:19 +00:00
Marcus Hüwe
7cad7f99c6 - small fixes for the last commit (r7055) (I hope it doesn't break anything..) 2009-04-09 11:44:32 +00:00
d547203c12 - support listings of older revisions with "osc ls -R"
- add --current parameter for linkpac to use current revision of source
  package fixed.
- add osc setlinkrev to add or update revision number in links easily
- fix streaming of binary files via "cat" (#493325)
2009-04-09 08:21:12 +00:00
Marcus Hüwe
68f5d72061 - fix for #492369 ("no warning on failed osc expansion") 2009-04-06 20:08:14 +00:00
Marcus Hüwe
4ed272b2a2 - fixed #490023: add --expand option to copypac 2009-03-30 22:17:18 +00:00
4e6c62c693 * go to version 0.115 2009-03-17 16:19:02 +00:00
752756eae1 complete link option descriptions 2009-03-17 16:13:04 +00:00
Marcus Hüwe
e5ff09152d - be a bit more verbose and tell the user about the package tracking feature 2009-03-16 21:29:42 +00:00
Marcus Hüwe
ce8027fc14 - partly fix #478516: copypac: added --keep-develproject option 2009-03-11 15:23:23 +00:00
Marcus Hüwe
298fd445f9 - fixed #466997 ("osc ci" fails uploading large files to Provo BuildService) 2009-03-10 18:36:12 +00:00
Flavio Castelli
b88be07358 add rev variable to Linkinfo class: it holds the rev value specified inside the _link files 2009-03-09 13:44:14 +00:00
Dr. Peter Poeml
affef176a6 bump version to 0.114 2009-03-03 11:48:55 +00:00
Dr. Peter Poeml
be4f2b031f Putting names at the top of files is is not recommended. Collective wisdom for
fostering open source contributions says that it can discourage contribution by
conveying a false sense of "code ownership". Marking territory is negatively
affecting collaboration.  See http://www.youtube.com/watch?v=ZSFDm3UYkeE
2009-03-02 14:03:06 +00:00
Marcus Hüwe
9935faf3ba - yet another fix for #477690: build: use a cookie when fetching the binaries 2009-02-28 15:56:32 +00:00
7bd970716c increase size of package field for jobhistory output.
(Product build packages are usually longer than 24 chars)
2009-02-25 08:39:29 +00:00
Marcus Hüwe
471f81b7f2 - enable cookies to speed up the auth process - I don't know why it was disabled at all but it was probably due to #378421 ("http cookie errors with osc") but this is already resolved
- this should fix #477690 ("osc fetching binaries really slow")
2009-02-25 01:29:58 +00:00
Marcus Hüwe
caae2bc8a1 - cleaned up the conf module (I hope I didn't break anything):
* basically get rid of the scheme and apisrv mess - instead directly use the apiurl (== <protocol>://<host>) for everything
  * some other minor cleanups here and there
  * everyone who has a scheme or apisrv entry in his ~/.oscrc will get a deprecation warning but it's still working (at some point in the future we might remove these code paths)
  * when writing a new ~/.oscrc store the apiurl in the conffile [fixes #478054]
- while being at it:
  * fixed #478054 ("osc asks for build.o.o credential even if -A<somelocalapi> is always used")
  * fixed #478052 ("osc backtrace on password entry (first startup)")
2009-02-23 23:29:32 +00:00
Dirk Mueller
be0add2e63 adrian told me about the package parameter :) 2009-02-20 11:56:13 +00:00
Dirk Mueller
c526f4ee9a add osc jobhistory 2009-02-20 11:04:45 +00:00
Michal Marek
5a66ec6fe3 Add 11.1 to the osc project template, remove 10.2 2009-02-18 16:34:30 +00:00
Marcus Hüwe
ab8ff4b8c2 - avoid type errors 2009-02-18 10:22:06 +00:00
85d53187cf add option to request former build status due to popular request.
(Requires an OBS > 1.5)
2009-02-18 09:53:38 +00:00
Marcus Hüwe
c3136c8bf5 - fixed #469167 (don't scare users if they want to commit a nonexistent file ;) )
- removed class UnreadableFile: I don't know why it was introduced at all but it doesn't make any sense => use IOError instead
2009-02-12 13:11:32 +00:00
Marcus Hüwe
6dc5498015 - fixed osc branch --develproject (the API calls it 'ignoredevel' instead of 'nodevelproject') 2009-02-10 20:22:39 +00:00
Marcus Hüwe
2e4570ebab - do_branch: added --revision option 2009-02-10 15:49:34 +00:00
Dr. Peter Poeml
73cbb26c8b bump version (0.113) 2009-01-22 16:29:16 +00:00
Marcus Hüwe
d2f7dd1de1 - fixed #458083 (importsrcpkg: set the url in the package meta) 2009-01-21 21:55:53 +00:00
Marcus Hüwe
63864a5ff2 - renamed method 'pretty_diff' to 'server_diff': it can return an unified or a pretty diff (default: pretty diff)
- osc diff -rX:Y: the default is to return an unified diff (to get a pretty diff use the --pretty option)
- osc rdiff: the default is to return a pretty diff (to get an unified diff use the --unified option)
- osc sr show --diff: the default is to return a pretty diff (to get an unified diff use the --unified option)
2009-01-16 14:43:45 +00:00
Marcus Hüwe
80e3d33b2d - fixed #462869 (osc updatepacmetafromspec fails if %description is starting with newline) 2009-01-09 11:04:51 +00:00