1
0
forked from pool/osc
Commit Graph

90 Commits

Author SHA1 Message Date
703de277c1 - Update to 1.0.0
- Drop debian changelog entries because they weren't updated for a long time without anybody noticing
- Simplify _service

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=386
2023-03-16 10:15:19 +00:00
4686485dd8 - 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/package/show/openSUSE:Tools/osc?expand=0&rev=384
2023-02-09 14:42:15 +00:00
977af544fe - 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/package/show/openSUSE:Tools/osc?expand=0&rev=382
2023-02-03 10:53:55 +00:00
84d92eb512 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
b92fe7737f 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
e61248cafb 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
059e03367f 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
56195f3323 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
e44755ca2a 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
c9f1bc334b 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
45b66f493a 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
Ruediger Oertel
80db8002a0 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
017a2a9a5e - 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
Marcus Hüwe
18c76dfa4e - 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
Marcus Hüwe
7d3ecaeda2 - 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
Marcus Hüwe
aff970d7ca - 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
5358b2b507 - 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
0bea6e8185 - 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>: status can now be the long text like "succeeded", "failed"
  * improve error message if osc service <servicename> 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=338
2020-07-09 09:11:52 +00:00
d8c8e66d95 - 0.169.1
* add --ccache option to osc getbinaries

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=336
2020-05-29 18:43:21 +00:00
9948d352f9 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=335
2020-05-28 06:36:08 +00:00
c28dedecf1 - 0.168.2
*  use helper method _html_escape to enable python3.8 and python2.*
     compatibility (boo#1166537)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=333
2020-03-13 06:57:13 +00:00
7fc9112e8f update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=330
2020-03-11 16:14:36 +00:00
b183d163f8 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=324
2020-03-04 15:03:14 +00:00
f2830a7fe8 - 0.167.2
* fix regression in osc chroot
  * fix broken importsrcpkg

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=315
2020-01-07 13:06:27 +00:00
f408e16076 - 0.167.1
- fix cpio fetch error handling
  - support local build using RedHat rpm-md modules
  - fix local build outside of the working copy of a package.
    (fixes boo#1136584)
  - Use the distro module for linux platform detection for
    python3.8 compatibility

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=313
2019-12-10 12:47:02 +00:00
b195a5eb60 osc copypac from project:openSUSE:Tools package:osc revision:1584a277087669bc8dbb23dc1c3de68f, using keep-link
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=312
2019-12-06 13:17:37 +00:00
OBS User buildservice-autocommit
64c4e1bbdd Updating link to change in openSUSE:Factory/osc revision 142.0
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=b7e63ffe05508856fb63d605ea560f66
2019-12-06 09:13:17 +00:00
a626a98e5b - 0.167.0
* Added --lastsucceeded option for logfile display (requires OBS 2.11)
  * osc shell/chroot/wipe is now handled via build script (working for chroot and KVM only atm)
  * osc build/shell features:
    - --vm-type=qemu support for cross architecture builds
    - additional debug packages are read from build config now
      (extra-pkgs definition is therefore by default empty now)
    - --vm-disk-size=  switch supported (has only an effect on clean builds)
    - repository, architecture and vm_type from last build is automatically
      reused if not specified otherwise.
    - support building for kiwi products using obsrepositories:/
  * fix decoding for osc aggregatepac
- added Conflicts: build < 20191205. The new osc shell/chroot features might
  not work with older build scripts
- removed version dpendency for Recommends: build. Does not work anyway.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=307
2019-12-05 10:00:34 +00:00
fce65d5f11 - 0.166.2
* Don't enforce password reuse (boo#1156501)
  * Config option check_for_requests_on_action is now
    activated by default.
    Use check_for_request_on_action = 0 in oscrc to
    disable it
  * osc vc --file=foo bar.changes now writes the content
    from foo into bar.changes instead of creating a new file
    (boo#1155953)
  * fix output for missing pubkey when using http_debug=1 on
    osc build
  * fix crash of osc linkpac when there is already a _link

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=305
2019-11-13 12:10:04 +00:00
8e99bfb145 - 0.166.1
* emergency fix for credentials handling:
      - in case of an old passx entry in oscrc
        osc did not work at all. Now we check in
        the compat code if we have an passx entry.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=303
2019-10-29 10:24:27 +00:00
ab4000e0a6 Accepting request 743489 from home:mstrigl:branches:openSUSE:Tools
- 0.166.0 (boo#1154972)
  * New password handling backend. Supported password stores:
      - Plaintext password
      - Obfuscated password
      - python-keyring (kwallet, secret store)
      - gnome-keyring
      - no store at all (ask for the password every time
  * Refactor initial setup of osc (to select password store)
  * fix decoding on osc lbl (boo#1137477)
  * fix breakage of submitting complete branches back as an
    submit request that contain packages without a change.
  * fix error with plugins and osc -h
  * various decoding improvements
  * Transfer the name of the input file to vc instead of the content
    (obs-build/vc will do the rest and open the file).
  * support appimage builds
  * new command browse. (opens a browser opening the project or package)
  * new option --incoming for osc rq and osc review to only show only
    incoming reqeusts for a project.
- new Recommends for xdg-utils. osc-browse uses xdg-open to open
  the url to the project/package in an internet browser

OBS-URL: https://build.opensuse.org/request/show/743489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=301
2019-10-28 12:57:07 +00:00
1eecdfa076 - 0.165.4 (boo#1144211)
* allow optional fork when creating a maintenance request
   * fix RPMError fallback
   * fix local caching for all package formats
   * fix appname for trusted cert store
   * osc -h does not break anymore when using plugins

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=298
2019-08-05 06:55:44 +00:00
9e924d9d62 - 0.165.3 (boo#1142662)
* switch to difflib.diff_bytes and sys.stdout.buffer.write for diffing.
      This will fix all decoding issues with osc diff, osc ci and osc rq -d
    * fix osc ls -lb handling empty size and mtime
    * removed decoding on osc api command.
    * fixed broken TLS certificate handling (boo#1142518, CVE-2019-3685)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=296
2019-07-24 13:23:58 +00:00
95a6683f8e - 0.165.2 (boo#1140697)
* support different token operations (runservice, release and rebuild) (requires OBS 2.10)
    * fix osc token decode error
    * offline build mode is now really offline and does not try to download the buildconfig
    * osc build -define now works with python3
    * some spelling fixes
    * properly parse the error message on osc meta -e
    * osc maintainer -s now works with python3
    * simplified and fixed osc meta -e
    * osc lbl now works with non utf8 encoding (boo#1129889)
    * add simpleimage as local build type

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=293
2019-07-08 11:25:49 +00:00
8ae9303e7b - 0.165.1
* fix oscssl "urldefrag is not defined error"
    * osc release command now python3 compatible
    * add more decode logic in get_commitlog
    * osc add <dir> in compressed mode now works with python3
    * osc getbinaries now prints the output instead of
      using the quiet mode as a default

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=286
2019-05-20 06:49:45 +00:00
d8822885e7 Accepting request 695702 from home:mstrigl:branches:openSUSE:Tools
- 0.165.0
    * full python3 compatibility (bsc#1125243)
        fixes bsc#1131512, bsc#1129889, bsc#1129757
    * removed following patches (now upstream):
        001_helper.patch
        002_man_page_building.patch
        003_setup.patch 
        004_babysitter.patch
        005_oscssl.patch
        006_build.patch
        007_core.patch
        008_commandline.patch
        009_fetch.patch
        010_fix-decoding_in_canonname.patch
        011_repodata.patch
        012_packagequery.patch
- spec file modifications:
    * noarch only on non-SUSE distros and newer SUSE Versions > 11
    * disable testsuite on older SUSE Versions (unittest module too old)

- moved Recommends for diffstat to suse specific section. 

- added Buildrequires and Requires for python-chardet
    * needed for determining the encoding of objects (Requires)
    * needed also for testing in %check section (BuildRequires) 

- activate tests for osc
- add Buildrequires and Recommends for diffstat
    osc prdiff --diffstat needs it
    The testsuite needs it (Therefore the BuildRequires

OBS-URL: https://build.opensuse.org/request/show/695702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=281
2019-04-22 12:19:59 +00:00
296235fe64 - 0.164.2
- deleterequest for entire projects needs the --all option as additional protection
  - rewrite packagequery to support python3
  - rewrite oscerr module to support python3
  - rewrite archqeury and debquery to support python3
  - Export vc env vars when running a source service

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=279
2019-02-12 08:20:16 +00:00
Marcus Hüwe
d9d8f8ecf9 Accepting request 666488 from home:mstrigl:branches:openSUSE:Tools
- 0.164.1
  - rewrite cpio handling to support python3
  - rewrite ar module to support python3
  - enable fetch module to support python3
  - rework progressbar hanlding (if module is not present)
  - improve os_path_samefile in core.py

OBS-URL: https://build.opensuse.org/request/show/666488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=276
2019-01-16 14:44:18 +00:00
Lars Vogdt
56da657c00 Accepting request 664116 from home:mstrigl:branches:openSUSE:Tools
- 0.164.0
  - add support for approved requests (requires OBS 2.10)
  - fix various multibuild problems
  - improved and fixed various help texts
  - check constraints without local checkout
  - check out deleted sources (osc co -D)
  - replace urlgrabber module with own module
  - use progressbar module instead of urlgrabber to draw
    progress bars
  - show buildinfo for alternative projects (--alternative-project)
  - run release job immediately (osc release --no-delay)
  - build results on project level can now be watched (osc prjresults --watch)
- removed python-urlgrabber requieres. (Not used with 0.164.0)
- added recommends for python[2]-progressbar

OBS-URL: https://build.opensuse.org/request/show/664116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=275
2019-01-11 16:53:07 +00:00
953833f3fc update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=269
2018-08-20 11:21:15 +00:00
a66fa68b8a - 0.162.1
- Send sha256 hashes for tracked files if the wc is pulled/linkrepair

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=262
2017-12-05 13:42:18 +00:00
fb1e5d564d 0.162.0
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=260
2017-11-28 14:14:51 +00:00
15e3a9ea07 - 0.161.1
- Fix python 2.6 SyntaxError (multiple context expressions)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=257
2017-10-26 12:42:31 +00:00
4f83f5953f - 0.161
- show lintlogs in interactive request review mode
  - fix potential shell injections
  - allow multiple --repo and --arch options in prjresults
  - cleanup babysitter.by
  - supersede existing requests if --yes is passed to osc sr
  - prepend request summary to diff in interactive mode
  - show issues(bugs) in interactive diff mode

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=256
2017-10-26 11:47:10 +00:00
b4067fde3f update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=252
2017-09-22 07:07:56 +00:00
fd18b3bec4 version update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=248
2017-07-18 22:50:14 +00:00
757feac73e - 0.158.0
- cat/less/blame command: default to expand to stay in sync with checkout
  - add support for highly experimental native appimage.yml support
  - show package status when repository configuration is broken
  - add '--blame' option to osc meta command
  - try to autodetect local package when running 'osc build'
  - comment requests in interactive mode
  - fix github issue #236 (--no-cleanup not working)
  - fix wipebinaries to prevent wiping of complete repository
  - add '--build-opt' to osc build command
  - fix requests codebase to fit old obs versions

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=241
2017-05-09 07:56:45 +00:00
21beb4c91c - 0.157.2
- add compat code for older apis that do not support multibuild
  - fix ssl.connection instantiation in case of old M2Crypto
  - highly experimental support for appimage
  - fix local service run for non-existent (server-side) package

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=238
2017-03-21 12:51:52 +00:00
3481dec559 - 0.157.1
- fix local build of kiwi images using obsrepositories://

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=236
2017-03-08 12:17:40 +00:00
2046c5ec41 - 0.157
- add unpublish command (requires OBS 2.8)
  - add blame command (requires OBS 2.9)
  - results: show multibuild results by default
  - getbinaries: make .AppImage files executable
  - support operation in checked out package for cat/less/blame
  - add comment command
  - improved build recipe selection
  - added multibuild (-M) to commands:
          buildlog, remotebuildlog, buildinfo, build, buildhistory, jobhistory,
          rebuild, restartbuild/abortbuild, wipebinaries, getbinaries
  - add checkconstraints command
  - add workerinfo command

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=235
2017-03-08 09:11:35 +00:00