1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00
Commit Graph

284 Commits

Author SHA1 Message Date
7c423392e1 yet another place where wrong apiurl is used for getbinaries 2009-04-22 12:42:52 +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
Michal Vyskocil
17cd24bb57 list view for osc submitreq show 2009-04-22 11:02:32 +00:00
Michael Schröder
f8f0ae8a55 - expand tabs
- use some core functions
- give user a hint what to do
- add NEWS
2009-04-22 09:06:13 +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
b8642c4ee0 make getbinaries working in checked out directories 2009-04-21 09:46:32 +00:00
Michal Vyskocil
0bf3540cb2 osc vc command - uses a /usr/bin/buildvc from build.rpm 2009-04-20 13:40:33 +00:00
b7ea9b64c0 revert a senseless part of last commit 2009-04-17 12:04:45 +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
65f540161f just make it more robust, use the same variable for local dir. 2009-04-17 08:48:22 +00:00
20f8234d8c support checkout of single packages via "osc co PACKAGE" when local dir
is a project dir.
2009-04-17 08:39:04 +00:00
Brandon Philips
6f99610590 osc: add -c flag to checkout PACKAGE dir in cwd instead of PROJECT/PACKAGE
A simple solution to the colons in project names messing up LD_LIBRARY_PATH:
http://lists.opensuse.org/archive/opensuse-buildservice/2008-12/msg00166.html

Example use:

$ osc co -c openSUSE:Factory osc
A    $PWD/osc/debian.changelog
A    $PWD/osc/debian.tar.gz
A    $PWD/osc/osc-0.113.tar.gz
A    $PWD/osc/osc.changes
A    $PWD/osc/osc.dsc
A    $PWD/osc/osc.spec
A    $PWD/osc/ready

Versus without -c

$ osc co openSUSE:Factory osc
A    $PWD/openSUSE:Factory/osc/debian.changelog
A    $PWD/openSUSE:Factory/osc/debian.tar.gz
A    $PWD/openSUSE:Factory/osc/osc-0.113.tar.gz
A    $PWD/openSUSE:Factory/osc/osc.changes
A    $PWD/openSUSE:Factory/osc/osc.dsc
A    $PWD/openSUSE:Factory/osc/osc.spec
A    $PWD/openSUSE:Factory/osc/ready


Signed-off-by: Brandon Philips <bphilips@suse.de>
2009-04-16 17:41:47 +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
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
Marcus Hüwe
16f99519ed - oops r7028 broke "osc search" 2009-04-15 17:30:13 +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
c298692e68 add linkpac --current paramter to create links with revision number
included.
2009-04-08 11:48:34 +00:00
Marcus Hüwe
17327a3db9 --exact is more appropriate than --enable-exact (requested by darix) 2009-04-07 18:45:42 +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
d6c9693a47 --apiurl can be an alias 2009-03-31 13:29:16 +00:00
Marcus Hüwe
9ff9a1f151 - fixed #487400: --disable-debuginfo will create no debuginfo packages and --debuginfo will create them. Both override the debuginfo element from the buildinfo 2009-03-31 11:45:30 +00:00
Marcus Hüwe
b910253bed - added --expand option to 'osc ls' 2009-03-30 22:28:26 +00:00
Marcus Hüwe
4ed272b2a2 - fixed #490023: add --expand option to copypac 2009-03-30 22:17:18 +00:00
Marcus Hüwe
5e16d98edd - fixed #472831 ("missing apisrv in branch command") 2009-03-23 19:08:06 +00:00
Marcus Hüwe
7cd12cb501 - fixed #462389 ("Ask for commit before creating a new submitreq") 2009-03-22 16:04:19 +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
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
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
b43d67093b fix error messages, kiwi files are also allowed as build description. 2009-02-23 14:59:10 +00:00
3cc1a12e60 add -l lastbuild option also to local results command 2009-02-23 12:25:56 +00:00
7a9970473f import a fix from mls for getting product builds working.
(Adapted to my changes from an hour ago)
2009-02-20 15:01:16 +00:00
Dirk Mueller
c526f4ee9a add osc jobhistory 2009-02-20 11:04:45 +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
0dc31b96b7 - fixed #470948 (osc build: be a bit more verbose if the linked package isn't expanded) 2009-02-11 12:53:05 +00:00
Marcus Hüwe
2e4570ebab - do_branch: added --revision option 2009-02-10 15:49:34 +00:00
Marcus Hüwe
7c93e55eb9 - fixed osc diff 2009-02-04 20:51:25 +00:00
Marcus Hüwe
4cef04fce4 getbinaries: doc fixes 2009-02-03 19:45:54 +00:00
Marcus Hüwe
d2f7dd1de1 - fixed #458083 (importsrcpkg: set the url in the package meta) 2009-01-21 21:55:53 +00:00
Dr. Peter Poeml
f0c19c23be spelling fix, kindly reported by William Stephenson 2009-01-19 10:54:26 +00:00
Marcus Hüwe
d03dfd42a1 --typo 2009-01-16 14:45:27 +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
Ludwig Nussel
edf555d9c3 osc getbinaries: optionally also download source rpms 2009-01-16 10:31:38 +00:00
Marcus Hüwe
cc99647933 - wipebinaries: added --expansion option 2009-01-10 22:55:25 +00:00
Marcus Hüwe
355b6935db - osc diff: if 2 revisions are specified do a pretty_diff (TODO: BSSrcdiff.pm should generate unified diffs) 2009-01-09 17:09:29 +00:00
Marcus Hüwe
ad11a87f92 - fix #459288 (mkpac: add info how to enable the package tracking feature) 2008-12-17 22:45:58 +00:00
Dr. Peter Poeml
0a0cb27142 important bugfix for osc deletepac: prevent recursive deletion of a whole project, when a package name is given with a trailing slash 2008-12-12 10:02:41 +00:00