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

884 Commits

Author SHA1 Message Date
Marcus Hüwe
b0000b2834 - more or less only some minor cosmetic changes 2009-08-21 19:39:12 +00:00
Marcus Hüwe
580510c97a - use existing methods to check if a dir is a project or package dir
- fixed exception code (there was no Exception() instance "e")
2009-08-21 16:43:46 +00:00
Marcus Hüwe
1a5bb12218 - added support for config variables in a help text 2009-08-21 14:55:26 +00:00
Marcus Hüwe
f1c8847879 - conf: initialize config with the default values. This fixes the manpage generation problem 2009-08-21 12:03:09 +00:00
Jürgen Weigert
403576b952 - hack for _help_preprocess_cmd_option_list to survive setup.py build 2009-08-21 11:25:07 +00:00
Jürgen Weigert
f2a738d4b6 Thanks Marcus, for looking into my FIXME's -- I could have never done
that preprocess helper for --days myself.

0.121.jw03
 - fixed osc req list -U to not look into the local dir
 - added osc my ... pkg/prj/req  shorthand commands
 - add 'osc se' alias for 'osc search -e'
 - add -b -m -M to 'osc search'
2009-08-21 01:26:37 +00:00
Marcus Hüwe
5639b2b9a7 - added support to use config values in options' help text
- do_request: minor change in the --days option handling
2009-08-21 00:42:51 +00:00
Jürgen Weigert
83b1b5ca59 All in one go.
0.121.jw02
 - made rresults an alias for results. python decorators are a strange concept...
 - asserting that ~/.oscrc remains mode 0600
 - no more plain text passwords in ~/.oscrc, we store now as bz2+base64
 - added verbosity control -v -q. To be used in guess_proj_pack()
 - added 'll' and 'ls -l' as shorthand to 'list -v'
 - started to change to explicit dual license GPLv2 or GPLv3 to conform to Novell policy.
 - added revision parameter to show_upstream_srcmd5(), so that it can be used in do_cat later.
 - allowed both integer and srcmd5 revisions in meta_get_filelist()
 - added 'lL', 'LL': allowed -e and -v together in do_list(). Was an internal error before.
 - added cat -e, to cat a file through a link.
   'cat -e -r 3' expands through the third revision of the _link.
 - added subcmd bco as alias for branch -c
 - added default project to branch subcommand. .oscrc:branch_project = OpenSUSE:Factory
 - added primitive experimental support for .oscrc:checkout_no_colon = 1
 - suggest using svn when .svn found.
 - alias submitpac submitrequest
 - osc bco now continues to checkout after branch target exists error.
 - added .oscrc:plaintext_passwd=1 for backwards compatibility
 - moved core.py:exclude_stuff to .oscrc:exclude_glob and expand it to catch *.orig etc.
 - allowed req as alias for request.
 - bugfix get_request_list: use 'or' with multiple states, not 'and'.
 - added osc req list -s all; a shorthand for enumerating all states
 - osc req list no longer confuses creator with approver.
 - osc req list -D nnn limit to requests nnn days old.
 - osc req list now also shows requests from the the given package, not only to.
 - improved help texts with repairlink to point to osc resolved.
 - improved passx code when creating oscrc.
 - osc sr -l is now a shortcut for 'osc req list -M -a -t submit -D 0'
2009-08-20 19:28:05 +00:00
090e79964c * use a release number setting on local build, if it is given by the server.
Otherwise just use 0 as fallback
2009-08-20 10:45:39 +00:00
2a180fa346 new packages gets checked out expanded when using "osc up -e" in project
directory now.
2009-08-19 13:07:58 +00:00
Jan-Simon Möller
d2c9b0707d Add -a/-s all option to osc rq list. It preselects all states for the query. 2009-08-19 13:00:22 +00:00
906972d5f0 fix req_who (aka rq ls -M) of processed requests 2009-08-19 12:21:45 +00:00
Ludwig Nussel
1e8d490ae2 open editor to enter message for submit and other requests 2009-08-19 11:28:16 +00:00
Ludwig Nussel
7e3cbabd0d prompt for message also when comitting entire projects 2009-08-19 11:28:10 +00:00
Jan-Simon Möller
853c2c5dcb Add support for --overlay and --rsync-{src,dest} to build and osc.
--overlay OVERLAY
              Copy overlay filesystem to buildroot after installing
              all RPMs. This must be a valid directory.
--rsync-src RSYNCSRC
              Copy overlay folder (RSYNCSRC) to a folder (RSYNCDEST)
              inside the buildroot using rsync.
              It will "%define RSYNCDONE 1" for handling %setup in your
              specfile. E.g.:
              %prep
              %if 0%{?RSYNCDONE}
              %setup -n aaa_base -T -D -b 5 -b 7
              %else
              %setup -n aaa_base -b 5 -b 7
              %endif
--rsync-dest RSYNCDEST

Todo: tell rpmbuild not to delete the folders.
2009-08-18 21:28:33 +00:00
Marcus Hüwe
4e32d4dc41 - moved options check to the beginning 2009-08-11 23:01:03 +00:00
Marcus Hüwe
039634c359 - fixed repairlink 2009-08-11 22:58:23 +00:00
Marcus Hüwe
863bd5664d - buildarch (=scheduler/repo arch) should be the correct fallback 2009-08-09 18:10:13 +00:00
f01be2f625 * keep _service: files local only. 2009-08-07 12:18:15 +00:00
b25b248a2e do not crash, if nothing is specified. (#526401) 2009-08-07 09:25:34 +00:00
2f7070ae96 can it be that hard ... 2009-08-07 07:51:00 +00:00
e199ab3a09 and now do it right :/ (sorry, was before coffee) 2009-08-07 07:48:52 +00:00
9b722d61f4 reqeuest list -s X,Y was broken, a state can have only one value. And
there is no personality splitting in OBS either ;)
2009-08-07 07:32:10 +00:00
690857d452 fix build of multiarch products. This was wrong in general and affected
all builds. So we may see some other breakage somewhere else.
2009-08-06 12:50:53 +00:00
Michal Vyskocil
cfc9c2a1b2 Fixed help of do_commit, added info how disable checks 2009-08-05 05:54:12 +00:00
Marcus Hüwe
473270ec84 - typo 2009-08-04 21:10:23 +00:00
Marcus Hüwe
b742d58794 - determine pacsuffix from buildtype (slightly modified version of David Greaves' <david@dgreaves.com> patch) 2009-08-04 16:01:02 +00:00
Marcus Hüwe
ddd9e0206d - added config option to disable the filelist check before commit permanently 2009-08-04 14:12:45 +00:00
Michal Vyskocil
101bcef086 proper handling of removed files
Removed files should be hanlded too, so the code will iterate through
non-dirs, instead of files only. Plus the default action for '!' files
is remove.
2009-08-03 15:20:17 +00:00
Michal Vyskocil
724f577b41 More options in commit filelist change
osc commit check for '?' files can be supressed by -f/--force option

It also have more options. File can be easily added, removed or the
whole filelist should be opened in editor and edited (this is very close
to git rebase --interactive behavior).
2009-08-03 13:03:24 +00:00
Marcus Hüwe
365be249c3 - slightly modified version of David Greaves' <david@dgreaves.com> patch to add a --map-repo option to aggregatepac 2009-07-31 14:31:20 +00:00
Michal Vyskocil
2d1126b847 osc commit asks if some file has a '?' status 2009-07-31 11:32:34 +00:00
0d2e353188 * do not erase package meta data when doing linkpac
* do not anymore implicit add maintainer to package
2009-07-30 09:42:09 +00:00
4df5334115 fix set devel project, if no project or package is set 2009-07-28 14:50:23 +00:00
Dr. Peter Poeml
2900aecea4 osc rdiff: try to make the help text a little clearer 2009-07-27 20:03:01 +00:00
Marcus Hüwe
5d12cff640 - request list: project is optional too (if no project/package is specified list all) 2009-07-24 19:15:51 +00:00
21bd79bc56 fix change devel requests help 2009-07-23 08:01:31 +00:00
0094d86316 add missing build status symbols 2009-07-20 09:43:01 +00:00
Marcus Hüwe
9f8c7398b4 - fixed #521895 ('osc vc crashes'): only use and store proper apiurls this means no trailing slashes etc. 2009-07-16 12:07:14 +00:00
Marcus Hüwe
d2dee3c525 - it's 'osc' not 'svn';) 2009-07-15 21:16:34 +00:00
Marcus Hüwe
17a8ae894a - changed delete logic: only remove the localfile and keep the store file. The storefile is kept unless the wc is committed - this is useful for something like "osc revert".
- added delete_file() method to the Package class which takes care about the "file deletion logic"
2009-07-15 21:10:38 +00:00
Marcus Hüwe
b30611885d - fixed #521335: exclude files which are named '#<file>#' (according to this bug #<file># is sometimes used as a backup file) 2009-07-15 19:59:01 +00:00
Marcus Hüwe
6492b73677 - add partname and fullpartname attributes to Pac() class
- cleanup partial files in case the user hits ctrl-c
2009-07-15 19:48:16 +00:00
Marcus Hüwe
964d921d39 - fixed do_copypac()
- copy_pac: when doing a client side copy don't do a commit for each file
2009-07-15 18:53:47 +00:00
Ludwig Nussel
8fcd6e3371 add -d option to sr to only show a diff
Much more convenient than having to assemble the rdiff command line
manually.
2009-07-13 09:36:19 +00:00
ecf88a57bc * initial support for OBS source services
* TODO: local service tool calls
2009-07-10 18:10:41 +00:00
Michal Vyskocil
009713db18 new force argument for update_package_meta 2009-07-10 14:20:02 +00:00
Michal Vyskocil
193c59c6dc osc wipebinaries: don't force --all parameter, if -r/--repo or -a/--arch is used 2009-07-07 14:31:59 +00:00
Michal Vyskocil
02434152f1 new osc rremove command 2009-07-07 14:30:15 +00:00
Stephan Binner
257ae15d20 improve osc request help 2009-07-07 14:15:39 +00:00
Michal Vyskocil
9661594cb3 new osc.core.delete_files function 2009-07-01 11:19:55 +00:00
Marcus Hüwe
8672848798 - fixed #507367 ("osc ci does not report conflict") 2009-06-27 01:07:18 +00:00
Michal Marek
599279a28f Change the warning about 'scheme' and 'apisrv' to something not as confusing. 2009-06-23 19:35:00 +00:00
5750e7278c ups, typo fix 2009-06-23 16:04:57 +00:00
ccdfcf7959 * Improve usability when listing or showing requests.
* support multiple actions in show
2009-06-23 14:14:07 +00:00
16d56fb2c4 do only ask to revoke sr if existing one contains a 'submit' type 2009-06-23 12:02:01 +00:00
Michal Cihar
d6a8ac3fbb Better escaping regexps. 2009-06-23 10:09:48 +00:00
Michal Cihar
804979d671 Same description for arguments PLATFORM and ARCH in all places. 2009-06-23 10:06:31 +00:00
87067cd0aa add --role option to maintainer command 2009-06-19 13:57:27 +00:00
Stephan Binner
c76ac4dd5e fix request help 2009-06-19 13:10:33 +00:00
f4fcc4101b 0.120 is about to get released, switch to version 0.120.90 2009-06-19 09:07:08 +00:00
Michal Vyskocil
56e79daeec osc metafromspec allows editing before send 2009-06-19 08:59:39 +00:00
Michal Vyskocil
ea39db700c move metafile editing code from edit_meta to metafile.edit() method 2009-06-19 08:56:33 +00:00
Michal Vyskocil
2f1c5f2627 properly create url for metafile constructor 2009-06-19 08:47:06 +00:00
Michal Vyskocil
d764905730 use metafile in update_package_meta 2009-06-19 08:32:56 +00:00
a2566a0a6f jump to version 0.120 2009-06-18 19:55:16 +00:00
01c20380f6 fix listing of delete requests again 2009-06-18 17:54:02 +00:00
7ef5e04cc9 * "osc maintainer" is following to the development project / package now
* "osc maintainer" list maintainer and bugowner roles now
* rename addDevelProject to setDevelProject since the devel element is
  only allowed once
2009-06-18 16:20:49 +00:00
d017b16426 * add "osc request list -t <type>" to list only submit, delete or
develchange requests
* fix support of listing requests with multiple actions
2009-06-18 13:49:23 +00:00
626aa36925 * bump version to 0.119.90 to show that this is a pre version
* support setlinkrev for entire projects (request from Moblin team)
* support setlinkrev -u for removing rev elements
2009-06-18 09:18:17 +00:00
5275bdac01 do not fail on listing requests, when delete requests exist 2009-06-18 08:11:34 +00:00
Marcus Hüwe
8f2a3b7580 - renamed OpenSUSE to openSUSE (I think that's the correct spelling atm) 2009-06-17 18:19:45 +00:00
Marcus Hüwe
c9eec70b74 - always add a newline (even if no template is specified so that the user can directly enter the msg) 2009-06-17 18:18:12 +00:00
Michal Vyskocil
bde7cb79c8 osc results: show details also for 'blocked' state 2009-06-17 12:50:53 +00:00
Michal Cihar
a574dbb3aa Add proper escaping of - in man page. 2009-06-17 09:28:10 +00:00
Michal Cihar
2af8cbbf7e Missing preposition. 2009-06-16 13:31:11 +00:00
Michael Schröder
d57c82fbec - calculate canon name from downloaded rpm, as the server may
give us the wrong/missing information
- also fixes builds with packages from interconnected build services
2009-06-16 12:15:41 +00:00
Dr. Peter Poeml
027a0e5be1 Remove the Python 2.4 incompatibility introduced with r7507. 2009-06-16 12:14:20 +00:00
4c60d1b285 rename "rebuildpac" to "rebuild", but keep "rebuildpac" as alias.
This command works also for whole projects and we get rid of another
place of pac/pkg statements.
2009-06-15 15:38:39 +00:00
60ecca1dc1 new osc linkpac -f to allow to override existing _link files, patch by
Michael Meeks
2009-06-15 15:19:16 +00:00
Michal Vyskocil
b611ddb00b do not produce traceback if list of platforms is empy 2009-06-11 11:38:06 +00:00
Michal Vyskocil
d85d38f613 smarter default platform for osc build 2009-06-11 11:32:58 +00:00
Dr. Peter Poeml
8aadd6e400 osc search: shorten the if branch by eliminating the late else. No functional
change should result from this.
2009-06-09 17:07:02 +00:00
Dr. Peter Poeml
51726bb28b osc search: sort search results. 2009-06-09 17:04:31 +00:00
Dr. Peter Poeml
4c73a41e7b osc update:
- Sort the list of packages before updating. This makes it easier, when
  updating a project with many packages, to follow progress.
2009-06-09 09:34:25 +00:00
Ludwig Nussel
9452d717cb don't query submit list request twice 2009-06-09 09:29:24 +00:00
Marcus Hüwe
7e76a8c269 - do_submitrequest: only support create otherwise if we call e.g. "osc sr list <project> a new submitrequest will be created (instead of listing the reqs for <project>) 2009-06-05 21:45:29 +00:00
Dr. Peter Poeml
18273d470b When updating working copies, replace the .osc/_files file in an atomic way,
preventing hosed working copies when the update is interrupted. An empty
.osc/_files file could result, leading to the following sympton upon subsequent
update:

 % osc up
'foobar' is not a valid working copy.
When parsing .osc/_files, the following error was encountered:
no element found: line 1, column 0
2009-06-05 19:42:33 +00:00
Dr. Peter Poeml
35be8342e3 core: fix the dgst_from_string function for Python 2.4 compatibility. It can't
have worked and must have returned empty md5 hashes, and I assume that the
function isn't actually used anywhere.
2009-06-05 11:29:11 +00:00
9ef41fde95 fix usage of correct api when calling "osc results" without parameters 2009-06-05 06:13:08 +00:00
dccc2d41cb add more warnings, pointing user to new syntax 2009-06-05 05:46:20 +00:00
5de58e99e2 disable "osc req" for now to point people to the change 2009-06-04 15:20:25 +00:00
Marko Jung
a02ce1389a - fixed exception handling 2009-06-04 15:20:22 +00:00
b556208cd4 rename "req" command to "api".
req clashes with request command and this command is not intended for
usual user usage.
2009-06-04 14:14:01 +00:00
49ceab6ab8 jump to version 0.119 to avoid problems with 0.118 snapshot packages 2009-06-03 11:37:21 +00:00
e46cba2084 - justify comments from Jan-Simon, reflecting that the former behaviour
was a bug actually. Only packages from buildinfo must be available in
  repos.
- add news entry about fixed image building
2009-06-03 11:35:03 +00:00
Jan-Simon Möller
95a935b1dc Link only the needed packages and not the packagecachedir for 'osc build config.kiwi' . 2009-06-03 10:10:51 +00:00
9050882b78 sync help with default function name 2009-06-03 07:43:37 +00:00
dc81d5f278 new request syntax as proposed on ml.
will roll a beta version from this later today for more feedback.
2009-06-02 14:57:42 +00:00
46d726133c import new request handling from branch:
- New generic "request" command:
  - new "delete" request
  - new "change_devel" request
  - Multiple actions in one request is not yet supported by osc
2009-06-02 13:14:46 +00:00
Michal Vyskocil
0158d5e377 call buildvc with all command line arguments 2009-06-01 12:20:53 +00:00
Michal Vyskocil
ee9ae8dcb1 do not pass '' with commit message 2009-06-01 12:16:17 +00:00
Pavol Rusnak
53eb08ffa3 don't wipe all binaries by default, --all is needed now 2009-05-31 11:00:03 +00:00
Michal Cihar
51228e2e22 Fix few typos in help texts. 2009-05-27 12:09:50 +00:00
Pavol Rusnak
81b8de831c unify log/rlog , prjresults/rprjresults, results/rresults (r-versions are obsoleted now) 2009-05-25 11:33:04 +00:00
Pavol Rusnak
17cec67b98 take project and package from .osc in rlog and rresults 2009-05-25 10:41:16 +00:00
Pavol Rusnak
776a069df9 add binary flag to open where needed 2009-05-22 15:00:31 +00:00
Pavol Rusnak
e97c1de936 add more checks when working with mmap.mmap 2009-05-22 14:43:39 +00:00
Michal Vyskocil
5f19030580 rbuildlog alias for remotebuildlog command 2009-05-21 12:05:39 +00:00
Michal Vyskocil
51f0ef2ae0 fixed IndexError in commandline.py:996 when linked to project without 'branches:' in name 2009-05-21 09:13:34 +00:00
Pavol Rusnak
3f6fa3a0b6 fixed typo 2009-05-20 16:45:27 +00:00
Pavol Rusnak
0fa507a782 mmap.mmap works differently under windows 2009-05-20 16:42:17 +00:00
Pavol Rusnak
8f38f169d5 os.path.samefile is available only under Unix 2009-05-20 16:32:45 +00:00
Marcus Hüwe
0ed00292ee - it should be 'apiurl' instead of 'apisrv' (this was changed in r6547) 2009-05-19 16:40:39 +00:00
Pavol Rusnak
a7c2956ac7 fix bug in get_submit_request_list call 2009-05-18 16:01:07 +00:00
Pavol Rusnak
7406d0ed34 added diff -c option (show change of revision X = diff -r X-1:X) 2009-05-18 14:50:43 +00:00
Marcus Hüwe
eeba81ad26 - fix for older python versions 2009-05-17 13:07:55 +00:00
Marcus Hüwe
b5b04124c4 - LinkExpandError inherits from PackageError (display affected project and package in error message) 2009-05-15 19:08:14 +00:00
Marcus Hüwe
815ca58dc8 - cosmetic: save one level of indention 2009-05-15 15:32:15 +00:00
Marcus Hüwe
5b3a55091d - fixed typo 2009-05-15 15:25:09 +00:00
Dominique Leuenberger
f97f287ce7 Extend submitreq list with new optional parameter -M. When given, it will limit the list to the user's own requests. 2009-05-15 12:41:27 +00:00
Pavol Rusnak
68152d9faf fix typo (false -> False) 2009-05-15 12:31:59 +00:00
Pavol Rusnak
121b20c63c more fixes for Windows port 2009-05-15 11:40:50 +00:00
Michal Vyskocil
b6246d7695 --xml output for results and rresults command, results_meta is obsoleted 2009-05-15 09:24:53 +00:00
Michal Vyskocil
4676bd6ddf added default=[] for -r and -a options in all results commands 2009-05-15 08:48:32 +00:00
Michal Cihar
e12100fc48 osc search can now output CSV 2009-05-15 08:33:25 +00:00
Michal Cihar
1f76cd0c19 - Allow build_table to generate CSV.
- Avoid some code duplication inside it.
2009-05-15 08:32:48 +00:00
Michal Cihar
0d3a98ce5b "involved projects" is not really good description of this 2009-05-15 08:07:03 +00:00
Michal Vyskocil
011426d885 -r|--repo and -a|--arch options for results, rresults and results_meta commands 2009-05-15 07:16:26 +00:00
0648a8c555 - new option for copypac
* -r to specify source revision                                                             
  * -m to specify a comment (and send default comment if not specified)
mmeeks, jpr: this is for you :)
2009-05-14 11:50:53 +00:00
2c42287a98 Add support to get build logs starting from a given offset
(from Ming Xi Wu)
2009-05-14 11:09:26 +00:00
Michal Cihar
0f3c3d8eaf new jobhistory/buildhistory output format (CSV) 2009-05-13 09:04:27 +00:00
Michal Cihar
208c0f7f44 Add srcmd5 to XML log. 2009-05-13 08:57:24 +00:00
Michal Cihar
63590a80be new log/rlog output formats (CSV and XML) 2009-05-13 08:53:32 +00:00
Michal Cihar
92ff8996d4 osc linkpac can not specify cicount attribute 2009-05-13 07:59:01 +00:00
Jan Matejek
9f739f5e87 disable '%' expansion on username and password 2009-05-12 16:17:15 +00:00
Pavol Rusnak
7c27fac55e add 'ar' alias for addremove command 2009-05-11 13:21:33 +00:00
Michal Cihar
7074362e90 osc can now store credentials in Gnome keyring if it is available (bnc#460540) 2009-05-11 07:46:01 +00:00
Marcus Hüwe
72532fb016 - rresults: allow arguments which a separated by a "/" (e.g. prj/pkg) 2009-05-10 20:29:34 +00:00
Marcus Hüwe
ef94ae807c - use apiurl parameter 2009-05-08 19:37:06 +00:00
Marcus Hüwe
fb992a24fc - fix for older python versions 2009-05-08 18:54:26 +00:00
Marcus Hüwe
287d8c2fbd - move check to the correct place (otherwise args[0] might lead to an IndexError exception) 2009-05-07 19:41:02 +00:00
Marcus Hüwe
2baad18f1f - use list comprehensions instead of map/lambda (this is more pythonic:) ) 2009-05-07 19:13:50 +00:00
Marcus Hüwe
dffa7317eb - small fixes (target_package and target_prj were referenced but in some cases there was no assignment before) 2009-05-07 18:43:04 +00:00
5684a992dd extended error message on unresolved files to point people to "resolved"
command.
2009-05-07 13:02:22 +00:00
Michal Cihar
e5563bcaa4 Move osc specific bits to commandline module. 2009-05-06 13:20:15 +00:00
Michal Cihar
a30a1d595b Add support for generating a man page. 2009-05-06 11:46:17 +00:00
Dr. Peter Poeml
09b50649ea fix typo introduced in r7243 2009-05-06 10:08:08 +00:00
Marcus Hüwe
9adde950df - fixed #499617 ("osc rbl hangs forever")
now we have a default timeout for all API requests (100 seconds)
2009-05-05 15:56:23 +00:00
Michal Cihar
85293d8770 plugins now should be placed in /usr/lib/osc to match FHS (the /var path is still supported though) 2009-05-05 14:21:56 +00:00
Michal Cihar
a02e40f273 Print help in more standard form so that help2man can parse it (bnc#471888). 2009-05-05 14:13:22 +00:00
Michal Cihar
aedeea317c Drop shebang line from modules (bnc#500971).
(Some did have it and some did not, this way it is consistent and they
are anyway not supposed to be executed directly.)
2009-05-05 14:11:25 +00:00
Michal Cihar
885c72af77 Fix syntax errors with Python 2.4 (bnc#500968). 2009-05-05 14:07:00 +00:00
Michal Cihar
cdcca2746d Add rlog support for srcmd5 (bnc#460538). 2009-05-05 14:01:41 +00:00
Martin Mohring
5097f48c50 - fixed: another fix for arm 2009-05-04 21:44:44 +00:00
3df88ab765 Consolidating delete commands:
* obsolete deletepac and deleteprj to delete and rdelete commands.
  - enable package tracking by default
* add support to hide commands in help list (so we can show propper
  help when people still try to use it).
seife: this is for you, drop your own scripts emulating it :)
2009-05-04 19:07:05 +00:00
Martin Mohring
5b4f958cbc - fixed: non cross build arm support 2009-05-04 19:01:17 +00:00
Martin Mohring
528cc81de2 - fixed: let users use osc for arm also on native arm machines 2009-05-04 18:48:41 +00:00
Michal Vyskocil
ad88054cf8 osc submitreq create DESTPRJ [DESTPKG] 2009-05-04 12:53:03 +00:00
51f941886c Allow pulling conflicting changes from another project via "osc
repairlink"
2009-05-04 09:13:35 +00:00
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
e2524f036d find and list debian sources in build root 2009-04-27 11:44:38 +00:00
Michael Schröder
38446b0749 - clean up files if diff3 did the job
- first try baserev before querying lastworking
2009-04-27 10:09:38 +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
7481112018 - print 'Trying upstream server for %s (%s), since it is not on
%s.' \
+        print 'Trying openSUSE Build Service server for %s (%s), since
it is not on %s.' \

when downloading from frontend server ("upstream" made people thinking 
the files come from the servers like source forge).
2009-04-27 07:32:00 +00:00
Marcus Hüwe
8cc699fe01 - fixed #497987 - live buildlog was broken 2009-04-24 18:17:12 +00:00
Brandon Philips
4a924553b2 Cleanup usage information on osc co PACKAGE
The usage information on osc co PACKAGE was a bit confusing and one of
the descriptions was inaccurate. Remove the inaccurate description and
improve the language on the clearer one.
2009-04-23 23:59:40 +00:00
Brandon Philips
415143d548 Restore osc co -c feature after commit r7103
Commit r7103 broke the osc co -c feature to checkout a package to the
current directory. Restore it.
2009-04-23 23:57:59 +00:00
Michael Schröder
eb14b3c2a4 - fix show_files_meta call 2009-04-23 09:23:13 +00:00
Michael Schröder
54300936f0 - don't diff binary files 2009-04-23 09:03:59 +00:00
630084b582 * harmonize parameters of repairlink with other commands 2009-04-23 08:58:21 +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
Marcus Hüwe
f15d1dd57e - get the correct apiurl user 2009-04-22 17:38:14 +00:00
Michal Vyskocil
a49d15edbd just edit option for buildvc and osc vc commands, used /usr/lib/build/vc in osc vc 2009-04-22 14:44:17 +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
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
0c3d982ecc use "latest" revision on checkout, not "upload" (#441783) 2009-04-22 11:37:40 +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
8b1882e7a9 * add support for kiwi builds in output results
* fix support for output directories, when they are not a symlink
2009-04-20 13:07:43 +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
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
Marcus Hüwe
16f99519ed - oops r7028 broke "osc search" 2009-04-15 17:30:13 +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
Ludwig Nussel
299b969324 install gcc-c++ when using icecream (bnc#493550) 2009-04-14 11:33:50 +00:00