Juergen Weigert
2ec85b7548
Merge branch 'master' of gitorious.org:opensuse/osc
2010-06-29 14:34:10 +02:00
Juergen Weigert
83781a59b5
request_interactive_review() should not die with stragen unicode chars.
...
simple workaround.
2010-06-29 14:32:22 +02:00
073e2b0517
support re-open of requests
2010-06-29 12:13:24 +02:00
Danny Kukawka
bd555225be
Merge branch 'master' of gitorious.org:opensuse/osc
2010-06-28 13:57:21 +02:00
Danny Kukawka
f41d842d3e
fixed tempfile leaking in osc diff function
...
The osc diff function leaves tempfiles in /tmp after finished.
Call os.unlink() to remove the file if no longer needed.
2010-06-28 13:00:34 +02:00
Ludwig Nussel
5270e13baf
implicitly trust the project we are building for
2010-06-28 10:55:38 +02:00
Jan Engelhardt
6eea5f188b
Add can_also_build definitions for SPARC
...
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
2010-06-28 09:07:38 +02:00
Jan Engelhardt
150cdebf6d
osc/commandline: fix reoccurring typo
...
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
2010-06-28 08:41:21 +02:00
Danny Kukawka
1438ca5c1b
Merge branch 'master' of gitorious.org:opensuse/osc
2010-06-27 21:21:08 +02:00
Danny Kukawka
260cb3ab00
extended 'osc wipebinaries' to read package/project from dirs
...
Extended 'osc wipebinaries' to read package/project from checked out
directories if possible.
2010-06-27 19:07:46 +02:00
Ludwig Nussel
377ee28887
add support for --oldpackages
2010-06-25 11:23:44 +02:00
Ludwig Nussel
c303735ab1
implement trusted projects
2010-06-23 14:47:52 +02:00
Ludwig Nussel
0663410f9c
normalize apiurl
2010-06-23 14:47:52 +02:00
Ludwig Nussel
4187a18de7
compact empty lines
2010-06-23 14:47:52 +02:00
Ludwig Nussel
da0ccd5d8c
auto apiurl for osc meta
2010-06-23 14:47:52 +02:00
Ludwig Nussel
c6f770cf27
fix getbinaries --sources
2010-06-23 14:47:52 +02:00
Danny Kukawka
a9b05119d6
another fix for osc results -r/-a in project directories
...
Fixed osc results -r/-a in project directories by fixing filtering
of architecture and repository (they are arrays and not strings).
2010-06-21 17:10:25 +02:00
Danny Kukawka
367258f050
fixed osc results -r/-a, pass values to get_package_results()
...
Fixes osc results -r/-a. Don't use in get_results() default
values to call get_package_results(), this makes no sense since
get_results() already defines defaults.
2010-06-18 17:55:06 +02:00
dc8fa3275a
_product packages have _meta files ...
2010-06-18 11:43:42 +02:00
Danny Kukawka
1c02a1bd06
fixed some warnings from pychecker
2010-06-15 17:07:14 +02:00
Danny Kukawka
343fd89f4c
fixed whitespaces in osc getbinaries help text
2010-06-15 16:38:48 +02:00
Marcus Huewe
8380602de6
- ignore tmp files from "vc" (*.changes.*)
2010-06-14 15:39:05 +02:00
Pavol Rusnak
e8d60c36a2
Revert "package cache should be in /var/cache not in /var/tmp"
...
This reverts commit 8d34581960
.
/var/cache is not writable for everyone :-/
2010-06-09 18:00:16 +02:00
Pavol Rusnak
8d34581960
package cache should be in /var/cache not in /var/tmp
2010-06-09 17:58:29 +02:00
Michal Čihař
b2f7b6c5a1
Fix typo.
2010-06-09 14:48:11 +02:00
Michal Čihař
9f5861a3dd
Whitespace fixup.
2010-06-09 14:34:04 +02:00
Michal Čihař
ca83f1f5d2
Use standard method for running editor.
2010-06-09 14:28:03 +02:00
Michal Čihař
5e817707cf
Use new functions for getting default pager/editor.
2010-06-09 14:25:42 +02:00
Michal Čihař
42b5f3961d
Implement functions to get defaults for editor/pager.
...
These are platform specific, for example on Debian we want to use
the ones provided by sensible-utils.
2010-06-09 14:25:41 +02:00
163b3e3dfa
and start with 0.128 development
2010-06-09 13:00:35 +02:00
0a5cfa9c00
tag it as 0.127
2010-06-09 12:59:36 +02:00
01d349d0e8
make it possible to run local source services on checkout/update
2010-06-08 11:24:10 +02:00
c6d417d6b7
fix typo, wrong package name recommended.
2010-06-07 14:30:36 +02:00
Ludwig Nussel
2ba65c531a
fix osc log without arguments
2010-06-07 09:02:00 +02:00
Marcus Huewe
513d984c76
- print name of the missing key
2010-05-27 21:44:35 +02:00
Michael Schroeder
d6a5c4c6fb
- fix result query, build package list from all results
2010-05-27 17:05:59 +02:00
e4615a324b
add propper error handling in case running "osc log" outside of checked out project/package
2010-05-27 07:21:33 +02:00
b0b5953b3e
support history of projects via "osc log"
2010-05-27 07:17:27 +02:00
Marcus Huewe
24d3b18e13
- cleanups
...
- fixed do_log
- use "safe writes" in init_package_dir()
2010-05-27 02:18:00 +02:00
Marcus Huewe
f023578cf2
- cleanup the new "meta mode" a bit
...
currently it isn't possible to change from "meta mode" to "normal" mode
(except with some dirty hacks..)
2010-05-27 01:54:04 +02:00
4c168a2428
fix typo
2010-05-26 16:46:01 +02:00
e759edebde
do not run services on "osc update" by default.
2010-05-26 16:35:45 +02:00
Juergen Weigert
9cb348ffce
si.execute now uses shutil.move instead of os.rename,
...
in case /tmp/ is on its own filesystem...
2010-05-26 16:25:20 +02:00
Marcus Huewe
ab30951451
- fixed import warning + small cleanup
2010-05-25 18:41:15 +02:00
Marcus Huewe
beb08a0fb1
- fixed message str
2010-05-25 18:31:50 +02:00
d2dbc069b0
use correct apiurl when triggering a rebuild of local package
2010-05-25 17:50:36 +02:00
cec0374ccf
support checkout of underscore packages
2010-05-25 14:54:11 +02:00
6860613ba9
harmonized osc parameters, user always "-M" for "--meta"
2010-05-25 14:54:11 +02:00
2ae9a9453a
fix commit of files in meta mode
2010-05-25 14:54:11 +02:00
Marcus Huewe
c33d229953
- fixed permissions
2010-05-24 22:40:31 +02:00
brook hong
11c2f0a510
implement https://features.opensuse.org/309351
2010-05-24 19:28:44 +08:00
Marcus Huewe
3ae6d5dd07
- getbinaries: cleanup
2010-05-22 18:27:11 +02:00
1e5b0e2ffb
runtime fixes for last commit
2010-05-22 08:55:39 +02:00
6cbff920dc
add validation verbose mode for easier debugging
2010-05-22 08:51:04 +02:00
1700744cfa
don't try to execute temporary files in validator directory
2010-05-22 08:36:15 +02:00
1e985f38e2
* offer access to deleted projects/packages
...
* allow checkout of meta data of packages
* process validators in sorted order
2010-05-22 08:23:09 +02:00
da0c0f6b86
support undelete of project or package
2010-05-21 19:03:20 +02:00
Juergen Weigert
3de185cc38
Improved english message text.
2010-05-21 11:29:52 +02:00
56cfff9068
do not die on helper directories
2010-05-20 18:22:20 +02:00
7e0abcd805
Make source validator moduler, execute all scripts in directory
2010-05-20 12:02:53 +02:00
e9b5ca869a
support source validators as pre-checkin check
2010-05-20 06:40:18 +02:00
Pavol Rusnak
273fabb4da
fix osc add
2010-05-19 15:34:59 +02:00
41f925addc
allow to set a temporary comment for a review via "osc review new"
...
(Fate #307506 )
2010-05-19 14:12:49 +02:00
beae2c0cdd
when doing "osc up -e" or "osc up -u" the actual update did not happen,
...
because revision md5 was used from local data. Doing an update of it before.
2010-05-19 13:02:23 +02:00
87a6bf4205
approvenew is a little bit less horrible then acceptallnew, isn't it ?
2010-05-19 12:50:52 +02:00
9f65f138ed
add "osc rq acceptallnew $PROJECT" command to show and accept all request in new state.
...
This makes sense esp. for projects which work with default reviewers before.
(like it is planned for openSUSE:Factory).
In this way the review can happen during the week, people get feedback ASAP when review
fails, but the entire rebuild does not happen before the everything get accepted.
2010-05-19 12:29:56 +02:00
a337968dcb
* support branching with --force, to override existing target.
...
* Sorted OBS 2.0 features in NEWS file
2010-05-19 10:47:01 +02:00
e649a55120
use "checksum" to be in sync with other places
2010-05-18 16:33:11 +02:00
c1de76cc84
allow --force branch, even when target already exists
2010-05-17 20:14:49 +02:00
b397b354fe
add sha256 verification for downloaded files via source service
2010-05-17 19:24:00 +02:00
390b9659fe
extent command description for add
2010-05-14 16:59:45 +02:00
ac5990fbd0
register "_service" file, in case it got created
2010-05-14 16:51:38 +02:00
1ca862308b
add support for obs download_url source service.
...
"osc add $URL" is adding a download_url source service to the package now.
This means the server is downloading the file itself, important for reviewing
version updates.
2010-05-14 16:45:58 +02:00
Marcus Huewe
1975e3cf85
- catch PackageError()
2010-05-13 18:21:30 +02:00
Ludwig Nussel
2f4de7c63b
restore mtime handling for getbinaries
2010-05-12 15:56:33 +02:00
Ludwig Nussel
d292c83205
guess spec file name from current directory
2010-05-12 15:56:33 +02:00
Marcus Huewe
e010e46b2b
- "run_pager()": cleanup + fixed isatty() call
2010-05-09 21:47:21 +02:00
Marcus Huewe
4273114ac1
- cut *.changes message after 30 lines (as request by darix)
2010-05-09 21:36:51 +02:00
Marcus Huewe
5bfbf5b1a9
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-05-09 21:29:42 +02:00
Marcus Huewe
d35d073c1e
- simplify "get_commit_message_template()"
2010-05-09 21:06:00 +02:00
d96aff0ae7
Merge branch 'master' of gitorious.org:opensuse/osc
2010-05-08 08:04:55 +02:00
1c24457bed
fix copypac with same source and destination:
...
If a revision is specified, this is actually a revert call and it has to work.
2010-05-08 08:03:56 +02:00
Ludwig Nussel
81824b3d04
don't die if saving repo list fails
2010-05-07 11:57:42 +02:00
Marcus Huewe
41b2d79b90
- osc build: don't fail if a server isn't reachable
2010-05-06 22:40:35 +02:00
Ludwig Nussel
7024449cd8
catch cpio errors
...
TODO: detect if returned file is XML with error code
2010-05-06 14:27:52 +02:00
Ludwig Nussel
05e0cb620b
whitespace fixes
2010-05-05 09:03:51 +02:00
Danny Kukawka
23274b58d4
check if stdout is a tty before call pager
...
Check if stdout is a tty before call pager otherwise simply
print the text out.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:30 +02:00
Danny Kukawka
5a19362570
add run_pager() and make osc log/diff work like git log/diff
...
Added new function run_pager() to get 'osc log/diff' work like
'git log/diff' which send the output to PAGER (which is by default:
less or what's defined in the environment).
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:30 +02:00
Danny Kukawka
e89e61380b
make sure global option -A works too in a checked out package
...
Make sure global option -A works too in a checked out package.
Always check if -A was passed to command line and use it
instead of the package/project dir information.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:24 +02:00
Danny Kukawka
8bdb78cc8f
get apiurl for 'osc my' from checked out package
...
Get apiurl for 'osc my' from checked out package if possible.
Make sure that global option -A works to in a checked out
package.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:24 +02:00
Danny Kukawka
e35e161b24
added 'osc getbinaries REPOSITORY' to checkout all binaries
...
Added 'osc getbinaries REPOSITORY' to checkout all binaries
(incl. source package) of a REPOSITORY. New option checks out
all architectures into subdirs named as the arch.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:20 +02:00
Danny Kukawka
d706d129ec
fix some more close() statements
...
From 1f9b748c733624e86777173a3fff399d622073b8 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:24:04 +0200
Subject: [PATCH] fix some more close() statements
Fixed warning from pychecker by fixing some close() statements.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-03 22:33:56 +02:00
Danny Kukawka
debfd71048
fix close() statement in download()
...
From 257d823c45b940604c8d3d992b1e1f2da3746074 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:17:17 +0200
Subject: [PATCH] fix close() statement in download()
Fixed warning from pychecker by fixing the close()
statement in download().
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-03 22:33:56 +02:00
Danny Kukawka
6467c23bdc
fixed warning from pychecker
...
From 208250448c5d438f3906879993013ee126152ce2 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:45:41 +0200
Subject: [PATCH] fixed warning from pychecker
Fixed warning from pychecker: 'Comparisons with True are not necessary
and may not work as expected'
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-03 22:33:56 +02:00
Ludwig Nussel
ad238df8bd
build result may have no status
2010-05-03 10:54:19 +02:00
Jan-Simon Möller
4c35566e03
Add CB(pre)install hooks to osc
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-05-02 19:58:01 +02:00
Ludwig Nussel
70d772e942
save log file of vm builds
2010-04-30 15:58:31 +02:00
Ludwig Nussel
af467cea2d
allow to override vm type on command line
2010-04-30 15:58:31 +02:00
Ludwig Nussel
ae5d7795b4
use new build --vm-* options
2010-04-30 15:58:31 +02:00
Ludwig Nussel
cfeee1c95d
store list of repos for offline use
2010-04-30 15:58:31 +02:00