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

Commit Graph

  • c4f7b89062 warn only once for each unknown status in 'osc prjresults' Michal Marek 2008-04-18 11:37:19 +00:00
  • 61e2a77eb1 fix api call to request log file file. This was the legacy call, which seems not to work anymore. Adrian Schröter 2008-04-14 07:07:08 +00:00
  • 6debf60892 temporary workaround for cookie handling problem by Andreas Adrian Schröter 2008-04-12 08:04:41 +00:00
  • 0835580d59 Abort if meta_exists encounters an unexpected error (bnc#377693). The correct fix is to propagate this to commandline.py and exit() there. Michal Marek 2008-04-11 10:49:43 +00:00
  • e9176c7513 - fixed bug #378752 (osc fails to delete patterns) Marcus Hüwe 2008-04-10 21:04:17 +00:00
  • 80ab6bf345 - fixed bug #359846: the BUILD_DIST environment variable will be ignored by osc - 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. (now they're documented in the helptext) Marcus Hüwe 2008-04-09 18:45:59 +00:00
  • 5c064bc2c1 fix latent file descriptor leak in get_source_file() Dirk Mueller 2008-04-07 09:55:11 +00:00
  • d9ee2be26d - ignore dot packages too Marcus Hüwe 2008-04-03 10:46:18 +00:00
  • a3f948dede - fixed bug #376285: * make_dir() and checkout_package() got a new optionally 'prj_dir' parameter. This parameter specifies in which dir we want to create new project/package dirs. Marcus Hüwe 2008-04-02 15:30:44 +00:00
  • 06fb595140 clean up TODO and update NEWS file Dr. Peter Poeml 2008-04-02 14:38:35 +00:00
  • e62dd94cc0 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. Dr. Peter Poeml 2008-04-02 14:36:23 +00:00
  • f966f87c32 fix testsuite for changed osc info output Dr. Peter Poeml 2008-04-02 14:08:23 +00:00
  • cc02e878b0 change some places where queries are passed to makeurl(). Use dictionaries for that, which causes makeurl() to automatically do the quoting work. Dr. Peter Poeml 2008-04-02 14:07:40 +00:00
  • 6e5d41f481 - a slight simplification -- rev=upload is always okay. Dr. Peter Poeml 2008-04-02 12:54:26 +00:00
  • 5e5ca2e020 implement committing with keeping links Dr. Peter Poeml 2008-04-02 12:37:56 +00:00
  • 11fa192b33 - ignore all dot files (the buildservice doesn't handle them) - fix Project class (used by the "package tracking" code path) to use fnmatch.fnmatch() on the list of exclude expressions Dr. Peter Poeml 2008-03-31 14:42:11 +00:00
  • a20e354d07 - small apiurl fixes Marcus Hüwe 2008-03-27 00:36:17 +00:00
  • 06603f3fcb typo. Jürgen Weigert 2008-03-26 19:24:05 +00:00
  • 8c3df896bf An external tool to help working with _link files. Jürgen Weigert 2008-03-26 17:56:52 +00:00
  • a0bae2ab52 osc update: fix diff3 merging for expanded links, by adding the revision to the get_source_file() call in the mergfile method. Dr. Peter Poeml 2008-03-26 16:11:11 +00:00
  • ab76e2cf84 fix testsuite for changed osc info output Dr. Peter Poeml 2008-03-26 15:22:53 +00:00
  • 3db9e6449c Link handling: Dr. Peter Poeml 2008-03-24 20:24:49 +00:00
  • 2fa94dcf23 core: - add isexpanded() method to Linkinfo class - add isexpandedlink() method to Package class - read lsrcmd5 and srcmd5 from the linkinfo element, which are present in expanded links. osc info: - make it show info about expanded and non-expanded links Dr. Peter Poeml 2008-03-22 17:37:17 +00:00
  • f5af255798 core: relax the revision id check, so that source md5 sums are accepted Dr. Peter Poeml 2008-03-22 16:35:22 +00:00
  • 892e644f59 - add Linkinfo class to osc.core - Package class: - add linkinfo when reading in package data via update_datastructs() - add islink() method Dr. Peter Poeml 2008-03-22 13:37:59 +00:00
  • 64f3d8c55e submitreq show: if the target package doesn't exist, a diff cannot be produced. Dr. Peter Poeml 2008-03-20 20:11:30 +00:00
  • c2c406aab2 submitreq: adjust to renamed API calls and XML ("merge" -> "submit") Dr. Peter Poeml 2008-03-20 19:17:40 +00:00
  • 303e5dcffc - all necessary auth-information are available in the 'auth_dict' (so there's no need to fool around with the ConfigParser...) Marcus Hüwe 2008-03-18 13:51:57 +00:00
  • 3c3e961f4e - minor fix in createPackageDir - osc mkpac only works when 'do_package_tracking' is enabled Marcus Hüwe 2008-03-17 23:43:32 +00:00
  • 3fdf758dbb - do_repos() should work in a project dir too Marcus Hüwe 2008-03-17 23:24:28 +00:00
  • 2493ea555a - copypac: do a server-side copy (via a single api call) when used with -s / --server-side. This might be the default behaviour later. An option to specify the source revision is missing yet. Dr. Peter Poeml 2008-03-17 21:46:42 +00:00
  • 8ce42e2dd9 change osc.core.pretty_diff() to call makeurl() with a query dict Dr. Peter Poeml 2008-03-17 21:39:27 +00:00
  • 140a331c40 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. Dr. Peter Poeml 2008-03-17 21:10:34 +00:00
  • 54c1690309 osc req: add option -a / --add-header to add arbitrary request headers Dr. Peter Poeml 2008-03-16 20:46:16 +00:00
  • 7b91075229 handle mmap failure on filesystems like NTFS, which may not support memory mapping when mounted under Linux Dr. Peter Poeml 2008-03-16 19:02:38 +00:00
  • 5d57d7e299 - added 3 new methods: * createPackageDir(): create and initialize 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 - 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) - some small fixes in the do_importsrcpkg() method Marcus Hüwe 2008-03-15 22:51:37 +00:00
  • c307449167 - we only need the "<entry />" nodes - otherwise listing files of a linked package fails Marcus Hüwe 2008-03-13 21:45:24 +00:00
  • e8899aa165 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. Dr. Peter Poeml 2008-03-13 16:15:41 +00:00
  • 734973a0bd csv exported project results now use ';' as default Pavol Rusnak 2008-03-13 11:13:22 +00:00
  • 2bf92fce75 submitreq: - 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. Dr. Peter Poeml 2008-03-12 23:37:35 +00:00
  • 94826d6402 add a todo Dr. Peter Poeml 2008-03-12 22:18:49 +00:00
  • 6ab8fb52c7 - remove remove obsolete, commented code (do_editpac(), do_editprj()) - fix a small tabbing issue Dr. Peter Poeml 2008-03-12 18:26:41 +00:00
  • 241f528dc4 implement a submitreq 'accept' action, resulting in the respective state change Dr. Peter Poeml 2008-03-12 18:22:11 +00:00
  • 8fc20cfc74 ...which doesn't work. There are other requests where 0-replies are possible. Dr. Peter Poeml 2008-03-11 17:09:25 +00:00
  • dad51ee405 add a temporary debug path to http_debug() for bug 369176 (empty responses from api.opensuse.org) Dr. Peter Poeml 2008-03-11 16:39:47 +00:00
  • 3f244d4b23 remove two stray lines which sneaked into osc/build.py with the last commit Dr. Peter Poeml 2008-03-11 15:34:42 +00:00
  • 0334ea4218 add --debuginfo switch to osc build Jürgen Weigert 2008-03-11 15:18:02 +00:00
  • c0fabfc449 merged the package-tracking branch changes r2404:3491 into the trunk. Dr. Peter Poeml 2008-03-10 18:04:23 +00:00
  • 3613893199 better fix: use %(mapping keys)s in templates Michal Marek 2008-03-07 09:13:30 +00:00
  • ad2493d496 fixed last change (r3445) Michal Marek 2008-03-07 09:01:13 +00:00
  • 3e30545e7b define bugowner by default for new project/package (just part of the template, can be removed by the user) Adrian Schröter 2008-03-07 08:24:48 +00:00
  • d87de082c2 submitreq: - rename 'refuse' -> 'decline', which is more polite. - show: make the diff optional - add RequestState class - handle state history - implement 'decline' action Dr. Peter Poeml 2008-03-06 10:25:45 +00:00
  • d63779a6a4 rename the new merge requests to submit requests Dr. Peter Poeml 2008-03-05 23:51:48 +00:00
  • f52458fdc5 osc mergereq show: suppress requests which are deleted or declined Dr. Peter Poeml 2008-03-05 21:41:30 +00:00
  • b4df120e5b - adjust osc init docstring to new realities (osc meta instead of osc createpac) Susanne Oberhauser 2008-03-05 21:05:17 +00:00
  • 488e14a0d8 typo accepd -> accept Dr. Peter Poeml 2008-03-04 23:48:34 +00:00
  • aec7129a9b - add a new subcommand 'mergereq' to handle merge requests. So far, it can create, list, show requests. - internally, add a MergeReq class, and do the needed (HTTP) requests. Dr. Peter Poeml 2008-03-04 23:41:00 +00:00
  • 6c20c7203f fix importsrcpkg when $projectdir/.osc/_apiurl is an alternative apiurl Michal Marek 2008-03-03 13:51:01 +00:00
  • 016c80db86 - 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) Marcus Hüwe 2008-02-18 13:44:20 +00:00
  • 3dd6ef0f71 added option --csv to 'osc prjresults' to output a CSV table Michal Marek 2008-02-12 12:45:06 +00:00
  • afa755c09e fix testsuite for varying output of project meta Dr. Peter Poeml 2008-01-24 19:05:00 +00:00
  • f24255f384 small fix for the testsuite (my email address changed in the buildservice) Dr. Peter Poeml 2008-01-24 18:52:25 +00:00
  • 87b565f095 update NEWS file Dr. Peter Poeml 2008-01-24 18:34:45 +00:00
  • 8d52b94a6f - osc build: if the build fails, print out the buildroot, so it it at hand for debugging Dr. Peter Poeml 2008-01-24 18:18:03 +00:00
  • 63e4d8da3c - osc build: add --no-verify, to skip the package signature verification step Dr. Peter Poeml 2008-01-24 18:06:45 +00:00
  • 0e9e76ea68 - build: use the apiurl which is stored in the storedir (.osc/_apiurl) when running osc build. This should fix bug #355144 Marcus Hüwe 2008-01-23 19:37:44 +00:00
  • 646be729e7 fix display of built rpms in build.py (when did that broke??) thereby fixing osc build --keep-pkgs Dr. Peter Poeml 2008-01-22 23:49:31 +00:00
  • f8b5963c7a - check if a project exists before initializing the project dir Marcus Hüwe 2008-01-18 10:35:57 +00:00
  • 2e263514f8 - return a list instead of a tuple (this was already fixed in the packaging-branch) Marcus Hüwe 2008-01-17 19:33:02 +00:00
  • a8788c2c4e - added revision option to do_cat() Marcus Hüwe 2008-01-15 18:58:58 +00:00
  • c6249087f9 fixed typo: borken -> broken Marcus Hüwe 2008-01-11 16:44:08 +00:00
  • 5306a78503 - added two new options to osc build: * --local-package: use this option if you're trying to build a package which doesn't exist on the server * --alternative-project <project>: use this option to specify an alternative project if the current project doesn't exist on the server, e.g.: osc build [OPTS] --alternative-project openSUSE:10.3 standard i586 BUILD_DESCR - some other minor cleanups in build.py - get_repos_of_project() is now a generator function Marcus Hüwe 2008-01-07 14:54:31 +00:00
  • 53e1640b1e - added new command "remotebuildlog" to show the buildlog of a package (you don't have to checkout the package to view the buildlog) - renamed "get_log()" to "get_buildlog" to avoid any confusion with "get_commitlog()" - added new method "print_buildlog()" which prints out the buildlog on the standard output Marcus Hüwe 2008-01-03 22:10:16 +00:00
  • 5242289d3d - do_cat(): do not print a newline (strip the trailing '\n' from string) Marcus Hüwe 2007-12-13 12:00:16 +00:00
  • dbfcb32435 - fixed bug #347377 - other minor fixes in make_diff() Marcus Hüwe 2007-12-13 11:31:31 +00:00
  • 6781119d43 - cat: simplify the code a bit; don't print header and footer lines - unification of the help output of some commands Dr. Peter Poeml 2007-12-10 14:23:58 +00:00
  • 7826163ca2 bugfix in build: in order to verify package signatures, run the external rpm command with en_EN locale, because the output is being parsed Dr. Peter Poeml 2007-12-10 14:10:40 +00:00
  • 8138a32863 update TODO Dr. Peter Poeml 2007-12-10 13:44:59 +00:00
  • aca6c6979e cat: fix the test if the file is binary, which swallowed the first 4098 bytes Dr. Peter Poeml 2007-11-30 10:28:00 +00:00
  • 8a4f2535e7 update NEWS file Dr. Peter Poeml 2007-11-30 01:00:14 +00:00
  • 9aafba838f improve wording in rdiff documentation Dr. Peter Poeml 2007-11-29 17:32:52 +00:00
  • 620bc2ea68 add rdiff subcommand, to allow server-side diffs between arbitrary packages Dr. Peter Poeml 2007-11-29 17:22:57 +00:00
  • d4bfd42bb4 - copied init_project_dir() method from the osc-package-tracking branch (just removed the do_package_tracking stuff) - checkout an empty project instead of doing nothing Marcus Hüwe 2007-11-29 12:54:07 +00:00
  • 7b9f85f97f - reworked the diff functionality: * some new things like showing newly added files * moved the whole code into a new methode (make_diff()) * behave more like svn when doing a diff against a certain revision - changed the storedir attribut of the Package() class to an absolute filename - normally this shouldn't have any impact on existing methods, functionality etc. Marcus Hüwe 2007-11-26 18:13:51 +00:00
  • 5518e15673 - make sure that the package meta has a <person> element and remove all <person> elements from the orginal package (this change affects {link,aggregate,copy}_pac). Patch from Michal Marek <mmarek@suse.cz> - thanks! Marcus Hüwe 2007-11-09 18:03:19 +00:00
  • 69e3fd1d4e - added new "cat" command to print a file on the standard output Marcus Hüwe 2007-11-02 18:18:30 +00:00
  • 06fad37df4 update NEWS file Dr. Peter Poeml 2007-10-30 13:50:12 +00:00
  • 675901bc5d - aggregatepac: new command, similar to linkpac. Patch from Pavol Rusnak. - prjresults: for newly added packages, build status may be missing. Cope with that. Dr. Peter Poeml 2007-10-30 13:45:54 +00:00
  • 420b9cf25c bump version to 0.99; update NEWS file Dr. Peter Poeml 2007-10-30 11:47:06 +00:00
  • db692ce10e - fixed bug #259711 (do not create dirs for non-existing packages during checkout) Marcus Hüwe 2007-10-27 20:19:12 +00:00
  • 42e128687d - added --build-failed and --broken options to the do_wipebinaries() method (this also fixes bug/enhancement #335498) Marcus Hüwe 2007-10-27 19:13:24 +00:00
  • 0daff74b79 todo Dr. Peter Poeml 2007-10-25 13:53:46 +00:00
  • d0b0b1bdb5 enabled deletion of packages as the backend now supports it. Marcus Hüwe 2007-10-13 23:15:49 +00:00
  • 69b7e3bfc7 added a bit more functionality to do_maintainers. It is possible to add and delete users from a project/package Marcus Hüwe 2007-09-12 18:01:13 +00:00
  • bd9ae2fd05 print the list of URL to try, when in HTTP debug mode Dr. Peter Poeml 2007-09-10 12:22:13 +00:00
  • 40d2ce205e - added verbose option to do_maintainers: * it basically lists some more information about each maintainer - replaced get_user_email() with get_user_data() Marcus Hüwe 2007-09-03 16:18:37 +00:00
  • 9ce40d4bab - build: allow to use lbuild, a compatible replacement for build Dr. Peter Poeml 2007-09-03 14:52:45 +00:00
  • 3e97442f4b add link to draft on source code branching Dr. Peter Poeml 2007-09-03 11:55:23 +00:00
  • 8fdca234ca update NEWS file Dr. Peter Poeml 2007-09-03 10:50:02 +00:00
  • b4858dbee8 done Dr. Peter Poeml 2007-09-03 10:49:44 +00:00