5bd78d44f8
another try for prjresutls, do not show "excluded" packages/repos by default,
...
but show the manual disabled ones.
2010-08-04 17:16:59 +02:00
336530b660
set release number to zero if not specified via commandline or server otherwise
2010-08-04 17:02:25 +02:00
Ludwig Nussel
a4a52b62ae
fix and rename osc pr --show-non-building
...
fix osc pr --show-non-building to actually do what it is supposed to
do. Change default to not do filtering by renaming the option to
--hide-disabled
2010-08-04 16:49:57 +02:00
Ludwig Nussel
40503680c1
tweak output about used keys
2010-08-04 15:14:37 +02:00
Ludwig Nussel
f0e1e1c7b1
fetch project keys always to catch changed ones
2010-08-04 15:00:08 +02:00
Ludwig Nussel
58ce76ef8c
use store_write_string for _packages file
...
avoids corrupted files if something goes wrong.
also pretty print the xml to make manual editing easier
2010-08-04 14:16:54 +02:00
Ludwig Nussel
118941047d
another attempt to fix the init_package_dir chdir mess
2010-08-04 14:16:54 +02:00
Ludwig Nussel
ed2b8e111c
fix init_package_dir (broken by commit b3c5204b59
)
2010-08-04 11:21:17 +02:00
Ludwig Nussel
d3a4119bc8
turn on built in signature check
2010-08-03 16:53:03 +02:00
Ludwig Nussel
def93eb9d9
fix rq show
2010-08-03 09:35:39 +02:00
Danny Kukawka
f2788628c6
fix output of 'osc buildinfo' if parameter are missing
...
Fixed output of 'osc buildinfo' if parameter are missing due to change
from commit cb18807622
. Show only the
available repos (and not the arch) if called from a checked out
package.
2010-07-31 13:30:26 +02:00
Danny Kukawka
57881f31a1
changed Request:list_view() to show add_role request info
...
Changed Request:list_view() to show add_role request info more verbose
including requested person/group and the requested role.
2010-07-31 13:30:26 +02:00
Marcus Huewe
1b6fbd7d05
- don't use spec by default if multiple build description files are found
...
otherwise it'll lead to unexpected behaviour if the repository is for instance
debian
2010-07-30 14:02:23 +02:00
cb3691426c
add "review add" command
2010-07-30 11:36:17 +02:00
Danny Kukawka
9a519b773d
added FIXME to show_package_disabled_repos
2010-07-29 17:45:13 +02:00
Danny Kukawka
db08e0b496
fixed several functions to respect 'osc -A'
2010-07-29 17:29:51 +02:00
cb18807622
do not crash via using not anymore supported /platform controller (unsupported since OBS 1.0)
...
Unify "repos" and "repositories" command. Make the command working at all as specified.
2010-07-29 17:04:39 +02:00
753893222a
support list of open reviews
2010-07-29 13:46:56 +02:00
cff8696818
do not hide open request by default.
2010-07-29 13:39:48 +02:00
b5bd00fc8f
make "osc api" syntax compatible with curl parameters
2010-07-29 11:43:56 +02:00
b4a1f83e01
* add the new "dist" command to NEWS file.
...
* disable the "DISCONTINUED" support for now, because this is just a hack
which only works with one instance. We need a server side supported approach
in case we need this.
* Show repository to be used and the suggested reponame for own project
2010-07-29 07:37:54 +02:00
Danny Kukawka
ead799632f
Merge branch 'master' of gitorious.org:opensuse/osc
2010-07-28 16:05:36 +02:00
Danny Kukawka
290a3f0f90
added new command 'osc distributions'
...
added new command 'osc distributions' to get info about active
and discontinued distributions.
2010-07-28 16:04:27 +02:00
4c6ffb7607
prjresult: Do not show package rows or repo columnss by default which are not building at all (in disabled or excluded)
...
A Rudi feature ;)
2010-07-28 15:38:01 +02:00
10f4a6240d
remove a file from conflict list in any case, when it gets removed
2010-07-28 12:13:46 +02:00
d128ff4601
generated service files are always to be skipped regarding status and commit
2010-07-28 12:08:40 +02:00
Henne Vogelsang
98aa12c9a3
fix links that point into the wiki
...
Signed-off-by: Henne Vogelsang <hvogel@opensuse.org>
2010-07-27 17:24:05 +02:00
Danny Kukawka
f338e36158
reuse apiurl instead reading it again and again from config
2010-07-27 16:06:49 +02:00
Danny Kukawka
33dc89d805
changed print_repos() to print only repos on request
...
Changed print_repos() to print only repos (and not repo and arch)
on request since 'osc buildinfo' needs only the repo as parameter.
Fixed do_repositories() apiurl handling and changed to get the
project from checked out project or package dir if available.
2010-07-27 14:31:12 +02:00
Danny Kukawka
eb0cb6dee9
don't raise error message after self.print_repos()
...
Don't raise error message after self.print_repos(), since the
message will never be printed.
2010-07-27 14:03:26 +02:00
Danny Kukawka
6712b44bee
Merge branch 'master' of gitorious.org:opensuse/osc
2010-07-27 14:01:19 +02:00
Danny Kukawka
35536475e7
fixed 'osc buildconfig'
...
Fixed 'osc buildconfig'. Don't ask for package and arch since the
API don't allow to filter for a package or a architecture.
Remove related and useless parameter from get_buildconfig() in
core.py
2010-07-27 13:58:52 +02:00
Juergen Weigert
8830d396cb
- fixed references into en.opensuse.org to honor the new wiki structure
...
(redirects added in the wiki for the three URLs on 'osc help' -
all other URLs remain broken until this osc gets deployed)
2010-07-26 19:45:42 +02:00
Marcus Huewe
de884b719c
- do_buildlog: show appropriate error msg if too many args are specified
2010-07-26 19:02:48 +02:00
Danny Kukawka
b3c5204b59
fixed serveral warnings from pychecker.py
...
Fixed serveral warnings from pychecker.py like such:
- Parameter ($) not used
- Local variable ($) not used
Including fixes like:
- remove not needed imports
- don't read apiurl in core.py from config if already available via
function parameter
- delPerson(): check for user as e.g. in addPerson()
2010-07-26 16:46:21 +02:00
Marcus Huewe
e2ab1a520e
- do_buildinfo: support --prefer-pkgs
2010-07-26 15:41:02 +02:00
14376dd2b6
fix "osc up" on broken link (as instructed by Michael ;)
2010-07-23 16:17:39 +02:00
70fb883b59
point the users to the "branch" command
2010-07-21 09:46:54 +02:00
ad28c0552e
import "osc aggregate --nosources" feature, implemented by brook.hong@nokia.com
2010-07-20 14:48:27 +02:00
fd6b59cf38
do not source validate special packages which start with an underscore
2010-07-19 18:03:41 +02:00
Michal Čihař
70b3d34798
Another case of dash escaping.
2010-07-19 11:13:08 +02:00
Michal Čihař
74f583823f
Fix typo.
2010-07-19 11:10:15 +02:00
3614b6a40d
open 0.129 development
2010-07-18 16:28:21 +02:00
1975ddb8eb
Revert "no need to warn about empty validator dir"
...
after discussion, we will provide an update with osc-source_validator instead
This reverts commit 828bb264ca
.
2010-07-16 15:57:28 +02:00
1d49a5ea1c
update NEWS file and prepare for 0.128 release
2010-07-16 15:36:07 +02:00
1faaae30f4
fix python syntax error from last commit
2010-07-14 17:28:48 +02:00
Michel Alexandre Salim
eb75d7b2f7
Use vi as the fallback editor on Fedora; vim not guaranteed to exist
2010-07-14 17:13:37 +02:00
Marcus Huewe
0fbfcb4fdb
- fixed SyntaxError
2010-07-13 14:53:25 +02:00
f2be29f0a0
add signkey --extend command
2010-07-13 13:53:47 +02:00
Marcus Huewe
faad8ca0c1
- fixed import
2010-07-13 12:13:25 +02:00
Marcus Huewe
34174e301e
- removed useless continue
2010-07-13 11:37:01 +02:00
Danny Kukawka
3ed00b4568
changed do_repos() to filter out disabled repos of a package
...
Changed do_repos() to filter out disabled repos of a package. Read
package from checked out package dir. This changes also the output
of getbinaries if args are missing and the user is within a checked
out package dir. Show only enabled repos in this case.
Allow also osc repos [PROJECT] [PACKAGE].
2010-07-12 14:56:08 +02:00
Marcus Huewe
24d5b4218a
- more helpful error message if osc cannot run the pager/editor
2010-07-08 21:43:39 +02:00
Ludwig Nussel
828bb264ca
no need to warn about empty validator dir
...
also remove from config template. the default should be ok.
2010-07-07 16:41:09 +02:00
Ludwig Nussel
a00c0c4006
allow to restrict 'my pkgs' to maintained ones
2010-07-07 16:41:09 +02:00
Michal Čihař
8e48815f54
Nothing guarantees that HTTPError has read method.
2010-07-07 16:29:59 +02:00
Marcus Huewe
9fadbb42fd
- more precise error message about missing source_validator
2010-07-06 17:57:10 +02:00
Danny Kukawka
f8f448b6ba
respect -A for 'osc deleterequest'
2010-07-06 14:18:24 +02:00
Danny Kukawka
bd821937f6
changed 'osc deleterequest' to get info from checked out pac/proj
...
Changed 'osc deleterequest' to get info from checked out package or
project dirs. Added edit message about what the user requested.
2010-07-06 14:16:24 +02:00
Marcus Huewe
582dc936cd
- read_meta_from_spec: don't exit if tag/section is missing
2010-07-02 22:28:53 +02:00
Ludwig Nussel
d59942c961
support $EDITOR with arguments (bnc#619215)
2010-07-02 11:32:58 +02:00
Danny Kukawka
28441bfaeb
make getbinaries also work in project dirs
...
Maked getbinaries also work in project dirs. If osc getbinaries
get called in a checked out package directory, the binaries for
all packages of this project get checked out.
2010-07-01 15:32:21 +02:00
Ludwig Nussel
cd51a420d7
less verbose results output by default
...
especially factoy results often fill the screen with lots of "blocked" errors. So don't display the details by default unless --verbose is given
2010-06-30 13:40:02 +02:00
Ludwig Nussel
14d4ece2fb
allow to override apiurl for 'build'
2010-06-30 13:39:59 +02:00
Juergen Weigert
382dd29e03
Make 'trust always' more verbose, so that a user learns how to undo its effect.
...
Removed a few tabs.
2010-06-29 15:32:53 +02:00
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