Anatoli Babenia
5751222bd0
Remove extra line from the end of osc dists
output
2022-08-02 14:45:23 +03:00
Anatoli Babenia
4d6a6aaf96
Move output formatting from core
into commandline
...
This makes `get_distributions()` return list of dicts.
2022-08-02 14:45:23 +03:00
Anatoli Babenia
10a156d4ca
Fix spelling mistake in get_distributions
method name
2022-08-02 14:45:23 +03:00
Anatoli Babenia
560e556d36
Do not ask for login for -h,--help
2022-07-29 18:59:25 +03:00
eb83b42f32
Fix several undefined-variable issues reported by pylint
2022-07-28 21:01:16 +02:00
feb53212dd
Modernize code with pyupgrade
...
pyupgrade --keep-percent-format --py36-plus `find -name '*.py'`
2022-07-28 19:14:12 +02:00
229913a77f
Clean imports up, drop python 2 fallbacks
2022-07-28 13:17:43 +02:00
e16e196fa1
Merge pull request #1040 from dmach/fix/multibuild-commandline
...
Fix -M/--multibuild user experience, allow globs where possible
2022-07-28 11:03:34 +02:00
84fa637556
Add XDG compatible location for osc plugins.
...
I believe it is generally a good idea to move stuff from $HOME to
XDG-compatible directories.
2022-07-28 10:26:13 +02:00
ff1ae5e25e
Fix multibuild packages in osc wipebinaries
2022-07-26 09:51:16 +02:00
f70b480cab
Fix multibuild packages in osc jobhistory
2022-07-26 09:51:16 +02:00
a51524e5af
Fix multibuild packages in osc buildhistory
2022-07-26 09:51:16 +02:00
1a4942da83
Fix multibuild packages in osc build
2022-07-26 09:51:16 +02:00
5198b6334b
Fix multibuild packages in osc buildinfo
2022-07-26 09:51:16 +02:00
0fd93f7443
Fix multibuild packages in osc triggerreason
2022-07-26 09:51:16 +02:00
182e8e20a4
Fix multibuild packages in osc remotebuildlog
2022-07-26 09:51:15 +02:00
26ad5aa35c
Fix multibuild packages in osc buildlog
2022-07-26 09:51:15 +02:00
502bff50ff
Fix multibuild packages in osc restartbuild
2022-07-26 09:51:15 +02:00
30a3106375
Fix multibuild packages in osc sendsysrq
2022-07-26 09:51:15 +02:00
55ad41d33b
Fix multibuild packages in osc results
2022-07-26 09:51:15 +02:00
6ccdb9cfe3
Fix multibuild packages in osc rebuild
2022-07-26 09:51:15 +02:00
637cfe8471
Merge pull request #1023 from dmach/fix/622-additional-changes
...
parseRevisionOption(): Raise an exception on invalid revisons
2022-07-25 18:26:06 +02:00
8d843b5968
Revert "interpretation of string literals in messages"
...
Emojis were broken due to this commit.
The revert causes a change in behavior:
"\n" no longer gets resolved to a newline.
It is suggested to do the following instead:
$ osc <command> ... -m "first line
second line"
This reverts commit 16fda3115c
.
2022-07-07 15:42:22 +02:00
253d760a76
fix crash on "osc up" for git based package/projects
2022-06-24 08:46:49 +02:00
295ea7f356
Warn when trying to commit a prj/pac managed in scm
2022-06-08 14:18:33 +02:00
fad89f8e09
Merge pull request #1027 from adrianschroeter/github
...
add another exception for github URLs for "osc add"
2022-06-02 10:21:02 +02:00
a223dd085a
Merge pull request #1009 from dmach/aggregatepac-flavor
...
Support flavors in aggregatepac
2022-06-02 10:06:21 +02:00
cf5da11b26
Enable md5 revisions in osc log
2022-06-02 10:02:32 +02:00
Mihai Moldovan
f2474fa7f0
commandline: handle calls without arguments gracefully
...
Fixes the following error:
```
% osc
Traceback (most recent call last):
File "/usr/bin/osc", line 45, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python3.10/site-packages/osc/babysitter.py", line 67, in run
return prg.main(argv)
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 341, in main
self.postoptparse()
File "/usr/lib/python3.10/site-packages/osc/commandline.py", line 137, in postoptparse
if self._get_canonical_cmd_name(self.args[0]) == "help":
IndexError: list index out of range
```
2022-05-30 20:43:37 +02:00
Marco Strigl
c3d535c3b2
Merge pull request #1012 from adrianschroeter/obs_git
...
initial obs-git support
2022-05-24 11:39:45 +02:00
cc0b8f1606
Never require login in the help command
2022-05-05 11:07:28 +02:00
Dirk Müller
56ad831a39
Add osc helm type build support
2022-05-04 23:17:20 +02:00
c875ca2886
initial obs-git support
...
* init command is working inside of a git repository
* downloadassets command fetches references assets from build description
* checkout is cloning from git
2022-04-29 09:59:13 +02:00
Dirk Müller
3ed913c007
Whitespace fixes as expected by pycodestyle/pep8
2022-04-27 14:13:18 +02:00
Dirk Müller
69c83d41aa
add support for building preinstall images
...
This is yet another build type supported by the obs-build
script intended to build images that speed up the build setup
phase.
2022-04-27 14:00:00 +02:00
Dirk Müller
32f37e307a
Stylistic cleanups
2022-04-26 09:37:18 +02:00
Marco Strigl
d5e04f806f
Merge pull request #1015 from dmach/fix/1014-getbinaries-download-into-subdirs
...
Fix getbinaries command by downloading files in subdirs named by the packages
2022-04-25 11:29:35 +02:00
e88459e02b
add another exception for github URLs for "osc add"
...
osc#905
2022-04-11 08:48:30 +02:00
Daniel Mach
34563aa7b2
Merge pull request #850 from lethliel/fix_issue_849
...
use sr_ids[0] for superseding
2022-04-07 10:43:43 +02:00
Daniel Mach
5d6cfe80d5
Merge pull request #622 from jberry-suse/parseRevisionOption-clean
...
osc/core: parseRevisionOption(): cleanup and make logic consistent.
2022-04-04 10:52:37 +02:00
c9f8fedf01
Fix getbinaries by downloading logs and metadata into subdirs named by packages
...
This applies when downloading multiple packages, typically the whole repo.
When downloading a single package, everything works as usual
and the subdir is not created.
2022-03-30 11:14:19 +02:00
a342eacf2e
Revert "Skip fetching metadata and logs in the getbinaries command"
...
This reverts commit 08a70952c0
.
2022-03-21 17:10:07 +01:00
Daniel Mach
cb4b2389a6
Merge pull request #747 from adrianschroeter/request_diffing
...
support request diffing relative to a former request
2022-03-16 14:20:20 +01:00
c568cf7b41
support request diffing relative to a former request
2022-03-16 13:57:01 +01:00
Daniel Mach
ade215c071
Merge pull request #460 from JanZerebecki/rm-dead-doc-ref
...
Remove reference to non existing documentation
2022-03-15 09:56:41 +01:00
5c5597432c
Support flavors in aggregatepac
2022-03-02 14:38:21 +01:00
Daniel Mach
ced706080b
Merge pull request #1006 from dmach/getbinaries-multibuild
...
Fix getbinaries command to fetch also multibuild packages
2022-02-28 16:35:26 +01:00
e37e144099
Fix getbinaries -M/--multibuild-package option usage
2022-02-28 13:31:51 +01:00
08a70952c0
Skip fetching metadata and logs in the getbinaries command
...
They have identical names for all downloaded packages
and get overwritten by the last downloaded file.
Unless we dowload them into subdirs or prefix them with package name,
it makes no sense to download them.
2022-02-28 13:09:37 +01:00
John Paul Adrian Glaubitz
483e07042a
Add -F option to osc submitreq
...
Fixes #1001
2022-02-25 12:01:10 +01:00