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

1576 Commits

Author SHA1 Message Date
5810e09aab Revert "Do not list declined requests by default"
This reverts commit 2892f1bb11.
This reverts commit 9073b1a1d2.

The declined requests are still on maintainer's TODO list,
they should be either superseded with another request or revoked.
2023-02-02 14:11:04 +01:00
dcc913dd5a
Merge pull request #1229 from Vogtinator/fixlist
Support withfullhistory in osc.core.get_request_list again
2023-01-26 14:56:58 +01:00
208dbdf6d1 copypac: Fix downgrading a package to an old revision 2023-01-26 10:34:31 +01:00
6bd2c6eaf1 mv: Fix regression
Moved Package.todo handling in one place.
Fixed a situation when path to a file that doesn't exist is passed to Package
2023-01-26 10:11:54 +01:00
Fabian Vogt
3c200caf50 Support withfullhistory in osc.core.get_request_list again 2023-01-25 15:41:00 +01:00
Fabian Vogt
732ff678e7 Fix osc.get_request_list ignoring the req_type parameter 2023-01-25 11:38:08 +01:00
fdd2c3a8f0 Fix creating a Package object by providing multiple files on the command line 2023-01-20 16:52:11 +01:00
2ee52591a5 Fix arguments of PackageInternalError 2023-01-20 16:16:23 +01:00
7f885ac6b2 Fix pylint error: Using variable 'fd' before assignment 2023-01-20 16:16:23 +01:00
6d01df35e6 Use distro module to detect distro on all python versions
Also, add a related Recommends to to the spec file
2023-01-20 16:16:23 +01:00
lethliel
18cdec2554 use correct variable prj instead of project 2023-01-20 11:48:52 +01:00
Adrian Schröter
a292e2b6ab fix manual run of source service
A service explicit called via singlerun could get skipped otherwise,
if the service is defined with a different mode.

eg. running

  osc service mr download_files

to update and merge files after a version update, but the project has a
global download_files service configured for validation.
2023-01-12 14:05:20 +01:00
c639dfd89c lock: Move code to core.py/lock(), improve CLI handling 2023-01-12 10:49:43 +01:00
5d31fc1486 rdelete: Migrate to pop_project_package_from_args() 2023-01-12 10:49:35 +01:00
55fd77650d copypac: Migrate to pop_project_package_targetproject_targetpackage_from_args() 2023-01-12 10:47:46 +01:00
fd851bbe83 aggregatepac: Migrate to pop_project_package_targetproject_targetpackage_from_args() 2023-01-12 10:47:46 +01:00
1b034921c8 linkpac: Improve command-line handling 2022-12-20 17:15:01 +01:00
ba32ff57cb linkpac: Fix linking a locked package by not copying the lock to the target package 2022-12-20 14:42:19 +01:00
0384db5e2e setlinkrev: Write a log message on setting a revision 2022-12-19 14:58:12 +01:00
6e4ad5db1c buildhistory: Produce proper output using build_table() and a CSV writer 2022-12-15 16:29:58 +01:00
af7d3900cf build_table: Convert all items to strings so we can also pass other types 2022-12-15 16:25:17 +01:00
62ba626eb5 Migrate 'log' command to pop_project_package_from_args() 2022-12-13 08:45:33 +01:00
6dcc45f272 Improve argument handling in the 'develproject' command 2022-12-13 08:45:33 +01:00
074abb400c
Merge pull request #1200 from SchoolGuy/add-types
mypy: Add types to methods
2022-12-07 16:19:25 +01:00
37bb5e7785 Handle empty EDITOR=/PAGER= env variable properly 2022-12-07 16:04:10 +01:00
Enno Gotthold
7335a84235
mypy: Add types to methods
This is a bulk add of typing that also includes the
formatting with darker.
2022-12-07 13:01:23 +01:00
Enno Gotthold
3e1d91e4bd
core: Add type annotations 2022-12-05 15:23:54 +01:00
4c5d0cf18a Add branch --disable-build option 2022-11-08 15:34:55 +01:00
2ec573ca79 Add linkpac --disable-build option 2022-11-08 15:01:37 +01:00
eccbe5c4f1 Replace deprecated ElementTree.Element.getiterator() with iter() 2022-11-07 09:43:41 +01:00
0289865bbf Write scm_url via Store 2022-10-25 13:09:29 +02:00
00842e36fa Deprecate store_write_apiurl() 2022-10-25 13:09:29 +02:00
e7912ceec0 Deprecate store_read_scmurl() 2022-10-25 13:09:29 +02:00
fd52727394 Deprecate store_read_apiurl() 2022-10-25 13:09:29 +02:00
5493d632cc Migrate Package.wc_repair() to Store 2022-10-25 13:09:29 +02:00
74d46bf8da Migrate Project.wc_repair() to Store 2022-10-25 13:09:29 +02:00
4e773cec32 Implement Store class that will replace store_{read,write}* functions 2022-10-25 13:09:29 +02:00
7d64d5d425 Allow comparing File with a string 2022-10-25 08:33:59 +02:00
55503e13ca Implement ordering of File objects 2022-10-25 08:33:59 +02:00
e56773bbaa Add File.to_xml_node() method 2022-10-25 08:33:59 +02:00
a7b58e86a0 Fix loading 'skipped' attribute in File.from_xml_node() 2022-10-24 17:04:46 +02:00
5478f726e8 rq list: Fix traceback when there's no search criteria 2022-10-13 12:58:15 +02:00
aec503585e rq list -i: Enable forwarding requests to the parent projects 2022-10-13 12:58:15 +02:00
e03cafa99a Add core.File.from_xml_node() class method 2022-10-12 14:01:38 +02:00
Adrian Schröter
ab8c5d1692 add create-pbuild-config(cpc) command
which allows to create a working config for pbuild tool based on OBS server side data

The cross build support is not yet done
2022-10-04 13:15:40 +02:00
dd78f2654a Fix core.addFiles() to correctly create Package objects from file paths 2022-09-26 17:23:50 +02:00
1fe2b17957
Merge pull request #1144 from dmach/1141-search-requests-created-by-myself
Properly handle osc rq -M/--mine option
2022-09-20 13:09:25 +02:00
c8f4487201 Replace core.findpacs() with Package.from_paths() and Package.from_paths_nofail()
The original findpacs() was returning either [Package]
or ([Package], [str]) depending on the `fatal` option.
This confused pylint and it was returning false-positives:
E1101: Instance of 'list' has no '...' member (no-member)
2022-09-20 11:32:25 +02:00
8dbf859ce2 core.Package: add ordering methods, repr and hash 2022-09-20 10:48:01 +02:00
056e6f1dde Improve 'osc rq show' output
* Add 'Created by' field
* Make formatting more consistent across the sections
2022-09-16 12:49:08 +02:00