1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-03-01 06:57:06 +01:00

Commit Graph

  • cb61461fb4 - build & buildinfo: - implement --extra-pkgs option - pass the list of extra packages to the backend, as "add=pkg" query parameters - use osc.core.get_buildinfo(), instead of os.system('osc buildinfo ...') - implement adding query parameters to constructed URLs in a more generic way Dr. Peter Poeml 2007-05-09 09:36:55 +00:00
  • 9fb1e18470 update NEWS file Dr. Peter Poeml 2007-05-08 10:21:51 +00:00
  • a21f5c1891 don't try to delete projects, as long it is not implemented in the backend Dr. Peter Poeml 2007-05-08 08:59:10 +00:00
  • 4e39519efb use new API route for downloading binaries also in configured URLs Dr. Peter Poeml 2007-05-07 20:14:20 +00:00
  • 2c5e637693 make deletepac work again Dr. Peter Poeml 2007-05-07 18:32:51 +00:00
  • 0ab5e73ed9 use apiurl, not apisrv, in deleteprj and deletepac commands Dr. Peter Poeml 2007-05-07 17:52:04 +00:00
  • 2c4caa49c0 update NEWS file Dr. Peter Poeml 2007-05-04 22:11:10 +00:00
  • 90ca587cd0 - 0.96 - save api server url to .osc/_apiurl. This requires changing makeurl() and all calls to it. - implement 'info' subcommand, essential for debugging these changes. - use new api routes in all places - buildhistory works again - copypac: implement package copy from one buildservice instance to another (--to-apiurl option) - the results subcommand handles <working copy> arguments now Dr. Peter Poeml 2007-05-04 21:51:54 +00:00
  • 1c6f303c70 add debugging hint to cmdln.py Dr. Peter Poeml 2007-05-04 21:51:15 +00:00
  • 5739a5c262 build: call rpm command for preferred rpms with --nosignature --nodigest Dr. Peter Poeml 2007-05-04 21:40:35 +00:00
  • 5c0d0565ec adjust the unit tests Dr. Peter Poeml 2007-05-03 16:57:55 +00:00
  • 4a2c675e6e - build: - rename --prefer-pacs option to --prefer-pkgs - implement --keep-pkgs option Dr. Peter Poeml 2007-05-03 15:54:40 +00:00
  • 22b72ac695 improve key import instructions after suggestion by Michael Wolf Dr. Peter Poeml 2007-05-02 19:17:10 +00:00
  • 755004acf4 update NEWS file Dr. Peter Poeml 2007-05-02 18:25:08 +00:00
  • 877f8b5ad7 - build: - implement --prefer-pacs option - finished the help text that I started last time - rename buildconf -> rpmlist for the sake of consistency Dr. Peter Poeml 2007-05-02 13:49:57 +00:00
  • 60bc70dc7a applied patch from Michael Marek, fixing all places where error messages were printed to stdout instead of stderr. [#239404] Dr. Peter Poeml 2007-04-25 21:10:49 +00:00
  • 280f2c9725 update NEWS file Dr. Peter Poeml 2007-04-25 17:34:18 +00:00
  • e29b836bfa update NEWS file Dr. Peter Poeml 2007-04-25 17:31:15 +00:00
  • 354c01be55 - build: fix passing of commandline options and arguments to build.main(), which was still using sys.argv - build: use own api server as upstream URL in urllist. So far, api.opensuse.org was hardcoded in the download URL [#265211]. Dr. Peter Poeml 2007-04-25 11:22:40 +00:00
  • b58b6e5a3f - fully implement accessing multiple API servers. "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 still accepted. Likewise, the auth sections in the config take a URL now, and a hostname:port to keep old config working. Furthermore, apisrv can be overridden by -A on the commandline. HTTP or HTTPS scheme is determined from the URL. Credentials must be configured in .oscrc. Dr. Peter Poeml 2007-04-25 10:24:51 +00:00
  • 36e4cc3140 initialize the auth handler with all configured credentials, so it is now possible to use osc with different api servers by overriding apisrv on the command line Dr. Peter Poeml 2007-04-25 08:56:31 +00:00
  • 2f5b52e92c Complete rewrite of the internal commandline handling, using cmdln.py. Bump version to 0.95. Dr. Peter Poeml 2007-04-24 23:00:12 +00:00
  • 637dec8e83 fix the download progress meter to be small enough to work with terminals 80 characters wide [#266989] Dr. Peter Poeml 2007-04-24 21:10:01 +00:00
  • 56f9752b8c save and reuse HTTP server cookies, speeding HTTP requests up about 5 times (in our iChain setup anyway...) Dr. Peter Poeml 2007-04-19 10:40:18 +00:00
  • 8a3f251377 if data to be sent is large, mmap it instead of reading at once Dr. Peter Poeml 2007-04-19 09:12:39 +00:00
  • c993a04c7c 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 Dr. Peter Poeml 2007-04-19 08:47:22 +00:00
  • 989b3c0194 other working copy, more to do. Dr. Peter Poeml 2007-04-18 00:50:03 +00:00
  • 113302957e some things done, more to do Dr. Peter Poeml 2007-04-18 00:45:10 +00:00
  • 1ecbbf9f23 further the osc buildroot configuration example Dr. Peter Poeml 2007-04-18 00:26:14 +00:00
  • 36359996f0 remove debug print of tempfile name Dr. Peter Poeml 2007-04-18 00:23:49 +00:00
  • 043850aee3 complete last change (mention python-xml) Dr. Peter Poeml 2007-04-18 00:22:07 +00:00
  • 1a62738d4a add info about dependencies of osc python module Dr. Peter Poeml 2007-04-18 00:21:20 +00:00
  • 162b52cc4d update: when updating multiple packages, print each package name Dr. Peter Poeml 2007-03-29 21:53:38 +00:00
  • 0ba494298e - build: - use <bdep> preinstall attribute instead of obsolete <pdep> element - use <bdep> runscripts attribute and hand it over to build in the buildinfo Dr. Peter Poeml 2007-03-28 23:37:34 +00:00
  • 12e1f1b45d - results: quote parameter in the new URL - prjresults: sort package names Dr. Peter Poeml 2007-03-28 22:55:38 +00:00
  • 7f4ed364f0 run build with --norootforbuild, thereby defaulting to build as abuild user Dr. Peter Poeml 2007-03-21 00:29:10 +00:00
  • 5f4640848e - when updating, don't delete files with local modifications - add testcase Dr. Peter Poeml 2007-03-19 13:30:59 +00:00
  • 354b33be1e todo Dr. Peter Poeml 2007-03-19 13:18:38 +00:00
  • 92b3f041a8 update osc tests for small api changes Dr. Peter Poeml 2007-03-19 11:53:31 +00:00
  • 0204819a54 - use new api ['build', prj, '_result'] for prjresults subcommand Dr. Peter Poeml 2007-03-13 00:17:28 +00:00
  • 0b47b21719 - make 'results' subcommand many times faster, by making only a single request on _result?view=status&package=%s (new api) Dr. Peter Poeml 2007-03-12 23:21:34 +00:00
  • 2e0927ddfd - apply fix from Christoph Thiel to use cElementTree from Python 2.5 Dr. Peter Poeml 2007-03-12 23:17:34 +00:00
  • 76632513cc - apply fix from Christoph Thiel to use cElementTree from Python 2.5 Dr. Peter Poeml 2007-03-12 20:00:47 +00:00
  • 03b1db05fb - let the diff subcommand return 1 if differences were found Dr. Peter Poeml 2007-03-12 15:46:15 +00:00
  • 506e1fa97e udpate NEWS file Dr. Peter Poeml 2007-01-23 07:03:08 +00:00
  • 3e82391e1f - fix important bug, which could lead to overwriting local modifications when upstream changes are merged - if a merge fails, the store copy must be updated neverthelesss Dr. Peter Poeml 2007-01-23 06:55:43 +00:00
  • 3e1d1a1e78 rework testsuite, and add a testcase for successful merging Dr. Peter Poeml 2007-01-23 06:52:08 +00:00
  • e6a65dab44 these two debug prints in osc/othermethods.py may be helpful sometimes (although the code is planned te be rewritten anyway) Dr. Peter Poeml 2007-01-23 00:37:15 +00:00
  • 9a944edfeb - sort output of 'status' (unknown files first, filenames alphabetically) - fix the unit tests for the above change, and for api changes Dr. Peter Poeml 2007-01-23 00:32:45 +00:00
  • fb9d9495e9 update TODO and NEWS Dr. Peter Poeml 2007-01-12 04:20:02 +00:00
  • a12c8e9b82 merge from Susannes branch (/branches/froh/reponator/) Dr. Peter Poeml 2007-01-12 03:53:44 +00:00
  • 6274cf512b fix typo (Thanks Susanne) Dr. Peter Poeml 2007-01-12 03:52:46 +00:00
  • da02db0c51 merge from branches/froh/reponator/: Dr. Peter Poeml 2007-01-12 03:52:13 +00:00
  • 885464d7a5 added commandline shortcut 'stat' for 'status', like in svn David Mayr 2007-01-07 00:59:34 +00:00
  • 6af51a1652 corrected little typo David Mayr 2007-01-06 05:13:05 +00:00
  • fb69bbc4b8 Dr. Peter Poeml 2006-12-14 21:32:21 +00:00
  • 813125a8f6 - added links to the wiki pages for more details Lars Vogdt 2006-12-12 02:01:39 +00:00
  • c9f3df6a51 - fix missing xml argument in documentation - switched to SUSE_SLE-10 as example Lars Vogdt 2006-12-12 01:59:44 +00:00
  • cf852ae5db print usage info if 'co' is called without arguments Dr. Peter Poeml 2006-10-18 22:30:53 +00:00
  • a94364d95b correct last fix: set scheme in DEFAULTS not in the comment. Dr. Peter Poeml 2006-10-13 09:19:28 +00:00
  • 4f61fc4bb0 set scheme=https in the default conf; add missing import sys in othermethods.py Dr. Peter Poeml 2006-10-13 06:37:16 +00:00
  • 3b96e4dfdf bump version (0.9); update NEWS Dr. Peter Poeml 2006-10-12 13:30:33 +00:00
  • baafea955b - add 'edituser' command for editing the metadata of a user account. It tries to create a user if it doesn't exist yet. A new command 'usermeta' replaces 'id' respectively 'userid'. - add preliminary support for doing uploads with a subsequent "commit" request (not switched on now, since I want to do more testing on this, and there is no way to pass on a commit message yet anyway.) - add runtime check for build.rpm version, so the rpm package dependencies is no longer required - fix typo introduced last time in the editmeta, deletepac, deleteprj commands - rewrite the PUT and DELETE request methods to - transparently handle HTTPS - handle path parameters (for commits) - send user agent - rename get_user_id() function to get_user_meta() - change copyright notice from Peter Poeml to Peter Poeml / Novell Inc. - fix testsuite - add CREDITS file Dr. Peter Poeml 2006-10-12 13:22:56 +00:00
  • 39779ec9bc - rewrite configuration handling - move all configuration code into module osc/conf.py - now, the API server can be configured in .oscrc with apisrv = ... - also, 'scheme' (http/https) is no longer a module variable but can be configured - all config is in DEFAULT - ignore vim swap files - use urllib() convenience wrapper in some functions that used urllib2.urlopen() and had their own error handling. Instead, it seems to make sense -- in the future-- to create our own errors and propagate them up, in cases where the error handling of urlopen() is too generic - rename get_slash_source() to meta_get_project_list() for consistency - show local time in get_buildhistory(), not UTC - rewrite help text of 'rebuildpac' command - allow to run commandline.py from the commandline (without the wrapper) - don't send a space when doing a POST request without body Dr. Peter Poeml 2006-10-10 14:04:34 +00:00
  • 5f8fc4e340 - fix 'status <filename>' - use filename matching to exclude files [#208969] - add '.gitignore', '.pc', '*~' to ignore list - add testcase Dr. Peter Poeml 2006-09-29 14:34:18 +00:00
  • 2b4a5ae46a - fix 'status' to work with project directories as arguments, and print proper relative pathnames - fix testsuite, and add test for relative directories with 'status' - add is_package_dir() method - add pathjoin() method, similar to os.path.join but it removes a leading ./ Dr. Peter Poeml 2006-09-29 13:15:41 +00:00
  • 03413a9e32 update NEWS and TODO Dr. Peter Poeml 2006-09-29 10:37:53 +00:00
  • c758321df2 for large numbers of packages, group the results in chunks Dr. Peter Poeml 2006-09-29 09:55:27 +00:00
  • f91bd60f3b do not trace, but exit with 1 on upload error Adrian Schröter 2006-09-26 09:02:00 +00:00
  • 89229112cc adjust TODO Dr. Peter Poeml 2006-09-25 15:21:23 +00:00
  • 2321509096 - change 'buildhistory' to display human-readable text - add 'deleteprj' command and delete_project() method. Note: the API server doesn't seem to support it yet. - add 'prjresults' command to display aggregated build status over the entire project - 'rebuildpac': accept additional repo and arch argument. Note: the syntax has changed. - 'log': print usage info if called with missing arguments Dr. Peter Poeml 2006-09-25 15:11:03 +00:00
  • a79f38bb54 update NEWS and TODO Dr. Peter Poeml 2006-09-21 14:45:56 +00:00
  • c6d1d3917e - add 'copypac' subcommand, to copy a complete package to a new package, possibly cross-project - don't die if user tries to 'add' a file which is already versioned - don't die if 'addremove' encounters directories Dr. Peter Poeml 2006-09-21 14:33:24 +00:00
  • 79092b2a86 urlopen(): for server return code 500, print out the reply body Dr. Peter Poeml 2006-09-18 16:53:55 +00:00
  • 755a4e7626 be fair, and also mention dsc files Dr. Peter Poeml 2006-09-18 16:45:59 +00:00
  • 46b12c1df1 build: fix finding of built packages in the end of the build Dr. Peter Poeml 2006-09-15 16:17:49 +00:00
  • 41c2524691 fix dynamical build-root setting (r729) Dr. Peter Poeml 2006-09-15 16:13:15 +00:00
  • b0011af9a8 build: error checking on external commands Dr. Peter Poeml 2006-09-15 16:11:19 +00:00
  • 3bcb8b1c57 update NEWS and TODO Dr. Peter Poeml 2006-09-15 14:37:30 +00:00
  • 26ef33195e change order of 'BUILD_ROOT', 'OSC_BUILD_ROOT' so the latter overrides the former Dr. Peter Poeml 2006-09-15 14:35:09 +00:00
  • 0631e8fcb1 - let environment variables OSC_SU_WRAPPER OSC_BUILD_ROOT override config values Dr. Peter Poeml 2006-09-15 14:27:40 +00:00
  • 51247e7a7c build: allow 'dynamical' build-root setting by using %(repo)s and %(arch)s Dr. Peter Poeml 2006-09-15 14:26:09 +00:00
  • e877e12ffb - 'meta': more debugging output in case or failure: if the server sends code 500 (internal server error), print out the used URL and the ruby stack trace Dr. Peter Poeml 2006-09-15 13:24:41 +00:00
  • 5947848c81 bump version (0.8); update NEWS file Dr. Peter Poeml 2006-09-15 13:23:28 +00:00
  • aa248dde9f - implement POSTing of local specfile to get real buildinfo - extend urlopen() so it takes data for optional POST - extend get_buildinfo() to take optional specfile argument - osc.build.main: send specfile to server - buildinfo(): accept specfile as third argument, and document it Dr. Peter Poeml 2006-09-15 11:47:34 +00:00
  • 7a8c7664da add subcommands createpac/editpac and createprj/editprj, which wrap around editmeta but are more logical to find; fix help message of editmeta subcommand Dr. Peter Poeml 2006-09-15 10:53:44 +00:00
  • 7f592638be fix error message in meta_get_filelist() Dr. Peter Poeml 2006-09-15 09:48:49 +00:00
  • 93c8689202 add to TODO Dr. Peter Poeml 2006-09-15 09:47:44 +00:00
  • 768dcb9b4a implement 'deletepac' subcommand Dr. Peter Poeml 2006-08-11 10:37:29 +00:00
  • b6dd183168 add to TODO Dr. Peter Poeml 2006-08-10 16:55:25 +00:00
  • d5d642a169 add to TODO Dr. Peter Poeml 2006-08-10 16:53:59 +00:00
  • 36cc55b6fd - rename subcommand 'history' (which was not implemented yet) to 'buildhistory', and make it work. It still gives out raw xml, which might be changed - add some help text to the linkpac documentation - add '.git' to exclude_stuff Dr. Peter Poeml 2006-08-10 16:39:13 +00:00
  • 0a0d5c7976 update NEWS file Dr. Peter Poeml 2006-08-07 10:36:50 +00:00
  • db81a4b07b - new subcommand: linkpac, to create a linked package - extend edit_meta() with two arguments: template=new_package_templ, change_is_required=True - increase BLOCKSIZE in othermethods.putfile() (1024 seemed a little small) - extend othermethods.putfile() to serve a string buffer instead of a real file - for filelists, don't read _meta file any longer (depracated). Read directly from /source/<project>/ Dr. Peter Poeml 2006-08-07 10:08:54 +00:00
  • 12b0c4bb99 - fix creation of packages, which did no longer work since the latest changes in error handling (since editmeta needs to see the 404 to know that a package is to be created) - insert a newline after 'missing argument' messages Dr. Peter Poeml 2006-07-20 14:23:10 +00:00
  • 5be1e292fc fix issue with uploading files -- in PUT requests, there was an additional newline inserted, which could lead to wrong interpretation of the payload if e.g. an intercepting web proxy was in between osc and the api server Dr. Peter Poeml 2006-07-19 15:15:57 +00:00
  • c52baf09f7 fix usage of personality wrappers Dr. Peter Poeml 2006-07-17 13:53:17 +00:00
  • 686eb637c8 build: when called without arguments, show only architectures that can be built on the local machine Dr. Peter Poeml 2006-07-17 13:38:37 +00:00
  • b69ae796cc add info about build subcommand to README Dr. Peter Poeml 2006-07-17 13:15:42 +00:00
  • ea106f0b05 fix osc/__init__.py to contain new modules Dr. Peter Poeml 2006-07-17 13:15:21 +00:00