Commit Graph

100 Commits

Author SHA256 Message Date
db844b2871 - 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
a3913b00be - 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
b214f02125 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=330
2020-03-11 16:14:36 +00:00
096bc404d6 - 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
67d707fb95 Accepting request 771059 from home:nickbrown:osc_debian_files
Updated this Debian package to package osc for python3. This means support for Debian 7 and older, Ubuntu 13.04 and older are dropped, but these are all EOL (Ubuntu 14.04 is the oldest LTS release). But it adds supports for Ubuntu Next and Debian Test which both remove python2 support by default.
This should resolve https://github.com/openSUSE/osc/issues/575

OBS-URL: https://build.opensuse.org/request/show/771059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=318
2020-02-07 12:37:52 +00:00
5ce647bc60 - 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
26e962feaa - 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
973203db39 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
188b099619 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
af1f593ead - 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
d452b96b2a - 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
e0ae99e21b - 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
955c50b282 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
2b642692d9 - 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
4671b75744 - 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
9e2eb5d961 - 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
890d002ffe - 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
7d89656a0e - osc-0.165.0.tar.gz now contains the correct version (tag 0.165.0)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=284
2019-04-24 11:21:14 +00:00
6dbeae2852 - 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
82d203330d 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
fa8e69e763 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
929f774bcb update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=269
2018-08-20 11:21:15 +00:00
2def194cc8 - 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
31880b96b3 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
3f7e2d7cc6 Accepting request 537836 from home:bluca:branches:openSUSE:Tools
Fix version in osc.dsc and debian.changelog - use native version rather than non-native to differentiate with packages from the Debian archive. Also fix debian.changelog style.

OBS-URL: https://build.opensuse.org/request/show/537836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=259
2017-11-08 10:37:23 +00:00
6e6b4b3b9a - 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
0cb195f62e - 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
ca28702493 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=252
2017-09-22 07:07:56 +00:00
36b524074d 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
7fc63e048d - 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
74620c4504 - 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
69fe003334 - 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
b68ac4116b - 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
9c1ed21986 - 0.156.0
- highlight scheduled jobs with dispatch problems (due to constraints)
  - allow to specify a log message in lock command
  - Add '--wipe' option to osc chroot for deleting buildroots
  - Add '--vm-memory' option to osc build
  - add --multibuild to results command for showing all packages
    of a multibuild config
  - add --multibuild-package option to results command for showing
    only one package of the multibuild config

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=233
2016-12-19 13:53:34 +00:00
Marcus Hüwe
7f25c1e172 Accepting request 437448 from home:nickbrown:branches:openSUSE:Tools
Install bash completion in the debian package

OBS-URL: https://build.opensuse.org/request/show/437448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=231
2016-10-27 13:48:01 +00:00
5a3a13d037 fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=225
2016-09-15 11:28:59 +00:00
58f17b6a2f update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=223
2016-07-29 14:06:54 +00:00
3cacd74523 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=213
2016-04-11 08:52:00 +00:00
ef8a203892 build
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=208
2016-03-04 07:29:01 +00:00
4e160696ba build
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=205
2015-06-30 13:37:22 +00:00
6643313ff9 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=199
2015-03-26 13:55:05 +00:00
0faf6cee0e fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=197
2015-03-16 07:16:46 +00:00
f7a228ee6d fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=194
2015-03-12 18:39:17 +00:00
a79f1a2229 syntax fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=192
2015-01-13 15:54:45 +00:00
e59a8d3842 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=190
2015-01-09 14:49:02 +00:00
Marcus Hüwe
b76ca49502 - 0.149
- removed "--diff" option from the "createrequest" command
  - introduced new "vc-cmd" config option, which is used to specify the path
    to the vc script
  - various bugfixes

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=183
2014-10-21 09:59:09 +00:00
d7444db4f9 update to 0.148.2
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=181
2014-10-10 13:09:10 +00:00
d1a5e26904 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=115
2012-06-28 09:22:51 +00:00
83cedb4ec2 osc copypac from project:home:adrianSuSE:branches:OBS_Maintained:build package:osc.openSUSE_12.1_Update revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=110
2012-03-12 16:23:53 +00:00
00329ccb61 osc copypac from project:home:adrianSuSE:branches:OBS_Maintained:build package:build.openSUSE_12.1_Update revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=109
2012-03-12 16:23:37 +00:00