Overview

Request 1072082 superseded

- Update to 1.0.0 (full changelog to the latest stable version 0.182.0)
- Command-line:
- Use '.' as a wildcard that resolves to a project or a package name from the current working copy, for example 'osc rdiff ./. -c '
- Add 'create-pbuild-config' (cpc) command
- Add '--disable-build' option to the 'branch' command
- Add '--disable-build' option to the 'linkpac' command
- Add '-X/--extra-pkgs-from' option to the 'build' command
- Add '--add' option to the 'meta' command that appends new values to the existing values
- Replace '-q/--hide-legend' option in 'prjresults' command with global '-q/--quiet' option
- Replace '--debug' option in the 'getbinaries' command with '--debuginfo' to avoid conflicts with the global '--debug'
- Replace '--verbose' option in the 'build' command with '--verbose-mode' to avoid conflicts with the global '--verbose'
- Replace '--version' option with 'version' command
- Enable forwarding requests to the parent projects in 'rq list -i' and 'sr accept' commands
- Make use of '-M/--multibuild' option consistent across the commands
- Enhance '--force' option in the 'commit' command to allow deleting packages even if other packages depend on them
- Print URLs and xpaths in the debug rather than the verbose mode
- Fix 'add' command for github /archive/ URLs
- Fix 'buildhistory' command to produce proper output using build_table() and a CSV writer
- Fix 'linkpac' command to avoid copying a lock from a locked package to the target package
- Fix 'setlinkrev' command to write a log message on setting a revision
- Fix 'submitrequest' command not to error out on using an alias to apiurl
- Fix 'update' command on project level for scm packages
- Fix '--mine' option in the 'request' command to show only requests created by the user
- Fix the documentation url in the 'maintenancerequest' and 'createincident' commands
- Remove '--skip-validation' option from the 'commit' command
- Remove '--oldpkg', '--oldprj' options from the 'rdiff' command
- Remove 'create', 'list', 'log', 'show', 'decline', 'accept', 'delete', 'revoke' subcommands from the 'submitrequest' command
- Remove '--seperate-requests' option from the 'submitrequest' command
- Remove '--raw' option from the 'develproject' command
- Remove '--maintained' option from the 'search' command
- Remove 'deleteprj' command
- Remove 'deletepac' command
- Remove 'editmeta' command
- Remove 'results_meta' command
- Remove 'rlog' command
- Remove 'rprjresults' command
- Remove 'rresults' command
- Configuration:
- Add 'project_separator' config option
- Add 'disable_hdrmd5_check' config option to ignore hdrmd5 mismatches
- Remove 'plaintext_passwd' config option
- Library:
- Add Store class that will replace store_{read,write}* functions
- Remove 'GnomeKeyringCredentialsManager' and related code
- Remove Request.get_creator() method
- Replace unmaintained cmdln.py with a custom code based on argparse
- Replace core.findpacs() with Package.from_paths() and Package.from_paths_nofail()
- Drop Python 2 support, Python 3.6 is the lowest supported version
- Code cleanups, following PEP 8 and the latest best practices now
- Improve handling of hdrmd5 mismatches
- Handle uncompressed Debian packages
- Replace arbitrary XML escaping code with xml_escape()
- Fix race condition in using .old directory in Serviceinfo.execute()
- Fix manual run of source service
- Connection:
- Switch http_request() to urllib3 and cryptography (drop M2Crypto dependency)
- Warn when using HTTP connection, make HTTPS the default
- Send HTTP header Accept: application/xml
- Wait between retries
- Authentication:
- Support signature (ssh) auth including ssh-agent forwarding
- Lock cookiejar to prevent unnecessary signature auth by waiting for a session cookie
- Print user and apiurl when prompting for a password
- Fix a crash when deleting a password
- Known issues:
- Commandline option values cannot start with '-', for example: osc build -x -vim
Background: This is a limitation of underlying Python's argparse
How to fix: Use '=' to join the option with its value: osc build -x=-vim
URL: https://github.com/openSUSE/osc/issues/1227
- Commandline positional arguments no longer recognize '/' as a universal argument separator
Background: This is an attempt to bring some consistency into argument parsing, reducing number of separators and value combinations
How to fix: Separate / from / with a space
URL: https://github.com/openSUSE/osc/issues/1272
- 1.0.0
- Revert "Remove the '-A' option from the 'maintainer' command"
- core.get_request_list: Remove deprecation warning
- meta attribute: Add --add option to append values to the existing list
- Replace arbitrary XML escaping code with xml_escape()
- build: New option 'disable_hdrmd5_check' to ignore hdrmd5 mismatches
- commit: Pass --force down to delete_package
- 1.0.0b5
- rq list: Fix a traceback when --type is not specified
- core.checkout_package(): Use pathlib.Path
- connection: Retry all, not just default allowed methods
- connection: Wait between retries
- 1.0.0b4
- Fix regressions to osc 0.x:
- mv: Fix traceback due to missing target file name
- rm: Fix creating a Package object by providing multiple files on the command line
- copypac: Fix downgrading a package to an old revision
- buildhist: Fix running from a package checkout
- rebuild: Fix running from a package checkout
- rdiff: Fix traceback when new project is not specified
- rq list: Fix passing values of the --type option
- build: Fix reading extra-pkgs from oscrc
- Support withfullhistory in osc.core.get_request_list again
- Fix osc.get_request_list ignoring the req_type parameter
- Revert "Do not list declined requests by default"
- connection: Mute the "Converted retries value" debug message
- connection: Fix traceback on loading an invalid cookiejar file
- connection: Save cookiejar only when there's a Set-Cookie header in the response
- Add oscerr.ProjectError class needed by core.delete_project()
- Fix all errors reported by pylint
- spec file:
- drop upstreamed patches:
- 1217.patch
- 1228.patch
- Recommend python3-distro - needed for setting the default editor by distro
- add 1228.patch to fix regressions in get_request_list
- add 1217.patch to fix correct variable (prj instead of project)
1.0.0b3
- add create-pbuild-config (cpc) command which allows to create a working
config for pbuild tool based on OBS server side data
- branch: Add --disable-build option
- linkpac: Add --disable-build option
- linkpac: Fix linking a locked package by not copying the lock to the target package
- sr: Do not error out on using an alias to apiurl
- rq: Fix the -M/--mine option to show only requests created by the user
- rq list: Avoid conflict between --all and --state options
- rq list: Fix traceback when there's no search criteria
- rq list -i: Enable forwarding requests to the parent projects
- rq show: Improve output
- sr accept: Enable forwarding requests to the parent projects
- setlinkrev: Write a log message on setting a revision
- buildhistory: Produce proper output using build_table() and a CSV writer
- buildinfo: Bring the -d/--debug option back
- build: Bring the --verbose' option back as --verbose-mode=MODE to avoid conflicts with global --verbose
- service: Add verbose option for running local services
- service: Fix manual run of source service
- conf: Avoid crash when deleting a password
- connection: Fix the '9 - review the server certificate' option in cert trust prompt
- Handle uncompressed Debian packages
- Fix osc add for github /archive/ URLs
- Handle empty EDITOR=/PAGER= env variable properly
- Mute ssl/tls deprecation warnings
- Add "--extra-pkgs-from" ("-X") option to osc build.
- Fix a scenario when OBS sends unexpected md5s
- Replace core.findpacs() with Package.from_paths() and Package.from_paths_nofail()
- Always list requests with 'new,review' states by default
- Change get_request_collection() not to list declined requests by default
- Add information about osc vc using the EDITOR envar to the help output
- Improve argument handling in many commands
- Implement Store class handling '.osc' dirs, migrate some code to it
- Code cleanups
- Deprecated:
- core.get_request_list() function
- core.store_write_apiurl() function
- core.store_read_scmurl() function
- core.store_read_apiurl() function
1.0.0b2
- Support ssh-agent forwarding
- ssh auth: Avoid password prompt when using TransientCredentialsManager
- Properly handle missing ssh-keygen and ssh-add
- Add ssh-keygen as a recommends for ssh MFA authentication
- Print user and apiurl when prompting for a password
- Pass apiurl to all auth handlers
- Do not list declined requests by default
- Fix 'osc up' on project level for scm packages
- Lock cookiejar to prevent unnecessary signature auth
- Process input with configurable project separators
- Add project_separator to config file
- Fix race condition in using .old directory in Serviceinfo.execute()
- Send HTTP header Accept: application/xml
- Print URLs and xpaths in debug rather than verbose mode
- Inject no-op print() into http.client when http debugging is off
- Reset "file current position" on errors in HTTP requests
- Create ~/.config/osc/trusted-certs if not exists
- conf: Convert defaults to their expected types
- Document `build` repo selection logic
- Add debug print for REPO (and desc just in case)
- Shortened `build` help and add debug prints
- Replace unmaintained cmdln.py with a custom code
- Allow intermixing positional and optional args
- Add global options to subcommands so they can be specified in any place
- Remove the '-A' option from the 'maintainer' command
- Replace the '-q/--hide-legend' option in 'prjresults' command with global '-q/--quiet' option
- Remove duplicated --debug and --verbose options
- Add version command to print the used version
- Remove deprecated 'plaintext_passwd' config option
- Remove deprecated 'GnomeKeyringCredentialsManager' and related code
- Remove deprecated '--skip-validation' option from the 'commit' command
- Remove deprecated '--oldpkg', '--oldprj' options from the 'rdiff' command
- Remove deprecated subcommands 'create', 'list', 'log', 'show', 'decline', 'accept', 'delete', 'revoke' from the 'submitrequest' command
- Remove deprecated '--seperate-requests' option from the 'submitrequest' command
- Remove deprecated '--raw' option from the 'develproject' command
- Remove deprecated '--maintained' option from the 'search' command
- Remove deprecated 'rlog' command
- Remove deprecated 'rprjresults' command
- Remove deprecated 'rresults' command
- Remove deprecated 'results_meta' command
- Remove deprecated 'deleteprj' command
- Remove deprecated 'deletepac' command
- Remove deprecated 'editmeta' command
- Remove deprecated Request.get_creator()
- Remove PROJ_PACK.txt file, move its content to GitHub issue #1099
- Remove TODO file, move its content to GitHub issue #1098
- Remove fuse support
- Remove unused run_bandit.sh
- Remove obsolete osc_expand_link.pl
- Remove unused icons
- Replace imp with importlib
- Move files from dist/ to contrib/
- Move osc.fish under contrib/
- Move python package metadata from setup.py to setup.cfg
- Move __version__ from osc.core to osc
- Fix resource warnings (unclosed files)
- 1.0.0b1
- drop Python 2 support
- switch http_request() to urllib3 and cryptography (drop M2Crypto dependency)
- warn when using HTTP connection, Make HTTPS the default
- add XDG compatible location for osc plugins
- replace osc-wrapper.py with entry_points.
- core: add functions for glob matching of multibuild flavors
- fix multibuild packages in all osc commands where applicable
- do not ask for login for -h,--help
- move format_table() to util.helper
- code cleanups
- 0.182.0
- fix build on SLE12 / python 2.7
- SSH auth: Fix getallmatchingheaders() output to correspond with headers.get_all()
- send HTTP header Accept: application/xml
- git_version: return version from the source code if there's no matching tag
- spec file:
- Revert to python2 on SLE12
- Recommend openssh for ssh key auth
- Fix M2Crypto package name on SLE12
- Do not build with python3.6 - it does not have libraries
nothing provides python36-M2Crypto > 0.19
nothing provides python36-chardet
- fix building on distros that are not openSUSE or SLE
- build against python3.6 for SLE12 and older
- 0.181.0
- fix crash when 'pass' is not set in the config file
- add missing attributes to Package when scm_url is set
- fix failure to create config in current dir
- update list of considered file names for ssh key autodetection
- allow users to prefer ssh key over password auth
- ssh: recognize gpg keys (yubikey usage)
- fix operating on _project meta
- revert "interpretation of string literals in messages" that broke unicode handling
- fix product build rpm caching
- enable md5 revisions in osc log
- parseRevisionOption(): raise an exception on invalid revisions
- 0.180.0
- warn when trying to commit a prj/pac managed in scm
- fix crash on "osc up" for git based package/projects
- don't traceback on invalid credentials manager
- improve README, rename it to README.md
- declare OscHTTPSignatureAuthHandler as a new-style class
- remove illegal character in comment
- 0.179.0
- signature (ssh key) authetication fixes (RSA key support, skip binary files)
- commandline: handle calls without arguments gracefully
- use percent-quoted url for download url generation
- osc co/up: highlight pending requests' header
- get_results(): fix check for empty details
- another exception for github URLs for "osc add"
- update Sphinx configuration, documentation fixes
- make Sphinx optional in setup.py not to break package builds
- support flavors in aggregatepac
- check if repos provided to aggregatepac command exist
- several coding style fixes
- 0.178.0
- EXPERIMENTAL: git repository handling
* init command is working inside of a git repository
* downloadassets command fetches references assets from build description
* checkout is cloning from git
- EXPERIMENTAL: signature (ssh key) authetication
* allow to configure 'sshkey' option in the config
* try to guess ssh key from the keys added to ssh-agent
* rename OscHTTPBasicAuthHandler to OscHTTPAuthHandler
* simplify bad auth retry workaround needed for old python versions
- add support for building preinstall images
- add support for building Helm charts
- show the md5s that are failing to validate after fetching a package
- add missing space to copypac completion
- never require login in the help command
- linkdiff: raise an exception when an added file is missing
- run tests via calling 'setup.py test'
- several coding style fixes
- spec file:
- run tests via calling 'setup.py test'
- disabled tests in debian.rules
- 0.177.0
* switch to python3 in osc-wrapper and make python3 explicit
* allow formatting of the sccache uri
* show repository state and details
* a few minor fixes and improvements in credentials handling
* order credential managers by priority
* kernel keyring is now supported as credential manager
* support regex based name filtering in core.get_prj_results()
* revision parsing parseRevisionOption(): cleanup and make logic consistent
* use sr_ids[0] for superseding (fixes issues with superseding requests
containing many packages
* download logs and metadata in subdirs named by packages when osc getbinaries
is issued on project level or in multibuild case
- spec file:
* recommed python-keyring-keyutils for new kernel keyring backend
- 0.176.0
* add -F option to osc submitreq
* add --verbose option to build command
* fix getbinaries command to fetch also multibuild packages
* fix getbinaries -M/--multibuild-package option usage
* skip fetching metadata and logs in the getbinaries command
* do not download a bdep with a hdrmd5 from the api by default
* re-download file from API when hdrmd5 doesn't match
* honor --download-api-only option
* remove Windows from the supported operating systems
* fix license in setup.py
* add py3.10 and py3.11 to the classifiers in setup.py
* use the latest version of COPYING file from gnu.org
* fix crash on terminal resize during download
* do not fail with a traceback in case of a config error
* preserve oscrc symlink when writing conf file
* escape % character in binary download URLs
* fix printing paths to built debian packages
- 0.175.1:
* Modified SPEC file to be more compatible with KOJI and COPR.
** Modified SPEC file to use python3 for CentOS/RHEL 7
** Modified SPEC file use fedora/rhel version macros.
** Changed perl to sed in %install section of SPEC file.
- 0.175.0:
* do not crash when running "osc search --binary --verbose foo"
* don't run source services when building outside of an OSC package working copy
* fix XDG_CONFIG_HOME
* offer a force ("f") choice in metafile.edit's error handling code path
* fix XPath used in search requests
* add support for creating a workflow token via "osc token"
* handle missing os.sysconf more gracefully
* detachbranch: remove _link when link target got removed
* improve error message in case of an URLError
* fix downloading from mirrors
* avoid sending entire projects on "osc mr"
* fix hdmrd5 check of local cached files
* improve logic for conffile mode handling

- 0.174.0:
* fix password deletion via "osc config -d pass"
* support changing the password store via "osc config
--select-password-store")
* support slash syntax in osc browse ("osc browse prj/pkg" is equivalent to
"osc browse prj pkg")
* fix the commit of a frozen package wc
* fix local product builds using obsrepositories:/ directives
* print a meaningful message when trying to a commit a non-existent package
- force Mageia >= 8 builds to python3; python2 is deprecated in Mageia 8 and up.
- 0.173.0:
* add showlinked command to show all references of packages linking to a given one
* add build --shell-after-build flag. It can also be set via .oscrc.
* add build --stage flag. Useful for example for fixing file lists and just
running the install section to see the result of it (use --stage=i=).
Check the help for more details.
* allow to run build script as non-root, by setting su-wrapper empty
=> osc is not guessing anymore if user builds are wanted
* add support for cross arch local build using a sysroot
* support slash notation in "osc creq -a args"
* add "--force" option to the "osc add" command (can be used to override
the exclude_glob config option)
* support the commit of arbitrary sized files
* add support for sccache
- Install macros.osc to %{_rpmmacrodir}, not to /etc/rpm.
- reformat spec with a recent version of the obs-service-format_spec_file
service
- 0.172.0:
* support --lastsucceeded/--last-succeeded in "osc buildlog", "osc
remotebuildlog" + friends (perform the corresponding operation on
the build log of the last successful build)
* fix pypi deployment via Travis CI
* several fixes in request related code paths (no double html_escape
of a request's description etc.)
* support local builds in a systemd-nspawn container
* fix potential TypeErrors+UnicodeEncodeErrors in the util.cpio and
util.ar modules
* support local flatpak builds (requires a recent build version)
* "osc init " works for a non-existent (server-side) project
* .old dir support for source services so that some services have access
to the results of a previous service run
- 0.171.1
* maintainer search: lookup via package name by default and binary as fallback
* fix crash on console resize when downloading files during build
* add proper repourls to osc reporuls
* new command osc releaserequest: This command is used to transfer sources and  
   binaries without rebuilding them.
    It requires defined release targets set to trigger="manual".
* some improvements on output of help and error messages
- 0.170.0
* fix code for python3.8 and python3.9
* remove dead code
* fix tests
* don't use chardet to guess encoding. utf-8 or latin-1 is now assumed
This will speed up decoding (bsc#1173926)
* escape sequences are interpreted correctly on -m
osc sr -m "1st line\n2nd line"
results in
1st line
2nd line
* add status filter to osc results
* add --brief to osc prjresults
Gives:
build openSUSE_Leap_15.1 x86_64 succeeded
build openSUSE_Leap_15.0 x86_64 succeeded
build openSUSE_Leap_15.0 armv7l unresolvable
build openSUSE_Factory_ARM armv7l succeeded
build openSUSE_Factory_ARM aarch64 succeeded
* osc prjresults -s : status can now be the long text like "succeeded", "failed"
* improve error message if osc service is not run in working directory
* web links are now also printed for osc mr when print_web_links=1 is set
- Spec:
* re-enable test suite
- Really fix path for fish completion file to
/usr/share/fish/vendor_completions.d and fix its permissions.
- 0.169.1
* add --ccache option to osc getbinaries
- 0.169.0
* improve speed and usability of osc bash completion
* switch packagequery.py to return only bytes
* improved some error messages
* osc add: support git@ (private github) or git:// URLs correctly
* split dependson and whatdependson commands
* support for osc build --shell-cmd
* Fix kiwi build with --prefer-pkgs
* add pkg-ccache support for osc build
* fix security issue (bsc#1122675, CVE-2019-3681) do not allow '/' in filename
- 0.168.2
* use helper method _html_escape to enable python3.8 and python2.*
compatibility (boo#1166537)
- Fix support for python38, osc#763
- Spec: temporary disable tests as they explode under python 3.8
* Needs to compare xml using testtools.matchers.MatchesStructure
- Spec:
* fix destination of fish completion file to /usr/share/fish/vendor_completions.d
- 0.168.0
* MR creation honors orev now (bsc#1160446)
* allow "osc r --vertical" for projects
* several typo fixes
* cleanup old functions and remove python2.6 compat code
* support zstd arch linux files in local build
* fix deleterequest for repositories
* append --norootforbuild as default to build command
* fix decoding in interactive request mode
* use signdummy for product builds
* print release project when creating MR
* improve SSLError message for TLSv1 validation
* osc maintained --version prints the version of each maintained package
* print web url links after creating requests (New general bool option 'print_web_links' must be set in oscrc)
* fix checkout_no_colon on project level
* handle empty release number of rpm packages in build.py
* handle bytes vs. str error when parsing meta
* custom exception if importing m2crypto fails
* fix missing oscerr import in util.helper
* several fixes for keyring handling
* fix arch zst magic in util.packagequery
- Ship fish completion file.
- Spec:
* Recommend python3-keyring when using python3
- 0.167.2
* fix regression in osc chroot
* fix broken importsrcpkg


Daniel Mach's avatar
author source maintainer target maintainer

The changelog is back, but only the entries from 2020 and newer. I hope it's sufficient.

I think it makes sense to get rid of some old entries when releasing a new major version. Also, please note that rpmbuild and createrepo_c are configured to use only relatively new entries, IIRC only those that aren't older than 2 years. You can compare the changelog with what you get by calling rpm -q osc --changelog


Dirk Mueller's avatar

I am not sure we ever truncated the *.changes file before. as you rightfully pointed out, its not a user issue, so why are you cutting the history for developers?

Request History
Daniel Mach's avatar

dmach created request

- Update to 1.0.0 (full changelog to the latest stable version 0.182.0)
- Command-line:
- Use '.' as a wildcard that resolves to a project or a package name from the current working copy, for example 'osc rdiff ./. -c '
- Add 'create-pbuild-config' (cpc) command
- Add '--disable-build' option to the 'branch' command
- Add '--disable-build' option to the 'linkpac' command
- Add '-X/--extra-pkgs-from' option to the 'build' command
- Add '--add' option to the 'meta' command that appends new values to the existing values
- Replace '-q/--hide-legend' option in 'prjresults' command with global '-q/--quiet' option
- Replace '--debug' option in the 'getbinaries' command with '--debuginfo' to avoid conflicts with the global '--debug'
- Replace '--verbose' option in the 'build' command with '--verbose-mode' to avoid conflicts with the global '--verbose'
- Replace '--version' option with 'version' command
- Enable forwarding requests to the parent projects in 'rq list -i' and 'sr accept' commands
- Make use of '-M/--multibuild' option consistent across the commands
- Enhance '--force' option in the 'commit' command to allow deleting packages even if other packages depend on them
- Print URLs and xpaths in the debug rather than the verbose mode
- Fix 'add' command for github /archive/ URLs
- Fix 'buildhistory' command to produce proper output using build_table() and a CSV writer
- Fix 'linkpac' command to avoid copying a lock from a locked package to the target package
- Fix 'setlinkrev' command to write a log message on setting a revision
- Fix 'submitrequest' command not to error out on using an alias to apiurl
- Fix 'update' command on project level for scm packages
- Fix '--mine' option in the 'request' command to show only requests created by the user
- Fix the documentation url in the 'maintenancerequest' and 'createincident' commands
- Remove '--skip-validation' option from the 'commit' command
- Remove '--oldpkg', '--oldprj' options from the 'rdiff' command
- Remove 'create', 'list', 'log', 'show', 'decline', 'accept', 'delete', 'revoke' subcommands from the 'submitrequest' command
- Remove '--seperate-requests' option from the 'submitrequest' command
- Remove '--raw' option from the 'develproject' command
- Remove '--maintained' option from the 'search' command
- Remove 'deleteprj' command
- Remove 'deletepac' command
- Remove 'editmeta' command
- Remove 'results_meta' command
- Remove 'rlog' command
- Remove 'rprjresults' command
- Remove 'rresults' command
- Configuration:
- Add 'project_separator' config option
- Add 'disable_hdrmd5_check' config option to ignore hdrmd5 mismatches
- Remove 'plaintext_passwd' config option
- Library:
- Add Store class that will replace store_{read,write}* functions
- Remove 'GnomeKeyringCredentialsManager' and related code
- Remove Request.get_creator() method
- Replace unmaintained cmdln.py with a custom code based on argparse
- Replace core.findpacs() with Package.from_paths() and Package.from_paths_nofail()
- Drop Python 2 support, Python 3.6 is the lowest supported version
- Code cleanups, following PEP 8 and the latest best practices now
- Improve handling of hdrmd5 mismatches
- Handle uncompressed Debian packages
- Replace arbitrary XML escaping code with xml_escape()
- Fix race condition in using .old directory in Serviceinfo.execute()
- Fix manual run of source service
- Connection:
- Switch http_request() to urllib3 and cryptography (drop M2Crypto dependency)
- Warn when using HTTP connection, make HTTPS the default
- Send HTTP header Accept: application/xml
- Wait between retries
- Authentication:
- Support signature (ssh) auth including ssh-agent forwarding
- Lock cookiejar to prevent unnecessary signature auth by waiting for a session cookie
- Print user and apiurl when prompting for a password
- Fix a crash when deleting a password
- Known issues:
- Commandline option values cannot start with '-', for example: osc build -x -vim
Background: This is a limitation of underlying Python's argparse
How to fix: Use '=' to join the option with its value: osc build -x=-vim
URL: https://github.com/openSUSE/osc/issues/1227
- Commandline positional arguments no longer recognize '/' as a universal argument separator
Background: This is an attempt to bring some consistency into argument parsing, reducing number of separators and value combinations
How to fix: Separate / from / with a space
URL: https://github.com/openSUSE/osc/issues/1272
- 1.0.0
- Revert "Remove the '-A' option from the 'maintainer' command"
- core.get_request_list: Remove deprecation warning
- meta attribute: Add --add option to append values to the existing list
- Replace arbitrary XML escaping code with xml_escape()
- build: New option 'disable_hdrmd5_check' to ignore hdrmd5 mismatches
- commit: Pass --force down to delete_package
- 1.0.0b5
- rq list: Fix a traceback when --type is not specified
- core.checkout_package(): Use pathlib.Path
- connection: Retry all, not just default allowed methods
- connection: Wait between retries
- 1.0.0b4
- Fix regressions to osc 0.x:
- mv: Fix traceback due to missing target file name
- rm: Fix creating a Package object by providing multiple files on the command line
- copypac: Fix downgrading a package to an old revision
- buildhist: Fix running from a package checkout
- rebuild: Fix running from a package checkout
- rdiff: Fix traceback when new project is not specified
- rq list: Fix passing values of the --type option
- build: Fix reading extra-pkgs from oscrc
- Support withfullhistory in osc.core.get_request_list again
- Fix osc.get_request_list ignoring the req_type parameter
- Revert "Do not list declined requests by default"
- connection: Mute the "Converted retries value" debug message
- connection: Fix traceback on loading an invalid cookiejar file
- connection: Save cookiejar only when there's a Set-Cookie header in the response
- Add oscerr.ProjectError class needed by core.delete_project()
- Fix all errors reported by pylint
- spec file:
- drop upstreamed patches:
- 1217.patch
- 1228.patch
- Recommend python3-distro - needed for setting the default editor by distro
- add 1228.patch to fix regressions in get_request_list
- add 1217.patch to fix correct variable (prj instead of project)
1.0.0b3
- add create-pbuild-config (cpc) command which allows to create a working
config for pbuild tool based on OBS server side data
- branch: Add --disable-build option
- linkpac: Add --disable-build option
- linkpac: Fix linking a locked package by not copying the lock to the target package
- sr: Do not error out on using an alias to apiurl
- rq: Fix the -M/--mine option to show only requests created by the user
- rq list: Avoid conflict between --all and --state options
- rq list: Fix traceback when there's no search criteria
- rq list -i: Enable forwarding requests to the parent projects
- rq show: Improve output
- sr accept: Enable forwarding requests to the parent projects
- setlinkrev: Write a log message on setting a revision
- buildhistory: Produce proper output using build_table() and a CSV writer
- buildinfo: Bring the -d/--debug option back
- build: Bring the --verbose' option back as --verbose-mode=MODE to avoid conflicts with global --verbose
- service: Add verbose option for running local services
- service: Fix manual run of source service
- conf: Avoid crash when deleting a password
- connection: Fix the '9 - review the server certificate' option in cert trust prompt
- Handle uncompressed Debian packages
- Fix osc add for github /archive/ URLs
- Handle empty EDITOR=/PAGER= env variable properly
- Mute ssl/tls deprecation warnings
- Add "--extra-pkgs-from" ("-X") option to osc build.
- Fix a scenario when OBS sends unexpected md5s
- Replace core.findpacs() with Package.from_paths() and Package.from_paths_nofail()
- Always list requests with 'new,review' states by default
- Change get_request_collection() not to list declined requests by default
- Add information about osc vc using the EDITOR envar to the help output
- Improve argument handling in many commands
- Implement Store class handling '.osc' dirs, migrate some code to it
- Code cleanups
- Deprecated:
- core.get_request_list() function
- core.store_write_apiurl() function
- core.store_read_scmurl() function
- core.store_read_apiurl() function
1.0.0b2
- Support ssh-agent forwarding
- ssh auth: Avoid password prompt when using TransientCredentialsManager
- Properly handle missing ssh-keygen and ssh-add
- Add ssh-keygen as a recommends for ssh MFA authentication
- Print user and apiurl when prompting for a password
- Pass apiurl to all auth handlers
- Do not list declined requests by default
- Fix 'osc up' on project level for scm packages
- Lock cookiejar to prevent unnecessary signature auth
- Process input with configurable project separators
- Add project_separator to config file
- Fix race condition in using .old directory in Serviceinfo.execute()
- Send HTTP header Accept: application/xml
- Print URLs and xpaths in debug rather than verbose mode
- Inject no-op print() into http.client when http debugging is off
- Reset "file current position" on errors in HTTP requests
- Create ~/.config/osc/trusted-certs if not exists
- conf: Convert defaults to their expected types
- Document `build` repo selection logic
- Add debug print for REPO (and desc just in case)
- Shortened `build` help and add debug prints
- Replace unmaintained cmdln.py with a custom code
- Allow intermixing positional and optional args
- Add global options to subcommands so they can be specified in any place
- Remove the '-A' option from the 'maintainer' command
- Replace the '-q/--hide-legend' option in 'prjresults' command with global '-q/--quiet' option
- Remove duplicated --debug and --verbose options
- Add version command to print the used version
- Remove deprecated 'plaintext_passwd' config option
- Remove deprecated 'GnomeKeyringCredentialsManager' and related code
- Remove deprecated '--skip-validation' option from the 'commit' command
- Remove deprecated '--oldpkg', '--oldprj' options from the 'rdiff' command
- Remove deprecated subcommands 'create', 'list', 'log', 'show', 'decline', 'accept', 'delete', 'revoke' from the 'submitrequest' command
- Remove deprecated '--seperate-requests' option from the 'submitrequest' command
- Remove deprecated '--raw' option from the 'develproject' command
- Remove deprecated '--maintained' option from the 'search' command
- Remove deprecated 'rlog' command
- Remove deprecated 'rprjresults' command
- Remove deprecated 'rresults' command
- Remove deprecated 'results_meta' command
- Remove deprecated 'deleteprj' command
- Remove deprecated 'deletepac' command
- Remove deprecated 'editmeta' command
- Remove deprecated Request.get_creator()
- Remove PROJ_PACK.txt file, move its content to GitHub issue #1099
- Remove TODO file, move its content to GitHub issue #1098
- Remove fuse support
- Remove unused run_bandit.sh
- Remove obsolete osc_expand_link.pl
- Remove unused icons
- Replace imp with importlib
- Move files from dist/ to contrib/
- Move osc.fish under contrib/
- Move python package metadata from setup.py to setup.cfg
- Move __version__ from osc.core to osc
- Fix resource warnings (unclosed files)
- 1.0.0b1
- drop Python 2 support
- switch http_request() to urllib3 and cryptography (drop M2Crypto dependency)
- warn when using HTTP connection, Make HTTPS the default
- add XDG compatible location for osc plugins
- replace osc-wrapper.py with entry_points.
- core: add functions for glob matching of multibuild flavors
- fix multibuild packages in all osc commands where applicable
- do not ask for login for -h,--help
- move format_table() to util.helper
- code cleanups
- 0.182.0
- fix build on SLE12 / python 2.7
- SSH auth: Fix getallmatchingheaders() output to correspond with headers.get_all()
- send HTTP header Accept: application/xml
- git_version: return version from the source code if there's no matching tag
- spec file:
- Revert to python2 on SLE12
- Recommend openssh for ssh key auth
- Fix M2Crypto package name on SLE12
- Do not build with python3.6 - it does not have libraries
nothing provides python36-M2Crypto > 0.19
nothing provides python36-chardet
- fix building on distros that are not openSUSE or SLE
- build against python3.6 for SLE12 and older
- 0.181.0
- fix crash when 'pass' is not set in the config file
- add missing attributes to Package when scm_url is set
- fix failure to create config in current dir
- update list of considered file names for ssh key autodetection
- allow users to prefer ssh key over password auth
- ssh: recognize gpg keys (yubikey usage)
- fix operating on _project meta
- revert "interpretation of string literals in messages" that broke unicode handling
- fix product build rpm caching
- enable md5 revisions in osc log
- parseRevisionOption(): raise an exception on invalid revisions
- 0.180.0
- warn when trying to commit a prj/pac managed in scm
- fix crash on "osc up" for git based package/projects
- don't traceback on invalid credentials manager
- improve README, rename it to README.md
- declare OscHTTPSignatureAuthHandler as a new-style class
- remove illegal character in comment
- 0.179.0
- signature (ssh key) authetication fixes (RSA key support, skip binary files)
- commandline: handle calls without arguments gracefully
- use percent-quoted url for download url generation
- osc co/up: highlight pending requests' header
- get_results(): fix check for empty details
- another exception for github URLs for "osc add"
- update Sphinx configuration, documentation fixes
- make Sphinx optional in setup.py not to break package builds
- support flavors in aggregatepac
- check if repos provided to aggregatepac command exist
- several coding style fixes
- 0.178.0
- EXPERIMENTAL: git repository handling
* init command is working inside of a git repository
* downloadassets command fetches references assets from build description
* checkout is cloning from git
- EXPERIMENTAL: signature (ssh key) authetication
* allow to configure 'sshkey' option in the config
* try to guess ssh key from the keys added to ssh-agent
* rename OscHTTPBasicAuthHandler to OscHTTPAuthHandler
* simplify bad auth retry workaround needed for old python versions
- add support for building preinstall images
- add support for building Helm charts
- show the md5s that are failing to validate after fetching a package
- add missing space to copypac completion
- never require login in the help command
- linkdiff: raise an exception when an added file is missing
- run tests via calling 'setup.py test'
- several coding style fixes
- spec file:
- run tests via calling 'setup.py test'
- disabled tests in debian.rules
- 0.177.0
* switch to python3 in osc-wrapper and make python3 explicit
* allow formatting of the sccache uri
* show repository state and details
* a few minor fixes and improvements in credentials handling
* order credential managers by priority
* kernel keyring is now supported as credential manager
* support regex based name filtering in core.get_prj_results()
* revision parsing parseRevisionOption(): cleanup and make logic consistent
* use sr_ids[0] for superseding (fixes issues with superseding requests
containing many packages
* download logs and metadata in subdirs named by packages when osc getbinaries
is issued on project level or in multibuild case
- spec file:
* recommed python-keyring-keyutils for new kernel keyring backend
- 0.176.0
* add -F option to osc submitreq
* add --verbose option to build command
* fix getbinaries command to fetch also multibuild packages
* fix getbinaries -M/--multibuild-package option usage
* skip fetching metadata and logs in the getbinaries command
* do not download a bdep with a hdrmd5 from the api by default
* re-download file from API when hdrmd5 doesn't match
* honor --download-api-only option
* remove Windows from the supported operating systems
* fix license in setup.py
* add py3.10 and py3.11 to the classifiers in setup.py
* use the latest version of COPYING file from gnu.org
* fix crash on terminal resize during download
* do not fail with a traceback in case of a config error
* preserve oscrc symlink when writing conf file
* escape % character in binary download URLs
* fix printing paths to built debian packages
- 0.175.1:
* Modified SPEC file to be more compatible with KOJI and COPR.
** Modified SPEC file to use python3 for CentOS/RHEL 7
** Modified SPEC file use fedora/rhel version macros.
** Changed perl to sed in %install section of SPEC file.
- 0.175.0:
* do not crash when running "osc search --binary --verbose foo"
* don't run source services when building outside of an OSC package working copy
* fix XDG_CONFIG_HOME
* offer a force ("f") choice in metafile.edit's error handling code path
* fix XPath used in search requests
* add support for creating a workflow token via "osc token"
* handle missing os.sysconf more gracefully
* detachbranch: remove _link when link target got removed
* improve error message in case of an URLError
* fix downloading from mirrors
* avoid sending entire projects on "osc mr"
* fix hdmrd5 check of local cached files
* improve logic for conffile mode handling

- 0.174.0:
* fix password deletion via "osc config -d pass"
* support changing the password store via "osc config
--select-password-store")
* support slash syntax in osc browse ("osc browse prj/pkg" is equivalent to
"osc browse prj pkg")
* fix the commit of a frozen package wc
* fix local product builds using obsrepositories:/ directives
* print a meaningful message when trying to a commit a non-existent package
- force Mageia >= 8 builds to python3; python2 is deprecated in Mageia 8 and up.
- 0.173.0:
* add showlinked command to show all references of packages linking to a given one
* add build --shell-after-build flag. It can also be set via .oscrc.
* add build --stage flag. Useful for example for fixing file lists and just
running the install section to see the result of it (use --stage=i=).
Check the help for more details.
* allow to run build script as non-root, by setting su-wrapper empty
=> osc is not guessing anymore if user builds are wanted
* add support for cross arch local build using a sysroot
* support slash notation in "osc creq -a args"
* add "--force" option to the "osc add" command (can be used to override
the exclude_glob config option)
* support the commit of arbitrary sized files
* add support for sccache
- Install macros.osc to %{_rpmmacrodir}, not to /etc/rpm.
- reformat spec with a recent version of the obs-service-format_spec_file
service
- 0.172.0:
* support --lastsucceeded/--last-succeeded in "osc buildlog", "osc
remotebuildlog" + friends (perform the corresponding operation on
the build log of the last successful build)
* fix pypi deployment via Travis CI
* several fixes in request related code paths (no double html_escape
of a request's description etc.)
* support local builds in a systemd-nspawn container
* fix potential TypeErrors+UnicodeEncodeErrors in the util.cpio and
util.ar modules
* support local flatpak builds (requires a recent build version)
* "osc init " works for a non-existent (server-side) project
* .old dir support for source services so that some services have access
to the results of a previous service run
- 0.171.1
* maintainer search: lookup via package name by default and binary as fallback
* fix crash on console resize when downloading files during build
* add proper repourls to osc reporuls
* new command osc releaserequest: This command is used to transfer sources and  
   binaries without rebuilding them.
    It requires defined release targets set to trigger="manual".
* some improvements on output of help and error messages
- 0.170.0
* fix code for python3.8 and python3.9
* remove dead code
* fix tests
* don't use chardet to guess encoding. utf-8 or latin-1 is now assumed
This will speed up decoding (bsc#1173926)
* escape sequences are interpreted correctly on -m
osc sr -m "1st line\n2nd line"
results in
1st line
2nd line
* add status filter to osc results
* add --brief to osc prjresults
Gives:
build openSUSE_Leap_15.1 x86_64 succeeded
build openSUSE_Leap_15.0 x86_64 succeeded
build openSUSE_Leap_15.0 armv7l unresolvable
build openSUSE_Factory_ARM armv7l succeeded
build openSUSE_Factory_ARM aarch64 succeeded
* osc prjresults -s : status can now be the long text like "succeeded", "failed"
* improve error message if osc service is not run in working directory
* web links are now also printed for osc mr when print_web_links=1 is set
- Spec:
* re-enable test suite
- Really fix path for fish completion file to
/usr/share/fish/vendor_completions.d and fix its permissions.
- 0.169.1
* add --ccache option to osc getbinaries
- 0.169.0
* improve speed and usability of osc bash completion
* switch packagequery.py to return only bytes
* improved some error messages
* osc add: support git@ (private github) or git:// URLs correctly
* split dependson and whatdependson commands
* support for osc build --shell-cmd
* Fix kiwi build with --prefer-pkgs
* add pkg-ccache support for osc build
* fix security issue (bsc#1122675, CVE-2019-3681) do not allow '/' in filename
- 0.168.2
* use helper method _html_escape to enable python3.8 and python2.*
compatibility (boo#1166537)
- Fix support for python38, osc#763
- Spec: temporary disable tests as they explode under python 3.8
* Needs to compare xml using testtools.matchers.MatchesStructure
- Spec:
* fix destination of fish completion file to /usr/share/fish/vendor_completions.d
- 0.168.0
* MR creation honors orev now (bsc#1160446)
* allow "osc r --vertical" for projects
* several typo fixes
* cleanup old functions and remove python2.6 compat code
* support zstd arch linux files in local build
* fix deleterequest for repositories
* append --norootforbuild as default to build command
* fix decoding in interactive request mode
* use signdummy for product builds
* print release project when creating MR
* improve SSLError message for TLSv1 validation
* osc maintained --version prints the version of each maintained package
* print web url links after creating requests (New general bool option 'print_web_links' must be set in oscrc)
* fix checkout_no_colon on project level
* handle empty release number of rpm packages in build.py
* handle bytes vs. str error when parsing meta
* custom exception if importing m2crypto fails
* fix missing oscerr import in util.helper
* several fixes for keyring handling
* fix arch zst magic in util.packagequery
- Ship fish completion file.
- Spec:
* Recommend python3-keyring when using python3
- 0.167.2
* fix regression in osc chroot
* fix broken importsrcpkg


Dirk Mueller's avatar

dirkmueller declined request

submit with full history of .changes file please


Daniel Mach's avatar

dmach superseded request

- Update to 1.0.0
- Drop debian changelog entries because they weren't updated for a long time without anybody noticing

openSUSE Build Service is sponsored by