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

739 Commits

Author SHA1 Message Date
11d81fe776 initial service command for running source services remote or locally 2010-09-01 12:44:47 +02:00
Marcus Huewe
8bd4e4eddf - fixed #514280 ("osc help text (0.119)") 2010-08-31 18:42:52 +02:00
Marcus Huewe
c4ceb7f700 - adjusted store_write_string calls so that the storefile ends with a newline
- adjusted testcase fixtures for this change
2010-08-31 13:30:37 +02:00
Marcus Huewe
c8e849b391 - fixed importsrcpkg 2010-08-31 13:30:37 +02:00
Marcus Huewe
2ffd46a9c2 - get rid of the init_package_dir mess
moved code into the staticmethod "init_package" of the Package class.
Cleaned up "checkout_package"
2010-08-31 13:30:37 +02:00
Marcus Huewe
ca61d08bf3 - added new "get_diff" method to the Package class
- restructured "get_source_file_diff"
- commandline.py: adapted commands so that they use the new "get_diff" method
2010-08-31 13:30:36 +02:00
Marcus Huewe
80bf280d8b - removed hack for #399247 - there's nothing special when expanding/unexpanding links 2010-08-31 13:30:36 +02:00
Marcus Huewe
d5e4a81e8f - addremove: don't remove storefile 2010-08-31 13:30:36 +02:00
Marcus Huewe
b3d638774c - do_revert: initial version 2010-08-31 13:30:35 +02:00
Marcus Huewe
8307a7063f - fixed "do_results" 2010-08-30 16:28:10 +02:00
Marcus Huewe
d5c91babc1 - "osc build --keep-pkgs dir": create dir if it does not exist 2010-08-26 18:50:20 +02:00
Marcus Huewe
46c4f1e1d5 - simplify 2010-08-23 10:08:09 +02:00
JF Ding
c61e4a514e vc: to support meego changelog style if detected
need "vc" command shipped with meego-packaging-tools
2010-08-23 09:58:13 +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
Danny Kukawka
abce7cd8fc use correct the user (depending on the apiurl)
Use correct the user (depending on the apiurl) as done in commit
c93baf1f58.
2010-08-20 13:25:32 +02:00
Danny Kukawka
72eae319b8 removed whitespace in help text 2010-08-20 13:23:23 +02:00
Marcus Huewe
eeb05059ec - fixed commit 2ae9a9453a 2010-08-19 13:43:48 +02:00
Danny Kukawka
50f6ba67ea changed 'osc request revoke' to prevent set same state twice
Changed 'osc request {reopen,accept,decline,wipe,revoke}' to check
the current state and ask the user if the requested state is the
same as the current state of the request. This should prevent e.g.
useless state changes (set to revoke multiple times in a row) by
accident.
2010-08-18 17:58:42 +02:00
Danny Kukawka
d2b9015d8f small typo fix 2010-08-18 16:20:24 +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
c93baf1f58 - use correct the user (depending on the apiurl) 2010-08-18 12:40:43 +02:00
Danny Kukawka
6380c91d0f removed left over debug messages 2010-08-18 11:46:57 +02:00
Danny Kukawka
1477193694 added 'osc reqmaintainership'
Added 'osc reqmaintainership' as shortcut for
'osc creq -a add_role USER maintainer PROJECT PACKAGE' since this
command is hard to find for (new) users.

Works also from checked out packages. If no user is specified,
the command takes the current osc user from the config.
2010-08-18 11:42:50 +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
Ludwig Nussel
08f12721fe another rq fix 2010-08-13 09:51:32 +02:00
Ludwig Nussel
ef7a82fe97 fix osc rq 2010-08-13 09:43:32 +02:00
Ludwig Nussel
fb7911ea86 fix sr -d again 2010-08-13 08:58:27 +02:00
Juergen Weigert
b3fb8b51fb tabs to spaces. Damit kein Unglueck nicht geschicht. Hello Danny. 2010-08-13 00:30:05 +02:00
Juergen Weigert
ac3bbf9bc7 fixed and simplified result sorting expression in osc search 2010-08-13 00:07:59 +02:00
Marcus Huewe
cbebe3b239 - treat "no_verify" as a boolean 2010-08-12 23:13:51 +02:00
Juergen Weigert
5fe669b15b allow no_verify also in .oscrc 2010-08-12 21:34:08 +02:00
Juergen Weigert
c23002c953 osc search now returns sorted by proj and pack,
not just by proj with random pack order.
2010-08-12 20:23:28 +02:00
Juergen Weigert
1b38b8c338 osc search now returns sorted by project, and sorted by package,
not just sorted projects and random package order.
2010-08-12 20:21:04 +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
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
e0172293df check the right options for request and review command 2010-08-10 16:36:29 +02:00
Marcus Huewe
eada1234a9 - do_signkey: don't modify list during iteration 2010-08-08 23:45:04 +02:00
Marcus Huewe
b213b9695b - a more generic version of ebd4b1d893 (the same logic applies to *.dsc, *.kiwi) 2010-08-08 23:15:25 +02:00
1244308d47 "osc sr" used for an entire project is now offering also to supersed requests
when they got cloned by checking the attribute.

It does not work from package dir atm, this entire behaviour is not a good design.
But I lack a good idea how to design it better atm.
2010-08-05 17:00:45 +02:00
ef2d0aa2e9 add "request clone" command for OBS 2.1 2010-08-05 15:54:48 +02:00
1e2bbf941c fix comment message transfer for "review add" command 2010-08-05 10:24:20 +02:00
Ludwig Nussel
ebd4b1d893 prefer spec files that match the directory name only if there are no debian or kiwi files
partially reverts commit 1b6fbd7d05.
2010-08-04 17:26:59 +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
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
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
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