1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-22 18:22:12 +01:00

5135 Commits

Author SHA1 Message Date
5ab663c591 Add more operators to XPathQuery 2025-01-03 13:47:22 +01:00
Marco Strigl
ffca873272
Merge pull request #1674 from dmach/_scmsync.obsinfo-projectscmsync
Add support for projectscmsync field in _scmsync.obsinfo metadata
2024-12-03 09:10:51 +01:00
45c647e3f2 Add support for projectscmsync field in _scmsync.obsinfo metadata 2024-12-03 09:05:17 +01:00
a20f2240a3
Merge pull request #1662 from dmach/osc-status-show-unmodified-help
Document that 'status' command prints unmodified files in verbose output
2024-11-29 16:47:08 +01:00
0ce3c4afe7
Merge pull request #1664 from dmach/fix-log-p-M
Fix 'log' command to work correctly with --meta --patch options
2024-11-29 16:46:44 +01:00
cc7b7cc9ce
Merge pull request #1669 from dmach/fix_local_build-v2
Fix local building in git projects
2024-11-29 16:46:24 +01:00
a6db8ad25c Fix local building in git projects
osc did not find it's store and was unable to run a local build
in a project git
2024-11-29 16:36:48 +01:00
6d91083413 Move running obs_scm_bridge into run_obs_scm_bridge() function 2024-11-29 16:36:48 +01:00
0765997028 Make 'title' and 'description' fields optional in the Package model
The fields were made optional because scmsync packages don't provide them
2024-11-29 16:36:48 +01:00
797793fe4e
Merge pull request #1670 from dmach/fix-linkpac
Fix another bytes/unicode issues in core.link_pac() by replacing ElementTree code with XML models
2024-11-29 16:35:11 +01:00
aa9353f6b5 Mute pylint errors in show_package_disabled_repos() that are false-positives 2024-11-29 16:24:33 +01:00
6989fb8b6f Fix another bytes/unicode issues in core.link_pac() by replacing ElementTree code with XML models 2024-11-29 15:49:20 +01:00
33c67cac04 Fix handling 'lock' field in 'Package' model 2024-11-29 15:46:06 +01:00
79a1245db0 Fix handling SimpleFlag model 2024-11-29 15:44:17 +01:00
31fa1eb152
Merge pull request #1668 from dmach/speedup
Speed improvements
2024-11-28 14:38:19 +01:00
baefd63ffc
Merge pull request #1667 from adrianschroeter/loongarch
Support LoongArch64 architecture
2024-11-28 14:37:48 +01:00
608cf6e70e
Merge pull request #1666 from dmach/fix-traceback-linkpac-disable-build
Fix traceback in 'linkpac --disable-build'
2024-11-28 14:37:24 +01:00
094ffdf46a
Merge pull request #1665 from dmach/spec-conflicts-obs-service-source_validator
spec: Add conflict with older versions of obs-service-source_validator to ensure that version compatible with .osc store 2.0 is installed
2024-11-28 14:37:12 +01:00
7ed288b838 Load most of the modules in commandline.py on-demand 2024-11-26 15:38:22 +01:00
c7b8f25fe6 Speed loading commands up 2024-11-26 15:28:02 +01:00
529dc51500 Support LoongArch64 architecture 2024-11-26 10:56:57 +01:00
5c483fadab Fix traceback in 'linkpac --disable-build' 2024-11-25 08:52:58 +01:00
13a436c576 spec: Add conflict with older versions of obs-service-source_validator to ensure that version compatible with .osc store 2.0 is installed 2024-11-25 08:16:52 +01:00
d8d181ca25 Fix 'log' command to work correctly with --meta --patch options 2024-11-14 13:38:31 +01:00
183a23ccc9
Merge pull request #1660 from dmach/add-request-action-source-repository
Extend RequestActionSource with 'repository' attribute
2024-11-12 09:21:27 +01:00
daf3f02f94
Merge pull request #1661 from dmach/fix-urlquoted-filenames-in-getbinaries
Fix urlquoted filenames in getbinaries
2024-11-12 09:21:06 +01:00
aaa0332782 Document that 'status' command prints unmodified files in verbose output 2024-11-12 09:05:00 +01:00
531753b2e5 Hide progressbar.Bar widget after ProgressBar has completed 2024-11-11 16:59:19 +01:00
0638bd08cf Avoid printing urlquoted file names in 'getbinaries' command 2024-11-11 16:56:06 +01:00
0b0bff4976 Extend RequestActionSource with 'repository' attribute
It is a private patch/extension now, to be upstreamed soon.
2024-11-11 13:40:39 +01:00
31f65dd37e release 1.10.1 1.10.1 2024-11-08 13:50:47 +01:00
291eb305f7 spec: Fix rpmlint error about creating the /usr/libexec/git/obs symlink 2024-11-08 13:46:58 +01:00
8d118209a4 spec: Add missing python3-ruamel.yaml BuildRequires 2024-11-08 13:45:41 +01:00
67f7625ee5 Fix crash in 'build' command due to undefined 'build_root' variable 2024-11-08 13:19:19 +01:00
611a6f5b2c release 1.10.0 1.10.0 2024-11-08 09:18:02 +01:00
3476199b30
Merge pull request #1624 from adrianschroeter/allow-native-checkout
checkout: allow to checkout obs imported sources of scmsync sources
2024-11-08 08:44:54 +01:00
f4298b8ed7 Update osc/core.py
Co-authored-by: Dirk Mueller <dmueller@suse.com>
2024-11-08 08:30:21 +01:00
8216118278 Update osc/commandline.py
Co-authored-by: Dirk Mueller <dmueller@suse.com>
2024-11-08 08:30:21 +01:00
8dff7f58d7 checkout: allow to checkout obs imported sources of scmsync sources
This allows to skip the check of obs-scm-bridge and checks out what
is stored in OBS src server.

Note: This is not necessarly the same representation as in git
      (.obscpio instead of directories or sub modules).
      Also no modification can be committed.
      So this is only intended for people who understand the current
      internal implementation of the source storage. There is no
      guarantee that this won't change.

Checkout of entire project git is not working with this switch, as
the packagelist of osc is empty. It may also make no sense to do
this as it will not perform for large projects.
2024-11-08 08:30:21 +01:00
aaad3c7a10
Merge pull request #1640 from Vogtinator/mkosi
Support the mkosi build type
2024-11-07 13:15:30 +01:00
93b270ae76
Merge pull request #1659 from adrianschroeter/token_wipe
"osc token": Don't crash when a wipe token exists
2024-11-07 09:53:15 +01:00
7c6163d3d8 "osc token": Don't crash when a wipe token exists 2024-11-06 13:13:55 +01:00
Fabian Vogt
facdbf2306 Support the mkosi build type
Unlike other recipe files, OBS detects this by matching the prefix rather
than the suffix. As this would cause conflicts with e.g. mkosi.spec the
build type detection had to be changed a bit.
2024-11-05 15:48:01 +01:00
0c5dda2fe3
Merge pull request #1657 from dmach/fix-empty-_in_update-_files
Change 'update' command to treat empty '.osc/_in_update/_files' as missing
2024-11-05 15:15:54 +01:00
d93bc6e1ab
Merge pull request #1652 from e4t/print_buildroot
Print buildroot directory when build or chroot finishes
2024-11-05 15:06:00 +01:00
e28c4fde41
Merge pull request #1642 from andreas-schwab/master
get_prj_results: skip non-status elements in prj results
2024-11-05 14:22:32 +01:00
42b5113687 Print buildroot directory when build or chroot finishes
This used to be printed but was dropped with a refactoring.
Of course, there is the --just-print-buildroot option, but
there is no harm printing this information anyway.

Signed-off-by: Egbert Eich <eich@suse.com>
2024-11-05 14:20:15 +01:00
1c714355d4 Change 'update' command to treat empty '.osc/_in_update/_files' as missing 2024-11-05 14:16:15 +01:00
8b1df4de3f
Merge pull request #1654 from dmach/fix-store-migration-1.0-to-2.0-sources-file
Fix store migration from 1.0 to 2.0 when there is a 'sources' file that would conflict with 'sources' directory
2024-11-05 14:14:42 +01:00
4215d1a43d GHA: Install obs-scm-bridge directly from github in the behave test 2024-11-05 13:46:14 +01:00