[obs-commits] [openSUSE/osc2] 3747ee: - test.osctest: backported ability to use assertRa...
Branch: refs/heads/master Home: https://github.com/openSUSE/osc2 Commit: 3747eedf1808d0b9d696f756d26ebe18f4317634 https://github.com/openSUSE/osc2/commit/3747eedf1808d0b9d696f756d26ebe18f431... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2012-07-29 (Sun, 29 Jul 2012) Changed paths: M test/osctest.py Log Message: ----------- - test.osctest: backported ability to use assertRaises as a context manager This fixes testsuite failures with python < 2.7 Commit: 14802e63b32437aa6b3650ca78d0dcf3d1f37c05 https://github.com/openSUSE/osc2/commit/14802e63b32437aa6b3650ca78d0dcf3d1f3... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2012-07-29 (Sun, 29 Jul 2012) Changed paths: M osc/httprequest.py Log Message: ----------- - osc.httprequest: added build_url module method build_url provides a way to construct an url from an apiurl (http://host) a path and a query str. This method should be used if a url has to be constructed manually (this is only needed in very rare cases) Urllib2HTTPRequest uses this method too (refactored some code). Commit: 3adde18e6d2602829a0e999ce297e96e955e40b4 https://github.com/openSUSE/osc2/commit/3adde18e6d2602829a0e999ce297e96e955e... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2012-07-29 (Sun, 29 Jul 2012) Changed paths: A osc/util/listinfo.py A osc/util/notify.py M osc/wc/base.py M osc/wc/package.py M osc/wc/project.py Log Message: ----------- - osc.util.listinfo, osc.util.notify: added new modules Moved some code which can be reused by the fetch module from osc.wc.base to the new modules. Namely the classes: * ListInfo * Notifier Adapted osc.wc.package and osc.wc.project accordingly. Commit: 6bd19b17aa3cb9d38cf5a57662801acc9fb235a8 https://github.com/openSUSE/osc2/commit/6bd19b17aa3cb9d38cf5a57662801acc9fb2... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2012-07-29 (Sun, 29 Jul 2012) Changed paths: M test/test_fetch.py A test/test_fetch_fixtures/buildinfo_fetch1.xml A test/test_fetch_fixtures/buildinfo_fetch2.xml A test/test_fetch_fixtures/buildinfo_fetch3.xml A test/test_fetch_fixtures/buildinfo_fetch_no_downloadurl.xml A test/test_fetch_fixtures/cache_factory/openSUSE:Factory/snapshot/x86_64/aaa_base-12.2-7.1.x86_64.rpm A test/test_fetch_fixtures/cache_factory/openSUSE:Factory/standard/x86_64/attr-2.4.46-10.2.x86_64.rpm A test/test_fetch_fixtures/cache_factory/openSUSE:Factory/standard/x86_64/python-devel-2.7.3-4.8.x86_64.rpm A test/test_fetch_fixtures/fetch_cpio1.cpio A test/test_fetch_fixtures/fetch_cpio2_snapshot.cpio A test/test_fetch_fixtures/fetch_cpio2_standard.cpio A test/test_fetch_fixtures/fetch_cpio3_inst_images.cpio A test/test_fetch_fixtures/fetch_cpio3_ksc.cpio A test/test_fetch_fixtures/fetch_cpio3_mc.cpio A test/test_fetch_fixtures/fetch_cpio3_repository.cpio A test/test_fetch_fixtures/fetch_cpio4_repository_errors.cpio A test/test_fetch_fixtures/fetch_cpio6_ksc_missing.cpio Log Message: ----------- - test.test_fetch: added testcases and fixtures for the BuildDependencyFetcher class Commit: 6ee1116441a5003971190d59efe6238728e00ffe https://github.com/openSUSE/osc2/commit/6ee1116441a5003971190d59efe6238728e0... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2012-07-29 (Sun, 29 Jul 2012) Changed paths: M osc/fetch.py Log Message: ----------- - osc.fetch: added BuildDependencyFetcher class It can be used to fetch build dependencies from a mirror or from the api. Compare: https://github.com/openSUSE/osc2/compare/0b6a6ad01089...6ee1116441a5
participants (1)
-
Marcus Huewe