531 Commits

Author SHA256 Message Date
992a262abe Accepting request 1323505 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1323505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=221
2025-12-18 17:36:04 +00:00
11da2565b4 - 1.23.0
- Command-line:
    - Add '--target-owner' option to 'git-obs pr create' to specify the target owner explicitly
    - Add '--target-branch' option to 'git-obs staging search' command
    - Added 'git-obs staging search' command to find project PRs with referenced package PRs that have all been approved
    - Change 'git-obs pr dump' to produce directories that match the specified pull request IDs
    - Change 'git-obs pr dump' to write STATUS file
    - Properly error out on invalid 'PR:' references in 'git-obs pr dump'
    - Fix 'git-obs pr create' when the source repo is not a fork
    - Fix 'git-obs api' command when server returns 'null'
    - Fix 'osc build --alternative-project=...' when there's no .osc in the current directory
    - Fix argument and store handling in 'osc results' command
  - Library:
    - Add Manifest.get_package_paths() method that lists all paths to existings packages in a project
    - Fix Manifest class to handle loading empty YAML files or strings
    - Fix working with meta during git rebase by determining the current branch from rebase head
    - Fix handling local branch when fetching remote
    - Move get_label_ids() from PullRequest to Repo class
    - Change GitStore not to require apiurl anymore
    - Fix storing last_buildroot for git packages
    - Store the last buildroot only if there's a store detected
    - Fix BuildRoot so it acts as a tuple and the individual values are accessible via indexes
    - Make PullReqest.parse_id() more permissive by accepting trailing whitespaces
    - Fix 'missingok' argument in server_diff()
    - Fix gitea_api.PullRequest ordering methods
    - Add return to gitea_api.Branch.list()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=499
2025-12-18 10:29:42 +00:00
291f6414fe Accepting request 1323001 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1323001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=220
2025-12-16 14:55:56 +00:00
bce468d475 - PKGBUILD changes
* Remove redundant packages from makedepends. If a package depends
    on something, it implicitly makedepends on it as well
  * Add python-ruamel-yaml dependency
  * Build and install man pages
  * Add python-argparse-manpage and python-sphinx to makedepends for
    building man pages
  * Add check() to run the test suite
  * Add checkdepends for test suite dependencies
  * Add optdepends as an equivalent to RPM's Recommends, making it
    easier for users to find packages needed for optional features
  * Use $pkgname variable across the script
  * Install shell completion files
  * Bump pkgrel

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=497
2025-12-15 17:56:02 +00:00
8cb3f35199 Accepting request 1316960 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1316960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=219
2025-11-10 18:21:51 +00:00
8ecc675a3e Update osc to 1.22.0
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=495
2025-11-10 15:58:52 +00:00
2553de452d Accepting request 1310635 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1310635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=218
2025-10-11 20:50:16 +00:00
0c0418c6db Update osc to 1.21.0
See changelog for details

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=493
2025-10-10 20:31:26 +00:00
15ffb7d16d Accepting request 1305159 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1305159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=217
2025-09-16 16:19:35 +00:00
e3f7c5f454 - 1.20.0
- Command-line:
    - Fix 'osc fork' command to use the right tracking branch
    - Fix 'osc blt' command by checking if the working copy is a package
    - Make 'osc buildlog' work outside of osc package directory
    - Add 'git-obs pr close' and 'git-obs pr reopen' commands
    - Add 'close' option to 'git-obs pr review interactive'
    - Change 'git-obs pr review interactive' to work with all archives, not only those in Git LFS
    - Fix checkout of the base branch in 'git-obs pr review interactive' command
  - Library:
    - Support _manifest file in git store
    - Allow pull request IDs in '<owner>/<repo>!<number>' format
    - Properly handle deleted users and teams in the git-obs timeline
    - Handle situations when there's 'None' among timeline entries
    - Skip binary files in gitea_api.PullRequest.get_patch()
    - Change get_user_input(), add support for vertically printed list of answers
  - Spec:
    - Provide git-obs

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=491
2025-09-16 12:15:19 +00:00
a23dfa19be Accepting request 1297848 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1297848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=216
2025-08-06 12:34:31 +00:00
361a299aaa - 1.19.1
- Command-line:
    - Use OSC_PACKAGE_CACHE_DIR env var instead of deprecated OSC_PACKAGECACHEDIR
  - Connection:
    - Check for both upper and lowercase versions of HTTP_PROXY and HTTPS_PROXY env vars
  - Library:
    - Add 'trackingbranch' field to ScmsyncObsinfo model
    - Revert "Return None if GitStore cannot determine apiurl"
    - Throw a proper exception when 'apiurl' argument of 'makeurl()' is empty
    - Move code setting apiurl from store to 'osc.conf.get_config()'
    - Simplify 'osc.commandline.Osc.get_api_url()' to return the value from 'self.options'
    - Remove 'osc.commandline.Osc.post_argparse()' because it's no longer used
    - Fix unit tests to use the new code path to run osc
    - Fix osc.gitea_api.dt_sanitize() by replacing dateutil with datetime

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=489
2025-08-06 05:08:22 +00:00
91df96dc09 Accepting request 1296065 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1296065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=215
2025-07-28 12:59:15 +00:00
60c586d8e8 - 1.19.0
- Command-line:
    - Add 'git-obs pr cancel-scheduled-merge' command
    - Add timeline to 'git-obs pr review interactive'
    - Add '--timeline' option to 'git-obs pr get'
    - Fix 'git-obs pr search' by using pagination to retrieve all results
    - Extend '--message' option in git-obs subcommands with the '-m' short option
    - Add a different message for scheduled merges in 'git-obs pr merge' command
  - Library:
    - Add 'conn' parameter to gitea_api.common.GiteaModel
    - Add gitea_api.Connection.scheme attribute
    - Add gitea_api.PullRequest.merge_commit property
    - Add gitea_api.PullRequest.get_owner_repo_number()
    - Add gitea_api.common.dt_sanitize() for sanitizing datetime strings
    - Handle missing head repo in the PullRequest properties
    - Return None if GitStore cannot determine apiurl
    - Remove extra newline from store files
    - Fix the 'Move remaining imports in osc.babysitter into try-except block' change by preserving the order of handling the exceptions
  - Spec:
    - Use primary_python to define runtime requires matching the shebang lines
    - Provide %{use_python_pkg}-osc for all pythons and python3-osc for primary_python
    - Add conflict with obs-scm-bridge < 0.7.3

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=487
2025-07-28 09:27:15 +00:00
5be901483f add conflict to old obs-scm-bridge
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=486
2025-07-28 07:19:44 +00:00
10fab1755e Accepting request 1295143 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1295143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=214
2025-07-23 14:34:08 +00:00
12d618edac - 1.18.0
- Command-line:
    - Add 'git-obs pr comment [--message=...]' command
    - Add 'git-obs pr show-patch' command
    - Add '--reviewer' option to 'git-obs pr review {approve,decline,interactive}' to support group reviews via group review bot
    - Update 'git-obs pr review interactive' to return non-zero return codes for 'exit' and 'skip' actions
    - Make 'osc results --show-excluded' work in a project context
    - Add '--no-pager' global option
    - Fix 'osc fork' by copying whole query part to the new scmsync url
    - Fix 'osc buildinfo' for git packages by handing the 'build_repositories' files by store objects
    - Fix crash in 'git-obs pr get --patch'
    - Fix git-obs to exit with 130 on keyboard interrupt
    - Fix --sccache help typo in 'osc build' command
  - Connection:
    - Don't retry requests on 504 Gateway Timeout
  - Library:
    - If a devel project is not specified, try reading it from a mapping from URL set in OBS:GitDevelProjectMap project attribute
    - Improve detection of packages and projects in git
    - scmsync_obsinfo: Pass correct revision to obs-scm-bridge
    - Add obs_api.Request.search() method
    - Raise an exception if obs-scm-bridge fails
    - Fix obs_scm.Package.get_pulled_srcmd5() returning an empty string
    - Fix git store to support non-default remote
    - Extend 'gitea_api.User.get()' to take 'username' parameter
    - Move get_editor() and related functions from command-line module to gitea_api.common
    - Migrate subcommands from using Store() to get_store() that is git aware
    - Make imports lazy to imporove osc load times

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=484
2025-07-22 15:22:51 +00:00
ca12796ee9 Accepting request 1288249 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1288249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=213
2025-06-24 18:50:24 +00:00
1dd7f77306 Accepting request 1288240 from home:dmach:branches:openSUSE:Tools
- 1.17.0
  - Command-line:
    - Rename 'git-obs pr review' to 'git-obs pr review interactive'
    - Add 'A)approve and schedule for merging' action to 'git obs pr review interactive'
    - Add 'git-obs pr merge' command
    - Add 'git-obs pr review accept' and 'git-obs pr review decline' commands
    - Implement 'git-obs repo list' command
    - Add '--export' option to 'git-obs pr list' and 'git-obs pr search'
    - Fix crash during token validation in 'git-obs login {add,update}' when value is not specified
    - Fix loading shell completions for 'git-obs'
    - Fix 'git-obs api' by preventing of quoting the URL query part
    - Add a possibility to override git-obs login entries from env
    - Validate arguments in 'osc fork' command
    - Revert "Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling rpmspec to query the data"
    - Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling queryrecipe to query the data (bsc#1243722)
  - Connection:
    - Do not use pipe for ssh-keygen input
  - Library:
    - Refactor gitea_api to use objects with properties instead of raw JSON data
    - Add GiteaModel base class and json_dumps() function that can serialize such objects
    - Rename 'anonymous' argument in 'gitea_api.Repo.clone()' to 'use_http'
    - Allow git in git-obs to be switched from SSH to http(s)
    - Move yaml handling code to osc.util.yaml, add fallback to PyYaml
    - Fix how types are compared in OscOptions.set_value_from_string()
    - get_package_results: check for waiting states in all multibuild packages
    - Extend _buildinfo file lookup to the current directory
    - Fix git store when .git is a file with "gitdir: <path>" link
    - Migrate store_* functions to use get_store instead of the original code
  - Spec:
    - Modify spec to use PyYAML on SLE15

OBS-URL: https://build.opensuse.org/request/show/1288240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=482
2025-06-24 12:20:57 +00:00
25c8875acc Accepting request 1276933 from home:hecormar:branches:openSUSE:Tools
Fix Debian Unstable build

OBS-URL: https://build.opensuse.org/request/show/1276933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=481
2025-06-19 09:39:09 +00:00
d01aac24b9 Accepting request 1278651 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1278651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=212
2025-05-20 15:05:09 +00:00
8f6bca3bfd Accepting request 1278577 from home:dmach:branches:openSUSE:Tools
- 1.16.0
  - Command-line:
    - Add 'osc rmkpac' subcommand
    - Add 'osc service precommit' subcommand, for use with git hook
    - Add '--target-branch' filter option to 'git-obs pr list'
    - Add '--reviewer' and '--review-state' options to 'git-obs pr list'
    - Add '--no-draft' filter option to 'git-obs pr list'
    - Set limit=0 to disable pagination in all relevant git-obs subcommands
    - Improve help of the 'git-obs login' subcommands
    - Update 'git-obs login {add,update}' to check the gitea token format
    - Fix 'osc fork' when <attributes/> in the source project is empty
    - Fix handling env in tests for 'osc vc'
    - Fix how GitStore reads project from the parent directory
    - Fix 'git-obs pr create' with multistring EDITOR
    - Improve handling exceptions in 'git-obs' command
    - Improve message in 301: Moved Permanently error in git-obs
    - Improve git-obs to read credentials from env variables
    - Remove commas from the list of request IDs in the superseding prompt in 'osc sr'
  - Connection:
    - Fix git-obs connection for urllib3 v1 by overriding the default timeout
  - Library:
    - Add troubleshooting info to gitea_api.Login.DoesNotExist message
    - Add 'min_key_length' argument to KeyValueTable to enforce the minimal length of the first column
    - Fix implicit optionals in type hints to make code PEP 484 compliant
    - Don't crash when OBS API returns None as request description
    - Fix TypeError in response_to_exception() in gitea_api

OBS-URL: https://build.opensuse.org/request/show/1278577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=479
2025-05-20 11:12:22 +00:00
152826f192 Accepting request 1267136 from openSUSE:Tools
Forwarded request #1267135 from dmach

- 1.15.1
  - Library:
    - Revert "Run decode_it also in the other case"

OBS-URL: https://build.opensuse.org/request/show/1267136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=211
2025-04-04 16:09:24 +00:00
ae902aa3c1 Accepting request 1267135 from home:dmach:branches:openSUSE:Tools
- 1.15.1
  - Library:
    - Revert "Run decode_it also in the other case"

OBS-URL: https://build.opensuse.org/request/show/1267135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=477
2025-04-04 12:21:46 +00:00
913ebdf805 Accepting request 1267068 from home:dmach:branches:openSUSE:Tools
- 1.15.0
  - Command-line:
    - Improve 'osc fork' to follow the devel package specified in the 'OBS:RejectBranch' attribute
    - Hotfix 'osc fork' failures of devel project users
    - Change 'osc fork' to print an error rather than raising an exception
    - Fix setting parent remote in 'git-obs repo clone'
    - Extend 'osc build' to read build project from Gitea: <owner>/_ObsPrj, project.build file
    - Fix 'osc build' when working with sources from git, when .osc is not available
    - Fix crash in 'osc build --host'
    - Fix rendering help output by adding the complete docstring of the commands
    - Add commented git status to the 'git-obs pr create' message
    - When doing an mr from a working copy check for unchecked modifications
    - Consolidate working copy modification check dialog into a function
  - Connection:
    - Change a debug message to a warning if ssh-keygen is not available
    - Add explanatory message to ignore the signature auth warning when not using SSH keys for auth
  - Library:
    - Implement handling of updateinfo.xml and _modulemd.yaml files
    - Fix working with _subdirs when detecting packages that are subdirectories in a git project
    - Fix canonname handling when querying a downloaded package
    - Add obs_api.Attributes model
    - Add 'quiet' and 'branch' options to gitea_api.Repo.clone()
    - Fix GitStore by parsing git urls with obs_api.Git.urlparse()
    - Add gitea_api.Git.urlparse() for parsing git urls
    - Change gitea_api.Config.url_to_hostname() to also try matching only a hostname instead of full Gitea URL
    - Rename get_parser() functions to argparse_manpage_get_parser() to clarify their purpose
    - Refactor the validity check of cached binaries
  - Other:
    - Update git-obs-quickstart doc with more detailed info on creating tokens
  - Spec:
    - Recommend obs-scm-bridge
    - Build git-obs man page

OBS-URL: https://build.opensuse.org/request/show/1267068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=476
2025-04-04 08:49:17 +00:00
f974255070 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=475
2025-03-28 12:43:46 +00:00
21ee1870b0 Accepting request 1254827 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1254827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=210
2025-03-21 19:22:18 +00:00
b652bfecbd Accepting request 1254826 from home:dmach:branches:openSUSE:Tools
- 1.14.0
  - Command-line:
    - Improve 'osc fork' command to support also forking projects managed in git
    - Extend 'osc fork' command with '--target-project' and '--target-package' options
    - Enable shell completion of various 'git-obs' arguments and options
    - Fix 'git-obs pr create --target-branch'
    - Fix 'osc fork' crash in print_gitea_settings()
    - Use -A/--apiurl specified on the command-line even if running from a checkout
    - Assume openSUSE:Factory if project cannot be determined in 'osc build' command
    - Change 'osc whatdependson' command to take multiple '-M' options incl. wildcards
    - Fix diff highlighting
  - Library:
    - Set pacsuffix='deb' if binarytype=='deb'
    - Add scmsync element to meta template
    - Add missing project_separator substitutions
    - Fix call os.userexpand() on gitea_api.Config() path argument
    - Fix adding arguments to the argument parser so they work with argcomplete
    - Fix MultibuildFlavorResolver to consider an empty flavor during glob match
    - Fix MultibuildFlavorResolver to work with <package> _multibuild elements
    - Remove superfluous setting of apiurl from 'osc fork'
    - Mute mypy errors on field property assignment
    - Add type hint to XmlModel.XML_TAG
    - Support new 'X | None' union syntax in field types
  - Other:
    - Fix 'git-obs login add' command invocation in git-obs-quickstart documentation
  - Spec:
    - Recommends: python3-argcomplete for git-obs

OBS-URL: https://build.opensuse.org/request/show/1254826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=473
2025-03-20 20:15:54 +00:00
ca8a68902a Accepting request 1252399 from openSUSE:Tools
- fix the generic provides for %{use_python_pkg}-osc to be
  versioned so that one can actually have versioned requires
  against that symbol
- restore python3-osc provides if we are building against the
  primary_python version

OBS-URL: https://build.opensuse.org/request/show/1252399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=209
2025-03-12 14:24:46 +00:00
4ddd0b2a2c fix typo
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=471
2025-03-12 11:11:37 +00:00
d08f893315 - fix the generic provides for %{use_python_pkg}-osc to be
versioned so that one can actually have versioned requires
  against that symbol
- restore python3-osc provides if we are building against the
  primary_python version

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=470
2025-03-12 10:54:24 +00:00
aeccc18662 Accepting request 1252010 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1252010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=208
2025-03-11 19:45:44 +00:00
5dc03ad54e Accepting request 1251906 from home:darix:playground
- if we have primary_python defined lets use this to get runtime
  requires matching the shebang lines

OBS-URL: https://build.opensuse.org/request/show/1251906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=468
2025-03-11 10:23:41 +00:00
d58d20f04c Accepting request 1249633 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1249633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=207
2025-03-03 15:05:14 +00:00
7bd2ce111a Accepting request 1249622 from home:dmach:branches:openSUSE:Tools
- 1.13.0
  - Command-line:
    - Add 'osc fork' command for forking a package with sources managed in Gitea
    - Add 'git-obs pr review' command
    - Allow 'git-obs login' subcommands to prompt for Gitea tokens
    - Fix 'osc checkout' command to support deleted packages incl. revisions
    - Update 'osc rpmlint' command by adding help message for invoking command in PKG dir
    - Add '--multibuild-package' option to 'osc rpmlint' command
  - Library:
    - Change how git projects and packages are detected
    - Change show_project_sourceinfo() to split a huge request into many and join the results to workaround GET limitations
    - Make 'rev' option in ScmsyncObsinfo.from_api() optional
    - Make GitObsCommand.gitea_{conf,login,conf} properties writable
    - Fix local building of deb dockerfile
    - Fix getting scm_url from scmsync_obsinfo that has subdir set
    - Fix or silence pylint errors
    - Support 'enabled' field in tokens
    - Highlight trailing whitespaces in diffs
    - Fix missing spaces in help string
  - Other:
    - Add git-obs Quickstart documentation and man page

OBS-URL: https://build.opensuse.org/request/show/1249622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=466
2025-03-03 08:40:17 +00:00
5ab46d863a Accepting request 1245676 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1245676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=206
2025-02-13 17:40:18 +00:00
a375a1fd35 Accepting request 1245662 from home:dmach:branches:openSUSE:Tools
- 1.12.1
  - Command-line:
    - Improve 'maintenancerequest' command to inherit description from superseded request
  - Library:
    - Tell the build script to disable repos/containers handling for normal builds
    - Improve detecting git packages, use .osc metadata from project in parent directory
    - Fix retrieving apiurl from git repositories in get_api_url() in the command-line code
    - Fix typo in core.binary() that caused text files being detected as binary
    - Improve core.binary() by always considering data that contains \0 binary
    - Fix assembling scm_url when scmsync_obsinfo.revision is None

OBS-URL: https://build.opensuse.org/request/show/1245662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=464
2025-02-13 14:35:18 +00:00
23bf42f50b Accepting request 1242882 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1242882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=205
2025-02-03 20:45:40 +00:00
470eb859e0 Accepting request 1242880 from home:dmach:branches:openSUSE:Tools
- 1.12.0
  - Command-line:
    - Add 'git-obs pr' command
    - Add 'git-obs api' command for making arbitrary API calls
    - Change 'git-obs' to use owner/repo[#pull] arguments consistently
    - Change 'git-obs repo clone' command to store ssh command in core.sshCommand git config option
    - Fix 'request list --interactive' command that wasn't showing request forward prompt when message was part of the state change
  - Library:
    - Avoid fetching _scmsync.obsinfo when scmsync url contains 'noobsinfo' query parameter
    - Fix ssh key priority in 'git-obs repo clone' command
    - Fix loading config entries with underscores instead of dashes in the keys
    - Fix detecting binary files
    - Fix diff highligting
  - Connection:
    - Implement retries in 'git-obs'

OBS-URL: https://build.opensuse.org/request/show/1242880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=462
2025-02-03 15:50:45 +00:00
798996b456 Accepting request 1236860 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1236860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=204
2025-01-12 10:21:08 +00:00
e91178e579 Accepting request 1236856 from home:dmach:branches:openSUSE:Tools
- 1.11.1
  - Command-line:
    - Fix 'linkpac' command for projects with a project link
    - Fix 'linkpac' command by always removing <scmsync> element from target meta
    - Fix command descriptions in help by moving the import statements under docstring in the do_*() methods

OBS-URL: https://build.opensuse.org/request/show/1236856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=460
2025-01-10 12:53:07 +00:00
07c3930cfa Accepting request 1235628 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1235628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=203
2025-01-07 19:54:57 +00:00
6899ae2e6b Accepting request 1235608 from home:dmach:branches:openSUSE:Tools
- 1.11.0
  - Command-line:
    - Add hint how to deal with scmsync-nobranch scenarios
    - Speed loading commands up
    - Fix 'log' command to work correctly with --meta --patch options
    - Document that 'status' command prints unmodified files in verbose output
    - Hide progressbar.Bar widget after ProgressBar has completed
    - Avoid printing urlquoted file names in 'getbinaries' command
  - Configuration:
    - Mute oscrc permissions warning when there's no password set
  - Connection:
    - Save session cookie even if a request fails
  - Library:
    - Fix local building in git projects
    - Extend xml.etree.ElementTree.ParseError output with a snippet of broken XML
    - Sync ScmsyncObsinfo with obs-scm-bridge
    - Move running obs_scm_bridge into run_obs_scm_bridge() function
    - Convert remaining makeurl() query parameters from deprecated string to dict
    - Add more operators to XPathQuery
    - Make 'title' and 'description' fields optional in the Package model
    - Fix progress bar code to support progressbar2
    - Support LoongArch64 architecture
    - Mute pylint errors in show_package_disabled_repos() that are false-positives
    - Fix another bytes/unicode issues in core.link_pac() by replacing ElementTree code with XML models
    - Fix handling 'lock' field in 'Package' model
    - Fix handling SimpleFlag model
    - Extend RequestActionSource with 'repository' attribute
    - Load most of the modules in commandline.py on-demand
    - Fix traceback in 'linkpac --disable-build'
  - Spec:
    - Add conflict with older versions of obs-service-source_validator to ensure that version compatible with .osc store 2.0 is installed

OBS-URL: https://build.opensuse.org/request/show/1235608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=458
2025-01-07 13:37:43 +00:00
5130cf8ef4 Accepting request 1222747 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1222747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=202
2024-11-09 19:54:44 +00:00
23fc73783b Accepting request 1222744 from home:dmach:branches:openSUSE:Tools
- 1.10.1
  - Command-line:
    - Fix crash in 'build' command due to undefined 'build_root' variable
  - Spec:
    - Add missing python3-ruamel.yaml BuildRequires
    - Fix rpmlint error about creating the /usr/libexec/git/obs symlink

- 1.10.0
  - Command-line:
    - New git-obs executable with several subcommands
    - Support parameters on token triggers
    - Change 'update' command to treat empty '.osc/_in_update/_files' as missing
    - Change 'checkout' command to allow checkout obs imported sources of scmsync sources
    - Change 'creq' command to allow specifying source and target repository
    - Change the help output to determine executable name from the command-line arguments
    - Add '--no-timestamps' parameter to 'build' command
    - Fix 'token' command to avoid crash  when a wipe token exists
    - Fix crash in 'results' command by skipping non-status elements in project results
    - Fix crash in 'build' command when building with --local-package --alternative-project from a locally initialized .osc package
    - Print buildroot directory when build or chroot finishes
  - Library:
    - Add 'gitea_api' module
    - Support the mkosi build type
    - Support copy of scmsync packages
    - Support Dockerfile.* in _multibuild packages
    - Implement obs_api.Status.data property that returns status data as a dictionary
    - Implement obs_api.Package.cmd_fork()
    - Fix meter by setting default of use_pb_fallback to False
    - Fix store migration from 1.0 to 2.0 when there is a 'sources' file that would conflict with 'sources' directory
    - Fix revision'd checkout of scmsync package

OBS-URL: https://build.opensuse.org/request/show/1222744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=456
2024-11-08 13:05:23 +00:00
e6375a9b42 Accepting request 1202741 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1202741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=201
2024-09-24 15:33:11 +00:00
29297f141e Accepting request 1202739 from home:dmach:branches:openSUSE:Tools
- 1.9.2
  - Command-line:
    - Fix 'resolved' command to skip subdirectories in package checkouts
    - Fix 'comment' command to resolve project name
    - Implement meter.SimpleTextMeter that prints what's being downloaded
  - Connection:
    - Use configured 'http_headers' in HTTP requests
  - Library:
    - Fix storing _buildinfo and _buildconfig files in .osc rather than among the source files
    - Use findtext() instead of find().text
  - Spec:
    - Recommend python3-zstandard to support opening control.tar.zst

OBS-URL: https://build.opensuse.org/request/show/1202739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=454
2024-09-23 19:12:18 +00:00
0ef778e100 Accepting request 1198012 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1198012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=200
2024-09-01 17:22:27 +00:00
5b1bd70286 Accepting request 1196283 from home:dmach:branches:openSUSE:Tools
- 1.9.1
  - Command-line:
    - Add 'createrequest release' subcommand
    - Change 'review list' command to omit requests with 'declined' state
    - Fix `osc build --local-package`
    - Fix typos
  - Library:
    - Fix extraction of the 'ar' archives when they don't contain header with long filenames
    - Fix iterating through arch_list in core.get_repos_of_project()
    - Check for None & len() of ET.Element instead of bool() in PackageBase.get_meta_value()
  - Spec:
    - Replace 'setup.py test' that was removed in setuptools 72 with 'python3 -m unittest'

OBS-URL: https://build.opensuse.org/request/show/1196283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=452
2024-08-31 09:17:32 +00:00
776a96db47 Accepting request 1194846 from openSUSE:Tools
- 1.9.0
  - Security:
    - Fix possibility to overwrite special files in .osc (CVE-2024-22034 boo#1225911)
      Source files are now stored in the 'sources' subdirectory which prevents
      name collisons. This requires changing version of '.osc' store to 2.0.
  - Command-line:
    - Introduce build --checks parameter
  - Library:
    - OscConfigParser: Remove automatic __name__ option

OBS-URL: https://build.opensuse.org/request/show/1194846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=199
2024-08-20 14:14:39 +00:00