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

939 Commits

Author SHA1 Message Date
Pavol Rusnak
1dd6dee9ba remove exec flags from commandline.py and core.py 2009-12-08 14:19:23 +01:00
Marcus Hüwe
e3e32f0d2f - autodetect *.kiwi files too 2009-12-04 17:41:31 +01:00
Adrian Schröter
edc55d83ec add dependson and whatdependson commands 2009-12-04 16:20:17 +01:00
Michal Čihař
457b8345d1 Remove line of asterisks
This does not work for man page.
2009-12-04 13:42:15 +01:00
Stephan Kulow
8f7a742310 convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
Ludwig Nussel
1ff4978b98 implement build --release 2009-12-01 13:36:11 +00:00
8ed237141a fix file descriptor leak (make it possible to handle more than 1024
packages).
2009-12-01 08:46:54 +00:00
Ludwig Nussel
133bd7a613 sanitize osc repos command 2009-11-30 09:57:39 +00:00
Ludwig Nussel
b75f95773f better repourls command behavior
Instead of requiring the path to a package working copy either read the project from currernt dir or allow to specify project
2009-11-30 09:31:28 +00:00
Ludwig Nussel
b3ef949ed1 hide install command. just plain broken. 2009-11-30 09:31:22 +00:00
Ludwig Nussel
6fd0e98a73 more convenience for osc signkey 2009-11-26 10:56:28 +00:00
Ludwig Nussel
75bdc2e6c7 allow build in read-only directory 2009-11-26 09:52:26 +00:00
Michal Vyskocil
e57b3548c9 osc mv command 2009-11-24 16:25:48 +00:00
Ludwig Nussel
aafcf707fd hack to make dependency expansion of --with and --without work for local builds 2009-11-24 09:49:53 +00:00
Ludwig Nussel
d47ebed9e0 --with and --without need to be array 2009-11-24 09:49:26 +00:00
7cc629bdad default to exact search now (faster results and less server load).
osc search -s is doing the old substring search now
2009-11-23 16:13:57 +00:00
2393044585 add "osc build --root" option to allow to specify build root directory.
(not only for mls ;)
2009-11-23 13:53:59 +00:00
Ludwig Nussel
f1e67f1479 print valid repos if buildlog, buildhist or jobhist are called with
wrong arguments for convenience
2009-11-23 10:13:19 +00:00
Ludwig Nussel
989d7fa5d0 allow to specify limit=0 so jobhist works with apis that don't support limit 2009-11-23 10:13:12 +00:00
881349eaff fix request listing with --type without given target or source 2009-11-20 16:06:05 +00:00
Ludwig Nussel
5e142d7fc9 print list of valid arguments for getbinaries 2009-11-20 14:35:57 +00:00
Thomas Schmidt
fd4cd7fa0a fix text 2009-11-20 13:30:55 +00:00
Marcus Hüwe
d5d3605652 - reverted r9064. Verify/adjust apiurl in conf.py instead 2009-11-18 20:31:08 +00:00
Michal Vyskocil
4a0df19660 Make read of email adress from oscrc more robust
Fix possible KeyError when mismatch of apiurl with or without ending
slash.
2009-11-18 15:03:49 +00:00
Dirk Mueller
921b78d93c osc maintainer: hide verbose information if verbose is
not used
2009-11-17 21:48:46 +00:00
Marcus Hüwe
be2df795c9 - use a meaningful package name instead of "_repository" 2009-11-17 17:23:30 +00:00
f27fc0fd77 support review handling of requests (new "osc review accept/decline
$REQUEST_ID" command
2009-11-17 16:59:17 +00:00
Ludwig Nussel
4139db3e3d smarter ls -b
- list all repos/archs if not specified
- use project or package of the current dir if none specified
2009-11-17 13:39:46 +00:00
Ludwig Nussel
11c22ac9c1 reset Validation errors after each connect 2009-11-17 13:39:40 +00:00
Ludwig Nussel
8f4bbb5718 initialize apiurl always 2009-11-16 09:42:58 +00:00
2e46311ecd show worker/id on jobhistory and make it faster by adding a default
limit of 20
2009-11-13 13:31:10 +00:00
Ludwig Nussel
bed57f7684 extra-pkgs must be list always 2009-11-13 13:24:33 +00:00
Ludwig Nussel
c3f6f03e3c better ssl certificate verification
+ now allows to store&compare peer certificate
- needs more python hacks
2009-11-13 10:46:23 +00:00
bc6f77d1da * patchinfo runtime fixes
* support submit requests on project level, osc is checking which
  packages have changed and submits only the changed after asking back.
* add support for _patchinfo package submissions in "osc sr" on project level
2009-11-13 08:58:37 +00:00
Ludwig Nussel
601b3c3416 use empty extra-pkgs by default (bnc#455960)
- avoids non-obious error when building for non-suse distros
- local build root and build root on server don't differ by default
2009-11-11 11:22:56 +00:00
81afb0fa4d basic patchinfo support, calling api for generate file and to edit it 2009-11-10 09:56:34 +00:00
Michal Vyskocil
cdb8fabcbb osc my - show maintained packages by default 2009-11-10 09:36:32 +00:00
Jürgen Weigert
e09d83c772 all *.py: TABS to spaces; osc build: counting packages during cache filling 2009-11-10 00:56:52 +00:00
Marcus Hüwe
c57343cfc4 - sigh... python24 fix 2009-11-06 22:28:04 +00:00
Marcus Hüwe
6471a1aabf - fixed implicit release for deb packages 2009-11-06 22:24:23 +00:00
Marcus Hüwe
4dc6e956c1 - yet another fix for python24... 2009-11-06 21:38:29 +00:00
Marcus Hüwe
fbf2e669b4 - yet another fix for python24 2009-11-06 21:15:58 +00:00
Jan-Simon Möller
3226fb0f9b add PRJ PKG also as args of buildinfo and buildconfig 2009-11-06 19:52:28 +00:00
Marcus Hüwe
9a8579cc35 - fix for python24 2009-11-06 19:24:36 +00:00
Jan-Simon Möller
7769144d55 osc jobhistory accepts now also PRJ [PKG] REPO ARCH - enables query if not in wd. 2009-11-06 18:47:54 +00:00
fbf63aae84 change "osc maintained" syntax to "osc sm" or "osc search --maintained"
as decided in Build Team Meeting.
2009-11-06 16:08:20 +00:00
5bfc8a653d no verification of packages in build --noinit case, packages get not
installed anyway
2009-11-06 12:58:34 +00:00
Marcus Hüwe
f79a9a50f9 - fixed #477690 ("osc fetching binaries really slow"). "osc build" does only one request (per project) to the API and fetches all binaries in a cpio archive (in case the binaries weren't found on d.o.o) instead of doing one request for each package.
- fetch.py: get rid of the "partname concept" for fetching binaries and use tempfiles instead (the former concept can lead to unexpected errors in some cases)
2009-11-05 20:48:04 +00:00
Michal Vyskocil
c1363688a3 added missing return_existing=False to attribute_branch_pkg 2009-11-05 09:28:02 +00:00
299eec25f6 correct messages about package verifications 2009-11-05 09:11:00 +00:00
060a87e9b3 make "no valid buildinfo" message a bit more helpfull 2009-11-04 22:06:38 +00:00
Dirk Mueller
2d198006b8 implement -v for osc ls -b 2009-11-04 14:31:20 +00:00
Marcus Hüwe
dd1d72b554 - fixed indention + some small simplifications 2009-11-04 14:10:45 +00:00
Michal Marek
df8d70b5ad linkpac: default to cicount=copy if the link is in the same project, to avoid
one gotcha when building kernels
2009-11-02 21:02:58 +00:00
Ludwig Nussel
31c5c2c11d auto detect ca certificates on Fedora (bnc#551756) 2009-11-02 16:28:43 +00:00
c0760b0938 add "osc maintained" shortcut command
=> implement me: show also bugowner and maintainer
2009-11-02 09:28:27 +00:00
Ludwig Nussel
5402029d1d fix display of certificate validity period in verifiy_cb 2009-11-02 08:36:16 +00:00
33dcce48ce implement "mbranch" call as documented on
http://en.opensuse.org/Build_Service/Concepts/Maintenance
2009-11-02 08:32:15 +00:00
Jürgen Weigert
4d0db61e12 partial fix for bnc#551147 2009-10-30 15:19:57 +00:00
09a01158de support attribute default requests and including project attributes in
one request.
2009-10-30 10:18:44 +00:00
b9b8f36925 basic meta attribute features, to show, set, create or delete attributes
and their values
2009-10-30 09:40:46 +00:00
5f31baf71a ups .. forgot to import module 2009-10-29 17:27:20 +00:00
455a173481 support http proxies when using python 2.6 or newer (#551004) 2009-10-29 17:17:39 +00:00
Marcus Hüwe
c420d5ef06 - don't use relative paths 2009-10-24 17:20:41 +00:00
Marcus Hüwe
1922ec5de9 - cleanups:
* use default tempdir
  * removed delete_tmpdir() method
  * delete_dir(): don't catch exceptions
2009-10-24 12:47:21 +00:00
Marcus Hüwe
902cbddf31 - oops don't close this file 2009-10-24 12:21:30 +00:00
Marcus Hüwe
700856ee7b - small fixes for offline build support 2009-10-24 12:13:40 +00:00
116f75fec8 * allow to limit the osc search results by the existens of attributes 2009-10-22 10:10:15 +00:00
Jürgen Weigert
bb6e27db24 - added 'osc bugowner' as a more intelligent version of 'osc maintainer -B'
- added option '-B' to osc maintainer, prints bugowner OR maintainer.
 - added 'osc req help' as convenience alias to 'osc help req'.
 - 'osc in' to be done. Its usage just prints a suggested zypper command line.
 - Incompatible change: osc se now prints Project Package, instead of 
   Package Project for easier copy&paste.
 - give better hint how to use osc vc without network connectivity.
 - added printing of cache statistices to osc build
 - implemented 'osc ls .' to take proj/pack name from current directory.
   * Incompatible change: 'osc ls' now defaults to 'osc ls .',
   * Use 'osc ls /' if you really want to list all projects.
   * This is meant as a proof of concept. I intend to generalize this usage of '.'
     for all osc commands. Feedback welcome.
2009-10-22 09:43:58 +00:00
Pavol Rusnak
661d927d38 code cleanup 2009-10-20 14:30:15 +00:00
24105051f1 and continue with 0.124 ... 2009-10-20 08:48:21 +00:00
8ea675b8de declare this as 0.123 release :) 2009-10-20 08:47:15 +00:00
9266647b0c - support 100% offline build when using "osc build --noinit ..."
-> buildinfo gets stored in local directory as .buildinfo.xml
2009-10-20 08:43:52 +00:00
b8a915b8a2 Revert half introduced incompatible changes 2009-10-16 19:56:33 +00:00
5a1183a3d3 revert incompatible one-off-super-special-osc-req command, fixes error message on each osc call. declare this version as 0.123 RC 1 2009-10-16 15:55:29 +00:00
Marcus Hüwe
f8d3824ea5 - support "apiurl = <some alias>" in the configfile 2009-10-16 15:03:12 +00:00
9a674cbda7 another try 2009-10-16 14:33:55 +00:00
c782e8d643 improve signkey help message 2009-10-16 14:21:05 +00:00
82add8761a fix typo 2009-10-16 14:16:25 +00:00
d47bbd8819 add project key management command (osc signkey) 2009-10-16 14:12:55 +00:00
bd38438416 fix checkout of a package, which contains uploaded, but not commited
files. We use the latest committed version in that case.
2009-10-16 08:26:01 +00:00
Pavol Rusnak
5ef036a578 allow filtering by repo/arch in prjresults 2009-10-15 14:24:12 +00:00
Ludwig Nussel
ca237c5af9 don't fetch packages if build was called with --no-init 2009-10-09 11:37:27 +00:00
Jürgen Weigert
0bcfa2a938 +- added 'osc req help' as convenience alias to 'osc help req'.
+- 'osc in' to be done. Its usage just prints a suggested zypper command
line.
+- Incompatible change: osc se now prints Project Package, instead of
Package Project
+  for easier copy&paste.
+
2009-10-08 14:40:06 +00:00
Jürgen Weigert
652e6b87f4 - 2009-10-08 14:21:43 +00:00
Marcus Hüwe
7fb87cef21 - forgot these lines in my last commit (r8177) 2009-10-08 13:55:37 +00:00
Ludwig Nussel
f9c2aaaf27 remove special case for 'se' to perform an exact match by default
zypper for example doesn't do that either.
2009-10-08 12:44:25 +00:00
79cada9493 do not die after downloading -debuginfo packages
(can maybe solved in a nicer way)
2009-10-07 15:35:45 +00:00
Marcus Hüwe
17a840deac - minor cleanup 2009-10-06 17:10:31 +00:00
Ludwig Nussel
739961adfe add script to tar up releases and snapshots 2009-10-02 12:06:46 +00:00
Ludwig Nussel
9dd2878642 socket timeouts don't work with m2crypto 2009-10-02 11:26:07 +00:00
Ludwig Nussel
f8545f8dcf use python-m2crypto for actually secure SSL 2009-10-02 11:25:59 +00:00
Marcus Hüwe
eab1349dff - util/debquery.py: implemented dpkg's version comparison algorithm
- util/packagequery.py: added epoch() method
2009-09-29 12:32:26 +00:00
Jürgen Weigert
6575669111 added expand_proj_pack() for suggested '.' handling. 2009-09-28 19:50:57 +00:00
Michal Cihar
c40738b2ea Use non consuming expressions to allow escape more strings in one row. 2009-09-25 12:50:42 +00:00
Michal Cihar
eda5e9c38c Escape ' at the begining of the line as it is command marker for roff. 2009-09-25 11:19:02 +00:00
Marcus Hüwe
4e30d9f946 - fixed get_request_list() call 2009-09-24 14:14:11 +00:00
Marcus Hüwe
3cfe9db980 - show pending requests after branching a package 2009-09-22 23:31:10 +00:00
Marcus Hüwe
39a92bc63b - removed debug statement (to print out urls add "debug=1" to your ~/.oscrc) 2009-09-22 19:08:51 +00:00
Marcus Hüwe
1130e28061 - always use the latest version of a package (in case the dir contains multiple versions of a package) when running "osc build --prefer-pkgs /path/to/pkgs" 2009-09-21 17:29:20 +00:00