platform/upstream/libsolv.git
12 years agouse evrid2vrstr inline function
Michael Schroeder [Mon, 8 Oct 2012 13:25:31 +0000 (15:25 +0200)]
use evrid2vrstr inline function

12 years agoadd repodata_set_sourcepkg and solvable_lookup_sourcepkg, fix solvable_get_location...
Michael Schroeder [Mon, 8 Oct 2012 13:16:42 +0000 (15:16 +0200)]
add repodata_set_sourcepkg and solvable_lookup_sourcepkg, fix solvable_get_location return type

12 years agofix finish_solvable do not rely on a "handle" argument, as the handle might have...
Michael Schroeder [Mon, 8 Oct 2012 09:55:41 +0000 (11:55 +0200)]
fix finish_solvable do not rely on a "handle" argument, as the handle might have been set to zero

12 years agofix repo_lookup_deparray() corner case when looking for post-marker deps
Michael Schroeder [Fri, 5 Oct 2012 15:07:33 +0000 (17:07 +0200)]
fix repo_lookup_deparray() corner case when looking for post-marker deps

12 years agosimplify forcebinary code again: use TAG_SOURCEPACKAGE like rpm does
Michael Schroeder [Fri, 5 Oct 2012 13:08:57 +0000 (15:08 +0200)]
simplify forcebinary code again: use TAG_SOURCEPACKAGE like rpm does

12 years agodo not force rpm5 rpms to binary, the type info in the lead is always zero
Michael Schroeder [Thu, 4 Oct 2012 13:42:27 +0000 (15:42 +0200)]
do not force rpm5 rpms to binary, the type info in the lead is always zero

12 years ago- fix error handling in solv_xfopen_buf
Michael Schroeder [Mon, 10 Sep 2012 16:23:13 +0000 (18:23 +0200)]
- fix error handling in solv_xfopen_buf

12 years ago- repo_arch: make it work with empty prefixes
Michael Schroeder [Thu, 6 Sep 2012 12:19:16 +0000 (14:19 +0200)]
- repo_arch: make it work with empty prefixes

12 years agocompatibility with rpm: force to binary rpm if the rpmlead says so
Michael Schroeder [Wed, 5 Sep 2012 12:49:05 +0000 (14:49 +0200)]
compatibility with rpm: force to binary rpm if the rpmlead says so

We also force all entries from the rpm package database to be binaries.

12 years ago- add workaround for swig undefing bool
Michael Schroeder [Thu, 30 Aug 2012 09:52:30 +0000 (11:52 +0200)]
- add workaround for swig undefing bool

12 years agoMerge pull request #17 from akozumpl/pullreq
Michael Schroeder [Fri, 24 Aug 2012 14:10:55 +0000 (07:10 -0700)]
Merge pull request #17 from akozumpl/pullreq

cosmetic: fix possibly uninitialized variable warning in solv.c.

12 years agocosmetic: fix possibly uninitialized variable warning in solv.c.
Ales Kozumplik [Fri, 24 Aug 2012 13:30:29 +0000 (15:30 +0200)]
cosmetic: fix possibly uninitialized variable warning in solv.c.

12 years agosolv.i: new perl includes <stdbool.h> and the custom typedefs cause gcc errors.
Ales Kozumplik [Mon, 23 Jul 2012 08:44:24 +0000 (10:44 +0200)]
solv.i: new perl includes <stdbool.h> and the custom typedefs cause gcc errors.

Use <stdbool.h> as the default instead. Additionally this also causes all
functions with return type 'bool' in solv.i having their return value
converted into 1 or 0[1].

[1] C99 Draft, 6.3.1.2

12 years ago- close file handle after reading in cudf file BASE-SuSE-Code-12_2-Branch
Michael Schroeder [Wed, 27 Jun 2012 12:48:52 +0000 (14:48 +0200)]
- close file handle after reading in cudf file

12 years ago- implement RPM_ADD_WITH_LEADSIGID, make RPM_ADD_WITH_HDRID also work in repo_add_rpm
Michael Schroeder [Wed, 27 Jun 2012 12:47:50 +0000 (14:47 +0200)]
- implement RPM_ADD_WITH_LEADSIGID, make RPM_ADD_WITH_HDRID also work in repo_add_rpm

12 years ago- revert repo_lookup_checksum change, the ids should always be stored as checksums
Michael Schroeder [Wed, 27 Jun 2012 10:41:05 +0000 (12:41 +0200)]
- revert repo_lookup_checksum change, the ids should always be stored as checksums

12 years ago- store SOLVABLE_HDRID as checksum
Michael Schroeder [Wed, 27 Jun 2012 10:39:25 +0000 (12:39 +0200)]
- store SOLVABLE_HDRID as checksum

12 years ago- check type in lookup_bin_checksum, make it possible to retrieve PKGID/HDRID/LEADSIG...
Michael Schroeder [Wed, 27 Jun 2012 10:31:38 +0000 (12:31 +0200)]
- check type in lookup_bin_checksum, make it possible to retrieve PKGID/HDRID/LEADSIGID with lookup_checksum

12 years ago- put SOLVABLE_PKGID, SOLVABLE_HDRID, SOLVABLE_LEADSIGID in the vertical section...
Michael Schroeder [Wed, 27 Jun 2012 10:11:16 +0000 (12:11 +0200)]
- put SOLVABLE_PKGID, SOLVABLE_HDRID, SOLVABLE_LEADSIGID in the vertical section to save precious memory

12 years agoMerge pull request #15 from akozumpl/pullreq
Michael Schroeder [Wed, 27 Jun 2012 09:44:37 +0000 (02:44 -0700)]
Merge pull request #15 from akozumpl/pullreq

- repo_rpmdb: read in RPMTAG_SHA1HEADER

12 years ago- repo_rpmdb: read in RPMTAG_SHA1HEADER
Ales Kozumplik [Tue, 26 Jun 2012 15:23:46 +0000 (17:23 +0200)]
- repo_rpmdb: read in RPMTAG_SHA1HEADER

12 years ago- fix typo in repodata_merge_attrs
Michael Schroeder [Mon, 25 Jun 2012 11:42:25 +0000 (13:42 +0200)]
- fix typo in repodata_merge_attrs

12 years ago- export repo_add_cudf, use SOLVER_ORUPDATE for cudf update jobs
Michael Schroeder [Mon, 25 Jun 2012 09:28:31 +0000 (11:28 +0200)]
- export repo_add_cudf, use SOLVER_ORUPDATE for cudf update jobs

12 years ago- add SOLVER_ORUPDATE and SOLVER_FORCEBEST (see solver.h)
Michael Schroeder [Mon, 25 Jun 2012 09:27:57 +0000 (11:27 +0200)]
- add SOLVER_ORUPDATE and SOLVER_FORCEBEST (see solver.h)

12 years ago- get rid of a couple of warnings when building for debian
Michael Schroeder [Mon, 25 Jun 2012 09:26:57 +0000 (11:26 +0200)]
- get rid of a couple of warnings when building for debian

12 years ago- set disttype before setting the architecture so that the noarch id is correct
Michael Schroeder [Fri, 22 Jun 2012 16:51:52 +0000 (18:51 +0200)]
- set disttype before setting the architecture so that the noarch id is correct

12 years agooops, export pool_setdisttype...
Michael Schroeder [Fri, 22 Jun 2012 16:40:38 +0000 (18:40 +0200)]
oops, export pool_setdisttype...

12 years ago- name sure to record all namespace ids in testcases
Michael Schroeder [Fri, 22 Jun 2012 16:06:38 +0000 (18:06 +0200)]
- name sure to record all namespace ids in testcases

12 years ago- fix testcase writing bugs
Michael Schroeder [Fri, 22 Jun 2012 15:55:32 +0000 (17:55 +0200)]
- fix testcase writing bugs

12 years agoMerge pull request #14 from coolo/master
Michael Schroeder [Fri, 22 Jun 2012 15:13:40 +0000 (08:13 -0700)]
Merge pull request #14 from coolo/master

Add .travis.yml

12 years agoadd a travis.yml file so it's auto CIed on travis-ci.org
Stephan Kulow [Fri, 22 Jun 2012 14:48:48 +0000 (16:48 +0200)]
add a travis.yml file so it's auto CIed on travis-ci.org

12 years ago- also parse cudf provides ;)
Michael Schroeder [Fri, 22 Jun 2012 14:00:47 +0000 (16:00 +0200)]
- also parse cudf provides ;)

12 years ago- add ENABLE_BZIP2_COMPRESSION and ENABLE_CUDFREPO to support some cudf tests
Michael Schroeder [Fri, 22 Jun 2012 09:53:38 +0000 (11:53 +0200)]
- add ENABLE_BZIP2_COMPRESSION and ENABLE_CUDFREPO to support some cudf tests

12 years ago- fix gzFile usage, oops
Michael Schroeder [Thu, 31 May 2012 12:40:38 +0000 (14:40 +0200)]
- fix gzFile usage, oops

12 years ago- adapt changes
Michael Schroeder [Thu, 31 May 2012 09:40:55 +0000 (11:40 +0200)]
- adapt changes

12 years ago- [valgrind] the userinstalled map only contains the installed packages. mea culpa...
Michael Schroeder [Thu, 31 May 2012 09:36:48 +0000 (11:36 +0200)]
- [valgrind] the userinstalled map only contains the installed packages. mea culpa...

12 years ago- add .changes entry
Michael Schroeder [Wed, 30 May 2012 12:46:59 +0000 (14:46 +0200)]
- add .changes entry

12 years ago- fix compilation with older python versions
Michael Schroeder [Wed, 30 May 2012 10:57:40 +0000 (12:57 +0200)]
- fix compilation with older python versions

12 years ago- add FindRuby.cmake FindPackageHandleStandardArgs.cmake so that the build works...
Michael Schroeder [Wed, 30 May 2012 09:46:09 +0000 (11:46 +0200)]
- add FindRuby.cmake FindPackageHandleStandardArgs.cmake so that the build works again with older cmake versions

12 years ago- make bindings work with ruby 1.9
Michael Schroeder [Tue, 29 May 2012 13:54:45 +0000 (15:54 +0200)]
- make bindings work with ruby 1.9

12 years ago- be a bit more tolerant about FindRuby not setting RUBY_VENDORARCH_DIR
Michael Schroeder [Mon, 21 May 2012 13:17:51 +0000 (15:17 +0200)]
- be a bit more tolerant about FindRuby not setting RUBY_VENDORARCH_DIR

12 years ago- take FindRuby.cmake from cmake - we're recent enough
Stephan Kulow [Fri, 11 May 2012 13:15:25 +0000 (15:15 +0200)]
- take FindRuby.cmake from cmake - we're recent enough
- fix build with ruby 1.9

12 years agochanges
Michael Andres [Tue, 8 May 2012 09:00:20 +0000 (11:00 +0200)]
changes

12 years ago- solv.i: fix typo, make peace with swig-2.0.6
Michael Schroeder [Thu, 3 May 2012 14:05:08 +0000 (16:05 +0200)]
- solv.i: fix typo, make peace with swig-2.0.6

12 years agotreat an empty release as a missing release
Michael Schroeder [Tue, 24 Apr 2012 14:26:53 +0000 (16:26 +0200)]
treat an empty release as a missing release

i.e. "Requires: foo = 4-" as "Requires: foo = 4"

12 years agoadd changes, bump version (just to make it higher than openSUSE 12.1)
Michael Schroeder [Mon, 23 Apr 2012 14:03:35 +0000 (16:03 +0200)]
add changes, bump version (just to make it higher than openSUSE 12.1)

12 years ago- support tilde in rpm version comparison
Michael Schroeder [Fri, 20 Apr 2012 12:17:11 +0000 (14:17 +0200)]
- support tilde in rpm version comparison

12 years ago- use pool_error instead of pool_debug in repo_add_arch_pkg
Michael Schroeder [Mon, 16 Apr 2012 16:46:41 +0000 (18:46 +0200)]
- use pool_error instead of pool_debug in repo_add_arch_pkg

12 years ago- fix wrong logic
Michael Schroeder [Mon, 16 Apr 2012 16:40:03 +0000 (18:40 +0200)]
- fix wrong logic

12 years ago- get rid of plural forms of repo_add_pkg, use pool_error instead printing to stderr
Michael Schroeder [Mon, 16 Apr 2012 15:57:18 +0000 (17:57 +0200)]
- get rid of plural forms of repo_add_pkg, use pool_error instead printing to stderr

12 years ago- add map_or and queue_prealloc
Michael Schroeder [Mon, 16 Apr 2012 15:08:07 +0000 (17:08 +0200)]
- add map_or and queue_prealloc

12 years ago- document supported package/repository formats
Michael Schroeder [Mon, 16 Apr 2012 13:12:33 +0000 (15:12 +0200)]
- document supported package/repository formats

12 years ago- get rid of exit(1) calls in repo_write, instead return error
Michael Schroeder [Mon, 16 Apr 2012 10:07:39 +0000 (12:07 +0200)]
- get rid of exit(1) calls in repo_write, instead return error

12 years agoMerge pull request #13 from akozumpl/upstream
Michael Schroeder [Mon, 16 Apr 2012 08:57:43 +0000 (01:57 -0700)]
Merge pull request #13 from akozumpl/upstream

build: export the new *_testtags methods

12 years agobuild: export the new *_testtags methods
Ales Kozumplik [Mon, 16 Apr 2012 06:34:04 +0000 (08:34 +0200)]
build: export the new *_testtags methods

12 years ago- add pool_error and pool_errstr. get rid of lots of exit() calls.
Michael Schroeder [Fri, 13 Apr 2012 17:23:33 +0000 (19:23 +0200)]
- add pool_error and pool_errstr. get rid of lots of exit() calls.

12 years ago- rename "susetags" in testcases to "testtags", because we just support a subset...
Michael Schroeder [Fri, 13 Apr 2012 14:00:12 +0000 (16:00 +0200)]
- rename "susetags" in testcases to "testtags", because we just support a subset of susetags

12 years ago- support <inline> repositories (because we can), fix mem leak
Michael Schroeder [Fri, 13 Apr 2012 13:28:23 +0000 (15:28 +0200)]
- support <inline> repositories (because we can), fix mem leak

12 years ago- fix fd leak in testsolv
Michael Schroeder [Fri, 13 Apr 2012 13:26:40 +0000 (15:26 +0200)]
- fix fd leak in testsolv

12 years ago- use repo_free_solvable instead of repo_free_solvable_block when freeing a single...
Michael Schroeder [Thu, 12 Apr 2012 13:10:35 +0000 (15:10 +0200)]
- use repo_free_solvable instead of repo_free_solvable_block when freeing a single solvable

12 years ago- also free attrs array when freeing a solvable
Michael Schroeder [Thu, 12 Apr 2012 13:09:14 +0000 (15:09 +0200)]
- also free attrs array when freeing a solvable

12 years ago- also obey keepexplicitobsoletes when disabling update rules (untested)
Michael Schroeder [Thu, 12 Apr 2012 11:35:50 +0000 (13:35 +0200)]
- also obey keepexplicitobsoletes when disabling update rules (untested)

12 years ago- clean up system type definition, use -DSUSE=1 when building for suse
Michael Schroeder [Wed, 11 Apr 2012 13:48:06 +0000 (15:48 +0200)]
- clean up system type definition, use -DSUSE=1 when building for suse

12 years ago- support SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES in testcases
Michael Schroeder [Wed, 11 Apr 2012 13:46:58 +0000 (15:46 +0200)]
- support SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES in testcases

12 years agoMerge pull request #12 from zde/master
Michael Schroeder [Wed, 11 Apr 2012 13:39:25 +0000 (06:39 -0700)]
Merge pull request #12 from zde/master

add SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES

12 years ago- support REPO_EXTEND_SOLVABLES in repo_add_solv (thanks Ales Kozumplik)
Michael Schroeder [Wed, 11 Apr 2012 13:24:57 +0000 (15:24 +0200)]
- support REPO_EXTEND_SOLVABLES in repo_add_solv (thanks Ales Kozumplik)

12 years agoSOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES
Zdeněk Pavlas [Tue, 10 Apr 2012 13:21:40 +0000 (15:21 +0200)]
SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES

true: process explicit obsoletes in multiinstall.
Defaults to 0.  Needed for compatibility with 'yum'.

12 years agofix some typos
Zdeněk Pavlas [Tue, 10 Apr 2012 13:50:23 +0000 (15:50 +0200)]
fix some typos

12 years ago- make example solv program a tiny bit more secure (shouldn't use system() at all)
Michael Schroeder [Wed, 4 Apr 2012 12:25:16 +0000 (14:25 +0200)]
- make example solv program a tiny bit more secure (shouldn't use system() at all)

12 years ago- repo_rpmdb: always check for distepoch, check for 64bit size
Michael Schroeder [Tue, 3 Apr 2012 10:07:10 +0000 (12:07 +0200)]
- repo_rpmdb: always check for distepoch, check for 64bit size

12 years ago- support repo_add_arch_local to read the installed package database on arch
Michael Schroeder [Tue, 3 Apr 2012 09:44:44 +0000 (11:44 +0200)]
- support repo_add_arch_local to read the installed package database on arch

12 years ago- get rid of DEBINA_SEMANTICS, add pool->noarchid, add DISTTYPE_ARCH
Michael Schroeder [Tue, 3 Apr 2012 08:53:26 +0000 (10:53 +0200)]
- get rid of DEBINA_SEMANTICS, add pool->noarchid, add DISTTYPE_ARCH

12 years ago- make sure to link against the lzma library if ENABLE_LZMA_COMPRESSION is set
Michael Schroeder [Mon, 2 Apr 2012 11:41:10 +0000 (13:41 +0200)]
- make sure to link against the lzma library if ENABLE_LZMA_COMPRESSION is set

12 years ago- "noarch" is called "any" on archlinux, so now we have noarch/all/any ;(
Michael Schroeder [Mon, 2 Apr 2012 09:48:21 +0000 (11:48 +0200)]
- "noarch" is called "any" on archlinux, so now we have noarch/all/any ;(

12 years ago- also implement files.xml parsing for m&m
Michael Schroeder [Fri, 30 Mar 2012 17:20:31 +0000 (19:20 +0200)]
- also implement files.xml parsing for m&m

12 years ago- fix mem leak in arch code
Michael Schroeder [Fri, 30 Mar 2012 16:36:56 +0000 (18:36 +0200)]
- fix mem leak in arch code

12 years ago- support files section, support repo extension for archlinux
Michael Schroeder [Fri, 30 Mar 2012 16:33:30 +0000 (18:33 +0200)]
- support files section, support repo extension for archlinux

12 years ago- also support mm/arch in bindings
Michael Schroeder [Fri, 30 Mar 2012 12:18:27 +0000 (14:18 +0200)]
- also support mm/arch in bindings

12 years ago- add support for archlinux packages/repos
Michael Schroeder [Fri, 30 Mar 2012 12:12:54 +0000 (14:12 +0200)]
- add support for archlinux packages/repos

12 years ago- incompatible ABI change: switch num over to unsigned long long and store sizes...
Michael Schroeder [Wed, 28 Mar 2012 14:16:11 +0000 (16:16 +0200)]
- incompatible ABI change: switch num over to unsigned long long and store sizes in bytes, not kbytes

12 years ago- rename map_and_not to map_subtract
Michael Schroeder [Wed, 28 Mar 2012 10:31:22 +0000 (12:31 +0200)]
- rename map_and_not to map_subtract

12 years agoMerge branch 'master' of github.com:openSUSE/libsolv
Michael Schroeder [Wed, 28 Mar 2012 10:27:21 +0000 (12:27 +0200)]
Merge branch 'master' of github.com:openSUSE/libsolv

12 years agoMerge pull request #11 from akozumpl/upstream
Michael Schroeder [Wed, 28 Mar 2012 10:27:01 +0000 (03:27 -0700)]
Merge pull request #11 from akozumpl/upstream

bitmap: implement map_and_not.

12 years agobitmap: implement map_and_not.
Ales Kozumplik [Tue, 27 Mar 2012 12:06:42 +0000 (14:06 +0200)]
bitmap: implement map_and_not.

12 years ago- clean up lzma code a bit
Michael Schroeder [Tue, 27 Mar 2012 09:54:21 +0000 (11:54 +0200)]
- clean up lzma code a bit

12 years ago- adapt to liobsolv coding style
Michael Schroeder [Mon, 26 Mar 2012 13:46:29 +0000 (15:46 +0200)]
- adapt to liobsolv coding style

12 years ago- rename to ENABLE_LZMA_COMPRESSION as the lib is called lzma
Michael Schroeder [Mon, 26 Mar 2012 13:02:49 +0000 (15:02 +0200)]
- rename to ENABLE_LZMA_COMPRESSION as the lib is called lzma

12 years ago- implement support for xz/lzma compression
Michael Schroeder [Mon, 26 Mar 2012 12:25:59 +0000 (14:25 +0200)]
- implement support for xz/lzma compression

12 years ago- add "allownamechange" flag for completeness
Michael Schroeder [Mon, 26 Mar 2012 11:38:08 +0000 (13:38 +0200)]
- add "allownamechange" flag for completeness

12 years ago- strip distepoch in pool_solvable2str()
Michael Schroeder [Fri, 23 Mar 2012 14:03:50 +0000 (15:03 +0100)]
- strip distepoch in pool_solvable2str()

12 years ago- it helps to implement to get/set_flag code for POOL_FLAG_HAVEDISTEPOCH...
Michael Schroeder [Fri, 23 Mar 2012 14:02:44 +0000 (15:02 +0100)]
- it helps to implement to get/set_flag code for POOL_FLAG_HAVEDISTEPOCH...

12 years ago- don't call pool_solvid2str in testcase_solvid2str
Michael Schroeder [Fri, 23 Mar 2012 13:41:01 +0000 (14:41 +0100)]
- don't call pool_solvid2str in testcase_solvid2str

That way we can change the pool_solvid2str output without breaking testcases

12 years ago- add repo_mdk_add_info() function to parse the M&M info.xml file
Michael Schroeder [Fri, 23 Mar 2012 13:36:24 +0000 (14:36 +0100)]
- add repo_mdk_add_info() function to parse the M&M info.xml file

12 years ago- turn on "havedistepoch" by default if rpm5 is used
Michael Schroeder [Thu, 22 Mar 2012 17:35:51 +0000 (18:35 +0100)]
- turn on "havedistepoch" by default if rpm5 is used

12 years ago- check distepoch tag if rpm5 is used
Michael Schroeder [Thu, 22 Mar 2012 17:34:45 +0000 (18:34 +0100)]
- check distepoch tag if rpm5 is used

12 years ago- add M&M synthesis file parser, add mkd2solv tool
Michael Schroeder [Thu, 22 Mar 2012 17:17:35 +0000 (18:17 +0100)]
- add M&M synthesis file parser, add mkd2solv tool

12 years ago- support distepoch handling in release, used by the M&M distros
Michael Schroeder [Thu, 22 Mar 2012 17:04:36 +0000 (18:04 +0100)]
- support distepoch handling in release, used by the M&M distros

12 years ago- bring solvable_trivial_installable functions back in sync with pool_trivial_installable
Michael Schroeder [Wed, 21 Mar 2012 15:18:54 +0000 (16:18 +0100)]
- bring solvable_trivial_installable functions back in sync with pool_trivial_installable

12 years ago- also show number of updaterules in stats for completeness
Michael Schroeder [Wed, 21 Mar 2012 13:53:01 +0000 (14:53 +0100)]
- also show number of updaterules in stats for completeness

12 years ago- more memory usage statistics
Michael Schroeder [Wed, 21 Mar 2012 13:34:54 +0000 (14:34 +0100)]
- more memory usage statistics