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

639 Commits

Author SHA1 Message Date
Marcus Huewe
e91475508e - support limit_size parameter during update
also added testcases
2010-08-31 13:30:35 +02:00
Marcus Huewe
5447dfbf12 - initial version of the new update mechanism
TODO: special handling for service files + respect limit_size parameter
2010-08-31 13:30:35 +02:00
Marcus Huewe
e74159754c - bump version to 0.129git 2010-08-30 19:45:53 +02:00
Marcus Huewe
73f4adcba6 - bump version to 0.129 2010-08-30 19:36:52 +02:00
Michal Čihař
48da9e2b71 Print http debugging to stderr. 2010-08-30 13:13:20 +02:00
Michal Čihař
c88d7fc4a3 Redirect debug output to stderr. 2010-08-30 13:06:17 +02:00
Marcus Huewe
9ac19b2c22 - request_interactive_review: don't abort if the diff fails due to status 404 2010-08-27 12:44:10 +02:00
Marcus Huewe
2a18eff50b - _build_opener fail if the url is no apiurl 2010-08-26 14:14:23 +02:00
Marcus Huewe
2cb03b4efe - fixed "logic" issue in init_basicauth
the old code didn't turn off the ssl checking if conf['apiurl']
was configured with "sslcertk = 1".
Example:
~/.oscrc:
[https://foo]
sslcertk = 0
...
[https://main]
sslcertk = 1
...
[general]
apiurl = https://main

if you send a request to https://foo (and conf['apiurl'] == https://main)
it'll fail because the ssl checking isn't disabled.
2010-08-26 13:06:00 +02:00
Marcus Huewe
2b3fdb4588 - fixed copy_pac 2010-08-26 12:51:45 +02:00
Marcus Huewe
af035f683e - added new methods "__write_storelist()" and "store_readlist()"
this simplifies write_deletelist(), write_conflictlist(), read_tobedeleted(),
read_inconflict()
2010-08-24 10:23:11 +02:00
Danny Kukawka
5a49daa69a fix warnings from pychecker
Fixed several warnings from pychecker as e.g.:
- (XY): shadows builtin
- Local variable (XY) not used
2010-08-20 14:34:41 +02:00
Marcus Huewe
4580a67e69 - request_interactive_review: display current action when opening the editor 2010-08-19 11:40:49 +02:00
Danny Kukawka
2aede1039f changed change_request_state() to return only the status code
Changed change_request_state() to return only the status code,
print out some more usable message for result of change_request_state()
where needed.
2010-08-18 16:17:34 +02:00
Marcus Huewe
be425d3261 - use ExtRuntimeError instead of 'sys.exit' 2010-08-16 16:40:16 +02:00
Marcus Huewe
e209766084 - renamed "RuntimeError" to "ExtRuntimeError" to avoid confusion with python's "RuntimeError" class
just a "cosmetic" changes
2010-08-16 16:27:00 +02:00
Marcus Huewe
322a385f7a - strip at the correct place... 2010-08-16 13:53:52 +02:00
Marcus Huewe
77efad5eb8 - request_interactive_review: strip() user input 2010-08-16 13:51:19 +02:00
Juergen Weigert
b3fb8b51fb tabs to spaces. Damit kein Unglueck nicht geschicht. Hello Danny. 2010-08-13 00:30:05 +02:00
Marcus Huewe
1a5023ff28 - simplify + always remove tmpfile 2010-08-11 22:50:10 +02:00
Marcus Huewe
598a458718 - fixed #613513 ("osc copypac to another OBS instance fails if source package uses links")
now links are always expanded if we copy across different buildservice instances
2010-08-11 22:42:16 +02:00
Marcus Huewe
8b89a7c225 - removed old cruft 2010-08-11 18:08:54 +02:00
Marcus Huewe
e29b227b5b - do_status: added '--show-excluded' option to show all files (except the store dir)
Additionally "osc st" doesn't show dirs anymore if it's called from
a package wc because dirs cannot be added to a package
2010-08-11 18:05:12 +02:00
Marcus Huewe
2347e45a5c - fixed init_package_dir (the whole init_*_dir concept needs to be rewritten) 2010-08-11 12:50:53 +02:00
Marcus Huewe
85d3391bd4 - support signing state (patch by srinidhi@novell.com) 2010-08-08 21:09:18 +02:00
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
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
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
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
Danny Kukawka
9a519b773d added FIXME to show_package_disabled_repos 2010-07-29 17:45:13 +02:00
753893222a support list of open reviews 2010-07-29 13:46: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
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
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
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
14376dd2b6 fix "osc up" on broken link (as instructed by Michael ;) 2010-07-23 16:17:39 +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
3614b6a40d open 0.129 development 2010-07-18 16:28:21 +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