Commit Graph

416 Commits

Author SHA256 Message Date
Dominique Leuenberger
c179dce91c Accepting request 1064026 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1064026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=171
2023-02-09 15:23:42 +00:00
9c3a1880a3 Accepting request 1064021 from home:dmach:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/1064021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=384
2023-02-09 14:42:15 +00:00
Dominique Leuenberger
7819b8a3b7 Accepting request 1063021 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1063021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=170
2023-02-03 21:05:58 +00:00
c732089724 Accepting request 1063014 from home:dmach:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/1063014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=382
2023-02-03 10:53:55 +00:00
Dominique Leuenberger
b2d4433e8d Accepting request 1060883 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1060883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=169
2023-01-25 16:44:18 +00:00
2822cce090 Accepting request 1060881 from home:dirkmueller:Factory
- add 1217.patch to fix correct variable (prj instead of project)

OBS-URL: https://build.opensuse.org/request/show/1060881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=380
2023-01-25 12:54:03 +00:00
05bc771cef Accepting request 1060873 from home:dirkmueller:Factory
- add 1228.patch to fix regressions in get_request_list

OBS-URL: https://build.opensuse.org/request/show/1060873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=379
2023-01-25 12:28:21 +00:00
Dominique Leuenberger
d71e104f11 Accepting request 1059402 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1059402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=168
2023-01-18 16:11:31 +00:00
2e49a3b5cb Accepting request 1059396 from home:dmach:branches:openSUSE:Tools
Remove unused debian files.

OBS-URL: https://build.opensuse.org/request/show/1059396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=377
2023-01-18 14:46:12 +00:00
837721237b Accepting request 1058838 from home:dmach:branches:openSUSE:Tools
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

OBS-URL: https://build.opensuse.org/request/show/1058838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=376
2023-01-18 11:09:07 +00:00
Dominique Leuenberger
c391cc043d Accepting request 1010442 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1010442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=167
2022-10-14 13:41:54 +00:00
a56c7d992d Accepting request 1007205 from home:michals
- 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

OBS-URL: https://build.opensuse.org/request/show/1007205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=374
2022-10-13 08:48:47 +00:00
Dominique Leuenberger
873927ce4b Accepting request 1004901 from openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/1004901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=166
2022-09-20 17:24:00 +00:00
133d973631 Accepting request 1004711 from home:dmach:branches:openSUSE:Tools
Fix version in the spec file to 0.182.0

OBS-URL: https://build.opensuse.org/request/show/1004711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=372
2022-09-20 07:17:19 +00:00
fb37ef4c51 Accepting request 1001908 from home:dmach:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/1001908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=371
2022-09-09 06:54:28 +00:00
Dominique Leuenberger
444f38453d Accepting request 994530 from openSUSE:Tools
- fix building on distros that are not openSUSE or SLE
- build against python3.6 for SLE12 and older

OBS-URL: https://build.opensuse.org/request/show/994530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=165
2022-08-11 16:32:53 +00:00
6cea7d1951 Accepting request 994527 from home:dmach:branches:openSUSE:Tools
- fix building on distros that are not openSUSE or SLE

OBS-URL: https://build.opensuse.org/request/show/994527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=369
2022-08-11 12:58:08 +00:00
7c4397e1f8 Accepting request 992721 from home:dirkmueller:Factory
- build against python3.6 for SLE12 and older

OBS-URL: https://build.opensuse.org/request/show/992721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=368
2022-08-08 14:06:17 +00:00
Richard Brown
cda0663b5e Accepting request 991675 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/991675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=164
2022-07-29 14:48:20 +00:00
89a3ac3203 Accepting request 991346 from home:dmach:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/991346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=366
2022-07-29 08:12:44 +00:00
Dominique Leuenberger
bbe135d287 Accepting request 984912 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/984912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=163
2022-06-25 08:24:28 +00:00
71243cb9f2 Accepting request 984911 from home:dmach:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/984911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=364
2022-06-24 14:36:44 +00:00
Dominique Leuenberger
83c2b84f75 Accepting request 980576 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/980576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=162
2022-06-03 12:16:51 +00:00
d815eb4aaf Accepting request 980526 from home:dmach:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/980526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=362
2022-06-03 06:13:42 +00:00
Dominique Leuenberger
9fe79127f8 Accepting request 980016 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/980016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=161
2022-05-31 13:47:42 +00:00
27f0f35d98 Accepting request 979843 from home:dmach:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/979843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=360
2022-05-31 07:07:16 +00:00
Dominique Leuenberger
518dd3bb18 Accepting request 973067 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/973067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=160
2022-04-27 19:41:20 +00:00
d3738ee0d3 Accepting request 972884 from home:mstrigl
- 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

OBS-URL: https://build.opensuse.org/request/show/972884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=358
2022-04-27 09:16:21 +00:00
Dominique Leuenberger
805125548f Accepting request 958420 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/958420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=159
2022-03-02 17:20:31 +00:00
0b863708ee Accepting request 958111 from home:dmach:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/958111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=357
2022-03-02 10:07:36 +00:00
49d6d0cd4c Accepting request 956576 from home:matthewdva:branches:openSUSE:Tools
Fedora and EPEL provide osc in their respective repositories.  However OSC is built with a custom SPEC file.  The goal of these changes is bring the packaging of OSC closer in both build systems.  

If these changes are accepted, I plan to also submit the changes to Fedora.
  * 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.
        Removes  PERL as an unofficial build dependence.  EPEL-9 build roots in MOCK may not include PERL

OBS-URL: https://build.opensuse.org/request/show/956576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=356
2022-02-28 15:53:40 +00:00
Ruediger Oertel
eda1e5c926 change git protocol in _service to https
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=355
2022-01-12 12:43:09 +00:00
Dominique Leuenberger
66acda5321 Accepting request 935127 from openSUSE:Tools
- 0.175.0 (jsc#obs-167):
  * 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

OBS-URL: https://build.opensuse.org/request/show/935127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=158
2021-12-02 21:30:18 +00:00
aa1a6b35a9 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=354
2021-12-02 08:21:59 +00:00
Dominique Leuenberger
6567f19d23 Accepting request 907452 from openSUSE:Tools
- 0.174.0:
  * fix password deletion via "osc config -d <apiurl> pass"
  * support changing the password store via "osc config <apiurl>
    --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

OBS-URL: https://build.opensuse.org/request/show/907452
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=157
2021-07-21 17:06:36 +00:00
Marcus Hüwe
24d7ff64ce - 0.174.0:
* fix password deletion via "osc config -d <apiurl> pass"
  * support changing the password store via "osc config <apiurl>
    --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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=353
2021-07-21 08:59:16 +00:00
Dominique Leuenberger
06ada6c869 Accepting request 904279 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/904279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=156
2021-07-06 21:30:31 +00:00
Marcus Hüwe
2d18511969 Accepting request 900818 from home:tarakbumba:branches:openSUSE:Tools
- force Mageia >= 8 builds to python3; python2 is deprecated in Mageia 8 and up.
- fixed osc.changes file

OBS-URL: https://build.opensuse.org/request/show/900818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=352
2021-07-05 20:11:44 +00:00
Dominique Leuenberger
1bb8c2e70a Accepting request 894195 from openSUSE:Tools
- 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 <action type> 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

OBS-URL: https://build.opensuse.org/request/show/894195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=155
2021-05-19 15:49:22 +00:00
Marcus Hüwe
096a787c63 - 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 <action type> 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=350
2021-05-18 20:59:43 +00:00
Dominique Leuenberger
fe469b6c07 Accepting request 892208 from openSUSE:Tools
- Install macros.osc to %{_rpmmacrodir}, not to /etc/rpm.

Now with compat code so it does not break on SLE12 (forwarded request 892030 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/892208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=154
2021-05-11 21:04:16 +00:00
Marcus Hüwe
2c4bd2e66d Accepting request 892030 from home:dimstar:Factory
- Install macros.osc to %{_rpmmacrodir}, not to /etc/rpm.

Now with compat code so it does not break on SLE12

OBS-URL: https://build.opensuse.org/request/show/892030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=348
2021-05-11 09:56:32 +00:00
Dominique Leuenberger
1b3e6a2273 Accepting request 867257 from openSUSE:Tools
- 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 <prj>" works for a non-existent (server-side) project <prj>
  * .old dir support for source services so that some services have access
    to the results of a previous service run

OBS-URL: https://build.opensuse.org/request/show/867257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=153
2021-01-27 18:02:46 +00:00
Marcus Hüwe
31577e2edd - reformat spec with a recent version of the obs-service-format_spec_file
service

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=346
2021-01-27 16:42:25 +00:00
Marcus Hüwe
4071d731bc - 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 <prj>" works for a non-existent (server-side) project <prj>
  * .old dir support for source services so that some services have access
    to the results of a previous service run

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=345
2021-01-27 13:36:56 +00:00
Stephan Kulow
daf3b42a43 Accepting request 861420 from home:nickbrown:branches:openSUSE:Tools
Fixes https://github.com/openSUSE/osc/issues/888

Ultimately debtransform needs updated to cope requirements more recent versions of dpkg.
(It's weird that .dsc files is needed as well as debian.control, from which is it's generated. It would be far better if OBS could do it dependencies/build using debian.control and .dsc could be omitted. But that's a separate issue)

OBS-URL: https://build.opensuse.org/request/show/861420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=344
2021-01-20 09:00:34 +00:00
Dominique Leuenberger
5ce1c96bee Accepting request 847545 from openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/847545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=152
2020-11-11 19:46:27 +00:00
e01d73b22d - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=342
2020-11-10 16:29:23 +00:00
Dominique Leuenberger
d3753f9ab4 Accepting request 822844 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/822844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=151
2020-07-27 15:43:24 +00:00
Lars Vogdt
eb2cf99cda Accepting request 818321 from home:fcrozat:branches:openSUSE:Tools
- Really fix path for fish completion file to 
  /usr/share/fish/vendor_completions.d and fix its permissions.

OBS-URL: https://build.opensuse.org/request/show/818321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=340
2020-07-26 08:04:18 +00:00