From 3c4c771ba7364a2b2cf9fa0f851f3b079867f0a7f8c53372b1cf90fd6fa70bbf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 16 Mar 2023 10:15:19 +0000 Subject: [PATCH] Accepting request 1072314 from home:dmach:branches:openSUSE:Tools - 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/request/show/1072314 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=386 --- PKGBUILD | 2 +- _service | 13 +- debian.changelog | 1077 +------------------------------------------ osc-1.0.0.tar.gz | 3 + osc-1.0.0~b5.tar.gz | 3 - osc.changes | 88 ++++ osc.dsc | 2 +- osc.spec | 4 +- 8 files changed, 98 insertions(+), 1094 deletions(-) create mode 100644 osc-1.0.0.tar.gz delete mode 100644 osc-1.0.0~b5.tar.gz diff --git a/PKGBUILD b/PKGBUILD index 95e7f34..bf67fc0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,5 +1,5 @@ pkgname=osc -pkgver=1.0.0~b5 +pkgver=1.0.0 pkgrel=0 pkgdesc="Command-line client for the Open Build Service" arch=('x86_64') diff --git a/_service b/_service index 0c498ef..34b187f 100644 --- a/_service +++ b/_service @@ -1,13 +1,4 @@ - - 1.0.0~b5 - 1.0.0b5 - https://github.com/openSUSE/osc.git - git - - - gz - *.tar - - + + diff --git a/debian.changelog b/debian.changelog index 259cfb9..6740201 100644 --- a/debian.changelog +++ b/debian.changelog @@ -1,1076 +1 @@ -osc (1.0.0~b5-0) unstable; urgency=low - - Update to 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 - - -- Marcus Huewe Wed, 21 Jul 2021 10:52:56 +0200 - -osc (0.173.0-0) unstable; urgency=low - - Update to 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 - - -- Marcus Huewe Tue, 18 May 2021 22:52:25 +0200 - -osc (0.172.0-0) unstable; urgency=low - - Update to 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 - - -- Marcus Huewe Wed, 27 Jan 2021 14:28:11 +0100 - -osc (0.171.0-1) unstable; urgency=low - - Package for Python3 - - -- Nick Brown Wed, 30 Jan 2020 14:49:30 +0000 - -osc (0.161.0-0) unstable; urgency=low - - Install bash completion - - -- Nick Brown Wed, 26 Oct 2016 10:00:00 +0200 - -osc (0.155.1) unstable; urgency=low - - Update to 0.135.0 - - -- Adrian Schroeter Wed, 28 Jun 2012 10:00:00 +0200 - -osc (0.134.0-1) unstable; urgency=low - - Update to 0.134.0 - - -- Adrian Schroeter Wed, 29 Feb 2012 10:00:00 +0200 - -osc (0.132.6-1) unstable; urgency=low - - Update to 0.132.6 - - -- Adrian Schroeter Wed, 24 Aug 2011 10:00:00 +0200 - -osc (0.132.5-1) unstable; urgency=low - - Update to 0.132.5 - - -- Adrian Schroeter Wed, 07 Jul 2011 10:00:00 +0200 - -osc (0.132.4-1) unstable; urgency=low - - Update to 0.132.4 - - -- Adrian Schroeter Wed, 15 Jun 2011 10:00:00 +0200 - -osc (0.132.3-1) unstable; urgency=low - - Update to 0.132.3 - - -- Adrian Schroeter Thu, 09 Jun 2011 10:00:00 +0200 - -osc (0.132.2-1) unstable; urgency=low - - Update to 0.132.2 - - -- Adrian Schroeter Thu, 09 Jun 2011 10:00:00 +0200 - -osc (0.132.0-1) unstable; urgency=low - - Update to 0.132.0 - - -- Adrian Schroeter Tue, 07 Jun 2011 10:00:00 +0200 - -osc (0.131-1) unstable; urgency=low - - Update to 0.131 - - -- Adrian Schroeter Wed, 27 Apr 2011 10:00:00 +0200 - -osc (0.130.1-1) unstable; urgency=low - - Update to 0.130.1 - - -- Marcus Huewe Wed, 22 Dec 2010 14:40:01 +0200 - -osc (0.130-1) unstable; urgency=low - - Update to 0.130 - - -- Marcus Huewe Wed, 22 Dec 2010 14:37:57 +0200 - -osc (0.129-1) unstable; urgency=low - - Update to 0.129 - - -- Marcus Huewe Mo, 20 Sep 2010 22:01:43 +0200 - -osc (0.128-1) unstable; urgency=low - - Update to 0.128 - - -- Adrian Schroeter Fr, 16 Jul 2010 15:56:00 +0200 - -osc (0.127-1) unstable; urgency=low - - Update to 0.127 - - -- Adrian Schroeter Tu, 22 Jun 2010 10:00:00 +0200 - -osc (0.125.4-3) unstable; urgency=low - - * Fix dependency on python-celementtree, it is included in python2.5. - - -- Teemu Hukkanen Fri, 04 Jun 2010 10:34:55 +0300 - -osc (0.125.4-2) unstable; urgency=low - - Fix build and install - - -- Lubos Lunak Thu, 28 Jan 2010 16:39:57 +0100 - -osc (0.125.4-1) unstable; urgency=high - - Updated to 0.125.4 - - -- Adrian Schroeter Wed, 27 Jan 2010 10:00:00 +0200 - -osc (0.125.1-1) unstable; urgency=high - - Updated to 0.125.1 - - -- Adrian Schroeter Fr, 15 Jan 2010 10:00:00 +0200 - -osc (0.123-1) unstable; urgency=high - - Updated to 0.123 - - -- Adrian Schroeter Mon, 20 Oct 2009 10:00:00 +0200 - -osc (0.122-1) unstable; urgency=high - - Updated to 0.122 - - -- Stephan Kleine Mon, 19 Oct 2009 12:00:00 +0200 - -osc (0.117-1) unstable; urgency=high - - new repairlink command for repairing a broken source link (requires server version 1.6) - - new vc command for editing the changes files (requires build.rpm 2009.04.17 or newest) - - support checkout of single package via "osc co PACKAGE" when local dir is project - - allow to specify target project and package on osc branch (requires server version 1.6) - - add option to automatic checkout a branched package - - support "osc getbinaries" in checkout packages - - '-b|--brief' option for osc submitreq show subcommand - - use "latest" revision on checkout, not "upload" (#441783) - - -- Adrian Schroeter Tue, 22 Apr 2009 12:00:00 +0200 - -osc (0.115-1) unstable; urgency=high - - update to r6820 (version 0.115) - - optional transfer of devel project during copy_pac and link_pac is fixing - opertation with remote build service instance - - "osc ci" fails uploading large files to Provo BuildService - - fixed support for accessing download repositories (worked only for download.o.o so far) - - -- Adrian Schroeter Tue, 17 Mar 2009 12:00:00 +0200 - -osc (0.114-1) unstable; urgency=high - - - update to r6667 (version 0.114): - - the .oscrc config handling has been cleaned up: - * use "apiurl" for everything now (== ://) - * added aliases support for [apiurl] sections in the ~/.oscrc. - Example: - [http(s)://foobar] - ... - aliases = foo, bar - => "osc -A foo " will do the same as "osc -A http(s)://foobar ls" - * "scheme" and "apisrv" are deprecated and will produce a warning - * when writing a new ~/.oscrc, store the apiurl in the conffile (bnc#478054) - * fixed bug that made osc ask for credentials when -A was used (bnc#478054) - * fixed crash upon password entry (first startup) (bnc#478052) - - osc build: - * make product builds work - * speed up by using a cookie when fetching the binaries (bnc#477690) - * support for VM (kvm or xen) builds - * obsolete the need to configure download server, get it from the build - service instance instead. - * be a bit more verbose if the linked package isn't expanded (bnc#470948) - - osc branch: - * --develproject option fixed (the API calls it 'ignoredevel' instead of 'nodevelproject') - * --revision option added - - osc jobhistory: new command to see build job history of a project or a package - - osc results/rresults: option -l, --last-build added (show last build results) - - osc linkpac: fix failure when -A is used (bnc#479156) - - osc commit: don't scare users if they want to commit a nonexistent file (bnc#469167) - - osc diff: bugfix to make --pretty option work - - 11.1 added to the osc project template - - -- Peter Poeml Tue, 3 Mar 2009 12:00:00 +0200 - -osc (0.113-1) unstable; urgency=high - - - update to r6097 (version 0.113): - - osc diff -rX:Y: the default is to return an unified diff (to get a pretty - diff use the --pretty option) - - osc rdiff: the default is to return a pretty diff (to get an unified diff use the --unified option) - - osc sr show --diff: the default is to return a pretty diff (to get an unified diff use the --unified option) - - osc getbinaries: optionally also download source rpms - - osc importsrcpkg: set the url in the package meta (bnc#458083) - - osc wipebinaries: added --expansion option - - added support for format strings like "%(project)s" and "%(package)s" which - can be used in the build-root config option. For example one could use a new - chroot for each package. - - osc updatepacmetafromspec: fix failure if %description is starting with newline (bnc#462869) - - catch OSError exceptions which might be raised by the subprocess module - - don't use a hardcoded path for the rpm binary otherwise it fails on - distributions like debian - - osc meta: be more verbose in case of failure (bnc#459292) - - osc mkpac: add info how to enable the package tracking feature (bnc#459288) - - -- Peter Poeml Thu, 22 Jan 2009 12:00:00 +0200 - -osc (0.112-1) unstable; urgency=high - - - update to r5880 (version 0.112): - important bugfix: - - osc deletepac: prevent recursive deletion of a whole project [bnc#458535] - - osc build: support more options: --icecream, --ccache, --with, --without - - osc build: --keep-pkgs also saves the src.rpm now - - osc build: small fix in debuginfo handling - - osc build: new armv7el arch for all binaries for up to ARMv7 EABI with VFP - - -- Peter Poeml Fri, 12 Dez 2008 12:00:00 +0200 - -osc (0.111-1) unstable; urgency=high - - - update to r5751 (version 0111): - - fix accidental truncation of .oscrc to 0 bytes - - fix osc's ignorance of the revision option (-r) for expanded links - - osc build: handle kiwi builds (local image build) - - osc build: cross build support - - osc build: support for ARMv5 EABI little endian arch added - - osc build: fixed detection of the build type (rpm or deb), - after change in the buildinfo - - osc build: build debuginfo packages if enabled in the - project/package meta (this partly fixes #421390) - - -- Peter Poeml Fri, 28 Nov 2008 12:00:00 +0200 - -osc (0.110-1) unstable; urgency=high - - - update to r5425 (version 0.110): - - osc build: no working copy needed anymore when building a local - package [bnc#431434] - - osc checkout: when checking out a project, and a linkerror - occurs for one of the packages, do a checkout in unexpanded - form and continue checking out the rest of the project - [bnc#428303] - - osc deletepac, osc branch: allow slash notation for the - project/package arguments - - fix deprecation warnings on Factory (which uses Python 2.6) - - fix to avoid (internal) stale Package objects [bnc#436932] - - -- Peter Poeml Fri, 24 Oct 2008 12:00:00 +0200 - -osc (0.109-1) unstable; urgency=high - - - update to r5219 (version 0.109): - With changes from Marcus_H, myself, dmueller, tpatzig: - - osc getbinaries: new command to download binaries directly from - the api server - - pass the --debug option to the build script which will take - care of creating debuginfo packages - - add link to plugin API to osc help output - - Don't try to catch rpm-python errors if rpm-python isn't installed. - Thus we can avoid a hard dependency on having rpm-python. - - added command 'rlog', to show commit logs of remote packages - - fixed depracation warnings with Python 2.6 [bnc#426612] - - fix streaming of unfinished logfiles again - - fixed regression of .oscrc template [bnc#427118] - - -- Peter Poeml Tue, 30 Sep 2008 12:00:00 +0200 - -osc (0.108-1) unstable; urgency=high - - - update to r5032 (version 0.108): - - osc submitreq: has two aliases now: "osc sr" and "osc submitrequest" - - osc sr create: prompt to revoke existing requests - - osc sr revoke: new command for to get rid of requests to projects one can't write to - - osc sr list: allow showing requests in a state other than "new" - - osc sr show: show the current state's comment - - osc sr log: new command to show the history of a given id - - osc sr: enable requests for submitting new packages - - osc build: implement --no-checks - - osc build: be less strict on the arguments, and guess what's needed. For instance: - * osc build PLATFORM ARCH BUILD_DESCR - * osc build PLATFORM (ARCH = hostarch, BUILD_DESCR guessed) - * osc build ARCH (PLATFORM = build_platform (config option), BUILD_DESCR guessed) - * osc build BUILD_DESCR (PLATFORM = build_platform (config option), ARCH = hostarch) - * osc build (PLATFORM = build_platform (config option), ARCH = hostarch, BUILD_DESCR guessed) - - osc build: download after the target architecture check - - osc addremove: bugfixes, --recursive option - - osc init: added support to initialize a project dir - - osc metafromspec: new alias for 'updatepacmetafromspec' which is hard to remember - - osc updatepacmetafromspec: also update URL - - osc buildlog: do not download entire log to memory - - new http_headers option to add arbitrary headers to HTTP requests - - bugfix to make osc work on Gentoo - - enhance/update the package and project template - - .netrc heritage from previous commandline client has been removed - - osc asks for password now, when used with -A - - -- Peter Poeml Tue, 16 Sep 2008 12:00:00 +0200 - -osc (0.107-1) unstable; urgency=high - - - update to r4461 (version 0.107): - - osc update / checkout: *important bugfix* don't check out a - working copy, or update an existing one, when a source link - cannot be applied [bnc#409373] - - osc build: the --extra-pkgs option is now a configurable - setting in .oscrc. Default is "extra-pkgs = vim gdb strace" - - -- Peter Poeml Wed, 16 Jul 2008 12:00:00 +0200 - -osc (0.106-1) unstable; urgency=high - - - update to r4428 (version 0.106): - - osc rdiff / osc submitreq show: diff the _expanded_ sources [bnc#408267] - - osc submitreq list: show author's name - - osc submitreq: shortcut alias 'sr' added - - -- Peter Poeml Fri, 11 Jul 2008 12:00:00 +0200 - -osc (0.105-1) unstable; urgency=high - - - update to r4401: (version 0.105): - - osc submitreq list: - - can now be called without parameters, applying to the working copy then. - - calling it in a project directory is also possible now. - - output was improved. Newest requests are listed first. - - osc submitreq delete: a new action which has been added - - osc submitreq list/create: use api URL from the working copy - - osc meta: editing returns the API error description instead of a plain HTTP - error if available - - osc copypac: use the correct userid when copying to another api host - - osc importsrcpkg: disable signature check when getting data from a rpm file - - osc linkpac: --revision option added. - - osc search: added option -i|--involved, to show in which projects/packages - a developer is involved - - osc build: double check the buildinfo for local builds. Refuse to build for - architectures that are not supported by the host - - osc buildhist: change the output into a format which better matches actual - RPM filenames. - - osc commit: give commit message tempfiles a ".diff" suffix, so syntax - highlighting automatically works in capable editors - - other bug fixes: - - don't expand/unexpand if the working copy has local modifications - this is - an ugly workaround for #399247 but this way the working copy isn't screwed up - - work around a bug which causes packages to be cached locally under the - "None" architecture (and therefore causing issues when building for more - than one architecture via osc build). - - don't create _linkerror files in working copies - - better error handling (mostly printing more details) in a number of cases - - show error messages from the API also for type 500 errors - - -- Peter Poeml Wed, 9 Jul 2008 12:00:00 +0200 - -osc (0.104-1) unstable; urgency=high - - - update to r4164 (version 0.104): - - osc update: after update, reset the revision when updating - multiple package. Fixes "404: Not Found" type errors when - updating an entire project. [bnc#399177] - - more/better error messages in some error scenarios - - osc wipebinaries: add missing check for commandline arguments, - which could cause a PACKAGE argument to be ignored - - fixed make_diff in order to avoid errors when committing a new - package (created with mkpac) - - -- Peter Poeml Tue, 11 Jun 2008 12:00:00 +0200 - -osc (0.103-1) unstable; urgency=high - - - update to r4120 (version 0.103): - - osc submitreq create: simplify by make osc guess needed - parameters, if there is a working copy and it is a source link. - - osc submitreq create: don't stop on packages that have a devel - project defined, if the submit actually comes from that - project. - - osc checkout: checkout of source links is now done in expanded - form per default. The new option --unexpand-link can be used to - get the raw link file. - - show the API's error message for HTTP 403 (Forbidden) replies. - - -- Peter Poeml Tue, 6 Jun 2008 12:00:00 +0200 - -osc (0.102-1) unstable; urgency=high - - - update to r4089 (version 0.102) - - osc branch: Show the actually created branch project name, not - a guessed one. Add --nodevelproject. - - osc submitreq: look up the develproject of the target, and if - there is one, don't create the request, unless forced with - --nodevelproject. - - when -d (global, for debug) was used, save the body because it can't be read twice - - -- Peter Poeml Tue, 3 Jun 2008 12:00:00 +0200 - -osc (0.101-1) unstable; urgency=high - - - update to r4030: - - version 0.101 - - add osc branch command, using the branch API call to branch a package to - home:poeml:branches:PRJ/PKG - - osc commit now opens $EDITOR for commit message - - improved error handling, when API returns HTTP status code 400 (bad request) - - osc status: implement -q/--quiet switch - - osc info: slightly more verbose - - osc deletepac: allow deletion of multiple packages at once - - make "osc meta prjconf -e" work again (probably caused by r3702) - - -- Peter Poeml Tue, 27 May 2008 12:00:00 +0200 - -osc (0.100-2) unstable; urgency=high - - - update to r4002: - - osc maintainer: new -D/--devel-project switch - - osc rprjresults/rresults: small fixes - - facilitate correct syntax highlighting when editing metadata - - -- Peter Poeml Mon, 20 May 2008 12:00:00 +0200 - -osc (0.100-1) unstable; urgency=high - - - update to r3995: - - version 0.100 - - improved error handling (babysitter.py wrapper, oscerr.py exception classes) - Tracebacks are mostly suppressed now. To enable them, use - | -t, --traceback print call trace in case of errors - or set traceback=1 in .oscrc. - - other new global options for debugging: - | --debugger jump into the debugger before executing anything - | --post-mortem jump into the debugger in case of errors - | -d, --debug print info useful for debugging - - make way for more seamless osc version updates (the .osc directory in working copies - will have its own versioning in the future) - - osc rprjresults and osc rresults: new commands to show remote build results - - osc build: added --baselibs and --jobs options - - osc copypac: added --keep-maintainers switch - - BUILD_DIST environment variable will be ignored (bnc#359846) - The following environment variables can still be used: - * OSC_SU_WRAPPER overrides the setting of su-wrapper. - * OSC_BUILD_ROOT overrides the setting of build-root. - * OSC_PACKAGECACHEDIR overrides the setting of packagecachedir. - - a few bug fixes. - - -- Peter Poeml Mon, 19 May 2008 12:00:00 +0200 - -osc (0.99-11) unstable; urgency=high - - - remove the patch added by Adrian (bnc#378421) - - -- Peter Poeml Wed, 21 Apr 2008 12:00:00 +0200 - -osc (0.99-10) unstable; urgency=high - - - add patch from abauer to fix cookie handling (bnc#378421) - - -- Adrian Schroeter Sat, 12 Apr 2008 12:00:00 +0200 - -osc (0.99-9) unstable; urgency=high - - - update to r3614: - - osc commit: implement committing with keeping links (to commit - changes to expanded links) - - osc copypac: make the server-side copy the default. But do a - client-side copy if source and target are not on the same - buildservice instance - - -- Peter Poeml Wed, 2 Apr 2008 12:00:00 +0200 - -osc (0.99-8) unstable; urgency=high - - - update to r3598: - New features: - - new link handling: - add support for handling linked packages in expanded form. They - can be checked out, updated (expanding or unexpanding them), - and built locally. - Missing: commit support. - Newly introduced options are: - * osc checkout: --expand-link - * osc update: --expand-link and --unexpand-link - - osc build: add --debuginfo switch (Thanks, Juergen!) [#368524] - - osc req: add option -a / --add-header to inject arbitrary - request headers - - osc addremove (and others): ignore _all_ dot files (the - buildservice doesn't handle them) [#370476] - - copypac: do a server-side copy (via a single api call) when - used with -s / --server-side. - - prjresults: csv export uses ';' as default (Pavol) - - osc update/checkout: enable to use md5sum as revision id - - osc info: make it show info about expanded and non-expanded links - - osc submitreq: - - implement an 'accept' action, resulting in the respective - state change - - when requesting a submit, save the source package's revision - id (looking up what it currently is) - - give the user a way to override it, to submit an older - revision - - when using show --diff, take the actual old revision into - account. Thus, the diff is against the source revision of the - time of request creation. - Bug fixes: - - osc mkpac only works when 'do_package_tracking' is enabled - - do_repos() should work in a project dir too - - handle mmap failure on filesystems like NTFS, which may not - support memory mapping when mounted under Linux - - submitreq show: if the target package doesn't exist, a diff - cannot be produced. - - fixed username issues when creating a new package (the problem was - that the username for the default host was used and not the one for - that specific apiurl) - Internal changes: - - enhance osc.core.makeurl(). This function accepts a query - parameter in form of a list. The query can now also be given as a - dictionary, and in that case it will be automatically urlencoded. - The behaviour for a list is unchanged for the reason of backward - compatibility. - - add Linkinfo class to osc.core - - Package class: - - add linkinfo when reading in package data via update_datastructs() - - add islink() and isexpanded() methods - - added 3 new methods: - * createPackageDir(): creates and initializes a new package dir in - the given project. - * get_apiurl_usr(): returns the username for a certain apiurl - * get_configParser(): returns an ConfigParser() object which can be - used for parsing the ~/.oscrc file - - new show_upstream_xsrcmd5() method which returns the xsrcmd5 (if a - linkinfo element exists) - - all necessary auth-information are available in the 'auth_dict' - (so there's no need to fool around with the ConfigParser...) - - if there are no credentials for the apisrv in use (which may be - specified with -A on the commandline), don't try to set up - config['user'] with credentials. - - -- Peter Poeml Tue, 1 Apr 2008 12:00:00 +0200 - -osc (0.99-7) unstable; urgency=high - - - update to r3492: - - new feature: package tracking. It's not enabled by default and - needs to be switched on with do_package_tracking=1 in .oscrc. - before using. See - http://lists.opensuse.org/opensuse-buildservice/2008-03/msg00114.html - for more info. - - new command submitreq, to handle "submit requests" (next - generation build service feature). Its functionality isn't - complete yet. So far it can create, list and show requests. - - define bugowner when creating new projects or packages - - -- Peter Poeml Mon, 10 Mar 2008 12:00:00 +0200 - -osc (0.99-6) unstable; urgency=high - - - update to r3403: - - fixes from Marcus and Michal Marek: - - fix importsrcpkg when $projectdir/.osc/_apiurl is an - alternative apiurl - - added optional apiurl parameter to the following methods: - meta_exists, make_meta_url, checkRevision if no apiurl - parameter is specified the global value (conf.config['apiurl']) - will be used. This should fix bug #361764 - - some small apiurl fixes in the make_diff method (the - package_tracking branch already has this fix) - - added option --csv to 'osc prjresults' to output a CSV table - - small fixes testsuite for the testsuite - - -- Peter Poeml Thu, 5 Mar 2008 12:00:00 +0200 - -osc (0.99-5) unstable; urgency=high - - - update to r3046: - - build: - - add --no-verify - - add --local-package to build a package which doesn't exist on the server - - add --alternative-project to specify a project, if the current one doesn't - exist on the server - - use api url from .osc/_apiurl [#355144] - - new command remotebuildlog - - diff: fix #347377 (diffing too many files) - - checkout: check for project existance beforehand - - -- Peter Poeml Thu, 24 Jan 2008 12:00:00 +0200 - -osc (0.99-4) unstable; urgency=high - - - update to r2778: - - bugfix in build: in order to verify package signatures, run the - external rpm command with en_EN locale, because the output is - being parsed - - cat: simplify the code a bit; don't print header and footer lines - - -- Peter Poeml Fri, 10 Dez 2007 12:00:00 +0200 - -osc (0.99-3) unstable; urgency=high - - - update to r2688: - - fixed bug in osc cat - - -- Peter Poeml Fri, 30 Nov 2007 12:00:00 +0200 - -osc (0.99-2) unstable; urgency=high - - - update to r2685: - - rdiff: new command for server-side diffs between arbitrary - packages - - cat: new command to print a file on the standard output - - diff: reworked functionality to show newly added files, and - behaving more like svn when doing diff against a certain - revision - - bugfix in {link,aggregate,copy}_pac ( elements). Patch - from Michal Marek. - - checkout an empty project instead of doing nothing - - fix prjresults for newly added packages, where build status is - missing - - internal changes: - - copied init_project_dir() method from the - osc-package-tracking branch (just removed the - do_package_tracking stuff) - - changed the storedir attribut of the Package() class to an - absolute filename - normally this shouldn't have any impact - on existing methods, functionality etc. - - -- Peter Poeml Fri, 30 Nov 2007 00:00:00 +0200 - -osc (0.99-1) unstable; urgency=high - - - update to r2467. Most work done by Marcus Huewe. - - version 0.99 - - wipebinaries: added --build-failed and --broken [#335498] - - deleteprj: enabled this command, as the backend now supports it - - maintainer: - - added --verbose option - - added functionality to add/remove users from a project/package - - print the list of URL to try, when in HTTP debug mode - - build: allow to use lbuild, a compatible replacement for build - - do not create dirs for non-existing packages during checkout - [#259711] - - -- Peter Poeml Tue, 30 Oct 2007 00:00:00 +0200 - -osc (0.98-3) unstable; urgency=high - - - update to r2075: - - new 'maintainer' command, to list the maintainers of a project or - package - - make osc call build with --changelog option, by default [#298436] - - make osc library simpler to use from external scripts, by - simply calling conf.get_config(), with possibility to override - conf file, http debugging, api server). It is no longer - required to set up the api url in the config dict, and call - conf.init_basicauth(). - - allow to specify a different config file via the environmental - variable OSC_CONFIG, or via -c|--config on the commandline - - -- Peter Poeml Mon, 3 Sep 2007 00:00:00 +0200 - -osc (0.98-2) unstable; urgency=high - - - update to r2001: - - contributions from James Oakley and Marcus Huewe - - ls: add -b option to list binaries - - req: show error response for 404 responses - - core: add get_binarylist(); works per project and per package - - core: add get_binarylist_published(); works per project - - core: add get_binary_file() - - build: "osc build" if $BUILD_DIST is set - - -- Peter Poeml Fri, 17 Aug 2007 00:00:00 +0200 - -osc (0.98-1) unstable; urgency=high - - - update to r1974: - - version 0.98 - - commit: use the documented commit method by default now - - build: add --changelog option to force update of the package - changelog from a changes file - - -- Peter Poeml Tue, 14 Aug 2007 00:00:00 +0200 - -osc (0.97-8) unstable; urgency=high - - * update to r1961: - - meta: remove notion of non-implemented --create switch. give - example for meta pkg usage - - search: add --repos-baseurl option - - -- Peter Poeml Thu, 9 Aug 2007 00:00:00 +0200 - -osc (0.97-7) unstable; urgency=high - - * update to r1947: - - commit: fixed possible "UnboundLocalError" with -m. Thanks to - judas_iscariote for spotting this issue, and Marcus for fixing - it. - - -- Peter Poeml Thu, 9 Aug 2007 00:00:00 +0200 - -osc (0.97-6) unstable; urgency=high - - * update to r1946: - - avoid warning/error with unsupported HTTPS_PROXY [#214983][#298378] - - importsrcpkg: - * changed default behaviour - the files will not be committed by - default. To commit them use the --commit switch. - * added --delete-old-files option switch to delete old files from - the server. - * allow to import source rpms by specifying an URL - * use rpm-python - - fix for "osc prjconf -e". - - -- Peter Poeml Wed, 8 Aug 2007 00:00:00 +0200 - -osc (0.97-5) unstable; urgency=high - - * update to r1884: - - added new importfromsrcpkg command, to import a package src.rpm - (we owe this to Marcus) - - added new req command, to issue arbitrary requests to the API - - append missing newline if do_commits=False [#293672] - - make delete_package() and delete_project() more userfriendly - (added trivial exception handling..) - - expand ~ to users home for packagecachedir in .oscrc [#293675] - - -- Peter Poeml Wed, 25 Jul 2007 00:00:00 +0200 - -osc (0.97-4) unstable; urgency=high - - * update to r1811: - - meta: allow for editing patterns - - small fixes: - - fix error message which osc issues if build package is too old - - results: result code can be empty when package has just been created - - fix name of 10.2 product in the template for new projects - - -- Peter Poeml Thu, 19 Jul 2007 00:00:00 +0200 - -osc (0.97-3) unstable; urgency=high - - * update to r1861: - - commit (using the currently documented way): - - do DELETEs _before_ generating an "upload" revision with - PUTs. The DELETEs would be invalidated by the commit. - - switch to new commit mode also if the -F switch is used - - flush stdout, so that the progress dots are seen directly - when being written - - -- Peter Poeml Wed, 18 Jul 2007 00:00:00 +0200 - -osc (0.97-3) unstable; urgency=high - - * update to r1846: - - added initial search support (some ideas are taken from the webclient): - * when searching a package/project it - is also possible to search for the search term - in the and <description /> elements of - a package/project. - * show only exact matches - - new meta command, replacing editmeta, editprj, createprj, - editpac, createpac, edituser. Can either show existing meta, or - edit it (--edit), or upload content (--file). Fix metadata - change detection, which no longer relies on the timestamp of - the temporary file. - - log: - - renamed previous "log" command to "buildlog" (short: bl) - - implementing a log command to review the commit log - - commit: - - commit: implemented -m and -F option for the commit message. - NOTE: if -m is used, osc uses a different mode of uploading - files and commit them, namely the way which is currently - documented in the api. So far, osc was uploading each file - separately through the old backward compatible way. This way - of committing can also be forced with do_commits = 1 in - .oscrc. - - other changes: - - api now sends HTTP/1.1 400 Bad Request for invalid xml. Thus, - show the reply body because it contains helpful info. - - if PUT on metadata fails with a 500, and http_debug is True, - print out the body of the server reply - - improved exception handling in some places - - updatepacmetafromspec: read spec files in utf-8, or whatever - the preferred encoding is in the locale - - - -- Peter Poeml <poeml@suse.de> Mon, 16 Jul 2007 00:00:00 +0200 - -osc (0.97-2) unstable; urgency=high - - * remove dependency on build package - - -- Peter Poeml <poeml@suse.de> Fri, 13 Jul 2007 00:00:00 +0200 - -osc (0.97-1) unstable; urgency=high - - * update to r1825: - - version 0.97 - - added initial revision handling: - - extended "osc co prj pac" to checkout a specific revision of pac - - extended "osc up" to update to a specific revision - - extended "osc diff" to diff the working copy against a - specific revision on the server. NOTE: comparing two - server-side revisions (osc diff -r 11:12) is currently - not supported! - - addremove: ignore foo.rXX, foo.mine for files which are in 'C' state - - wipebinaries: allow to wipe all binaries of packages for which - the build is disabled - - updatepacmetafromspec scans for spec files automatically; also, - added a --specfile option. - - load subcommands from /var/lib/osc-plugins/ or ~/.osc-plugins/ - - -- Peter Poeml <poeml@suse.de> Wed, 11 Jul 2007 00:00:00 +0200 - -osc (0.96-10) unstable; urgency=high - - * update to r1794: - - rm: don't allow to mark files as deleted which are not under - version control - - -- Peter Poeml <poeml@suse.de> Fri, 29 May 2007 00:00:00 +0200 - -osc (0.96-9) unstable; urgency=high - - * update to r1792: - - linkpac: make this osc subcommand work again: sync metadata if - edit_meta() is called with change_is_required=False. - - log: fail gracefully if logfile can't be found - - handle empty prjresults (e.g. when no repositories are defined) - - -- Peter Poeml <poeml@suse.de> Thu, 28 May 2007 00:00:00 +0200 - -osc (0.96-8) unstable; urgency=high - - * update to r1783: - - build: don't stumble over an empty list of packages when trying to verify packages - - ls: add verbose option to print extra information for packages - - for ls, co, meta, editmeta, linkpac, copypac, rebuildpac, and wipebinaries - (basically all the server-side commands), allow arguments "foo/bar" instead - of "foo bar" - - -- Peter Poeml <poeml@suse.de> Tue, 26 May 2007 00:00:00 +0200 - -osc (0.96-7) unstable; urgency=high - - * update to r1769: - - fix return values in metafile.sync() which I broke whey I applied Marcus - Huewe's patch... - - -- Peter Poeml <poeml@suse.de> Fri, 22 May 2007 00:00:00 +0200 - -osc (0.96-6) unstable; urgency=high - - * update to r1763: - - set correct Content-Type header on PUT requests - (application/octet-stream). Rails 1.2 seems to be more strict - in this regard. Patch from Marcus Rueckert. - - init: make usage (and usage info) info more precise - - update to r1733: - New features kindly implemented by Marcus Huewe: - - added wipebinaries command - - added abortbuild command - - improved handling of metadata editing if the server doesn't accept it - - update to r1731: - - adjust for change in build.rpm, where /usr/lib/build/debsort - was removed. Look for debtransform program instead in order to - determine if build.rpm is new enough. - - update cmdln.py to planned 1.0 version. The main changes are - related to points that were raised during employment in osc: - # v0.8.3 - - Fix a bug where errors with passing an incorrect number of args to - functions in do_foo() implementations would be masked. - # v1.0.0 - - [backward incompat] `Cmdln.main()` no longer takes an `optparser` - argument. Top-level option parsing has been changed so that top-level - options for a `Cmdln` subclass can more naturally be defined and - handled on the class definition. Changes: - - `Cmdln.main()` calls `self.get_optparser` to get an option handler. - Subclasses should overload this method for custom top-level options. - - After option parsing, but before sub-command handling, the - `self.postoptparse()` hook is called. - - Add a `version` attribute on `Cmdln` subclasses. If set, the default - top-level option parser will have a `--version` attribute. - - [backward incompat] Simplify the StopProcessing/opts.stop handling for - option handling in subcommands. The "opts" argument to "do_*" - sub-command functions will no longer have a "stop" value. - StopProcessing is now called StopOptionProcessing. This shouldn't - affect simple usage of cmdln.py. - - adjust osc.commandline for these changes. - - make startdir a module global - - add info about usage with the 'nosetests' test discovery tool - - add tests for commandline options - - results: remove obsolete code handling commandline arguments - - -- Peter Poeml <poeml@suse.de> Thu, 21 May 2007 00:00:00 +0200 - -osc (0.96-5) unstable; urgency=high - * update to r1657: - - rebuildpac: fix mistyped repository parameter - - build: add --userootforbuild option - - -- Peter Poeml <poeml@suse.de> Mon, 14 May 2007 00:00:00 +0200 - -osc (0.96-4) unstable; urgency=high - * update to r1655: - - build: fix bug introduced with r1652: for the buildinfo, POST the - specfile's content, not its name... - - -- Peter Poeml <poeml@suse.de> Sat, 12 May 2007 00:00:00 +0200 - -osc (0.96-3) unstable; urgency=high - * update to r1652: - - build: implement -x/--extra-pkgs option (passed to backend and - included in buildinfo result) - - make filling out of username in templates work again - - -- Peter Poeml <poeml@suse.de> Thu, 10 May 2007 00:00:00 +0200 - -osc (0.96-2) unstable; urgency=high - * update to r1644: - - don't allow to delete projects, as long it is not implemented in - the backend - - use new API route for downloading binaries also in configured URLs - - make deletepac work again - - -- Peter Poeml <poeml@suse.de> Tue, 8 May 2007 00:00:00 +0200 - -osc (0.96-1) unstable; urgency=high - * update to r1635: - - version 0.96 - - following suggestions by Christian Boltz and Michal Marek, osc - now memorizes where a working copy was checked out from, saving - the api server url to .osc/_apiurl. - - implement 'info' subcommand - - buildhistory works again - - copypac: implement package copy from one buildservice instance to another - (--to-apiurl option) - - build: - - rename --prefer-pacs option to --prefer-pkgs - - implement --keep-pkgs option - - call rpm command for preferred rpms with --nosignature --nodigest - - improve key import instructions after suggestion by Michael Wolf - - the results subcommand now handles multiple <working copy> arguments - - use the new api routes in all places - - -- Peter Poeml <poeml@suse.de> Sat, 5 May 2007 00:00:00 +0200 - -osc (0.95-2) unstable; urgency=high - * update to r1626: - - build: - - implement --prefer-pacs option - - applied patch from Michael Marek, fixing all places where error - messages were printed to stdout instead of stderr. [#239404] - - -- Peter Poeml <poeml@suse.de> Wed, 2 May 2007 00:00:00 +0200 - -osc (0.95-1) unstable; urgency=high - * update to r1608: - - version 0.95 - - osc is now easier to work with when using alternative API servers. The - configured server can be overriden with -A <url> on the commandline. - "apisrv" in the config takes a URL now, so the variable "scheme" which was - needed in addition before becomes obsolete. For backward compatibility, a - hostname (and scheme variable) are accepted like before. Likewise, the auth - sections in the config take a URL now, or a hostname:port to keep old config - working. HTTP or HTTPS scheme is determined from the URL. Credentials must be - configured in .oscrc. - - build: use actual api server in urllist for downloading, instead of hardcoded - api.opensuse.org [#265211]. - - finally, global option -H enables HTTP traffic debugging - - implement "rebuild all failed packages", via --failed option in rebuildpac - subcommand - - status -v shows all files, including unmodified ones - - suppress the legend in prjresults by default (show with -l) - - --version shows the program version number - - fix the commit subcommand's argument handling. The following works correctly - now: osc ci ../test/onlyinwc `pwd` fstab ../test/f2 - - fix the download progress meter to work with small terminals [#266989] - - -- Peter Poeml <poeml@suse.de> Wed, 25 Apr 2007 00:00:00 +0200 - -osc (0.9-4) unstable; urgency=high - * update to r1594: - - save and reuse HTTP server cookies, speeding HTTP requests up - about 5 times (in our iChain setup anyway...) - - rewrite the HTTP handling - - adding http_GET/POST/PUT/DELETE() functions, which dispatch to - http_request(), and use them everywhere - - removing othermethods.py - - keeping urlopen(), in case it is used from externally, but have it print out - a "depracated" message - - finally, implementing a global HTTP debug mode - - if data to be sent is large, mmap it instead of reading at once - - build: remove debug print of tempfile name - - README: add info about dependencies of osc python module - - further the osc buildroot configuration example - - -- Peter Poeml <poeml@suse.de> Mon, 20 Mar 2007 00:00:00 +0200 - -osc (0.9-3) unstable; urgency=high - - * update to r1427: - * apply fix from Christoph Thiel to use cElementTree from Python 2.5 - * let the diff subcommand return 1 if differences were found - - -- Peter Poeml <poeml@suse.de> Mon, 12 Mar 2007 21:07:16 +0200 - -osc (0.9-2) unstable; urgency=high - - * build package the new way - - -- Peter Poeml <poeml@suse.de> Fri, 9 Mar 2007 10:16:16 +0200 - -osc (0.9-1) unstable; urgency=high - - * update to 0.9 - - -- Peter Poeml <poeml@suse.de> Thu, 12 Oct 2006 15:34:00 +0200 - -osc (0.8-1) unstable; urgency=low - - * update to 0.8 - - -- Peter Poeml <poeml@suse.de> Fri, 15 Sep 2006 16:42:22 +0200 - -osc (0.7-1) unstable; urgency=low - - * update to 0.7 - - -- Peter Poeml <poeml@suse.de> Mon, 17 Jul 2006 13:26:48 +0200 - -osc (0.6-2) unstable; urgency=low - - * new maintainer - * fix version number - * depend on python-celementtree and ${python:Depends}, update to new - Debian python policy - * add build-dependency on python-dev - * remove unneeded debian/README.Debian - * fix debian/copyright - * fix long description - - -- Rene Engelhard <rengelhard@suse.de> Wed, 5 Jul 2006 17:08:43 +0200 - -osc (0.5-1) unstable; urgency=low - - * Initial release Closes: #nnnn (nnnn is the bug number of your ITP) - - -- J.H.M. Dassen (Ray) <jdassen@debian.org> Fri, 12 May 2006 14:12:04 +0200 - +osc (1.0.0-0) unstable; urgency=low diff --git a/osc-1.0.0.tar.gz b/osc-1.0.0.tar.gz new file mode 100644 index 0000000..fc9ceeb --- /dev/null +++ b/osc-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7de363267803cbfdec4794da9da4491b18cd8b26dd94d6ab2071b80a24c14974 +size 321025 diff --git a/osc-1.0.0~b5.tar.gz b/osc-1.0.0~b5.tar.gz deleted file mode 100644 index 7ab4171..0000000 --- a/osc-1.0.0~b5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4055a7c7cbe1f7d9b75999ebbfc64fd406ed8345d635f0e179c3a0104d04c042 -size 376888 diff --git a/osc.changes b/osc.changes index 7f90ce2..bb4ef1d 100644 --- a/osc.changes +++ b/osc.changes @@ -1,3 +1,91 @@ +------------------------------------------------------------------- +Tue Mar 14 12:26:57 UTC 2023 - Daniel Mach <daniel.mach@suse.com> + +- 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 <num>' + - 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 <project>/<package> from <repo>/<arch> with a space + URL: https://github.com/openSUSE/osc/issues/1272 + +------------------------------------------------------------------- +Tue Mar 14 12:26:57 UTC 2023 - Daniel Mach <daniel.mach@suse.com> + +- 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 + ------------------------------------------------------------------- Thu Feb 9 14:08:25 UTC 2023 - Daniel Mach <daniel.mach@suse.com> diff --git a/osc.dsc b/osc.dsc index 500e3d1..b0e056c 100644 --- a/osc.dsc +++ b/osc.dsc @@ -1,6 +1,6 @@ Format: 1.0 Source: osc -Version: 1.0.0~b5-0 +Version: 1.0.0-0 Binary: osc Maintainer: Adrian Schroeter <adrian@suse.de> Architecture: any diff --git a/osc.spec b/osc.spec index 2871d41..944463a 100644 --- a/osc.spec +++ b/osc.spec @@ -49,14 +49,14 @@ %endif Name: osc -Version: 1.0.0~b5 +Version: 1.0.0 Release: 0 Summary: Command-line client for the Open Build Service License: GPL-2.0-or-later Group: Development/Tools/Other URL: https://github.com/openSUSE/osc -Source: %{name}-%{version}.tar.gz +Source: https://github.com/openSUSE/osc/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz %if 0%{?debian} Source1: debian.dirs