commit 3f53248054f07c437a72cb22b1657feec88619cf
Author: Radek Holy <rholy@redhat.com> Date: Fri Jun 5 14:42:56 2015 +0200 spec: fix the command that starts Python 3 tests Bug introduced by acc8957b99f1a322441da6987ad83f8cdf87c53a. commit 1c85e842aae68d5b1069fe6aa4b216b2786ed150 Author: Jan Silhan <jsilhan@redhat.com> Date: Thu Jun 4 11:24:32 2015 +0200 Automatic commit of package [hawkey] release [0.5.8-1]. commit 9a307b8e81f0ba7519f6529761094589d888d483 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Jun 3 20:06:09 2015 +0200 added implicit-function-declaration compile flag commit aaf6b50be320c6c92c17756770a898cc0f0395c5 Author: Colin Walters <walters@verbum.org> Date: Sun May 31 21:41:46 2015 -0400 subject: Fix compiler warning introduced by previous commit Sorry about that. I need to figure out how to configure CMake to use `-Werror=implicit-function-declaration` by default. commit acc8957b99f1a322441da6987ad83f8cdf87c53a Author: Colin Walters <walters@verbum.org> Date: Wed Mar 25 09:15:06 2015 -0400 python: Verify that nosetest actually ran any tests https://bugzilla.redhat.com/show_bug.cgi?id=1226753 caused extensive grief for me by silently disabling all the Nose tests in this module. nosetests by default will happily run no tests at all and report success. Ensure we avoid developers being confused into thinking tests are running if a broken python-rhev is installed, configure nosetests to use xunit output, and parse the result, verifying that 'ntests' is not zero. create mode 100755 tests/python/tests/run_nosetests.in delete mode 100755 tests/python/tests/run_nosetests.sh.in commit 9fe523b8f68d5f9b90a66b4e76fcab10f62c0a15 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri May 29 09:58:25 2015 +0200 AUTHORS: updated commit f043c1c94a19cf4662742c649f836be3a32a15e2 Author: Colin Walters <walters@verbum.org> Date: Thu May 28 15:39:59 2015 -0400 subject: Remove internal header includes from public header Including `iutil.h` and `nevra_internal.h` makes the header file unusable from other C projects such as libhif. commit 710c4ae492650e31f8551bd2804b0bc7f20d9fb4 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon May 4 17:08:27 2015 +0200 maintain result map in query (RhBug:1049205) commit 37bbc5ef819cd6b2af9287f9f83c285a1fba2664 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon May 25 11:08:51 2015 +0200 AUTHORS: updated commit fc15e37ee2d3585000b2cd2fbe7eb26d1d018b99 Author: Matthew Barnes <mbarnes@redhat.com> Date: Tue May 12 16:35:50 2015 -0400 package: Don't assume the same pool in hy_package_cmp() This was observed in OSTree. Not sure how the two HyPackage arguments came to originate from different memory pools, but the assumption in hy_package_cmp() that they share the same pool was crashing libsolv. Similarly for hy_package_evr_cmp(). commit c68d7a5ba2ff49e44ffa7f1123767301ad2c9e8c Author: Michal Luscon <mluscon@redhat.com> Date: Wed May 20 14:22:23 2015 +0200 Automatic commit of package [hawkey] release [0.5.7-1]. commit 011a26dca21d3d9adbbd301c2cb6702f60cac578 Author: Radek Holy <rholy@redhat.com> Date: Thu May 14 16:35:08 2015 +0200 spec: add a %{snapshot} macro for easier snapshot building commit 1735264978540cb7c952c8fe2e670b67ea197722 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon May 18 16:49:14 2015 +0200 doc: sack: deep copy added to warning section commit e24bcbcf3d66f5d6bba12feda232e4ef0463dcb8 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon May 18 16:47:42 2015 +0200 doc: sack: warning about multiple Sack usage commit 82eb2bb775264c8073a8cd5240c04955020ace66 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon May 18 16:38:46 2015 +0200 doc: sack: len(sack) -> method __len__ commit 2319c62c5cf1d24a803146bd15b1a3d66f364111 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon May 18 13:40:26 2015 +0200 Package.files returns list of Unicode objects commit 38b38f90633d1de6722a6b1d1d3792192db80287 Author: Michal Luscon <mluscon@redhat.com> Date: Thu May 7 15:31:30 2015 +0200 Automatic commit of package [hawkey] release [0.5.6-1]. commit 4122ecd6d06c702578f32ae74cb18a0c80eec3d9 Author: Michal Luscon <mluscon@redhat.com> Date: Thu May 7 15:29:36 2015 +0200 spec: merge distgit and upstream spec commit 999b021e8cb131fddc1ba13d01bab349b81a8ca0 Author: Jan Silhan <jsilhan@redhat.com> Date: Thu May 7 15:22:27 2015 +0200 Revert "sack: force recomputing excludes" (RhUbg:1218650) This reverts commit 5ac2d255a705038b0a454fbd754f278eb97b5453. commit 79b17f7e5c5088c2b73c83958ad99530e484f4f6 Author: Michal Luscon <mluscon@redhat.com> Date: Wed Apr 29 17:22:51 2015 +0200 Automatic commit of package [hawkey] release [0.5.5-1]. commit 1f6b41fcb318d2262583aa0cec3b586e39b9f903 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Apr 27 15:34:17 2015 +0200 get rid of yum references commit 5ac2d255a705038b0a454fbd754f278eb97b5453 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Apr 29 12:29:34 2015 +0200 sack: force recomputing excludes commit a085d48396b42eb32562c76364fd809e487a1dec Author: Jan Silhan <jsilhan@redhat.com> Date: Tue Apr 28 17:48:36 2015 +0200 doc: cosmetic: made Sack headline more readable commit 3dabcea9d5816dfaf5d963db8a08040c3ca3ddb1 Author: Jan Silhan <jsilhan@redhat.com> Date: Tue Apr 28 17:44:07 2015 +0200 doc: sack: warning about using excludes, includes, disabling and enabling repos commit 2ac4b30d3d358d6c2e29f2d5dbde730ed6e1042b Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Apr 20 13:42:20 2015 +0200 cosmetic: removed commented code commit 01c09dcf7ea8155ec77272df495187381d0ec757 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Apr 17 11:56:40 2015 +0200 sack: calls reinitiate provides after changing considered map (RhBug:1099342) commit 2d29d387ac569dbc12911f27c6e1bd17ffdb3a1d Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Apr 17 12:05:23 2015 +0200 fixed memleak from d8f2ca7 commit 223b45e6cce7c07b173b121a03f9f79f1dfd7ab9 Author: Radek Holy <rholy@redhat.com> Date: Thu Mar 12 12:25:34 2015 +0100 doc: add to CMDLINE_REPO_NAME and SYSTEM_REPO_NAME the Python API reference manual. create mode 100644 doc/reference-py-constants.rst commit e1c94a166b78b7c1966fcbe2b8175a2cdb36d639 Author: Radek Holy <rholy@redhat.com> Date: Tue Mar 10 17:34:27 2015 +0100 doc: add Repo to the Python API reference manual. create mode 100644 doc/reference-py-repo.rst commit 77faae1a60c6ea858dcc328c00baca5d6060a9cb Author: Michael Mraka <michael.mraka@redhat.com> Date: Mon Apr 13 09:47:29 2015 +0200 updated load_test_repo() to be able to load non-standard system repo commit ea3fa2a8e0f7fa9b28abadfe786d117b93a86868 Author: Michael Mraka <michael.mraka@redhat.com> Date: Wed Apr 1 10:01:41 2015 +0200 python tests for goal.run(verify=True) commit d8f2ca75295ee5eb7a251c61f0eadd12eaf9afa6 Author: Michael Mraka <michael.mraka@redhat.com> Date: Tue Mar 24 10:56:17 2015 +0100 test for HY_VERIFY flag create mode 100644 tests/repos/@System-broken.repo commit c27576e894ebfc41406b70f4629337ff3551dde8 Author: Michael Mraka <michael.mraka@redhat.com> Date: Wed Mar 18 09:26:52 2015 +0100 introduced verify option for goal.run() commit e4b0b046f396069d5b3c5e5e2e35f7539c5fe2f4 Author: Michael Mraka <michael.mraka@redhat.com> Date: Wed Apr 1 09:44:57 2015 +0200 AUTHORS: fixed name commit f77f3c229010541a3cda720f0a3e9ca5be2fd43b Author: Jan Silhan <jsilhan@redhat.com> Date: Tue Mar 31 19:00:10 2015 +0200 AUTHORS: added 3 Michaels commit a10053b92353800f3e6339d24e803fc86d5f8631 Author: Michal Ruprich <Formaiko@Formaiko-PC.nat7.vcit.vutbr.net> Date: Mon Mar 30 12:47:47 2015 +0200 Build for x86_64, correction for C++ commit cff2ea9c1ee652c70e7cd346fea639696bd6422d Author: Michal Luscon <mluscon@redhat.com> Date: Tue Mar 31 15:44:17 2015 +0200 Automatic commit of package [hawkey] release [0.5.4-1]. create mode 100644 rel-eng/packages/hawkey commit 7235f117e46415d768090ef217e032aa5f9d6fda Author: Michal Luscon <mluscon@redhat.com> Date: Tue Mar 24 15:40:12 2015 +0100 setup tito to bump version in VERSION.cmake create mode 100644 rel-eng/templates/version commit dad1cfba34c0221f273170953aaae7d273cc541a Author: Michal Luscon <mluscon@redhat.com> Date: Tue Mar 24 09:46:26 2015 +0100 initialize to use tito create mode 100644 rel-eng/README create mode 100644 rel-eng/releasers.conf create mode 100644 rel-eng/tito.props commit 218b69e74b0d48ae5dc7e0b71afb33f86451ebcc Author: Michal Luscon <mluscon@redhat.com> Date: Tue Mar 24 09:46:04 2015 +0100 prepare repo for tito build system create mode 100644 hawkey.spec delete mode 100755 package/archive delete mode 100644 package/hawkey.spec.in commit 370a91c518ced341e980a379ba0ce15cbd1b0e25 Author: Michal Luscon <mluscon@redhat.com> Date: Mon Feb 23 19:43:05 2015 +0100 New version 0.5.4 commit 395492352a255a9f6160585b1d771192af3fded0 Author: Michal Luscon <mluscon@redhat.com> Date: Tue Feb 17 21:03:26 2015 +0100 goal: implement methods for optional installation (RhBug:1167881) commit b5cd13dc11dac38d4b7667dfe91b974424157935 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Feb 25 19:14:30 2015 +0100 build: 0.5.3-2 commit e9d31545dbc75e67a2257610e409c632e7e8211e Author: Peter Hjalmarsson <kanelxake@gmail.com> Date: Wed Jan 7 15:15:40 2015 +0100 Add Peter to Authors commit 227e4780212bc1fc056f94ea1c0230a0389d0a06 Author: Peter Hjalmarsson <kanelxake@gmail.com> Date: Wed Dec 10 21:51:50 2014 +0100 Add support for armv6hl commit a687e3f580ae67d4a88b5f5fd0d8da101f031475 Author: Jan Silhan <jsilhan@redhat.com> Date: Tue Feb 3 18:35:12 2015 +0100 README: made readthedoc documentation official commit 3668a8fe8d1447863af00bb8a13bcd9df38ea867 Author: Jan Silhan <jsilhan@redhat.com> Date: Thu Jan 22 22:08:59 2015 +0100 sack: deprecation of create_cmdline_repo commit d002c90233fc96893806836a258f14a50ee0cf47 Author: Jan Silhan <jsilhan@redhat.com> Date: Thu Jan 15 22:01:44 2015 +0100 does not break Sack.__init__ API from 8ce3ce7 commit 369faa007f1f89bbe8f70f5573fc1bea255e14b7 Author: Radek Holy <rholy@redhat.com> Date: Thu Jan 15 17:50:11 2015 +0100 doc: document the new logdir parameter of Sack.__init__. commit 48ca49d7519dce62190243e6c930bc17b440e9f0 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Jan 7 13:29:04 2015 +0100 New version: 0.5.3 commit 8ce3ce754f50b4284587ceaa2eb4c0acf328912a Author: Jan Silhan <jsilhan@redhat.com> Date: Tue Jan 6 20:36:26 2015 +0100 apichange: sack: added optional param logdir (Related:RhBug:1175434) commit aa15733ad0f8742e92de7644da579377b44265cd Author: Radek Holy <rholy@redhat.com> Date: Tue Jan 13 12:44:05 2015 +0100 apichange: py: rename: Sack.cache_path -> Sack.cache_dir commit ccfc5d0192bbd79499c7301046ee36e67b33d0b8 Author: Radek Holy <rholy@redhat.com> Date: Tue Jan 13 12:27:52 2015 +0100 doc: add Sack to the Python API reference manual. create mode 100644 doc/reference-py-errors.rst create mode 100644 doc/reference-py-sack.rst commit 21448d1753798aa31f4a714f8442a2cbccfcdf58 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Dec 19 14:32:00 2014 +0100 cosmetic: autopep8 applied on __init__.py commit 6e066db9460489a04d301e22ae9822281f44a8cb Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Dec 19 13:09:10 2014 +0100 query: support multiple flags in filter (RhBug:1173027) commit b657a39e411d5b62795e2187e97c9e9888c54ad9 Author: Radek Holy <rholy@redhat.com> Date: Wed Dec 3 13:07:14 2014 +0100 packaging: make the spec file compatible with GitHub packaging guideliness. Fedora packaging guideliness has concrete recommendations for projects hosted on GitHub: https://fedoraproject.org/w/index.php?title=Packaging:SourceURL&oldid=372006#Github commit 029fd67dee0236628d48ec86004593438fff2e8d Author: Michal Luscon <mluscon@redhat.com> Date: Wed Oct 29 15:58:20 2014 +0100 New version: 0.5.2 commit 9c9acf9d8f02aa64761b60de12f9919a5a6dc1f2 Author: Michal Luscon <mluscon@redhat.com> Date: Wed Oct 29 13:55:52 2014 +0100 hy_chksum_str() returns NULL in case of incorrect type commit fab19c9b7fe95af5d99385b873bc6b605345e902 Author: Michal Luscon <mluscon@redhat.com> Date: Thu Oct 16 15:45:38 2014 +0200 Fix defects found by coverity scan commit 42cc7367a73344564e3f2712c5da56ac066db25c Author: Michal Luscon <mluscon@redhat.com> Date: Mon Oct 13 17:26:43 2014 +0200 selector: allow selecting provides with globs (RhBug: 1148353) commit 03e5df026eb63da4606e521a1da146d329f07b32 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Sep 23 11:45:21 2014 +0200 py: nevra_init() references possibly uninitialized variable. commit 21bf483caedd1fe742d1f771db057f2d7a5bec9b Author: Ales Kozumplik <ales@redhat.com> Date: Fri Sep 19 10:43:51 2014 +0200 package: add weak deps attributes. commit f9f20b14c7a2c3113bef2af62feb444e2e5103ed Author: Ales Kozumplik <ales@redhat.com> Date: Thu Sep 18 09:51:53 2014 +0200 build: 0.5.1-1 commit c3207afba193156e054e4987e35decf2d7aa14f2 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Sep 18 09:49:18 2014 +0200 New version: 0.5.1 commit ee2aba159585772f0367297ecf152f76f10a735e Author: Ales Kozumplik <ales@redhat.com> Date: Thu Sep 18 09:12:41 2014 +0200 pool_split_evr() assert if we hit unexpected data. (Related:RhBug:1141634) The actual bug was fixed by 7f06256. commit 55088faee81c34cc0056c0dc7169bdc087b3c6f2 Author: Jan Silhan <jsilhan@redhat.com> Date: Tue Aug 26 19:31:39 2014 +0200 README: changed references to new repo location commit abddc147d34914735df6382e867016f83c6132c1 Author: Jan Silhan <jsilhan@redhat.com> Date: Thu Aug 21 12:25:25 2014 +0200 iutil-py: removed pyseq_to_packagelist function commit 0f5d502070b2c3cf24b8a76a9d2839c187e1e544 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Aug 20 16:05:15 2014 +0200 improved performance of python sequence iteration (RhBug:1109554) commit be75bbce930085aa0ad2837ff2af4e099f57a708 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Aug 18 19:04:08 2014 +0200 reldep: constructor accepts unicode strings (RhBug:1124968) commit 7f0625658d7d7b4d62d29bebe7e6c99d877d7567 Author: Radek Holy <rholy@redhat.com> Date: Tue Aug 19 15:28:58 2014 +0200 Fix pool_split_evr's handling of EVRs without releases. Typically, advisories may have EVRs like "1.4". commit 3440ca50685028bc7c4bcf5237bf83cd9b95fe3a Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Aug 18 17:43:44 2014 +0200 added sha512 support (RhBug:1082658) commit 4fffdfbbfb242885ec47a7f22a0567a55f021e6e Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Aug 13 10:13:35 2014 +0200 cosmetic: removed unneeded semicolon commit 2c308e7cc361f8b8a50d57e454de4098ac67a800 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Aug 13 10:12:49 2014 +0200 goal: does not raise exception on empty selector (Related:RhBug:1127206) commit 2b592671be6ea3e718534128fdd4aeec12ceb6df Author: Ales Kozumplik <ales@redhat.com> Date: Tue Aug 12 08:26:57 2014 +0200 build: 0.5.0-1 commit ef6ffd4d84cb1c2707388d5547c1fdfc83956118 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Aug 8 11:20:28 2014 +0200 New version: 0.5.0 commit 43bba43948982b80369f3fcc9fbf4b35d03ce410 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Aug 6 22:29:57 2014 +0200 sack: include directive support added (Related:RhBug:1055910) commit bc575a314144a6730f8c5920e8b094cdab5ae4d8 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Aug 6 22:00:53 2014 +0200 sack: using pool->considered instead of SOLVER_LOCK for excludes (RhBug:1099342) commit bba13d77d28ed99b876efde985b1591d107e6dcf Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Aug 6 21:48:15 2014 +0200 cosmetic: replaced fail_unless with ck_assert_int_eq commit 9402a31088658399be7c9c19e6dbd98f7f455823 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jul 28 15:55:42 2014 +0200 build: 0.4.19 commit d4995bb925000880007d04c6c4e8bf2709761865 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jul 28 14:43:28 2014 +0200 packaging: bump the SONAME as there are dropped API calls. Also see 01029b9. commit 8ceb623d36ee630e36515a368ba6185ece61b51e Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jul 28 13:55:00 2014 +0200 Support package splitting via obsoletes. (RhBug:1107973) commit 28d4ed67c2b046260f177c424d25bb09811210ae Author: Radek Holy <rholy@redhat.com> Date: Mon Jul 21 12:43:31 2014 +0200 api change: py: convert Advisory, AdvisoryRef and AdvisoryPkg attributes to Unicode. commit 49f00f69b0d2bbc942e81eb86687337da050cae6 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jul 18 08:19:32 2014 +0200 hy_err_str: it's best to make it static. Consulted with <pmachata@redhat.com>. commit 0214dc900592dd6599f87320fe8ee90c8f25ad8e Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jul 17 16:53:28 2014 +0200 Hide hy_err_str from errno.h Nobody needs to see it.. commit ef2ca49a3799955a87c606841e8dfbc6a5817ba9 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jul 17 16:26:51 2014 +0200 py: detailed error reporting. Have a string field too as the simplest way to tell what failed. Currently only used for HY_E_IO error. Related: RhBug:1117789 create mode 100644 src/errno_internal.h commit 6dccd041c979c4e40cf423dbdbc6b051e8cd67da Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jul 16 18:46:22 2014 +0200 doc: deprecation policy. commit c03d05e583dcc6fbd044b00064d49976bd608646 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jul 16 15:11:44 2014 +0200 build: 0.4.18-1 commit 4f4bf926fbac335d740bf460ea06c7f26e184e09 Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 17:29:08 2014 +0200 api change: py: deprecate _hawkey.Advisory.filenames. commit 01029b9e6962f665748385280c42c6b69237451b Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 16:27:25 2014 +0200 api change: drop deprecated hy_package_get_update_*. commit c97c85d378afd4d9ab20a08e79427c94fadfb13d Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 16:16:02 2014 +0200 api change: deprecate hy_advisory_get_filenames. commit 73e3f6e743ea06b49d066e3f82e883c401fd52d6 Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 17:20:31 2014 +0200 tests: py: add tests for _hawkey.AdvisoryPkg type. create mode 100644 tests/python/tests/test_advisorypkg.py commit 686fea95cba4b84541f64a641e20108f4eec137f Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 17:12:22 2014 +0200 py: add _hawkey.Advisory.packages attribute. commit 349eb861624f45c29b16ab75e0e9bda71b2ef0bd Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 17:00:06 2014 +0200 py: add _hawkey.AdvisoryPkg type. create mode 100644 src/python/advisorypkg-py.c create mode 100644 src/python/advisorypkg-py.h commit 23b7789b649446e34f8cdc3e40c603a143b9cf7b Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 16:42:21 2014 +0200 tests: add tests for advisorypkg object. create mode 100644 tests/test_advisorypkg.c commit 03efbe2d15371cd389ec0878b6961b81b1a11b0c Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 15:32:09 2014 +0200 Add hy_advisory_get_packages method. commit caba8043c06e3ef80f832e6a9c7a921e1131c568 Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 15:16:04 2014 +0200 Add advisorypkglist object. commit b28275b7358d53605e33d145f0126be03a73cf3d Author: Radek Holy <rholy@redhat.com> Date: Thu Jul 10 14:34:30 2014 +0200 Add advisorypkg object. create mode 100644 src/advisorypkg.c create mode 100644 src/advisorypkg.h create mode 100644 src/advisorypkg_internal.h commit 0bf42e43594b44c1ad318e6742a4d8eae48acc03 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Jul 11 18:10:49 2014 +0200 selector: added file filter (Related: RhBug:1100946) commit 371bd7ff0c53aa8facf833eac0a18e6191ac5238 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jul 14 10:46:29 2014 +0200 priorities: change the meaning of the setting---lower number=better prio. commit a7caf0a50d278953cbffbde12be0fcdee0a61555 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jul 14 13:54:27 2014 +0200 py: better error checking in repo-py.c:set_int(). commit 068e6925384c68bbf969652513a64951d5f13064 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jul 14 10:10:51 2014 +0200 py: api: hawkey.Repo() does not accept cost keyword arg. Related: RhBug:1048973 commit f42c33655cff73bf9cf58168307253a4e6981203 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Jul 11 15:13:43 2014 +0200 fix: nevra: hy_nevra_cmp commit ec7689beb2c5e5634864bd6df8e2ce3cb6d89f40 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jul 10 10:30:57 2014 +0200 repos: priorities. Related: RhBug:1048973 commit db635d8c5a4e28878704f367bb6060fc0cea3d30 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Jul 7 20:28:12 2014 +0200 New version: 0.4.18 commit c98e4046e75642ca605c872d58b8b7d9a5c89179 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Jun 27 18:17:12 2014 +0200 py3: Sack: accepts unicoded cachedir (Related: RhBug:1108908) commit 4933557f2b04891be1dbe946a8abd0a30e919fde Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jul 3 08:54:10 2014 +0200 build: 0.4.17-1 commit eafbe0a34e6cb85db2335ecd625dcab04917323d Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jul 3 08:37:12 2014 +0200 New version: 0.4.17 commit 02144009420c74fc0782f7c0ae32f66f0019bd3d Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jul 2 15:41:34 2014 +0200 sack: add a public function to get the running kernel package. Related: RhBug:1049310 commit b957844426bed9b44068788643305979c0d3a2cc Author: Ales Kozumplik <ales@redhat.com> Date: Tue Jul 1 10:47:31 2014 +0200 query: fix querying for string provides. (RhBug:1114483) By using reldeps everywhere this simplifies provide queries quite a bit. commit 91fd07f403513019f1af4e801b461344a48fe661 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jun 27 16:22:17 2014 +0200 fix: commandline RPMs do not provide their files (RhBug:1112810) This is because internalization of the command line repo wasn't happening. The fix includes improving how the librepo_repo/appdata loop between HyRepo and Repo is set and managed. The command line Repo needs a HyRepo now too, to have someplace to track whether it has been internalized or not. commit 4e4ef22e469bd1da395fa51145d9f94f119de12d Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jun 30 08:36:45 2014 +0200 tests: prevent automatic Python deps in tour.rpm. delete mode 100644 tests/repos/yum/repodata/483b423aad31386149d3c804717257ebaf08a39f4c5e5bb6d5f302d5a394275a-other.xml.gz create mode 100644 tests/repos/yum/repodata/4d4b903662ace0b08bda1d53f89c333614b7f658172bc9f0c87b0eef276ff5a1-filelists.xml.gz create mode 100644 tests/repos/yum/repodata/51fb8278682bdb0ea0956720b098dadf637efc01566acb48203c54c90ba86dda-other.xml.gz create mode 100644 tests/repos/yum/repodata/52d800b3426c540bb88a80d01fb6c8d227ae14edca7446fa0f348a286223fb8b-prestodelta.xml.gz delete mode 100644 tests/repos/yum/repodata/9368654b38e99a1f14dc8b2fb081ad871d9b01b2fe0c901a6457716b5664efcc-primary.xml.gz delete mode 100644 tests/repos/yum/repodata/95942ac00a1b10366455e2eb8c1baed980ccea909c5256aca81afa89f7e340c0-prestodelta.xml.gz create mode 100644 tests/repos/yum/repodata/f1ab2aa6c0e5881b9365f83a951e6696812ebfaaf56fee310c3f080c8849a1b4-primary.xml.gz delete mode 100644 tests/repos/yum/repodata/f31ebfb2035ee5ccb296af2201280ae55b2a26c1ba99c2b877c6cddc2c7987c7-filelists.xml.gz commit 01b83557fe2eefa318dcc73f42ea6157eb1c57db Author: Jan Silhan <jsilhan@redhat.com> Date: Fri May 23 15:11:06 2014 +0200 deepcopy of sack raises error (RhBug:1059149) commit fde5206434408d2b854e7666c69e43586db9be16 Author: Ales Kozumplik <ales@redhat.com> Date: Tue May 27 17:26:59 2014 +0200 build: 0.4.16-1 commit a56916e70e98af7b29d9162a3fe48b6f0ac33148 Author: Ales Kozumplik <ales@redhat.com> Date: Tue May 27 16:49:35 2014 +0200 py3: use sphinx-build-3 (which doesn't encode the minor py version) (RhBug:1098098) Related: RhBug:1098109 commit 644803d653b2b50efc09df46d2bc8bc3164b79bd Author: Ales Kozumplik <ales@redhat.com> Date: Tue May 27 16:25:18 2014 +0200 tests: fix test_list_arches(), there's new architectures listed now. commit d8a03f93cb0c813e0cefe51f075b3da99275cc07 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 26 17:20:42 2014 +0200 doc: packaging: add license block to each .rst. commit 42a91355445511d1c3261c32d43e97facf3257c9 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri May 9 16:17:19 2014 +0200 New version: 0.4.16 commit 75eabc25be6bee1bea7c19b76b5402832d720e31 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri May 9 16:16:35 2014 +0200 Subject: accepts/returns pattern in unicode (Related: RhBug:1092777) commit c5e65016e545a859cee858f4521cea23971d09c7 Author: Ales Kozumplik <ales@redhat.com> Date: Thu May 15 18:05:23 2014 +0200 fix kernel detection by being more strict what we look for. (RhBug:1087534) The ending globbing character previously also matched "+debug" of a debug kernel and ended up being the first we looked at. If kernel-debug was installed, it was considered the running kernel and the operation of sorting installonlies went astray. commit 697f1ae796b35cac284cc09c63bd73b1a176ff7c Author: Ales Kozumplik <ales@redhat.com> Date: Thu May 15 13:20:34 2014 +0200 [kernel] look for the installed kernel in @System. Accidentally discovered while working on RhBug:1087534. commit 42a33f1518b7320dd8459141dc2339ebd0634aa9 Author: Ales Kozumplik <ales@redhat.com> Date: Tue May 13 14:42:07 2014 +0200 fix: sigsegv when wrong reldep is passed to selector as a provide. Related: RhBug:1096506 commit cb141248de37e446fd10bb73cb6c80d3e073982f Author: Ales Kozumplik <ales@redhat.com> Date: Tue May 13 14:56:39 2014 +0200 .gitignore: __pycache__ commit a87f0e9192a9735b077e131468b4482b0c922a95 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 12 11:35:29 2014 +0200 installonlies: log the discovered running kernel. Related: RhBug:1087534 commit fdd47dd1d2470ff5f020c423d3e0f794e1709c97 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed May 7 23:24:27 2014 +0200 py: Package: all string attributes are in Unicode (RhBug:1093887) commit e2726f83ac3ede8743745396d72e069f8c048206 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 5 15:00:27 2014 +0200 py: fix: certain string assignments should raise TypeError, never SystemError. commit ede7b8a3c002527b459207198f5a04ff9e0785e7 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 5 14:43:08 2014 +0200 cleanup: tweak declarations in pycomp.h. commit f457dd8911393a583bb431babc6ef9ac65c31a3b Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 5 13:33:39 2014 +0200 goal: hy_goal_write_debugdata() takes target dir parameter. commit 426be2913a1b1b1bb2e56e467faaf892df7d8567 Author: Ales Kozumplik <ales@redhat.com> Date: Sat May 3 16:09:48 2014 +0200 iutil.c: simplify queue2plist() implementation. commit 93e538b6112b14d88061beb2cae473661e533b35 Author: Ales Kozumplik <ales@redhat.com> Date: Fri May 2 22:12:53 2014 +0200 Goal: listing unneeded packages. With py bindings and tests. Related: RhBug:963345 commit 8501fd4523013ddaa89c56d38471a52ce3e3399a Author: Ales Kozumplik <ales@redhat.com> Date: Fri May 2 15:55:29 2014 +0200 doc: make the documentation generation independent of hawkey the python module. This is so readthedocs.org work. Uses the same approach as DNF commit fce01f9. commit 97d9a17b3f3713f277bee7873b932e5424a159ce Author: Jan Silhan <jsilhan@redhat.com> Date: Fri May 2 15:48:05 2014 +0200 New version: 0.4.15 commit 7b3d235fc3b0cabb67bb869083a1034f80be8e18 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri May 2 15:46:25 2014 +0200 removed unused imports commit b320cecc22840212a41482a15e1f099efc22c06e Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Mar 28 09:53:48 2014 +0100 distro-sync doesn't replace arch (RhBug:1054909) commit f03da5e6e49bb2376e8f3ca01d10332049a72dc6 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Mar 28 09:57:26 2014 +0100 replaced deprecated fail_unless with ck_assert_int_eq commit ed686265f63a70d68e350e4d0bdbf7787f50d6ab Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Apr 18 10:29:11 2014 +0200 added python bindings to nevra attribute filter commit 7cb78fbb685dc10ab6466b21028e88076e14ee13 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Apr 16 14:13:19 2014 +0200 added nevra filter flag to query C API commit 06c12984e526ea33ea392964b12e0f5bc3a19b4e Author: Ales Kozumplik <ales@redhat.com> Date: Fri May 2 09:06:40 2014 +0200 build: 0.4.14-1 commit 428a9770a50449b08bd4983c9f26b87d1f9c3ddb Author: Ales Kozumplik <ales@redhat.com> Date: Fri May 2 08:41:23 2014 +0200 New version: 0.4.14 commit 7a34397e37eb493d86cb4f5036d8af595a383031 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Apr 29 16:19:57 2014 +0200 py: cosmetic: drop py_ prefixes from static functions in hawkeymodule.c. They serve no purpose. commit 42b78ad345bb0a69eb5680dd2afc6f6e337dcaf1 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Apr 29 15:22:28 2014 +0200 Expose hy_arch_detect(). Related: RhBug:1072972 commit 0cbb415af626576778330ec3c40a4a729f2c13b4 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Apr 23 15:16:23 2014 +0200 fixed clang warning of uninitialized variable commit 4f8b1ccbe53c4036af4b0d734af54e6bc786a5a8 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Apr 14 14:06:59 2014 +0200 doc: fixed typo commit de35c01ff59acb5a20c52d38a56291e4a0b9d93b Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 24 13:45:09 2014 +0200 logging: log checksums of written/loaded repositories. (RhBug:1071404) commit 64dda934ceaaeb069f19097cda0011a2c7d3bb72 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 24 12:52:51 2014 +0200 logging hawkey version number. Related: RhBug:1071404 commit 093cdd8960cd784fa589a478b26dd290ab70efe4 Author: Michael Schroeder <mls@suse.de> Date: Mon Apr 14 17:13:49 2014 +0200 implement updateinfo caching Things are a bit tricky, as the updateinfo is not an extension for existing solvables, but contains its own set of solvables. libsolv should offer more support for this kind of setup. commit 860bd4c1a615d3f36fa928251e1e03d5dd670534 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Apr 14 17:43:02 2014 +0200 cosmetic: fixed sliced changelog lines in spec file commit ac9ca835a095cf4f0f67c0f8916b2e5730722dfe Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Apr 11 13:57:20 2014 +0200 build: 0.4.13-1 commit a0fafad38d6de0dde7d4648c34c74ce504d04c25 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Apr 11 13:49:41 2014 +0200 New version: 0.4.13 commit 33052b9a3a1035114ab5c5a4f283f6c07deec07f Author: Ales Kozumplik <ales@redhat.com> Date: Fri Apr 11 07:40:28 2014 +0200 Add forgotten queue_free()s from bd3a2ae. Discovered by mls. commit 906c65ef95ae620429c67837020a4661062e7e13 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 10 13:26:46 2014 +0200 cosmetic: some cleanups of 0e4327c. commit 0e4327c3cc37b9a3884af997ced10ae5244ab743 Author: Michael Schroeder <mls@suse.de> Date: Thu Apr 10 12:06:46 2014 +0200 refactor rewrite_repos function commit bd3a2ae1f5e3b42cd9391769c1206348c33152d6 Author: Michael Schroeder <mls@suse.de> Date: Wed Apr 9 19:37:50 2014 +0200 rewrite repos after calling addfileprovides This should speed up operation of the library users quite a bit. commit b1ef1de1b5fc9cef7fb771b94e00091717016a9a Author: Michael Schroeder <mls@suse.de> Date: Wed Apr 9 19:36:42 2014 +0200 also set the repodata id if an extension is loaded from the cache commit 3f1a9c6ae9a38ca5f3b28a438ee6b9f506467773 Author: Michael Schroeder <mls@suse.de> Date: Wed Apr 9 19:34:09 2014 +0200 call hy_repo_link when setting the appdata of the system repo Otherwise our repo data is freed prematurely. commit a3f3a2f220430eb7783842ba85e0e83638a1e8cc Author: Michael Schroeder <mls@suse.de> Date: Wed Apr 9 17:31:49 2014 +0200 use REPO_LOCALPOOL when loading the filelist extension Otherwise all of the directory component ids pollute our main pool. And repo_add_solv is faster this way, too. commit dfb5820466e409bcdea95683a21ae763f2c8d9dd Author: Michael Schroeder <mls@suse.de> Date: Wed Apr 9 16:56:39 2014 +0200 switch over to the written solv files to save memory commit 13d40753114ed0ff6e84f57671e3766ac4285400 Author: Radek Holy <rholy@redhat.com> Date: Wed Apr 9 11:46:14 2014 +0200 py: add downgradable and upgradable kwargs to _hawkey.Query.filter. commit 2046a4ea876060e3806ac36f1e2a272179b192a4 Author: Radek Holy <rholy@redhat.com> Date: Fri Apr 4 16:21:01 2014 +0200 Fix comments in query.c commit 692f6e7848b61d478b91f5c9729297a45be5a96d Author: Radek Holy <rholy@redhat.com> Date: Fri Apr 4 16:19:42 2014 +0200 Add hy_query_filter_downgradable and hy_query_filter_upgradable. commit e14f8a3c76e76846550737d168099a9302de30f6 Author: Radek Holy <rholy@redhat.com> Date: Thu Mar 20 10:46:21 2014 +0100 tests: py: add tests for _hawkey.AdvisoryRef type. create mode 100644 tests/python/tests/test_advisoryref.py commit 30bd2cf97ae059aea7f37a3c4e8da34520894999 Author: Radek Holy <rholy@redhat.com> Date: Thu Mar 20 10:37:31 2014 +0100 tests: py: add tests for hawkey.Advisory type. create mode 100644 tests/python/tests/test_advisory.py commit f29e2887423f1fb8de11a32c43cca8abc16a5d5d Author: Radek Holy <rholy@redhat.com> Date: Thu Mar 13 15:49:27 2014 +0100 py: add _hawkey.Package.get_advisories method. commit acdb7a3b1b285cea8d102c216e2d6b9d73df8207 Author: Radek Holy <rholy@redhat.com> Date: Thu Mar 13 14:24:16 2014 +0100 py: add _hawkey.Advisory type. create mode 100644 src/python/advisory-py.c create mode 100644 src/python/advisory-py.h commit cc7207309601cf603a591a28d32ea35a83b3de9e Author: Radek Holy <rholy@redhat.com> Date: Thu Mar 13 13:13:21 2014 +0100 py: add _hawkey.AdvisoryRef type. create mode 100644 src/python/advisoryref-py.c create mode 100644 src/python/advisoryref-py.h commit 03c4d8bb88e73af42d327b2f46f0776781bd36d8 Author: Radek Holy <rholy@redhat.com> Date: Thu Mar 13 09:15:15 2014 +0100 tests: add tests for advisoryref object. create mode 100644 tests/test_advisoryref.c commit 03966d7c1afa7f0e77efa7498efd5f3ebb5ff188 Author: Radek Holy <rholy@redhat.com> Date: Wed Mar 12 17:39:29 2014 +0100 tests: add tests for advisory object. create mode 100644 tests/test_advisory.c commit a04590658732c960bf5aca3191e46607f5931cd9 Author: Radek Holy <rholy@redhat.com> Date: Wed Mar 12 16:24:25 2014 +0100 api change: deprecate hy_package_get_update_*. commit 4cfe8675eb02d5526b09ac86bcecbe7874c2c4d1 Author: Radek Holy <rholy@redhat.com> Date: Wed Mar 12 16:24:25 2014 +0100 Add hy_package_get_advisories method. commit f7c0a31c5f868f65e0179120060c245000f5ab47 Author: Radek Holy <rholy@redhat.com> Date: Mon Mar 10 16:20:30 2014 +0100 Add advisoryreflist object. commit a845737eed397895efe6c4e1252a1bb61291aa79 Author: Radek Holy <rholy@redhat.com> Date: Mon Mar 10 15:50:50 2014 +0100 Add advisoryref object. create mode 100644 src/advisoryref.c create mode 100644 src/advisoryref.h create mode 100644 src/advisoryref_internal.h commit dcd47ded5f3a3fd9484a5c9f0b47983bb428debb Author: Radek Holy <rholy@redhat.com> Date: Fri Mar 7 10:16:06 2014 +0100 Add advisorylist object. commit 7c19b4c2d7ebf1bd7b51dfc2052a4f14cdfa2d7a Author: Radek Holy <rholy@redhat.com> Date: Fri Mar 7 10:00:50 2014 +0100 Add advisory object. create mode 100644 src/advisory.c create mode 100644 src/advisory.h commit 306792675b810da624429e796dfe15187adfa2ac Author: Radek Holy <rholy@redhat.com> Date: Thu Apr 3 15:16:17 2014 +0200 Rename SOLVABLE_NAME_UPDATE_PREFIX to SOLVABLE_NAME_ADVISORY_PREFIX. create mode 100644 src/advisory_internal.h delete mode 100644 src/update_internal.h commit 698c17f981101878ab5b92096dd4c71ab45932ff Author: Colin Walters <walters@verbum.org> Date: Thu Mar 27 18:17:22 2014 -0400 sack: Also look in /usr/share/rpm for Packages In the rpm-ostree model, the RPM database lives in /usr/share/rpm, and is immutable. Let's look there first, and then fall back to the old mutable database. This removes the #define from the public API, as it's not useful to external consumers. commit 022de6b62d8cadd3a2b611f1ec0b983e6e66427b Author: Radek Holy <rholy@redhat.com> Date: Thu Mar 13 15:39:50 2014 +0100 py: add load_updateinfo kwarg to _hawkey.Sack.load_yum_repo. commit c22ca18b3dcd2d299abecc1bf4657d2ad5694bc0 Author: Radek Holy <rholy@redhat.com> Date: Tue Apr 1 16:28:48 2014 +0200 py: add _hawkey.Repo.updateinfo_fn getsetter. commit 3e040cd3b7b586dcb9875e066da3fe7ee8f73f63 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Mar 31 09:02:50 2014 +0200 py: more detailed error string in Sack.add_cmdline_package(). commit 87a0b0a70f632654b21b6c3277c469f4cb8de4ba Author: Radek Holy <rholy@redhat.com> Date: Mon Mar 17 12:08:17 2014 +0100 Fix hy_query_run to list only packages. commit 3ff6911c6c13cd7861a5827d0fcf65df3a15625b Author: Radek Holy <rholy@redhat.com> Date: Fri Mar 14 16:45:12 2014 +0100 Fix goal to add only packages if name glob selector is given. commit bfa953cfdf50eb76459bcaf5767fa75327f36479 Author: Radek Holy <rholy@redhat.com> Date: Fri Mar 14 16:33:08 2014 +0100 Fix hy_goal_run_all_flags to resolve only package installonlies. commit 0ebedd831663f66ef953eb83090aed015036b5ac Author: Radek Holy <rholy@redhat.com> Date: Fri Mar 14 15:54:52 2014 +0100 Fix sack_knows to check packages only. commit 5fcba9c420f670a6292c5b4118c3790e5ab6131c Author: Radek Holy <rholy@redhat.com> Date: Fri Mar 14 14:42:39 2014 +0100 Add is_package function. create mode 100644 src/update_internal.h commit 679f3242d2827b2e3b2596c45715fbc40f7d7a09 Author: Radek Holy <rholy@redhat.com> Date: Mon Mar 17 11:46:52 2014 +0100 Fix typo in filter_rco_reldep's assertion. commit 217bcebce67e3787337e7cd887a28d9edc4e4a5c Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Mar 14 13:52:27 2014 +0100 build: 0.4.12-1 commit f5edea1e4fc6e7b03f1ffd11742986d880a3dba4 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Mar 14 13:25:31 2014 +0100 New version: 0.4.12 commit af803118e56c42a11eb3fe1743732ed78b892e9b Author: Radek Holy <rholy@redhat.com> Date: Wed Mar 12 14:46:04 2014 +0100 Fix hy_stringarray_length. commit 4a9d8fb2a38ad0dbdc4771876583f6e21f0c4bdc Author: Ales Kozumplik <ales@redhat.com> Date: Wed Mar 12 14:07:10 2014 +0100 tests: bring tests/repos/yum/recreate to a workable state again. Also fix the repo so it can in fact be downloaded by librepo, checksums were mismatching. delete mode 100644 tests/repos/yum/repodata/88527bc0ed21d5a2acc2b9bd6242593af65102541551277bed147a7da5509f13-primary.xml.gz create mode 100644 tests/repos/yum/repodata/9368654b38e99a1f14dc8b2fb081ad871d9b01b2fe0c901a6457716b5664efcc-primary.xml.gz create mode 100644 tests/repos/yum/updateinfo.xml.gz commit faf91481d87469b7bec6b893b1a83cca1a553c7c Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Mar 5 13:03:13 2014 +0100 added distupgrade function (Related:963710) commit 8e7158776a798739ddf038bef4c34f0dc928e8d2 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Mar 7 13:30:57 2014 +0100 remove: _HyPackageList.left. Unused, this has been surviving since fc910385 two years ago. commit 40d6d10d8b6142118a77a31eeb055a2f192bcc92 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Feb 26 14:48:31 2014 +0100 goal: track changes (as reinstalls) (RhBug:1068982) create mode 100644 tests/repos/change.repo commit dea7e72c750ae10d6249c370680081c74901bbbf Author: Ales Kozumplik <ales@redhat.com> Date: Mon Feb 24 18:05:39 2014 +0100 build: 0.4.11-1 commit fc24328d966eb378b0b5fbcdeebf3aee6d812ae4 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Feb 24 17:52:32 2014 +0100 New version: 0.4.11 commit 61d919fa8e2f4574bd3e66d4d0a49087217836f1 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Feb 21 15:02:40 2014 +0100 fixed typos in tutorial-py.rst commit 28e5b1582b4da110e5f6535bb8be866baefc5b7b Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Feb 21 15:01:46 2014 +0100 added glob pattern search for arch to nevra_possibilities_real (RhBug:1048788) commit e93fd886a968db92e18c9027f4421b083ab09ef4 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Feb 18 17:09:46 2014 +0100 Left behind references to README.md from 3b47a13. commit 4e06fe1056aaa511270c60d78bbc52963ecd4a90 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Feb 18 14:10:48 2014 +0100 Add Radek to AUTHORS. commit 3b47a13a931e1a8f3f6176e1ae7d1aca58b3633e Author: Ales Kozumplik <ales@redhat.com> Date: Tue Feb 18 14:09:48 2014 +0100 update the README. delete mode 100644 README.md create mode 100644 README.rst commit 87185884d900f0f2252d4e9491fedaa3954c298f Author: Ales Kozumplik <ales@redhat.com> Date: Mon Feb 17 15:24:51 2014 +0100 sack: write_*() should also check fclose(). suggested by mls. commit c2c46fe0a3a5fae6f0d311016a738ccbc04c5a3a Author: Radek Holy <rholy@redhat.com> Date: Mon Feb 17 13:55:20 2014 +0100 build: 0.4.10-1 commit 8d6af87eb4e7745b1bb50da6f76cda17de511198 Author: Radek Holy <rholy@redhat.com> Date: Mon Feb 17 12:22:21 2014 +0100 New version: 0.4.10 commit 804da8664012b1afc8f63f8888897ba0047a5394 Author: Radek Holy <rholy@redhat.com> Date: Thu Feb 13 13:17:06 2014 +0100 tests: add a negative test for reponame. commit b999663d1c6ba006fa80cdfb3bdc3c2fa4fe5df8 Author: Radek Holy <rholy@redhat.com> Date: Thu Feb 13 10:37:47 2014 +0100 Add reponame into selector. commit 744815976d21a62e15101afcc0a9e6a5a5a850db Author: Ales Kozumplik <ales@redhat.com> Date: Thu Feb 13 12:18:36 2014 +0100 write_main() and write_ext(): even on error do not leave the temporary file behind. commit 6ddc2a6a73327df28007213e231a60f19dd12dc1 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Feb 13 12:09:58 2014 +0100 write_main() should do a better job erroring out on write errors. commit dcb591005393394572f4d37be46a820b3d107ae2 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Feb 12 18:20:26 2014 +0100 Fix vsnprintf SIGSEGV passing "%s" with no va_list args to pool_debug. (RhBug:1064459) With a help from pmachata@redhat.com. commit 9290a1c4c64b7d3fa6f7567927dae0b188d86fde Author: Ales Kozumplik <ales@redhat.com> Date: Mon Feb 10 16:34:20 2014 +0100 Save the cache atomically. (RhBug:1047087) commit 1390f601bb12bb4f09e234f8eb375144c078908f Author: Ales Kozumplik <ales@redhat.com> Date: Mon Feb 10 13:30:06 2014 +0100 package: call repo_internalize_trigger in get_files() (RhBug:1062703) commit d2bc4a329c17cbd24b9f371310bc4093b19a01d8 Author: Jan Silhan <jsilhan@redhat.com> Date: Thu Feb 6 09:24:17 2014 +0100 fixed reldep pointer NULL comparison commit 909fadfee12a6e905c389dd6400dac12f5029286 Author: Jan Silhan <jsilhan@redhat.com> Date: Thu Feb 6 09:22:45 2014 +0100 fixed indentation in subject-py.c commit 51d7b0886801d73acaa56b3ec4cfe6145c21c9e9 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Feb 3 15:37:02 2014 +0100 moved TEST_COND macro to iutil-py.h commit f2479eedcfcdb5f8578ca5adca9550b5fa1bf952 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Jan 22 21:04:57 2014 +0100 moved subject and nevra from python to C create mode 100644 src/python/nevra-py.c create mode 100644 src/python/nevra-py.h create mode 100644 src/python/possibilities-py.c create mode 100644 src/python/possibilities-py.h create mode 100644 src/python/subject-py.c create mode 100644 src/python/subject-py.h commit fa8e717e9614644e7511b5ca685d044a26c288a2 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Jan 31 13:46:53 2014 +0100 subject in C: work with full reldeps commit 1d1a1e435c6e03c1803b8728236f995d7b47a0b6 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 30 16:48:44 2014 +0100 build: 0.4.9-1 commit 20392bcf7118cc9ff99b72d6191fd86dbb9960bf Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 30 16:40:13 2014 +0100 New version: 0.4.9 commit 3e3a368873600a0059cc734356a8b22841d71b72 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 30 15:22:37 2014 +0100 selectors: allow selecting provides with full Reldep string. commit 3a8664069b750405d702a878cd289245c4f6d65c Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 30 14:24:51 2014 +0100 subject: work with full reldeps (containing the CMP flags). commit d07d8f741dd490dcb1373be3811a39c9d7d91fb1 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Jan 28 14:24:57 2014 +0100 package: hy_package_get_hdr_end(). To download headers only we need to know how long they are. The start is not actually at zero, it is preceded with sig-header, but it's small (up to 2kb) and can be used to verify the header itself. Also, current libsolv does not expose SOLVABLE_HEADERSTART. commit 19aa5035012e0954a85fe523c6b54b11e280958d Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Jan 22 21:00:47 2014 +0100 added subject C API create mode 100644 src/subject.c create mode 100644 src/subject.h create mode 100644 src/subject_internal.c create mode 100644 src/subject_internal.h create mode 100644 tests/test_subject.c commit 91e4265f8ca06f31347a459d06c0776903da983f Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Jan 22 20:54:30 2014 +0100 added nevra C API create mode 100644 src/nevra.c create mode 100644 src/nevra.h create mode 100644 src/nevra_internal.h commit 1b5f9d55d6633e8250f021f846790a159d0333eb Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Jan 22 18:15:59 2014 +0100 fix not accepting numeric version in reldep (RhBug:1052961) commit 759be55e916f8381a5b0677111ff358e5637f1ed Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Jan 22 16:37:45 2014 +0100 fix Reldep inicialization without sack crash (RhBug:1052947) commit 4c5aee126db0c8579c27f4bba37bbfe9b3666fe0 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 23 11:33:12 2014 +0100 tests: make test_goal_selector_upgrade() less assuming. The test fails against libsolv after f190dfe because then libsolv keeps the installed multiarch packages ('pilchard' in the test) in lockstep and can not find the i686 alternative of the requested upgrade target. commit f934ce32c9ce65d143498714a1d0a97c8dec2ce9 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Jan 21 07:32:04 2014 +0100 build: 0.4.8-1 commit 7890cf957f21c002e38b44caaa49f2f8a80742e3 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Jan 21 07:29:37 2014 +0100 New version: 0.4.8 commit 281d56c29ba08c4dd883a464a029b61e45e5e1ca Author: Ales Kozumplik <ales@redhat.com> Date: Tue Jan 14 17:17:24 2014 +0100 installonlies: erase packages depending on a kernel to be erased. (RhBug:1033881) commit 522fb1cd75130c71d7149d15fb2f248dd967d9ad Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jan 8 10:39:16 2014 +0100 fix: latest_per_arch on incompatible arches. (RhBug:1049226) Patch by mls, thank you! create mode 100644 tests/repos/ppc.repo commit 2df84efe0fef84d51ef70ea4a6a77c463c0c5826 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 17 14:22:38 2013 +0100 build: 0.4.7-1 commit e9a7b79847f0aa736d92b23d10f15227b0fd43da Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 17 14:13:45 2013 +0100 New version: 0.4.7 commit 865274d31be436807693327d31d52385ba52cee4 Author: Radek Holy <rholy@redhat.com> Date: Mon Dec 9 15:28:13 2013 +0100 Fix malfunction of Package.__lt__ and Package.__gt__ (RhBug:1014963) commit 3b31eeaa86e89d571dda53b5b10442edcf11cacd Author: Richard Hughes <richard@hughsie.com> Date: Mon Dec 16 12:34:44 2013 +0000 Do not crash when querying provides that do not exist hy_reldep_create() returns NULL if nothing provides the name, so only add it to the reldeplist if it's going to exist. commit 592af7df55aa5036dd0390922998b00f521f3ac8 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Dec 4 14:32:48 2013 +0100 build: 0.4.6-1 commit 6df2dad325f03f34b1c52403b8df04f586d2a9b5 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Dec 4 14:26:42 2013 +0100 New version: 0.4.6 commit 06de43a2bdf44ca573866e231ef8572e4684c10f Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Thu Nov 28 14:27:34 2013 +0100 remove: packageDelta_new commit 4604548247fffae7410bd7e4595d6450079897a5 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Thu Nov 28 14:24:21 2013 +0100 get_delta_from_evr(): create the python object only when delta exists commit cdd8841429d91b381ed45c119acfe3d8b2a4aca5 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Thu Nov 28 14:07:29 2013 +0100 fix pycomp_get_string(), pycomp_get_string_from_unicode() Actually dereference the pointer passed. Fix prototype and all users. commit d0d6b5ffbb664f4754e54a1775d4e3ded2290340 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Mon Dec 2 17:58:46 2013 +0100 fix get_str() in packagedelta-py commit 5297ccd6c0607a34a49af937806634087c2806da Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Nov 29 10:14:33 2013 +0100 fix: spec: running tests in python3 after build commit 1a1b58d83be226ce1db3c70f54e3472c5e66ba66 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Nov 27 15:55:42 2013 +0100 tests: order packages in .repo files by name. makes it easier to search/add new ones. commit a2e7474550c2054733c63fbc88f06222e9b9e83b Author: Ales Kozumplik <ales@redhat.com> Date: Wed Nov 27 15:00:28 2013 +0100 fix: goal: reason for installing when more packages are available to a selector. commit b355ec0a3c1e756ff3f547cc95ec695de9a630e2 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Nov 27 14:55:57 2013 +0100 tests: add a package that is not installed yet available in main, updates. commit 3af3c95b121821fc0e8b3934f860d92a060d89dd Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Mon Nov 25 10:31:40 2013 +0100 add hy_packagedelta_get_chksum() commit 0d82f94913ed63f6d935f0cef6d5e5006f862b68 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Mon Nov 25 09:19:41 2013 +0100 add hy_packagedelta_get_downloadsize() commit a4d3164a249383bdaa14000ae9c3f8db94589c9a Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Thu Nov 21 15:27:13 2013 +0100 add hy_packagedelta_get_baseurl() commit 83149a56073d5cdd8d0f036841fa59e6dcecaa73 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Tue Nov 26 11:13:29 2013 +0100 test_query_provides_in: avoid ck_assert_int_eq() as it evaluates args twice commit 8810cca90b7f831e9753d4b87aeb3f22bdef8b6a Author: Ales Kozumplik <ales@redhat.com> Date: Tue Nov 26 14:32:23 2013 +0100 installonlies: fix sorting packages depending on the running kernel. commit f4521f94177b1dab927934b1d5a84dc5e596db92 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Thu Nov 21 16:28:47 2013 +0100 use pool_lookup_deltalocation() commit db7d01ef931b71c6e9f89e1254e1929ed9df7de6 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Fri Nov 22 15:18:08 2013 +0100 initialize _hawkey.PackageDelta type commit a43eaa847494c0b412640503365b2c7f65549c42 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Mon Nov 25 17:13:30 2013 +0100 delta_create(): fix the sizeof() commit f546467d4a86a8918e8a0e7e5efca7371d59d532 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Mon Nov 25 17:44:17 2013 +0100 parse_reldep_str(): fix buffer overflow commit c8dc0a1bc0027b0be856486f2ff24debb1783189 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Nov 18 19:01:33 2013 +0100 string reldep parsing using parse_reldep_str commit ad40b94fd1df9ecc46482592753a84665346f3cb Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Nov 18 18:59:34 2013 +0100 added hy_query_filter_provides_in function (RhBug:1019168) commit 95dac8b895cf562e5b1828c3528ab420da6b347b Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Nov 18 18:56:02 2013 +0100 added parse_reldep_str function commit 5dc55a26ce3d20473ef79f2c57dcce28c914d772 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Nov 15 13:16:21 2013 +0100 fix: py: abort() from python when writing the system .solv cache fails. commit 49bcd1b4e87ba8fce7d97007a6cd3f029c11cefd Author: Ales Kozumplik <ales@redhat.com> Date: Fri Nov 15 12:50:12 2013 +0100 fix forgotten include causing a compiler warning in testsys.c. commit a0cfcd0f6b331b6210f582fa308c409704a8e04b Author: Ales Kozumplik <ales@redhat.com> Date: Fri Nov 8 11:03:52 2013 +0100 build: 0.4.5-1 commit 9ed6fcaf904aff30e0803d65873a682ac382f3f8 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Nov 8 10:50:31 2013 +0100 New version: 0.4.5 commit 42a0ade9e8ebe8e4fd073f3084ea9db7512f22dd Author: Ales Kozumplik <ales@redhat.com> Date: Fri Nov 8 09:28:58 2013 +0100 goal: installonly_limit = 0 means it is disabled. commit 45e2fceb38a8bc2254e0b66170804d6a62a247d8 Author: Jan Silhan <jsilhan@redhat.com> Date: Mon Nov 4 15:34:27 2013 +0100 written API changes for Query filter latest option (RhBug:1025650) commit d22457e6bef687f593da2cb5872101754d5fe4f5 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Nov 4 14:19:53 2013 +0100 tests: superfluous query.run() calls. commit 9ee11d9a5fb1c139997fb74316d3b2ec1523fbe9 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Nov 1 18:17:17 2013 +0100 removed define PyString_AsString in pycomp.h commit 2d6a0b5a3ccd5a06f9a362ad505ed03f93669acb Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Nov 1 17:50:49 2013 +0100 replaced PyInt_FromLong with PyLong_FromLong commit 878a2adcc4b13aa5c00b3767185ab9e9ee164c69 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Nov 1 16:14:40 2013 +0100 replaced PyInt_AsLong with PyLongAs_Long commit 97b0d7c0d969108bf735ab6b572db9a2cd420df6 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Nov 1 14:40:42 2013 +0100 added latest to query ignoring architectures commit c826e9e61252d3f3b7d140402d444130d664a5ab Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Oct 30 19:13:41 2013 +0100 renamed hy_query_filter_latest to hy_query_filter_latest_per_arch commit 8a44efd5f487090e86802cdba0547abd7f6f5e36 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Nov 4 11:53:12 2013 +0100 logging: additional logging output on repo loading errors. Related: RhBug:1026035 commit 3a514f0f1b2154057f553d571ad2c37437763752 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Nov 4 11:05:09 2013 +0100 logging: refactor and add a loglevel. Related: RhBug:1026035 commit 951fc68f75ebbf1da6ba55a71bb60ca22a2fc14a Author: Ales Kozumplik <ales@redhat.com> Date: Thu Oct 31 16:23:29 2013 +0100 queries: allow glob matching in query. commit 17f2b6088ecaf7ff7178149379baad09e9af8965 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Oct 31 15:46:17 2013 +0100 tests: slightly simplify test_subject.py. commit c1d442cdb50d0e15b56f252879861a897e0cac91 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Oct 31 15:10:26 2013 +0100 subject: yield correct results when globbing over a version. commit 47ac3917ed50d51254923afe4da60f269527a472 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Oct 31 14:20:59 2013 +0100 subject: globbing for sack._knows. Warrants some refactoring in sack.c. commit c13d0d722a0d5bd52c3636f288b67272633c410d Author: Ales Kozumplik <ales@redhat.com> Date: Thu Oct 31 14:19:35 2013 +0100 py: subject: sack._knows doesn't need to take sack. Got self already. commit 431119480d5f2c977cb96711868fb5c631db0a00 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 29 17:09:44 2013 +0100 build: 0.4.4-1 commit 513440a000570463d4834a93ceb934b2d1d41f98 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 29 17:04:40 2013 +0100 New version: 0.4.4 commit d0ec33d4385454070dcf7340a50fa9e8e84faf83 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 29 16:12:11 2013 +0100 With the current libsolv there's no need to reinit solver for re-resolving. pointed out by mls. commit 61355e53c07055f2c6e4f7dfe36b4615a31e13d9 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 29 15:28:31 2013 +0100 speedup fetching rpmdb a bit by reusing what we can from the old cache. Suggested by mls, thank you! commit 912518b0eedc8e1e64ddacc9436370e55b20df38 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 29 15:19:21 2013 +0100 adapt to libsolv 3b3dd72: obsoleting by an installonly package is erasing. commit fb541b63370db14e2bc25b1d5e123002fd6a1539 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 29 15:05:50 2013 +0100 tests: slim test_goal.c by using a testsys function instead of its reimplementation. commit 55d7c5fed78178ceb6fdaa477559ba9f0f3e38cc Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 29 15:01:37 2013 +0100 tests: shave some lines off test_goal.c by using smarter Goal results assertion. commit d3f9499d09fd1e1fc518a45fc26aee7963c74b93 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 29 10:49:14 2013 +0100 installonlines: python bindings for installonly_limit. apichange: This coincidentally reverts the API change of a28f8f1. It is more convenient to set the installonly provide names and the limit separately after all. Related: RhBug:880524 commit ddde7abb396f592e0dfb455b90484fa7c0fd398b Author: Ales Kozumplik <ales@redhat.com> Date: Mon Oct 28 21:25:06 2013 +0100 goal: when sorting the installonly candidates, consider the running kernel. Sack gets a hook to override testing the running kernel, useful in unit tests. commit a28f8f1bb6371769332ae6ad40ce0dfcc3dd2231 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Oct 28 19:01:36 2013 +0100 Limit the number of installed installonlies. (RhBug:880524) apichange: hy_sack_set_installonly now takes a new parameter: the limit on the number of present installonlies. The implementation emulates exactly what yum does: look at all the *provides* of the designated installonly strings, but limit the number of packages *per the package name* basis. create mode 100644 tests/repos/@System-k.repo create mode 100644 tests/repos/installonly.repo commit f5f9818c4ba05cf6c0144b9954f14d6fc8d25d41 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Oct 28 10:23:32 2013 +0100 iutil.c: dump_solvables_queue. Useful when debugging installonlies. commit 0229132bfe5f045e8cd90fa9e4a9d17d10293ebf Author: Ales Kozumplik <ales@redhat.com> Date: Mon Oct 28 10:19:32 2013 +0100 refactor: concentrate all libsolv solver initialization into the static solve(). decisions about when to disable installonly etc. can easily take place there. commit 6a879e9a675ddb9cbaf1a4b4796c60156a9bf0dc Author: Ales Kozumplik <ales@redhat.com> Date: Sun Oct 27 14:07:46 2013 +0100 refactor: goal: reinit_solver() commit 97f4defa9a3c98020c77a39a9c2c0ecc1d073470 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Oct 25 18:03:26 2013 +0200 tests: dump_packagelist() can free the list too. commit 61a282d516ee6ceeddc40bed36f90322ad7e2d0d Author: Ales Kozumplik <ales@redhat.com> Date: Thu Oct 24 10:38:08 2013 +0200 iutil: running_kernel(). commit ca4f0b78de40b76d09c09d5b0551ba42557e748a Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 15 15:28:01 2013 +0200 build: 0.4.3-1 commit dcfbe8727d0df5c810b4568023e1339f366c8b52 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Oct 15 15:23:30 2013 +0200 New version: 0.4.3 commit 17fae72fe34f68154ea09292d1f4b2bd888220c5 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Oct 4 15:25:38 2013 +0200 methods get_delta_from_evr from package and add_cmdline_package from sack can take unicode string as argument commit d9d71842007ae583f47cb315fe33d214ed8d7214 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Oct 2 10:32:35 2013 +0200 tests: move TestSack out of the testing module into tests. Tailored load_yum_repo() is moved into the TestSack and TestSack is moved out of hawkey.test: clients like DNF do not care for hawkey-tailored load_yum_repo(). Better leave them access to the real load_yum_repo and let them override. commit c001ad19e3b25151c946b38f887ab91f52f8e9f1 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Sep 30 15:37:26 2013 +0200 build: 0.4.2-1 commit 4c51f65a51502761402c4a94901608379d1d70c7 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Sep 30 15:28:07 2013 +0200 New version: 0.4.2 commit d21f74beaa4a5d62734fae53ee3252b9f0e5cd8b Author: Ales Kozumplik <ales@redhat.com> Date: Mon Sep 30 11:55:54 2013 +0200 Goal: excluding and then installing results in incomprehenisble problem desc. (RhBug:995459) Patch concept by Michael Schroeder <mls@suse.d>. Thank you! There still are alternative approaches to excludes: dropping packages them from the repos or by using pool->considered, yet so far nothing indicates we need to go there. commit 32901f23825ae3a748b54e28c1470c55b97cb88c Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Sep 18 15:16:25 2013 +0200 added support of cost option in repos commit e8e6d2faef961a963e36e2df311975c69e2a8f1a Author: Ales Kozumplik <ales@redhat.com> Date: Tue Sep 17 10:15:17 2013 +0200 update AUTHORS. commit f8df92bc3e9c2c6f8438b5d30d6f6e639e48baaa Author: Ales Kozumplik <ales@redhat.com> Date: Mon Sep 16 14:05:08 2013 +0200 build: 0.4.1-1 commit 6f355134515c270f71975e38353bc5fc81c9b4c1 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Sep 16 14:02:45 2013 +0200 New version: 0.4.1 commit ba14d9e89e0afc79faf116eb80e7415d1b999340 Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Sep 13 10:09:24 2013 +0200 spec file also generates python3-hawkey rpm create mode 100644 cmake/modules/FindPythonInstDir.cmake commit bab69a7b73f9fb834fb16ec3c827b787de430cde Author: Jan Silhan <jsilhan@redhat.com> Date: Fri Sep 13 10:08:23 2013 +0200 fixed package object rich comparision commit 61592412d00ce73d4ee335cf8b75e7397fb6dae9 Author: Richard Hughes <richard@hughsie.com> Date: Thu Sep 12 08:55:04 2013 +0100 Add libsolv-devel as a hard requires for hawkey-devel If you don't do this, then you get an error about -lsolv not being found when building anything that uses hawkey. commit e881805d5fe40995b69502a62f3c3ccf91f095c5 Author: Jan Silhan <jsilhan@redhat.com> Date: Wed Sep 4 12:42:15 2013 +0200 Python 3 bindings added delete mode 100644 cmake/modules/FindPythonInstDir.cmake create mode 100644 src/python/pycomp.c create mode 100644 src/python/pycomp.h commit 8dd724d3c84a814342398502d54002342a9dcdcb Author: Ales Kozumplik <ales@redhat.com> Date: Fri Aug 30 10:15:32 2013 +0200 build: 0.4.0-1 commit 0e5506aca23e7b1bee3a38d04f4e871f45b26193 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Aug 30 10:10:29 2013 +0200 New version: 0.4.0 commit eb0d43777844cfdd38bc57f5e3111790bcaf9bf1 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Aug 20 15:21:23 2013 +0200 goal: use SOLVER_FLAG_OBEY_POLICY to avoid forced upgrades to different arches. (RhBug:998859) create mode 100644 tests/repos/forcebest.repo commit 745dfd470620e25e8bcff2dbb05869a1e426c0d7 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Aug 14 15:56:47 2013 +0200 python: release GIL around hy_sack_load_yum_repo(). This is mainly for Anaconda, which is a bit threading-heavy. Without this hy_sack_load_yum_repo(), which is probably the single most expensive hawkey operation, starves the other threads (most painfully the UI). commit 95e28eb858ddb12cea7f54d34553dfcfd053b96c Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jul 31 17:41:38 2013 +0200 build: 0.3.16-2 commit 1e5a593e7345d18a3076522f9a84193f05342eef Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jul 31 15:23:27 2013 +0200 Detect the variant of armv7l. (RhBug:915269) commit 05af2d681f49942c9473529ad98d5bd5fbe3f359 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jul 26 15:43:06 2013 +0200 add package.downloadsize and package.installsize. includes py bindings and ut. commit 0acb535d6b2a49a64e026c64386d5a3c64a698d5 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jul 22 13:00:51 2013 +0200 build: 0.3.16-1 commit 4e79abc8a777ea689e66e272499b1c1fd23b6e8c Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jul 22 12:57:22 2013 +0200 New version: 0.3.16 commit 43cd4e06d91aacba89a12adb5ebccd5de0c18c9b Author: Richard Hughes <richard@hughsie.com> Date: Fri Jul 19 16:27:34 2013 +0100 Correctly find the installed package when looking for updates commit 0756a62dd179140d0baa60baf7db64ef85478b2d Author: Richard Hughes <richard@hughsie.com> Date: Fri Jul 19 15:16:12 2013 +0100 Change the hy_package_get_update_severity() API to return an enum value Enums are almost always better, and this allows us to find the most important update severity in future taking into account all the solvables in find_update() without breaking API in the future. Not a real API break, as we've never done a build with the old API. commit be092898b5684aa1dd717b0c1f27e8c214729a04 Author: Richard Hughes <richard@hughsie.com> Date: Fri Jul 19 14:41:31 2013 +0100 Do not enforce all repos load all kinds of specified metadata Do not return with an error if a repo does not have metadata specified in hy_sack_load_yum_repo(). We don't want to have to check the repository and find out if each repo has the desired metadata type. To fix this, turn the meaning of the flags from 'load this metadata' to 'load this metadata if it exists'. commit 0376b8a6443e1639eeecfdde8e14e81c37003951 Author: Richard Hughes <richard@hughsie.com> Date: Fri Jul 19 14:48:19 2013 +0100 Fix a tiny memory leak introduced in 68ebca4a80aec636d30a9fd4fb9aa2d9bf9a8eca commit e98d921d1fed999daea4e503dbc018dae312b518 Author: Richard Hughes <richard@hughsie.com> Date: Tue Jul 2 14:36:48 2013 +0100 Add methods to get details about package updates commit 68ebca4a80aec636d30a9fd4fb9aa2d9bf9a8eca Author: Richard Hughes <richard@hughsie.com> Date: Thu Jul 18 11:59:06 2013 +0100 Add updateinfo support to hawkey, using the existing parser in libsolv create mode 100644 tests/repos/yum/repodata/updateinfo.xml.gz commit 7c587597d8d7d2074439f00d1aeba3f1635f02f3 Author: Richard Hughes <richard@hughsie.com> Date: Thu Jul 18 14:22:44 2013 +0100 Do not count updates when counting the number of packages in a sack Updates in a sack are actually solvables in libsolv, so when we add support for updateinfo we want to ignore these. Also, we can't assume that nsolvables does not have holes, so the (nsolvables-2) logic wasn't correct either. commit cd582353371ff910524c0e1a5988f3e3e04bcdfe Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jul 17 12:14:38 2013 +0200 build: 0.3.15-1 commit 996cd40164c504ed0df1447a379a9a9c16f1d8e9 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jul 17 12:11:30 2013 +0200 New version: 0.3.15 commit 4bef5f69030426a96b1f073580a6e04355f1fec1 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jul 4 17:05:15 2013 +0200 py: fix memory leak in sack-py.c:new_package commit 20a5c134662ad9cae7b211b0a3240a59e9435aeb Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jun 24 11:29:57 2013 +0200 build: 0.3.14-1 commit a3b5a3f28affc1496a2c918ff274c8bb36140fbd Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jun 24 11:27:52 2013 +0200 New version: 0.3.14 commit 7538d1e3b58ffcb8679a79b39d3f6e1594bc77a5 Author: Richard Hughes <richard@hughsie.com> Date: Tue Jul 2 16:37:06 2013 +0100 Add the HySack pointer in the HyPackage structure if available This allows us to call sack_make_provides_ready() in the future from the package instance. commit 2e0956dbb6f4b1399a9f20be7a2390853581a555 Author: Richard Hughes <richard@hughsie.com> Date: Wed Jun 26 15:38:09 2013 +0100 trivial: clang doesn't let us use 0xdeadbeef as a pointer without casting commit c28a5dbdd1af9162629561fb323877e1e145ece5 Author: Richard Hughes <richard@hughsie.com> Date: Mon Jun 24 14:01:26 2013 +0100 Add API to get and set userdata on a HyPackage instance Resolves: RhBug:977401 We need to do this as typically in users of the API we are passing around arrays of packages, and we need to be able to add additional data to them. For instance, we might want to add the location of the .rpm file of the to-be-installed-package as it's downloaded in librepo, and retrieved before the package is added to an rpm transaction. Adding this data means we do not need a package+key metadata dictionary or any kind of wrapper object around HyPackage when using hawkey in C programs. commit cf2b338342668f47ef33e2a38e8e95c303830d28 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jun 24 10:20:52 2013 +0200 tests: test_get_files(): test against a package with files outside /usr/bin and /etc. commit 929b58f80f7c445cc371703ed046259de3f4c7bc Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jun 21 15:57:17 2013 +0200 py: simplify exception throwing in load_system_repo(). commit 67bf85712aed473fea10938e9791edc25a515820 Author: Richard Hughes <richard@hughsie.com> Date: Wed Jun 19 17:01:40 2013 +0100 Install stringarray.h so client programs can use hy_stringarray_free() commit d6055f2770bbd3a7dd5aeaf3f82e03d930090f52 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jun 19 15:55:26 2013 +0200 py: bindings for package.files. commit 998b69b1ae80d264458e74f1c05b34113d6253a9 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jun 19 14:00:09 2013 +0200 add hy_package_get_files. Introduces new helper type HyStringArray. create mode 100644 src/stringarray.c create mode 100644 src/stringarray.h commit 3247e99d6e4ba7c9c93eb2c923f53230d06de17a Author: Richard Hughes <richard@hughsie.com> Date: Thu Jun 13 09:35:08 2013 +0100 Fix three trivial comment mis-spellings commit 8d49b8b3ee57ea652e25e4d81f1d98f79c9f3ad4 Author: Richard Hughes <richard@hughsie.com> Date: Tue Jun 18 14:18:56 2013 +0100 Set required python version to 2 commit 315d95a0ef976e87eef517935f51b9ef985fdc3b Author: Richard Hughes <richard@hughsie.com> Date: Fri Jun 14 08:33:28 2013 +0100 Add a HY_VERSION_CHECK macro commit 9824424202cf72e7549870b59e2d04968ceb6cab Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jun 5 16:44:24 2013 +0200 packaging: add license information to every file. commit 5883ee8de6577dd2ddcd517bb283d1c2abc13961 Author: Panu Matilainen <pmatilai@redhat.com> Date: Fri May 31 11:56:34 2013 +0300 py: add 'installed' property to hawkey.Package commit 51bf26a140185407f80b35534121cb609f88e0ad Author: Panu Matilainen <pmatilai@redhat.com> Date: Fri May 31 11:55:01 2013 +0300 tests: add test-case for hy_package_installed() commit a8c4678a41f9ef8e08e9c2f0e6efe804038a48a0 Author: Zdenek Pavlas <zpavlas@redhat.com> Date: Wed May 29 16:17:59 2013 +0200 Add .baseurl getter to Python and C APIs. delete mode 100644 tests/repos/yum/repodata/23c7620d21c5c75741b464543049653c4b91f28af51fa084fc4d3b7feefca51d-filelists.xml.gz create mode 100644 tests/repos/yum/repodata/483b423aad31386149d3c804717257ebaf08a39f4c5e5bb6d5f302d5a394275a-other.xml.gz create mode 100644 tests/repos/yum/repodata/88527bc0ed21d5a2acc2b9bd6242593af65102541551277bed147a7da5509f13-primary.xml.gz delete mode 100644 tests/repos/yum/repodata/9574748bb264ade624311d3e4586b64af38af69e78e5ab086ac7677d25bede80-other.xml.gz create mode 100644 tests/repos/yum/repodata/f31ebfb2035ee5ccb296af2201280ae55b2a26c1ba99c2b877c6cddc2c7987c7-filelists.xml.gz delete mode 100644 tests/repos/yum/repodata/fe501c97c8ff7029324d8f7a609a409106b62a2d56e73e1a73422798b712d523-primary.xml.gz commit 72c01ca892e3048be697fd92c331d07f7bba98e7 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jun 3 10:42:36 2013 +0200 tests: fix a memory leak revealed by libsolv commit 0804020. commit e9911eaf582771a090b79247afad42af09d00365 Author: Panu Matilainen <pmatilai@redhat.com> Date: Thu May 30 12:51:49 2013 +0300 Return the installed size for installed packages in hy_package_get_size() - Kinda related to RhBug:968157, when erasing packages in dnf you'll now get an idea of how much space will be freed. commit 6d90e69bb066b244ba4492351c32cb84b75936d7 Author: Panu Matilainen <pmatilai@redhat.com> Date: Thu May 30 12:44:18 2013 +0300 Add a function for determining whether HyPackage is installed or not commit fd11e68804331b91852186996168cd6eeb36a851 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 27 13:09:14 2013 +0200 build: 0.3.13-2 commit 15db39f785c6c8151c35500487ae02926c107026 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 27 13:08:09 2013 +0200 fix: python-2.7.5 doesn't give __dict__ to namedtuples. Workaround by using the namedtuple_instance._asdict() method. commit 2a04c719d1af4578bd0f7dd20d5b13d435c68bc6 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 27 10:56:30 2013 +0200 New version: 0.3.13 commit daafa26e38e6806563cd86667506dca5879629b2 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 20 09:52:20 2013 +0200 goal: running the same Goal instance twice or more. commit 018503c4065db823b80577468908403f5a13c888 Author: Ales Kozumplik <ales@redhat.com> Date: Fri May 17 10:12:54 2013 +0200 sack._knows can now determine if a particular 'name-version' sounds familiar. This could be done with Queries too of course but this is faster then the current queries implementation. Related: RhBug:963133 commit a1631fdd4f1d46665177f8f552c29cd153b8099a Author: Ales Kozumplik <ales@redhat.com> Date: Thu May 16 09:44:32 2013 +0200 Goal: do not set the 'keepexplicitobsoletes' flag. It is set automatically by Pool's 'noobsoletesmultiversion' flag. See libsolv commit 982e0fa3. commit 8e693a682de62c724e83c29f5efddbedfe171e46 Author: Ales Kozumplik <ales@redhat.com> Date: Thu May 16 09:04:18 2013 +0200 tests: fixtures for upgrade_all() with installonly packages. Requires libsolv at b2ed457. commit 91591ba5af6770fbfe186085d70e87bd6f6f218c Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 13 14:34:40 2013 +0200 build: 0.3.12-1 commit 60cc1cc61d6d8e764cf5d78f6bc7f45469ce3b01 Author: Ales Kozumplik <ales@redhat.com> Date: Mon May 13 14:30:28 2013 +0200 New version: 0.3.12 commit 4b031d5b8aee1c8d556833aa05dd0e7077d02384 Author: Ales Kozumplik <ales@redhat.com> Date: Fri May 3 14:31:42 2013 +0200 goal: fix assertions about the job queue when translating selectors. The odd places in the job queue are not bitfields. commit 568a4f168f5d0a1f68620431023c332bd4baf43c Author: Ales Kozumplik <ales@redhat.com> Date: Fri May 3 14:25:46 2013 +0200 SOLVER_NOOBSOLETES is SOLVER_MULTIVERSION. See libsolv commit 646a92ed. commit 8788f25465a3768a2390f33cf0e337cdfbb684ec Author: Ales Kozumplik <ales@redhat.com> Date: Thu May 2 13:24:07 2013 +0200 goal: testing number of requests and presence of certain kinds of requests. Perhaps a bit high level, the testing part, but too early to force full Goal introspection capabilities should this suffice. commit c425b60879175138ac1503c24b221ce71e81ce02 Author: Ales Kozumplik <ales@redhat.com> Date: Thu May 2 15:56:58 2013 +0200 build: 0.3.11-1 commit ffe0dac3c7cb9db56d5d997ed932885df2ec5d0f Author: Ales Kozumplik <ales@redhat.com> Date: Thu May 2 15:52:28 2013 +0200 New version: 0.3.11 commit 8d77592ad3f7ccf68e75e4f2dbf285d632bd098d Author: Ales Kozumplik <ales@redhat.com> Date: Mon Apr 29 18:36:29 2013 +0200 obsoletes: do not report obsoleted packages in hy_goal_list_erasures(). IOW hy_goal_list_erasures() and hy_goal_list_obsoleted() are disjoint. commit fe99cd4fe9f003f7b4383d0564407e4ce67f30e3 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Apr 29 16:39:54 2013 +0200 rename: goal: list_obsoletes -> list_obsoleted. Consistent with the rest of the Goal methods. Related: RhBug:887317 commit 0fee231c0e49888494c2820d8508767d6fdbbe90 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Apr 29 15:37:01 2013 +0200 rename: hy_goal_package_all_obsoletes() -> hy_goal_list_obsoleted_by_package(). doc: document the overall API changes in this area. commit f8334df53e4477edc1a690c7133299185f533ab7 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Apr 29 15:28:35 2013 +0200 apichange: remove: hy_goal_package_obsoletes(). Lot less general than hy_goal_package_all_obsoletes(). commit 8f72953d965d5b625c06121175366c35a6ad7475 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Apr 29 14:32:42 2013 +0200 tests: simplify test_goal_upgrade_all() somehwat. ... by having a varag function to test list contents. commit 56c79ed62d46b60b663b5c85b711383af5d5901a Author: Ales Kozumplik <ales@redhat.com> Date: Fri Apr 26 15:37:32 2013 +0200 goal: add ability to list all of the package's and transaction's obsoletes. Related: RhBug:887317 commit 9578680ace9281d98e2674fca4d8cb5c8b4ddacd Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 18 17:02:42 2013 +0200 py: allow directly comparing NEVRAs by their EVRs. (RhBug:953203) create mode 100644 tests/python/tests/test_nevra.py commit a110f844930d6db0f2d67ce37e19093871ed1790 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 18 16:23:47 2013 +0200 add hy_sack_evr_cmp(). with Python bindings. Related: RhBug:953203 commit 528d8b81431033cc4449c99d462fcc3761140a40 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 18 13:36:10 2013 +0200 py: fix SIGSEGV in unchecked hy_goal_describe_problem() call. commit 2228c641a73a485a677e0b14810103e8eddbbece Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 18 11:50:32 2013 +0200 doc: update the Tutorial for the current version of the API. It was kind of stale. commit 07aae93e50156c66e56bfedc3c1f6ee66971749a Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 18 10:51:21 2013 +0200 subject parsing: recognize "pyton-hawkey" is a name in "python-hawkey-0.3.10". It was thinking "hawkey" is the version, since python is an existing name. commit 06e2cf23c645509d32c28e0a357f224ee009d2d9 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Apr 8 14:09:02 2013 +0200 New build: 0.3.10-1 commit 1d51b83ce7042b39afc2431e3ee46c0eb3412e20 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Apr 8 13:52:56 2013 +0200 New version: 0.3.10 commit c2d63027d1ce93baa303202c3b943160b2163791 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Apr 4 11:18:28 2013 +0200 hy_goal_write_debugdata() Finally start using testcase_write(). Plus the bindings. commit 8f1dea311712a00d097d0d0dd085289c2e3b7d3a Author: Ales Kozumplik <ales@redhat.com> Date: Wed Mar 20 14:19:55 2013 +0100 New build: 0.3.9-1 commit c0c16c0869fba6f67008a4ee21004061bf59c173 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Mar 20 14:14:30 2013 +0100 New version: 0.3.9 commit a88f0851390062831dedcb3bdf9ae99e6de869bb Author: Ales Kozumplik <ales@redhat.com> Date: Wed Mar 20 09:33:15 2013 +0100 refactoring: hy_sack_get_cache_path -> hy_sack_get_cache_dir. "cache_dir" sounds more intuitive than "cache_path". API chanage, documentation included. commit 54f4f0f8ca7f03ed3d37bc6ef487c3f35846fa9c Author: Ales Kozumplik <ales@redhat.com> Date: Tue Mar 19 15:58:08 2013 +0100 hy_sack_create() now accepts a flag to disable automatic cachedir creation. Documents the API change. commit 53986c1ae622f7f6f26dc260395ed0765718458b Author: Ales Kozumplik <ales@redhat.com> Date: Tue Mar 19 15:55:02 2013 +0100 fix crashes when the logfile can not be initialized. commit 577092f7a7322b4c102bd4013078c7bbd17d3976 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Mar 1 16:47:14 2013 +0100 New build: 0.3.8-1 commit 046ab1c3c2650a36ed809d6cd02298e00ee25834 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Mar 1 16:41:40 2013 +0100 New version: 0.3.8 commit 3a55a38a4d4a2a4065fa856e43dc33dab38ac730 Author: Ales Kozumplik <kozumplik@gmail.com> Date: Tue Feb 26 13:40:18 2013 +0100 py: expose Subject.pattern commit da9f29b805e26963a99a070278eeffa340cd32a6 Author: Ales Kozumplik <kozumplik@gmail.com> Date: Tue Feb 26 09:08:37 2013 +0100 doc: added the rootdir parameter to hy_sack_create(). commit 08f074c73f67854ded98be1e8461d72ceff9a9bb Author: Ales Kozumplik <ales@redhat.com> Date: Mon Feb 25 14:50:40 2013 +0100 sack: allow specifying a different rootdir (AKA "installroot") commit 34bae0c8d0499dc7af6db9b0165bc9bac5b2c925 Author: Ales Kozumplik <kozumplik@gmail.com> Date: Wed Feb 13 16:19:24 2013 +0100 Forms recognized by ``Subject`` are no longer an instance-scope setting. (RhBug:903687) Also see a53a6b1 that foreshadowed this change. commit b5ebd8b11f53e76de6be13ea8fbbbd234dc05b50 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Feb 11 10:55:39 2013 +0100 New build: 0.3.7-2 commit dd10ac7681999dbddcff6371f4527f6714976723 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Feb 11 10:52:06 2013 +0100 New version: 0.3.7 commit 5f3868b0c8f8a6fedd2f67d971bd4d4324b8cd37 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Feb 8 16:49:09 2013 +0100 Selector: allow constraining by version only (without the release). commit dae8ed0c61bab7f2718b4a5fbd2cce6ca5dd06ce Author: Ales Kozumplik <ales@redhat.com> Date: Thu Feb 7 16:23:12 2013 +0100 python: reldep_repr() outputs a valid number. Not a non-recognized format string. commit cc352ab0c924abc7007afb624ae1f55ac461b83a Author: Ales Kozumplik <ales@redhat.com> Date: Thu Feb 7 16:21:23 2013 +0100 Add pkg.conflicts and pkg.provides. (RhBug:908406) commit 0be99bd8a52e84efebbb3868ed02d4de6302140e Author: Ales Kozumplik <ales@redhat.com> Date: Thu Feb 7 15:30:24 2013 +0100 cosmetic: some python were are not listed in alphabetical order. This is not as much an OCD-urge as to make it clear where to add new ones later. commit 10fe02c06cc1a413a5833320de7d290a79e95887 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Feb 7 15:18:34 2013 +0100 hy_query_filter_requires() internally converts to a reldep. Allows me to simplify compute() a bit and remove filter_requires_str(). commit 5049d7666f6f749ce5f689d6085798cbe547d137 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Feb 7 13:59:37 2013 +0100 support filtering by 'obsoletes' and 'conflicts' reldeps. (RhBug:908372) Includes a fix for memory leak from c5c375f and python bindings. commit c5c375fc91a1aac46e794d14f8594c55613923ae Author: Ales Kozumplik <ales@redhat.com> Date: Thu Feb 7 13:12:17 2013 +0100 allow filtering by requires with reldeps. (RhBug:908372) commit 9111a9a9111b3a9db2f30db8c08220d89c22133b Author: Ales Kozumplik <ales@redhat.com> Date: Wed Feb 6 09:49:00 2013 +0100 py: Query.filter() returns instance of the same type as the original query. Useful when Query is subclassed. commit 25751006ae8fb24e9cbb1ef0bc4eeed8649d93e7 Author: Ales Kozumplik <kozumplik@gmail.com> Date: Fri Feb 1 11:23:13 2013 +0100 sack_knows() does case-insensitive matching too (pricey yet needed). Make Subject use the new flag. commit a53a6b1bb701b9f3d5029bf7763df4de7abe45ba Author: Ales Kozumplik <kozumplik@gmail.com> Date: Thu Jan 24 17:45:17 2013 +0100 subject: best shot at 'some-lib-devel' is not that EVR is 'lib-devel'. This fully shows that the "best guess" parse and "best guess with known names" parse should not follow the same order of tested parses. But since nobody uses the simple best guess yet (i.e. no asking the sack if he knows the name), the patch optimizes for the latter case. The form order will have to split between the two later. Resolves: RhBug:903687 commit 609a6d4cf12669cc4f4ac37e6a5ddf67034f59d9 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jan 23 18:36:49 2013 +0100 cosmetic: put HY_PKG_LOCATION into the lists alphabetically. (where still possible) commit 20240971cc8764785bf9cca24148d04449fe07dc Author: Tomas Mlcoch <tmlcoch@redhat.com> Date: Wed Jan 23 14:34:48 2013 +0100 New key HY_PKG_LOCATION for query commit 961ca4063dce2d0312203f0d56cb2fa8e5558f93 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jan 21 15:09:54 2013 +0100 querying for upgrades: do not include arbitrary arch changes. Some of them are actually usually not a legal upgrade (x86_64 to i686 is typically not an upgrade). Also see 9843905bd77cf4468613974dd3bde84e6e4b9f5a. Related RhBug:901934 commit e6092e8f5778c880f6a04aafda6789ae422bdb53 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jan 18 15:23:11 2013 +0100 New build: 0.3.6-1 commit c8365fa1df10d4d72ef80b101c271545bf4a6476 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jan 18 15:14:44 2013 +0100 New version: 0.3.6 commit 3b09a8223276460eea2c48c5355c96ea74cdc241 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jan 18 15:13:32 2013 +0100 tests: no need for a header per suite. delete mode 100644 tests/test_goal.h delete mode 100644 tests/test_iutil.h delete mode 100644 tests/test_package.h delete mode 100644 tests/test_packagelist.h delete mode 100644 tests/test_packageset.h delete mode 100644 tests/test_query.h delete mode 100644 tests/test_reldep.h delete mode 100644 tests/test_repo.h delete mode 100644 tests/test_sack.h delete mode 100644 tests/test_selector.h create mode 100644 tests/test_suites.h delete mode 100644 tests/test_util.h commit 86cc8fdfe5310b725c083da3d7147b2f372844a9 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jan 18 10:39:41 2013 +0100 py: bindings for selector.matches(). commit fa8ac38883b2e321115efee46046538049201d6e Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 17 17:58:56 2013 +0100 selector: preview possibly matched packages with hy_selector_matches(). I expect this will help me determine when a selected package is already installed. create mode 100644 src/goal_internal.h create mode 100644 tests/test_selector.c create mode 100644 tests/test_selector.h commit 4e7537f7c94c7cb01b084c0c5e41de654ca59213 Author: Ales Kozumplik <kozumplik@gmail.com> Date: Mon Jan 14 21:18:37 2013 +0100 py: bindings for disabling/enabling repos. commit 23f324b61cc76aebd44c57dac49e9267f59c29e7 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jan 14 12:40:14 2013 +0100 tests: cases should not need to reset the sack state. let the fixtures do that. commit bd4a656178eea71bdff17dce939ad50b7b5251fe Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jan 14 09:33:41 2013 +0100 disabling/enabling entire repositories. Because most query filters would require additional checks (as they don't check repo->disabled, unless they use e.g. the libsolv's dataiterator) the patch goes for a simplification: unifying the package and repo disables into one bitmap (sack->excludes). Goal doesn't have to deal with this, the libsolv solver respects repo->disabled of course. commit 2e1d8756b9f08d068134e64859155da92e9de014 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Jan 11 13:13:34 2013 +0100 refactoring: add repo_by_name() and hrepo_by_name() helpers. commit 8f6ab4d5cba838d45eb6e6b6eadb2fa63033facf Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jan 7 13:07:57 2013 +0100 goal: support forcebest flag. Related: RhBug:882211 commit 50ef8ba72192ee0abe28a6937b5f4aedfc4d4e7c Author: Ales Kozumplik <ales@redhat.com> Date: Mon Jan 7 12:44:04 2013 +0100 test: keep installonly in the original state in test_goal_installonly(). commit 20629f2222f31893130e22f9dad26ff0f7dd58a9 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 3 12:55:53 2013 +0100 py: adding excludes to the sack. commit 36e850146970bbeaba57641d57b27a248e793361 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 3 10:49:11 2013 +0100 excludes: apply excludes in Goal. commit b275d16bbcf1ef132d986d65ae48be843d2c404b Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 3 10:35:18 2013 +0100 excludes: Query respects the exclude list. Related: RhBug:884617 commit 6d5ee172fb68f3229fc0d56c0cd681a7d30c3bad Author: Ales Kozumplik <ales@redhat.com> Date: Thu Jan 3 10:26:29 2013 +0100 New build: 0.3.5-3 commit f981c489cad80a17ecec6f76498cac5c5eb1522e Author: Ales Kozumplik <ales@redhat.com> Date: Wed Jan 2 09:15:37 2013 +0100 New build: 0.3.5-1 commit d73554095d86ea01350acfa3555d778ff632772e Author: Ales Kozumplik <ales@redhat.com> Date: Fri Dec 21 14:44:38 2012 +0100 New version: 0.3.5 commit 5a8e4a8c5abdb96aefe4426630492cc7c02e2d64 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Dec 21 11:13:31 2012 +0100 Simplify hy_package_get_sourcerpm(). libsolv commit 6af0f8 adds solvable_lookup_sourcepkg() that does all the work for us. commit dd529fd496027825f00e9417db3bc68402ce097b Author: Ales Kozumplik <ales@redhat.com> Date: Fri Dec 21 10:40:58 2012 +0100 change to the libsolv-0.2.3 API. commit 0e8255a83e107535e02f6c79f98b3b512cf60324 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Dec 17 16:01:59 2012 +0100 New build: 0.3.4-1 commit b3fcf21d2e34007c326ce528583089cc394cfd28 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Dec 17 15:47:19 2012 +0100 New version: 0.3.4 commit 506ff84c2f50c21fc57a5912d1d59f4abf35b92b Author: Ales Kozumplik <ales@redhat.com> Date: Mon Dec 17 14:13:30 2012 +0100 fix crash when has for an invalid Reldep is requested. commit e98ca206aba191ae7d9ff2aa1712d0147b051b36 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Dec 13 18:27:27 2012 +0100 Goal: give the solver SOLVER_FLAG_ALLOW_VENDORCHANGE. Related to RhBug:885646 Suggested by mls, https://bugzilla.redhat.com/show_bug.cgi?id=885646#c4. create mode 100644 tests/repos/vendor.repo commit 847201810667b6412b4efd8eb07a7b73e7ab18b7 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Dec 13 11:25:57 2012 +0100 Subject: 'src' is a valid arch for the parsing purposes. commit a6c21e68c342dfd2312a29e5c7fd5c28e50c8350 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Dec 12 14:08:25 2012 +0100 Subject: move priority of FORM_NEV at the end. 'package-version' clashes with the much more common case 'packagename1-packagename2' because the first part is very often recognized as a valid packagename itself (e.g. 'python-zope'). If someone complains the version should be given higher priority additional heuristics need to be built: e.g. checking whether version in fact starts with a number. Iffy. commit 53fc47ad11116cf3762d97627dd7e3881c9d8676 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 11 14:48:58 2012 +0100 py: move the Reldep arg translating method inside the class. commit ab082d18af4ef35fd24fb5aa8551aad518a957dd Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 11 14:38:10 2012 +0100 cosmetic: py: cleanup the public module members. commit 7d709b12967db9eee3640a3af07f003deeb4724b Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 11 14:33:54 2012 +0100 delete goal_internal.h, not needed. delete mode 100644 src/goal_internal.h commit aa6f4d8854a501380f879db560aa0618680e6f0c Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 11 13:35:34 2012 +0100 Goal: accept a selector targeting a provide. commit 1004bb4c8c16e38ce6101bbd8023a021ba40eacb Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 11 12:46:50 2012 +0100 cosmetic: renames in Subject.*possibilities*(). Make the names more concrete. commit 799c12858d8cf46111385aa71bacb1d995e49348 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 11 11:10:24 2012 +0100 py: Subject.reldep_possibilities_real(). commit 88a3c447f14f7c40fa3bec31bc60811a97092d55 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Dec 10 11:30:34 2012 +0100 py: bindings for custom-specified reldeps. commit 4faa7a4abf50a4b594381e30706820bd962eb104 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Dec 6 14:05:47 2012 +0100 Reldeps: creating custom-specified reldeps (name, evr). commit 098bc12e4cb6b86ca95b4e090cc635898bcc64c6 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Dec 5 15:21:36 2012 +0100 fix: cloning an evaluated Query should copy the result set too. commit 6bb50f33b5b6b4cbbc23a3aef53fa13cff00f075 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Dec 4 10:19:28 2012 +0100 Subject: if globbing characters are present forgive unrecognized names. commit ca2bce53387c4a2bf19b25665e9377f3b2f14814 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Dec 3 18:30:05 2012 +0100 subject: matching only existing package names and arches. commit 6f23309b6b1b7f7d16073c13ecc041b4242ea188 Author: Ales Kozumplik <kozumplik@gmail.com> Date: Sun Dec 2 10:46:33 2012 +0100 Subject: discovering all NEVRA explanations of what user's input meant. Because of the unfortunate shapes the full package NEVRAS can take (dots, dashes, numbers and arches in the name etc.), there usually can be found more than one meaning of what the user meant with his input. This is an attempt of implementing a fast, standardized way to handle these. This first implementation is Python only, extensively unit tested. If it works it will be turned into C implementation with bindings, with the tests reused. create mode 100644 tests/python/tests/test_subject.py commit 554f685b59ef6288ce9ca7f6b676dab08d785359 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Nov 28 10:13:16 2012 +0100 README.md: update the dependency list. commit 11cc3accedfc7cefea96f869544c6dfe29aeb371 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Nov 26 16:57:57 2012 +0100 py: make repr(pkg) more informative. Show the NEVRA and repo of origin. commit f842a40ebf2a4a09214053b4972debcdcb6cca12 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Nov 26 16:14:00 2012 +0100 New build: 0.3.3-1 commit 4e41b7ff74f32a618ee048b255aaa8177c2e8ac8 Author: Ales Kozumplik <ales@redhat.com> Date: Mon Nov 26 16:08:08 2012 +0100 New version: 0.3.3 commit 853fffa43ca64b54911566e10070d5d3400e1ffa Author: Ales Kozumplik <ales@redhat.com> Date: Mon Nov 26 14:27:58 2012 +0100 Goal: support distupgrade of all packages. The Fedora version of libsolv doesn't support per-package distupgrade, this is coming later with the latest libsolv. commit 7b277fde442deda9f949f0c1bada29fe82dc0e66 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Nov 22 10:33:57 2012 +0100 fix implicit declarations in hawkey_testmodule.c (gcc warnings). commit 138d31989fc684be957dfa87bfbbb59aa789f980 Author: Ales Kozumplik <ales@redhat.com> Date: Wed Nov 21 15:37:49 2012 +0100 rename: hy_package_get_nvra() -> hy_package_get_nevra. More precisely reflects what it does. :api-change commit 1477ef5a382c43287745bb1dd75c8c53bd25fb3e Author: Ales Kozumplik <ales@redhat.com> Date: Wed Nov 21 15:16:18 2012 +0100 checksums: do not assert() when the pkg hasn't got the asked checksum. RhBug:878823 commit a52d517a9e2d19a3521139c9b96d6077a4f7f1b0 Author: Ales Kozumplik <ales@redhat.com> Date: Tue Nov 20 16:04:39 2012 +0100 Goal: add upgrade_to_selector(). The selector can now have EVR specified. commit 1b544888def86b29e555851202197f5a016b887c Author: Ales Kozumplik <ales@redhat.com> Date: Tue Nov 20 15:40:01 2012 +0100 test: split testsys.c into testsys.c and testshared.c. testshared is about to gain some new methods that pull in libcheck. create mode 100644 tests/testshared.c create mode 100644 tests/testshared.h commit 9843905bd77cf4468613974dd3bde84e6e4b9f5a Author: Ales Kozumplik <ales@redhat.com> Date: Fri Nov 16 13:11:51 2012 +0100 Query: fix selecting upgrades for packages of changing architecture. That is packages with changed architecture should be included in the result. commit a4c2cfce2c8479ef9a42bfc9b397ef995ff82f3e Author: Ales Kozumplik <ales@redhat.com> Date: Fri Nov 16 12:37:50 2012 +0100 py: Query.run() internally uses a set for the results instead of a list. This saves us constructing the packagelist and constructing the result packageset as a Query result is memcpy-cheap. commit c4bff3aa6b4fe238ce71be2a88e2498aa45241e9 Author: Ales Kozumplik <ales@redhat.com> Date: Fri Nov 16 11:06:59 2012 +0100 packageset: add internal function for getting elements with a hint. The hint is position of the previous match. Otherwise traversing the packageset for all packages present is O(n^2). Alternative is building (and maintaining) a tree structure above the bitmap, but that would only improve the traversing to O(n*log n). commit f62e245383a96965a853dd5d51de5ca8b19ce32c Author: Ales Kozumplik <ales@redhat.com> Date: Thu Nov 15 15:44:57 2012 +0100 py: add Query.evaluated. Sometimes the Query can get evaluated without running run() on it, e.g. when it is used as a subquery argument. Now there's a way to tell whether the (underlying C) Query has been evaluated or not, even before the result list is constructed. Also make sure the list is constructed on-demand in these cases. Captures the subquery evaluation and .result interaction in a unit test. commit 3ebdfc0b44d1697ac31d4d755e747fc920f9d318 Author: Ales Kozumplik <ales@redhat.com> Date: Thu Nov 15 10:57:18 2012 +0100 New build: 0.3.2-1 commit e883549de5f76f9bf616e757ea2c705c3d644812 Author: Ales Kozumpli ... |