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

Commit Graph

  • a3a2667742 - change conf.get_config() to take three optional override values: get_config(override_conffile = None, override_http_debug = None, override_apisrv = None) Thus, it should be possible to use the osc module with one simple conf.get_config() call. It is no longer required to set up the api url in the config dict, and call conf.init_basicauth(). Dr. Peter Poeml 2007-08-22 10:18:25 +00:00
  • 106645a87b allow to specify a different config file via the environmental variable OSC_CONFIG Dr. Peter Poeml 2007-08-22 08:30:53 +00:00
  • 0da80f0fd9 - core: add get_binary_file(), with contribution from James Oakley - ls command: add -b option to list binaries - req command: show error response also for 404 responses Dr. Peter Poeml 2007-08-16 18:15:08 +00:00
  • 409e46c3b0 - add get_binarylist_published() - no need for StringIO'ifying the file object - remove a comment Dr. Peter Poeml 2007-08-16 17:12:46 +00:00
  • b2aa457ecc to do Dr. Peter Poeml 2007-08-16 17:04:13 +00:00
  • 458eb4f514 add get_binarylist() function. Works per project and per package Dr. Peter Poeml 2007-08-16 10:28:32 +00:00
  • cbaf5702e4 update TODO file Dr. Peter Poeml 2007-08-16 07:41:56 +00:00
  • 02d77c4bda fixed "osc build" if $BUILD_DIST is set Marcus Hüwe 2007-08-15 19:28:08 +00:00
  • 6c84b42333 bump version to 0.98 Dr. Peter Poeml 2007-08-14 11:49:43 +00:00
  • da6f6c4a8a build: add --changelog option to force update of the package changelog from a changes file Dr. Peter Poeml 2007-08-14 11:26:13 +00:00
  • cdf91d7f39 commit: use the documented commit method by default now Dr. Peter Poeml 2007-08-14 10:30:39 +00:00
  • 5cd1ace719 don't hardcode 'package' query parameter into show_results_meta() Dr. Peter Poeml 2007-08-11 12:29:38 +00:00
  • 6298267101 meta: remove notion of non-implemented --create switch. give example for meta pkg usage Dr. Peter Poeml 2007-08-09 16:15:13 +00:00
  • 929fe9b12c search: add --repos-baseurl option Dr. Peter Poeml 2007-08-09 11:35:08 +00:00
  • 2710cca3e0 fix testsuite for do_commits=0 (I had do_commits=1 in my .oscrc) Dr. Peter Poeml 2007-08-09 11:30:08 +00:00
  • 043db4c43f add tests for commit messages and commit log Dr. Peter Poeml 2007-08-09 07:38:29 +00:00
  • d75d98da50 fixed possible "UnboundLocalError". Thanks to judas_iscariote for spotting this issue! Marcus Hüwe 2007-08-08 19:48:38 +00:00
  • 003c3dad5b fixed two small typos Marcus Hüwe 2007-08-08 15:44:14 +00:00
  • a5b0a50d28 https_proxy is not supported by urllib2. It only leads to an error or, at best, a warning. Thus, unset https_proxy and HTTPS_PROXY in the environment, so urllib2 doesn't trip over it. https://bugzilla.novell.com/show_bug.cgi?id=214983 https://bugzilla.novell.com/show_bug.cgi?id=298378 Dr. Peter Poeml 2007-08-08 13:24:52 +00:00
  • 4c136424fb fix for "osc prjconf <project> -e". Marcus Hüwe 2007-08-04 21:11:31 +00:00
  • 9921478c37 changed default behaviour of importsrcpkg(). The files will not be committed by default. To commit them use the --commit switch. Marcus Hüwe 2007-07-30 18:11:52 +00:00
  • d6bdc3712f - some more work on importsrcpkg(): * by default the new files will be comitted (if it is a new package or if there are no source files on the server) * added --disable-commit option switch to import the package only locally * added --delete-old-files option switch to delete old files from the server. - some changes in the Package class: * extended existing commit() method to do all the commit work (before it was done in the do_commit() method). * moved stuff from the constructor into a new method (update_datastructs()). Marcus Hüwe 2007-07-30 11:12:42 +00:00
  • 155d60cfa0 use rpm-python to detect the "Name:", "Summary:", "%description" of a (s)rpm. This change speeds up some things Marcus Hüwe 2007-07-29 15:27:27 +00:00
  • 8316936fa5 allow to import source rpms by specifying an URL Dr. Peter Poeml 2007-07-25 12:21:46 +00:00
  • 633fd2c10f simplify do_importsrcpkg() Dr. Peter Poeml 2007-07-25 12:14:32 +00:00
  • 8fe9ac2ed1 add req command to issue arbitrary requests to the API Dr. Peter Poeml 2007-07-25 10:56:04 +00:00
  • 30b82a050e expand tilde to users home for packagecachedir in .oscrc [#293675] Dr. Peter Poeml 2007-07-24 10:46:03 +00:00
  • 31953fbbe4 append missing newline if do_commits=False [#293672] Dr. Peter Poeml 2007-07-24 10:35:08 +00:00
  • 63d6dede67 make delete_package() and delete_project() more userfriendly (added trivial exception handling..) Marcus Hüwe 2007-07-23 16:31:02 +00:00
  • f36e3133c7 - added new importfromsrcpkg command: * now a package can be imported from a src.rpm * thanks to Peter for his is_rpm() and is_srcrpm() methods - split out some methods into smaller ones (so they can be reused for other tasks) - added some new methods for unpacking a src.rpm - changed read_meta_from_spec() method to be more flexible (it is possible to specify the tags and sections). Marcus Hüwe 2007-07-23 16:03:30 +00:00
  • 7bde6453fd extend NEWS file Dr. Peter Poeml 2007-07-23 09:28:15 +00:00
  • de9faebefe - meta: add --delete switch to delete pattern files - complete last fix (don't implicitely add .xml to pattern files) -- forgot to commit the part in osc/core.py. Dr. Peter Poeml 2007-07-19 12:23:42 +00:00
  • 1945a7a683 - fix indentation (enforceming pattern file argument) - don't implicitely add .xml to pattern files -- it will probably cause confusion. Dr. Peter Poeml 2007-07-19 11:54:13 +00:00
  • a9dbc4bb1d fix error message which osc issues if build package is too old Dr. Peter Poeml 2007-07-19 10:49:30 +00:00
  • ad9517cb81 meta: extend usage info for 'meta pattern' Dr. Peter Poeml 2007-07-19 10:14:10 +00:00
  • 04bd877a59 - meta: allow for editing patterns Dr. Peter Poeml 2007-07-19 10:08:42 +00:00
  • b1ca1e46ab results: result code can be empty when package has just been created Dr. Peter Poeml 2007-07-19 07:42:19 +00:00
  • 513255ccf7 fix name of 10.2 product in the template for new projects Dr. Peter Poeml 2007-07-18 16:49:02 +00:00
  • d260050dc0 - commit (using the currently documented way): do DELETEs _before_ generating an "upload" revision with PUTs. The DELETEs would be invalidated by the commit. Dr. Peter Poeml 2007-07-18 13:20:59 +00:00
  • 5c0b0d64b6 commit: flush stdout, so that the progress dots are seen directly when being written Dr. Peter Poeml 2007-07-18 13:05:13 +00:00
  • 05b47f7f98 - commit: switch to new commit mode also if the -F switch is used - update NEWS file Dr. Peter Poeml 2007-07-16 17:30:48 +00:00
  • b5e1dec8ad - api now sends HTTP/1.1 400 Bad Request for invalid xml. Thus, show the reply body because it contains helpful info. - repair linkpac for the new metadata editing facilities. copypac still seems to work. Dr. Peter Poeml 2007-07-16 17:06:06 +00:00
  • 5284a9b783 - meta: implement -F|--file switch. Can read from stdin to ease scripting. - rework editmeta class, because it was programmed to pull content from the server first - add a catch-all for the depracated commands which refers to the new meta command Dr. Peter Poeml 2007-07-16 16:20:09 +00:00
  • 4944828bf1 - improve usage info on meta command - if PUT on metadata fails with a 500, and http_debug is True, print out the body of the server reply - rename update_pacmeta() to update_local_pacmeta() for clarity - rename update_filesmeta() to update_local_filesmeta() for clarity Dr. Peter Poeml 2007-07-16 13:40:58 +00:00
  • 3aa108d32a usage info for the meta command Dr. Peter Poeml 2007-07-16 10:58:11 +00:00
  • 49845edef0 adjust testsuite for the new meta command, and for the new commit output Dr. Peter Poeml 2007-07-16 10:11:40 +00:00
  • 9921fcac8e Switch from software.opensuse.org to download.opensuse.org as default download URL Dr. Peter Poeml 2007-07-16 09:45:17 +00:00
  • cf3727b70c - 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 <title /> and <description /> elements of a package/project. * show only exact matches * etc. - please tell me if the usability is too "complex" or if the output of the results is too weird. Marcus Hüwe 2007-07-15 13:49:13 +00:00
  • 5a4f1e4d42 - new meta command, replacing editmeta, editprj, createprj, editpac, createpac, edituser. TODO: - write usage info - implement -c|--create - implement -F|--file - check whether I broke usage of metadata copying/creation from withing linkpac or copypac - re-implement createpac and friends as aliasses to the new meta command -- I just commented them out for now - fix metadata change detection, which no longer relies on the timestamp of the temporary file - add close() in dgst(), which seemed to miss (I can't see a reason why it should not be there0 Dr. Peter Poeml 2007-07-13 16:01:02 +00:00
  • 0e6dcd9a4a add to TODO Dr. Peter Poeml 2007-07-13 14:43:22 +00:00
  • 9d2863b257 - log: convert commit messages to preferred output locale - commit: new option -F/--file to read commit message from file - commit: print committed revision number - Package.commit(): return the new revision number Dr. Peter Poeml 2007-07-13 10:02:35 +00:00
  • fd199c66e9 - added revision support for "osc log" - some other minor fixes (a bit exception handling (some other methods should be improved too!) etc.) Marcus Hüwe 2007-07-12 00:48:52 +00:00
  • 7e98ecb0cb - renamed log command to buildlog (short: bl) - implementing a provisionary log command for the commit log - commit: implemented -m option for the commit message - commit files together, if (and only if) do_commits = 1 is set in the [general] section of .oscrc Dr. Peter Poeml 2007-07-11 23:24:26 +00:00
  • abdbb7c11e updatepacmetafromspec: read spec files in utf-8, or whatever the preferred encoding is in the locale Dr. Peter Poeml 2007-07-11 21:14:58 +00:00
  • 4d612264e4 bump version (0.97); update NEWS file Dr. Peter Poeml 2007-07-11 09:19:06 +00:00
  • 1187333707 add a hint about updating a package from another source to the README Dr. Peter Poeml 2007-07-11 07:58:40 +00:00
  • 44b1f5621c small fix for do_checkout() Marcus Hüwe 2007-07-07 17:13:37 +00:00
  • 44dd39c0c2 added some exception handling stuff to checkRevision() (thanks darix for the tip) Marcus Hüwe 2007-07-06 15:54:10 +00:00
  • 644f8695de added checkRevision() method to verify a revision Marcus Hüwe 2007-07-06 11:54:34 +00:00
  • eaa08653e0 addremove: ignore foo.rXX, foo.mine for files which are in 'C' state Dr. Peter Poeml 2007-07-06 11:20:30 +00:00
  • 3b78077453 remove unneeded import statement Dr. Peter Poeml 2007-07-05 15:12:30 +00:00
  • e6ae7ddde3 use new openSUSE:Factory name Adrian Schröter 2007-07-04 17:48:50 +00:00
  • 9ee07fcd5a wipebinaries: allow to wipe all binaries of packages for which the build is disabled Dr. Peter Poeml 2007-07-04 14:57:19 +00:00
  • d7985774b4 fix up tests:TestOsc.testMerge for r1732 (diff handling files not ending with a newline) Dr. Peter Poeml 2007-07-04 14:10:43 +00:00
  • a0f8f15190 updatepacmetafromspec scans for spec files automatically. requested/suggested (or whatever) by darix Marcus Hüwe 2007-07-04 13:48:24 +00:00
  • 9985f7fccb add to TODO Dr. Peter Poeml 2007-07-04 13:31:39 +00:00
  • 0629060b41 update template file. Introduce the the new flags, which are support by build service in svn, but not yet deployed on api.opensuse.org Adrian Schröter 2007-07-04 12:59:18 +00:00
  • 85e66362af 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! Marcus Hüwe 2007-07-04 12:55:26 +00:00
  • adf9e633f9 added --specfile option to updatepacmetafromspec. Now the name of the spec can differ from the package name. Marcus Hüwe 2007-06-30 15:39:47 +00:00
  • 5f2e9ac766 - load subcommands from /var/lib/osc-plugins/ or ~/.osc-plugins/ Dr. Peter Poeml 2007-06-29 18:26:30 +00:00
  • 713529fc16 extend TODO Dr. Peter Poeml 2007-06-29 15:19:36 +00:00
  • f54d26e61e rm: don't allow to mark files as deleted which are not under version control Dr. Peter Poeml 2007-06-29 12:02:35 +00:00
  • 6057f2c063 - linkpac: make this osc subcommand work again: sync metadata if edit_meta() is called with change_is_required=False. - linkpac: correctly set the destination project in the template used for the new package, although the api didn't seem to notice the mistake so far. Dr. Peter Poeml 2007-06-28 14:17:13 +00:00
  • f275b58ed9 add to TODO Dr. Peter Poeml 2007-06-28 10:05:01 +00:00
  • b00d5ddc41 clean up TODO Dr. Peter Poeml 2007-06-26 14:56:38 +00:00
  • f3e5333267 handle empty prjresults (e.g. when no repositories are defined) Dr. Peter Poeml 2007-06-26 14:32:49 +00:00
  • d5ba95193b log: fail gracefully if logfile can't be found Dr. Peter Poeml 2007-06-26 14:22:23 +00:00
  • 458ffb51cb fix return value of read_meta_from_spec() if specfile is missing Dr. Peter Poeml 2007-06-26 13:56:02 +00:00
  • 8c03ba4f8d ignore .swp files in working copies Dr. Peter Poeml 2007-06-26 13:49:47 +00:00
  • 81583f342c update NEWS file Dr. Peter Poeml 2007-06-26 13:21:09 +00:00
  • a7158af067 - 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" - add show_project_conf() Dr. Peter Poeml 2007-06-26 13:17:38 +00:00
  • b832d0f1c2 build: don't stumble over an empty list of packages when trying to verify packages Dr. Peter Poeml 2007-06-26 11:19:41 +00:00
  • bf6d73f3c7 done Dr. Peter Poeml 2007-06-22 14:04:47 +00:00
  • 7312db109c fix return values in metafile.sync() which I broke whey I applied Marcus Huewe's patch... Dr. Peter Poeml 2007-06-22 12:36:13 +00:00
  • 955c45868c Set correct Content-Type header on PUT requests (application/octet-stream). Rails 1.2 seems to be more strict in this regard. Dr. Peter Poeml 2007-06-21 15:14:15 +00:00
  • 751bc409ac init: make usage (and usage info) info more precise Dr. Peter Poeml 2007-06-21 09:40:47 +00:00
  • 0cf26d0f06 - with small changes, apply a patch from Marcus Huewe: - added wipebinaries command - added abortbuild command - improve handling of metadata editing if the server doesn't accept it - rebuildpac: rename internal command for consistency reasons - update NEWS file Dr. Peter Poeml 2007-06-14 14:30:36 +00:00
  • e8ca5f0028 diff: if file doesn't end with newline, append one together with diffutils-like comment line. Bug reported by Dirk Stoecker. Dr. Peter Poeml 2007-06-14 09:39:00 +00:00
  • 48349f67b9 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. Dr. Peter Poeml 2007-06-14 08:34:02 +00:00
  • 04b63a2085 add info about nosetests usage Dr. Peter Poeml 2007-05-16 10:57:38 +00:00
  • fc6eaf68da - update cmdln.py to planned 1.0 version. The main changes are related to points that were raised during employment in osc: Dr. Peter Poeml 2007-05-16 10:55:05 +00:00
  • 34a2310db3 - make startdir a module global - add tests for commandline options Dr. Peter Poeml 2007-05-16 09:53:10 +00:00
  • f52c020e96 update NEWS file Dr. Peter Poeml 2007-05-15 21:13:55 +00:00
  • 036a8780e2 results: remove obsolete code handling commandline arguments Dr. Peter Poeml 2007-05-15 21:13:39 +00:00
  • 1ce0b8a19d rebuildpac: fix mistyped repository parameter Dr. Peter Poeml 2007-05-14 10:13:47 +00:00
  • c895de414e osc build: add --userootforbuild option Dr. Peter Poeml 2007-05-14 08:29:50 +00:00
  • 59cf753cc8 build: for buildinfo, post the specfile's content instead of its name... fixing introduced introduced with the last change Dr. Peter Poeml 2007-05-12 20:18:23 +00:00
  • d31041ef52 update NEWS file Dr. Peter Poeml 2007-05-10 14:33:43 +00:00
  • 0d9278229c - don't need config['pass'] anymore - but set config['user'], which was unset since the recent changes in auth handling Dr. Peter Poeml 2007-05-10 14:29:04 +00:00
  • 293d87dbe7 fix new_user_template, removing obsolete elements Dr. Peter Poeml 2007-05-10 13:52:13 +00:00