1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-13 07:56:14 +01:00
Commit Graph

1082 Commits

Author SHA1 Message Date
Ludwig Nussel
010b55020e parse server diff to generate submitrequest message template 2010-02-02 14:59:40 +01:00
Ludwig Nussel
f29ffcdaef move changes file diff parser to separate function 2010-02-02 14:59:40 +01:00
Ludwig Nussel
048c479a3e remove broken -l option to osc sr 2010-02-02 14:59:40 +01:00
Ludwig Nussel
098ec5b861 display details of finish 2010-02-02 14:59:40 +01:00
Marcus Huewe
89a3ee1b71 - distinguish between 'su' and other suwrappers (at least it should work now with 'su' and 'sudo') 2010-01-30 21:41:49 +01:00
Marcus Huewe
7b00934a47 - don't hardcode path to chroot binary 2010-01-30 19:22:32 +01:00
Marcus Huewe
f88e3f7c3f - fixed #574758 ('"osc" cannot commit "read-only" files.')
- simply use shutil.copyfile() instead of shutil.copy2() because we don't
  care about the file mode etc.
2010-01-30 18:05:25 +01:00
Marcus Huewe
0d67340644 - fixed #571491 ("[osc] --local-package always builds for the host system and doesn't respect the server repos anymore since 0.125") 2010-01-30 17:06:43 +01:00
Marcus Huewe
58f4740835 - added new command "osc chroot"
- added new helper method parse_repoarchdescr()
2010-01-30 16:18:30 +01:00
Marcus Huewe
3dc4a09a29 - use correct package name unless --local-package is specified 2010-01-30 00:08:28 +01:00
Marcus Huewe
fe6dec5410 - also detect a kiwi file 2010-01-29 23:16:15 +01:00
Marcus Huewe
73770458a7 - cleanup + fixed "osc build --local-package..." 2010-01-29 23:13:36 +01:00
94c9a3dde7 use the baserev on links by default for diffing 2010-01-29 16:56:36 +01:00
Marcus Huewe
8c50908891 - fixed 'project/package/repository/arch' support 2010-01-28 20:00:34 +01:00
Michal Vyskocil
612ac35f28 fix exception message in parse_disturl 2010-01-28 13:22:44 +01:00
Michal Vyskocil
1d44150c7f add a buildlogurl support to osc remotebuildlog command 2010-01-28 13:20:11 +01:00
293d03536f fix patchinfo command, not crashing anymore
Conflicts:

	NEWS
2010-01-27 13:16:26 +01:00
Marcus Huewe
97a6a9e63c - use base64 module for base64 encoding (as suggested by Luke Imhoff) 2010-01-22 20:16:38 +01:00
Marcus Huewe
7f9b4a37df - fixed indention 2010-01-22 14:29:26 +01:00
9911870639 do not fill crap into our database by default 2010-01-22 08:58:18 +01:00
Michael Schroeder
8a8780d1db Merge branch 'master' of gitorious.org:opensuse/osc 2010-01-21 14:47:39 +01:00
Michael Schroeder
b821c2ed6d - default to expanded for new packages in osc up, like we do in osc co 2010-01-21 14:47:04 +01:00
73b5bc65d5 fixing attribute set/create command for final 1.7 API
Conflicts:

	NEWS
	osc/core.py
2010-01-21 10:32:35 +01:00
Michael Schroeder
151b9b699d - also freeze if 'up -e' fails, code cleanup 2010-01-20 17:55:44 +01:00
Marcus Huewe
14288a9468 - changed appname handling 2010-01-20 14:46:10 +01:00
Ludwig Nussel
f2f948388e appname should be osc for ssl support 2010-01-20 09:15:51 +01:00
Marcus Huewe
aee78f6150 - fixed do_branch 2010-01-19 19:15:45 +01:00
Luke Imhoff
96210b6dac Allow --prefer-pkgs to parse repodata
Any directory passed to --prefer-pkgs will be searched for a repodata
directory.  If the directory does not contain a repodata directory, then
each ancestor directory is checked.  This allows for the user error of
specifying an individual architecture directory (e.g. x86_64) instead of the
parent repository directory that contains the repodata:

repository/
  x86_64/
    *.rpm
  repodata/
    *.xml.gz

The use case for this feature is it allows snapshots of the OBS repositories
to be offloaded to an network-attached filesystem.  repodata directories are
used as the xml.gz files are faster to read than the 100s of rpms in a given
snapshot.  These snapshots are used to track older rpm sets that may be
deployed for testing.
2010-01-18 09:12:10 -06:00
39ac814169 do not crash on rdiff with 3 arguments (#571483) 2010-01-18 10:25:00 +01:00
Marcus Huewe
a7abbb37cd - fixed typo in regex 2010-01-15 20:34:54 +01:00
Ludwig Nussel
bddcf82e5e fix osc r in prj dir 2010-01-15 11:00:50 +01:00
Ludwig Nussel
2f46207cd0 osc ls -b: allow to specify repo and arch as arguments too 2010-01-15 10:56:42 +01:00
Ludwig Nussel
e86d6b6223 add option to prjresults to show results with packages listed vertically 2010-01-15 10:56:24 +01:00
Ludwig Nussel
bd9a9774f3 don't pollute results output with repo status 2010-01-15 10:56:24 +01:00
b2ea0d3b23 * fix output of "results" in project dir
* do not show warning when a target project is given on "branch"
2010-01-15 10:30:16 +01:00
7a5add4866 post 0.125 2010-01-14 22:57:31 +01:00
4787d7023a make it the 0.125 release 2010-01-14 22:53:10 +01:00
Marcus Huewe
28f3e3b7e2 - fixed indention 2010-01-14 20:25:14 +01:00
Marcus Huewe
c4ccdea253 - fixed indention, use list comprehension 2010-01-14 20:16:10 +01:00
Marcus Huewe
de84575ab0 - don't read all rpm/deb tags/fields by default 2010-01-14 19:51:09 +01:00
e4fb64daba "osc results" calls "prjresults" when being in project dir. 2010-01-14 15:20:00 +01:00
2b419453bb Revert "new "osc revert" command"
This reverts commit b198845b2c.

Conflicts:

	osc/commandline.py
2010-01-14 14:42:26 +01:00
727c66c2cf * support linktobranch with local dir
* update local checkout on linktobranch and revert
2010-01-14 12:24:48 +01:00
b198845b2c new "osc revert" command 2010-01-14 11:58:34 +01:00
217db3c20c show scheduler state for each repo with "results" and "prjresults" 2010-01-13 13:35:45 +01:00
6be37ebb89 fix syntax error on checkout 2010-01-13 12:53:08 +01:00
Michal Vyskocil
fe4ec4d7e7 fix of do_bugowner: opts.roles should have the __len__ method 2010-01-13 10:03:14 +01:00
Michael Schroeder
b969f87210 - add autofreezing of link (obsoletes linkrepair) 2010-01-12 17:22:47 +01:00
Ludwig Nussel
db0c0ee6ea reimplement osc my 2010-01-12 15:11:42 +01:00
Ludwig Nussel
c9e9730226 most help topics are capitalized 2010-01-12 15:11:42 +01:00
Marcus Huewe
c7421118e8 - fixed missing exception 2010-01-11 18:59:49 +01:00
Michael Schroeder
0cb7afbfdf - reimplement 'osc pull' so that iw works like intended, i.e. still works if the link is broken 2010-01-11 17:01:21 +01:00
2aa4700bca add osc linktobranch command 2010-01-11 16:36:33 +01:00
Ludwig Nussel
5af4250ffc implement three argument form for rdiff as used by copypac and linkpac 2010-01-11 14:00:24 +01:00
Marcus Huewe
90a92be0dd - added "build-jobs" config option (default: "getconf _NPROCESSORS_ONLN") 2010-01-09 14:56:55 +01:00
Marcus Huewe
5c8ee534a9 - cleanups + cosmetic changes 2010-01-09 14:25:41 +01:00
Marcus Huewe
5a7346858a - double quote (user specified) pathnames 2010-01-09 11:42:07 +01:00
Marcus Huewe
52b22b19a5 - fixed proxy support when using m2crypto 2010-01-08 22:20:40 +01:00
Marcus Huewe
d4877bbe51 Merge branch 'master' of git://gitorious.org/opensuse/osc 2010-01-07 19:11:37 +01:00
Marcus Huewe
d3edac3a17 - fixed #568269 ("osc meta prjconf can waste lot of time") 2010-01-07 19:11:02 +01:00
Michal Čihař
396b6299f2 Fix typos found by lintian. 2010-01-02 12:25:56 +01:00
Marcus Huewe
9560002d00 - adjusted help text 2009-12-30 21:54:57 +01:00
Marcus Huewe
77544e7b4f - cleanups 2009-12-30 15:10:11 +01:00
Marcus Huewe
f109054898 - escape attributes 2009-12-29 20:33:16 +01:00
Marcus Huewe
d75888fbd4 - fixed do_submitrequest 2009-12-26 14:25:58 +01:00
Marcus Huewe
bcbcf6426c - fix for 0a6ca4f6c2 (also adjusted variables) 2009-12-26 14:22:34 +01:00
Marcus Huewe
1f979150a5 - add a more helpful text (see also #558197) 2009-12-25 18:16:35 +01:00
Marcus Huewe
0a6ca4f6c2 - useless use of StringIO() 2009-12-25 17:37:53 +01:00
Marcus Huewe
b3c8cc9062 - do_maintainer(): support multiple --role <foo> options 2009-12-25 17:31:13 +01:00
Marcus Huewe
9e892b9e58 - do_maintainer(): cleanup + renamed "--bugowner_only" to "--bugowner-only" 2009-12-25 17:19:44 +01:00
Marcus Huewe
a1cea77795 - fix for 81bf93f4f2 2009-12-25 14:02:04 +01:00
Marcus Huewe
73a2d30180 - minor changes/"cleanups" 2009-12-25 00:39:13 +01:00
Marcus Huewe
59073eaff5 - cleanup: use exceptions 2009-12-25 00:08:29 +01:00
Marcus Huewe
f47c19d209 - there's no need to fetch the packagelist if we add a new package 2009-12-24 21:30:02 +01:00
Marcus Huewe
a715077769 - code cleanup 2009-12-23 20:51:08 +01:00
08c63f906e fix request listing with given type for certain projects 2009-12-22 10:53:42 +01:00
Marcus Huewe
046d4c37e1 - cleanup: removed useless objects 2009-12-21 23:47:25 +01:00
Marcus Huewe
81bf93f4f2 - return a list instead of a string 2009-12-21 14:26:32 +01:00
Marcus Huewe
a6a223edec - added "--disable-publish" option to "linkpac" and "aggegratepac" 2009-12-21 14:24:33 +01:00
Pavol Rusnak
8998d8d8a4 add missing exception variable to except block 2009-12-20 20:42:54 +01:00
Marcus Huewe
0bf48f2b73 - added support to specify a default action if a submitrequest has been accepted 2009-12-19 14:44:51 +01:00
Marcus Huewe
b983f116eb - commit: check if "_pulled" file exists before removing it
- fixed indention
2009-12-17 20:20:35 +01:00
Michael Schroeder
72e6edc997 - first attempt at "osc pull" and "linkcontrol" 2009-12-17 17:16:56 +01:00
Ludwig Nussel
3285fafaac take sr apiurl from current dir also in two argument form 2009-12-15 17:42:23 +01:00
Ludwig Nussel
f78ac323a8 check apiurl aliases also for copypac -t 2009-12-15 17:42:23 +01:00
Marcus Huewe
f297c01d6e - small cleanups 2009-12-12 15:02:58 +01:00
a2e3e0ab0f fix error when calling "osc build" without absolute path to spec file 2009-12-11 10:31:53 +01:00
Michal Čihař
3492712952 Fix escaping of parameters separated by | in man page. 2009-12-10 13:55:27 +01:00
f9438b7d39 open 0.125 development ... 2009-12-10 09:02:18 +01:00
13d900a648 got for 0.124 version 2009-12-10 07:30:40 +01:00
3949066104 add "osc triggerreason", show detailed reason of a build trigger 2009-12-09 07:53:33 +01:00
35a3a07c62 Merge branch 'master' of gitorious.org:opensuse/osc 2009-12-09 06:55:15 +01:00
0b60db740c * Revert fetch-cpio support for now, too many complains due to broken
product building atm.
* add --link-source option for "osc build" to speed up product building
2009-12-09 06:53:27 +01:00
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