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

3017 Commits

Author SHA1 Message Date
Marcus Huewe
7370950cab Merge branch 'get_group-error-messagge' of https://github.com/DimStar77/osc 2015-08-06 15:12:48 +02:00
Marcus Huewe
0442cdf5f4 - improved a comment a bit 2015-08-06 14:23:45 +02:00
Marcus Huewe
3f6eaeaff9 Merge branch 'master' of https://github.com/b1-systems/osc 2015-08-06 14:21:39 +02:00
Marcus Huewe
da40039bbc Merge branch 'master' of https://github.com/andreas-schwab/osc 2015-08-06 13:58:49 +02:00
0e32b71491 core: fix get_group error message 2015-08-06 12:52:34 +02:00
Marcus Huewe
e435a84440 - made "osc rq <prj> <pkg>" output more precise, in case of no results 2015-08-04 12:51:45 +02:00
Stefan Seyfried
0360381087 fix an "400 Bad Request" when running against old API
Updating a whole project against an old API server (experienced with
2.3.5) leads to:
	Server returned an error: HTTP Error 400: Bad Request
	unknown parameter 'nofilename'
So just retry without nofilename if an 400 is thrown.
2015-07-29 14:30:47 +02:00
f7cfe4cdc8 - fix search of requests "I" created. fixes obs#1002
This is using the request collection api call now instead of xpath query.
More searches should be adapted similar most likely.

"osc my sr" is not a good name for this since it is not limited to
submit actions. But "osc my rq" is used for incoming requests.
2015-07-29 11:05:05 +02:00
083f23f77b support new package instances on branching when using -N parameter 2015-07-21 13:03:07 +02:00
Andreas Schwab
71297e31f4 Don't use gmtime for a time difference
The gmtime function is intended to be used for calendar time.
2015-07-21 11:45:35 +02:00
Andreas Schwab
7896937f50 Remove use of %Z with gmtime
%Z doesn't make sense for a time returned by gmtime.
2015-07-21 11:45:35 +02:00
Andreas Schwab
d5b0d8fe52 print_jobhistory: Remove unused variables 2015-07-21 11:45:35 +02:00
Marcus Huewe
e9d7ac9c82 - do_addchannels: handle wrong args more gracefully 2015-07-15 20:46:38 +02:00
Marcus Huewe
0daec6a5f1 - do_addchannels: cleanup and beautify
No changes w.r.t. to semantics.
2015-07-15 20:43:09 +02:00
Marcus Huewe
8d10a3f76f - removed debug output
Introduced in commit 76023d5643.
2015-07-15 20:01:32 +02:00
569efcace8 - make the enablechannels command also working for entire project 2015-07-15 15:22:26 +02:00
76023d5643 add "addchannels" and "enablechannel" commands 2015-07-14 16:03:35 +02:00
Marcus Huewe
fa4f24f06b - RpmQuery.rpmvercmp: support tilde ('~') 2015-07-03 14:22:00 +02:00
Marcus Huewe
e065c9b371 Merge branch 'fix/gh158-dont-barf-on-unclean-prefer-pkgdir' of https://github.com/gollub/osc 2015-07-02 20:05:28 +02:00
Daniel Gollub
64838ffd51 Support native Debian packages in pkg-prefer
fixes #158
2015-07-02 15:08:39 +02:00
cf9d65b09d - do not hide api side error message 2015-07-01 09:47:53 +02:00
f59b60e206 - release 0.152.0 2015-06-30 15:34:32 +02:00
381071a332 support maintenance_release requests with acceptinfo data (OBS 2.7) 2015-06-30 14:29:18 +02:00
Marcus Huewe
cbdc1389db - do_repourls: do not hardcode the download_url
Instead ask the api for the download_url configuration element.
2015-06-29 23:59:59 +02:00
Marcus Huewe
9ba540e348 Merge branch 'master' of https://github.com/arunpersaud/osc into master 2015-06-25 20:57:28 +02:00
Marcus Huewe
cbe2c47bd6 Merge branch 'bmwiedemann-completion'
Patches by Werner Fink <werner@suse.de>.
2015-06-24 22:43:13 +02:00
Werner Fink
e2699d9fc3 Allow osc to be called as isc and iosc
Signed-off-by: Werner Fink <werner@suse.de>
2015-06-24 20:37:04 +02:00
Werner Fink
9f76dc0777 Do not strip colon from COMP_WORDBREAKS (bnc#915037)
Work around the libreadline colon trouble if COMP_WORDBREAKS includes the colon as regular word break. Side effect is that user now do not see the full project name anymore but only the subprojects.

Signed-off-by: Werner Fink <werner@suse.de>
2015-06-24 20:35:41 +02:00
Marcus Huewe
a80b286ac9 - fixed #147
Introduced new PackageQueryResult class and adapted existing
modules accordingly.
2015-06-23 17:52:37 +02:00
Marcus Huewe
84ba8c6e17 - fixed fullfilename calculation in the Pac class
Now, the fullfilename is calculated using the canonname of a
bdep instead of using the bdep's binary attribute (the canonname
and binary attribute can differ (e.g. ConsoleKit-64bit-0.4.6-3.2.ppc.rpm
vs. ::import::ppc64::ConsoleKit-64bit-0.4.6-3.2.ppc.rpm))
2015-06-16 17:37:40 +02:00
10aa2203bb - support target package in accepted maintenance_incident 2015-06-11 12:41:22 +02:00
caef99c3d9 - allow diffing of maintenance requests 2015-06-11 11:05:08 +02:00
e052839027 - support acceptinfo in maintenance_incident requests 2015-06-11 10:24:24 +02:00
1509db3ff1 - allow to use "osc chroot" also with lxc build-type 2015-06-09 17:26:57 +02:00
Marcus Huewe
4dc236dea4 - added "lock" command to lock a project or package 2015-05-30 16:27:54 +02:00
Arun Persaud
ac93a3934e More meaningful error if ET.parse runs into problems. Fixes #153. 2015-05-24 11:11:22 -07:00
Arun Persaud
716f59dc0c README: replaced mentioning of svn version with git version 2015-05-24 10:27:28 -07:00
Marcus Huewe
56a9ab60dc changed commit 22b272f3af a bit
- only "fix" sys.stdout if it is no tty
- make sys.stdout line buffered (to avoid too "many" write calls)
- added more detailed explanation why this is needed
2015-05-16 22:49:17 +02:00
Oleg Girko
ca2f1a90c8 Add support for non-root paths in API URLs.
Currently osc supports API URLs without path only,
like https://api.example.com (if there is pathname, it's just ignored).
With this change API URLS with path, like https://example.com/api
are supported correctly.

This is useful for those who can't have OBS api, webui and main site
on different domains and buy separate X.509 certificates for them,
or just can't afford to have separate IP addresses for them
(please note that currently osc doesn't support TLS SNI).

Signed-off-by: Oleg Girko <ol@infoserver.lv>
2015-05-14 16:46:10 +01:00
Jelle van der Waa
92dbd59814 When lxml fails to parse the _service file, instead of showing a backtrace
print a userfriendly error which line and column contains the XML syntax error
2015-05-13 14:35:17 +02:00
Bernhard M. Wiedemann
22b272f3af avoid buffering stdout output on pipes (bnc#930137)
https://bugzilla.opensuse.org/show_bug.cgi?id=930137
2015-05-10 21:05:40 +02:00
Michael Schroeder
f8f4119b88 Don't filter out \b,\v,\f,\r in logfiles 2015-05-07 15:51:51 +02:00
Marcus Huewe
e4919568eb - do_build: added --trust-all-projects option
--trust-all-projects can be used to disable the trusted project check
2015-05-05 23:39:58 +02:00
Marcus Huewe
de9191f146 - updated distributions that are used in the new project template
Also enabled debuginfo generation by default.
2015-05-05 22:46:26 +02:00
464652ab85 show possible used incident projects on "maintained" command
FATE#318944
2015-05-05 14:01:10 +02:00
Ludwig Nussel
826808d7cf allow force commit
useful to workaround https://github.com/openSUSE/open-build-service/issues/913
2015-04-29 13:44:12 +02:00
Andreas Schwab
ab111f4204 - do_deleterequest: fix help text 2015-04-27 11:04:46 +02:00
Marcus Huewe
a800f8f3fc Merge branch 'master' of https://github.com/andreas-schwab/osc 2015-04-27 10:49:48 +02:00
6de9cb4e03 - add support for buildtime source service mode 2015-04-24 09:47:48 +02:00
6886a0d58c - use "group:" prefix instead of "group/" like in other commands 2015-04-24 09:47:12 +02:00