platform/upstream/libsolv.git
12 years agofix a small memory leak: pool->id2color.
Ales Kozumplik [Wed, 15 Feb 2012 09:50:11 +0000 (10:50 +0100)]
fix a small memory leak: pool->id2color.

12 years agorepo_write: fix key packing
Zdeněk Pavlas [Fri, 27 Jan 2012 13:58:01 +0000 (14:58 +0100)]
repo_write: fix key packing

12 years ago- commit current state of testcase support
Michael Schroeder [Tue, 14 Feb 2012 17:19:35 +0000 (18:19 +0100)]
- commit current state of testcase support

12 years ago- support writing of gzipped files
Michael Schroeder [Tue, 14 Feb 2012 17:18:54 +0000 (18:18 +0100)]
- support writing of gzipped files

12 years ago- add pool_addvendorclass and solver_solutionelement_internalid
Michael Schroeder [Tue, 14 Feb 2012 17:18:18 +0000 (18:18 +0100)]
- add pool_addvendorclass and solver_solutionelement_internalid

12 years ago- start testcase reading/writing support
Michael Schroeder [Thu, 9 Feb 2012 16:54:20 +0000 (17:54 +0100)]
- start testcase reading/writing support

12 years ago- improve "erase specific solvable" magic so that it also works with SOLVER_SOLVABLE_NAME
Michael Schroeder [Thu, 9 Feb 2012 16:48:54 +0000 (17:48 +0100)]
- improve "erase specific solvable" magic so that it also works with SOLVER_SOLVABLE_NAME

12 years ago- add findutils requires
Michael Schroeder [Tue, 7 Feb 2012 15:33:43 +0000 (16:33 +0100)]
- add findutils requires

12 years ago- remove 'echo <products>' for repodata products, which seems to just break things...
Michael Schroeder [Tue, 7 Feb 2012 12:05:16 +0000 (13:05 +0100)]
- remove 'echo <products>' for repodata products, which seems to just break things and have no benefit

12 years ago- add join_dup helper, cleanup code
Michael Schroeder [Tue, 7 Feb 2012 11:17:42 +0000 (12:17 +0100)]
- add join_dup helper, cleanup code

12 years ago- use join2 for temp store of the language instead of strdup
Michael Schroeder [Tue, 7 Feb 2012 11:10:47 +0000 (12:10 +0100)]
- use join2 for temp store of the language instead of strdup

12 years ago- clear langcache if the default language changes
Michael Schroeder [Tue, 7 Feb 2012 10:52:05 +0000 (11:52 +0100)]
- clear langcache if the default language changes

12 years ago- get rid of static variables used by join2
Michael Schroeder [Mon, 6 Feb 2012 13:28:10 +0000 (14:28 +0100)]
- get rid of static variables used by join2

12 years ago- add long forgotten break statement...
Michael Schroeder [Mon, 6 Feb 2012 12:18:28 +0000 (13:18 +0100)]
- add long forgotten break statement...

12 years ago- clean up repo parsing code
Michael Schroeder [Mon, 6 Feb 2012 11:41:18 +0000 (12:41 +0100)]
- clean up repo parsing code

12 years ago- start support for Fedora comps format
Michael Schroeder [Thu, 2 Feb 2012 15:30:41 +0000 (16:30 +0100)]
- start support for Fedora comps format

12 years ago- run spec file through coolo's spec beautifier
Michael Schroeder [Thu, 2 Feb 2012 14:05:25 +0000 (15:05 +0100)]
- run spec file through coolo's spec beautifier

12 years ago- add comments, add BUGS
Michael Schroeder [Thu, 2 Feb 2012 10:54:24 +0000 (11:54 +0100)]
- add comments, add BUGS

12 years ago- rename pool_addfileprovides_ids to pool_addfileprovides_queue, make it fill a queue
Michael Schroeder [Wed, 1 Feb 2012 15:52:35 +0000 (16:52 +0100)]
- rename pool_addfileprovides_ids to pool_addfileprovides_queue, make it fill a queue

12 years ago- add cleandeps support for install/update
Michael Schroeder [Wed, 1 Feb 2012 13:08:47 +0000 (14:08 +0100)]
- add cleandeps support for install/update

12 years ago- fix load_ext definition
Michael Schroeder [Mon, 30 Jan 2012 14:54:42 +0000 (15:54 +0100)]
- fix load_ext definition

12 years ago- remove NDEBUG for now
Michael Schroeder [Fri, 27 Jan 2012 13:12:49 +0000 (14:12 +0100)]
- remove NDEBUG for now

12 years agoMerge pull request #4 from akozumpl/req
Michael Schroeder [Tue, 24 Jan 2012 17:05:46 +0000 (09:05 -0800)]
Merge pull request #4 from akozumpl/req

compiling on Fedora.

12 years agoFix compilation on Fedora.
Ales Kozumplik [Tue, 24 Jan 2012 15:57:01 +0000 (16:57 +0100)]
Fix compilation on Fedora.

if ENABLED_SUSEREPO is disabled, repo_add_products() is not part of the
libsolv_ext. This fails linking for rpmdb2solv.c.

Also treat unused-variable warnings occurring with the conditional blocks.

12 years ago- switch build type to RelWithDebInfo
Michael Schroeder [Fri, 20 Jan 2012 14:56:25 +0000 (15:56 +0100)]
- switch build type to RelWithDebInfo

12 years agoMerge pull request #3 from flavio/master
Michael Schroeder [Fri, 20 Jan 2012 14:54:07 +0000 (06:54 -0800)]
Merge pull request #3 from flavio/master

Change c flags for release mode

12 years agoChange cflags for release mode
Flavio Castelli [Fri, 20 Jan 2012 13:46:11 +0000 (14:46 +0100)]
Change cflags for release mode

Do not produce debugging information and disable debug statements (like
asserts).

12 years ago- add cmake options to only build for some repository types
Michael Schroeder [Wed, 18 Jan 2012 14:39:31 +0000 (15:39 +0100)]
- add cmake options to only build for some repository types

12 years ago- add Datapos lookup functions, add lookup_idarray/deparray for XSolvables
Michael Schroeder [Wed, 18 Jan 2012 13:08:19 +0000 (14:08 +0100)]
- add Datapos lookup functions, add lookup_idarray/deparray for XSolvables

12 years agoMake more C89 and POSIX compliant
Ingo Weinhold [Mon, 11 Jul 2011 20:36:06 +0000 (20:36 +0000)]
Make more C89 and POSIX compliant

12 years ago- remove duplicate line
Michael Schroeder [Tue, 17 Jan 2012 16:15:59 +0000 (17:15 +0100)]
- remove duplicate line

12 years ago- install dataiterator.h
Michael Schroeder [Tue, 17 Jan 2012 13:23:30 +0000 (14:23 +0100)]
- install dataiterator.h

12 years ago- add some comments, also check if we really disabled some rules in analyze_unsolvable
Michael Schroeder [Tue, 17 Jan 2012 13:21:29 +0000 (14:21 +0100)]
- add some comments, also check if we really disabled some rules in analyze_unsolvable

12 years ago- export new solvable_ functions
Michael Schroeder [Tue, 17 Jan 2012 12:30:24 +0000 (13:30 +0100)]
- export new solvable_ functions

12 years ago- add include guard for chksum.h
Michael Schroeder [Tue, 17 Jan 2012 11:21:36 +0000 (12:21 +0100)]
- add include guard for chksum.h

12 years ago- clean up dataiterator.h a bit
Michael Schroeder [Tue, 17 Jan 2012 11:16:43 +0000 (12:16 +0100)]
- clean up dataiterator.h a bit

12 years ago- move dataiterator declarations into a separate file
Michael Schroeder [Tue, 17 Jan 2012 11:11:09 +0000 (12:11 +0100)]
- move dataiterator declarations into a separate file

12 years ago- add solvable_ setter functions, add solvable_lookup_type/solvable_lookup_deparray
Michael Schroeder [Tue, 17 Jan 2012 11:04:27 +0000 (12:04 +0100)]
- add solvable_ setter functions, add solvable_lookup_type/solvable_lookup_deparray

12 years ago- add missing repo_lookup_deparray/repo_add_deparray/repo_add_idarray/repo_set_deparr...
Michael Schroeder [Mon, 16 Jan 2012 14:36:54 +0000 (15:36 +0100)]
- add missing repo_lookup_deparray/repo_add_deparray/repo_add_idarray/repo_set_deparray/repo_set_idarray (untested)

12 years ago- make add_solvable return a XSolvable
Michael Schroeder [Mon, 16 Jan 2012 12:54:29 +0000 (13:54 +0100)]
- make add_solvable return a XSolvable

12 years ago- remove access to dependency offsets again, add add_provides... methods to add a...
Michael Schroeder [Mon, 16 Jan 2012 12:40:58 +0000 (13:40 +0100)]
- remove access to dependency offsets again, add add_provides... methods to add a single dependency

12 years agoMerge pull request #2 from karelklic/master
Michael Schroeder [Mon, 16 Jan 2012 11:40:52 +0000 (03:40 -0800)]
Merge pull request #2 from karelklic/master

Support creating new repository type via bindings

12 years agoExtend bindings to support creation of custom repositories via
Karel Klic [Fri, 13 Jan 2012 16:08:42 +0000 (17:08 +0100)]
Extend bindings to support creation of custom repositories via
creating and adding solvables.

12 years ago- add dup versions for the allow* flags, make dup automatically use them
Michael Schroeder [Fri, 13 Jan 2012 15:04:37 +0000 (16:04 +0100)]
- add dup versions for the allow* flags, make dup automatically use them

12 years ago- remove legace vars now that they are no longer visible
Michael Schroeder [Fri, 13 Jan 2012 14:42:43 +0000 (15:42 +0100)]
- remove legace vars now that they are no longer visible

12 years ago- fix types in p5solv and pysolv
Michael Schroeder [Thu, 12 Jan 2012 11:01:20 +0000 (12:01 +0100)]
- fix types in p5solv and pysolv

12 years ago- cleanup bindings example code a bit
Michael Schroeder [Wed, 11 Jan 2012 15:15:55 +0000 (16:15 +0100)]
- cleanup bindings example code a bit

12 years ago- add some missing copyright blocks
Michael Schroeder [Wed, 11 Jan 2012 13:28:09 +0000 (14:28 +0100)]
- add some missing copyright blocks

12 years ago- set pool_id2color, fix comments
Michael Schroeder [Wed, 11 Jan 2012 13:12:06 +0000 (14:12 +0100)]
- set pool_id2color, fix comments

12 years ago- change splitprovides so that they only work on packages that are to be updated.
Michael Schroeder [Tue, 10 Jan 2012 16:45:50 +0000 (17:45 +0100)]
- change splitprovides so that they only work on packages that are to be updated.

Thus, the splitprovides flag can always be set and splitprovides also work
with 'zypper dup --from'.

12 years ago- revert last commit now libzypp is fixed, make nkeys and nschemata signed (for consi...
Michael Schroeder [Tue, 10 Jan 2012 13:28:41 +0000 (14:28 +0100)]
- revert last commit now libzypp is fixed, make nkeys and nschemata signed (for consistency)

12 years ago- make noobsmap public again for now, to be reverted
Michael Schroeder [Mon, 9 Jan 2012 17:05:57 +0000 (18:05 +0100)]
- make noobsmap public again for now, to be reverted

12 years ago- add solver_get_orphaned and solver_get_recommendations interface
Michael Schroeder [Mon, 9 Jan 2012 16:55:05 +0000 (17:55 +0100)]
- add solver_get_orphaned and solver_get_recommendations interface

12 years ago- hide solver internals
Michael Schroeder [Mon, 9 Jan 2012 13:35:26 +0000 (14:35 +0100)]
- hide solver internals

12 years ago- clean up findrecommendedsuggested
Michael Schroeder [Tue, 3 Jan 2012 16:06:30 +0000 (17:06 +0100)]
- clean up findrecommendedsuggested

12 years agoAdd --withobsoletes which checks for obsoleted packages
Dirk Mueller [Thu, 29 Dec 2011 14:09:32 +0000 (15:09 +0100)]
Add --withobsoletes which checks for obsoleted packages

12 years agoimplement error message for SOLVER_RULE_UPDATE
Dirk Mueller [Thu, 29 Dec 2011 13:46:21 +0000 (14:46 +0100)]
implement error message for SOLVER_RULE_UPDATE

12 years agomerge cleanup
Dirk Mueller [Thu, 29 Dec 2011 13:45:54 +0000 (14:45 +0100)]
merge cleanup

12 years ago- fix pool_freeallrepos
Michael Schroeder [Fri, 23 Dec 2011 13:33:54 +0000 (14:33 +0100)]
- fix pool_freeallrepos

12 years ago- add repo_id2repodata, fix loop start in maybe_load_repodata()
Michael Schroeder [Fri, 23 Dec 2011 13:27:51 +0000 (14:27 +0100)]
- add repo_id2repodata, fix loop start in maybe_load_repodata()

12 years ago- make repodata also start with id 1
Michael Schroeder [Thu, 22 Dec 2011 15:45:05 +0000 (16:45 +0100)]
- make repodata also start with id 1

12 years ago- make sure pool->repos[0] is zero
Michael Schroeder [Thu, 22 Dec 2011 15:13:30 +0000 (16:13 +0100)]
- make sure pool->repos[0] is zero

12 years ago- INCOMPATIBLE CHANGE: index with repoid (thus pool->repos[repoid] == repo->repoid)
Michael Schroeder [Thu, 22 Dec 2011 13:00:02 +0000 (14:00 +0100)]
- INCOMPATIBLE CHANGE: index with repoid (thus pool->repos[repoid] == repo->repoid)

Also make repo->free not renumber the repos, instead we leave a hole (like with
the solvables).

12 years ago- add solv_strdup(), rename repo_freeallrepos() to pool_freeallrepos()
Michael Schroeder [Thu, 22 Dec 2011 11:11:47 +0000 (12:11 +0100)]
- add solv_strdup(), rename repo_freeallrepos() to pool_freeallrepos()

12 years ago- improve filemarker handling
Michael Schroeder [Wed, 21 Dec 2011 13:43:54 +0000 (14:43 +0100)]
- improve filemarker handling

12 years ago- clear lastmarkerpos when recreating the hash
Michael Schroeder [Wed, 21 Dec 2011 11:28:46 +0000 (12:28 +0100)]
- clear lastmarkerpos when recreating the hash

12 years agoupdate markerpos if element needed to be moved
Michael Schroeder [Tue, 20 Dec 2011 18:31:13 +0000 (19:31 +0100)]
update markerpos if element needed to be moved

12 years agofix memmove calls in repo_addid_dep, move hash version into separate function, fix...
Michael Schroeder [Tue, 20 Dec 2011 13:23:59 +0000 (14:23 +0100)]
fix memmove calls in repo_addid_dep, move hash version into separate function, fix SOLVABLE_FILEMARKER handling

12 years ago- speed up repo_addid_dep() in case of excessive dependencies
Michael Schroeder [Mon, 19 Dec 2011 14:40:37 +0000 (15:40 +0100)]
- speed up repo_addid_dep() in case of excessive dependencies

12 years agoAlso allow passing the repodata dir to repo2solv.sh. BASE-SuSE-Code-12_1-Branch
Michael Andres [Thu, 15 Dec 2011 11:42:52 +0000 (12:42 +0100)]
Also allow passing the repodata dir to repo2solv.sh.

12 years ago- fix obsolete handling in case of cycles, also bring installed packages to front
Michael Schroeder [Mon, 5 Dec 2011 12:57:40 +0000 (13:57 +0100)]
- fix obsolete handling in case of cycles, also bring installed packages to front

12 years agoFixed compile break on pgpFreeDig with RPM 5, thanks eveith
Michael Schroeder [Thu, 1 Dec 2011 11:30:35 +0000 (12:30 +0100)]
Fixed compile break on pgpFreeDig with RPM 5, thanks eveith

12 years ago- support severity/rights/updated in updateinfo.xml
Michael Schroeder [Thu, 1 Dec 2011 11:26:06 +0000 (12:26 +0100)]
- support severity/rights/updated in updateinfo.xml

12 years agorepo_deb: The control file may not have a leading "./". Thanks djszapi!
Michael Schroeder [Wed, 16 Nov 2011 13:32:56 +0000 (14:32 +0100)]
repo_deb: The control file may not have a leading "./". Thanks djszapi!

12 years agochanges
Michael Andres [Mon, 24 Oct 2011 11:31:08 +0000 (13:31 +0200)]
changes

12 years agofix package provides/obsoletes
Michael Schroeder [Mon, 24 Oct 2011 10:03:31 +0000 (12:03 +0200)]
fix package provides/obsoletes

12 years agolibsolv: doc updates
Jan Engelhardt [Fri, 21 Oct 2011 14:58:29 +0000 (16:58 +0200)]
libsolv: doc updates

doc: write style

* avoid use of contracted forms
* remove extra paragraph above .SSs
* grammar fixes

Signed-off-by: Michael Schroeder <mls@suse.de>
12 years agoAdd spec file license header
Michael Andres [Wed, 19 Oct 2011 08:42:01 +0000 (10:42 +0200)]
Add spec file license header

12 years agochanges
Michael Andres [Tue, 18 Oct 2011 14:19:52 +0000 (16:19 +0200)]
changes

12 years agoAdd arch arvm7tnhl and armv7thl
Michael Andres [Tue, 18 Oct 2011 14:19:42 +0000 (16:19 +0200)]
Add arch arvm7tnhl and  armv7thl

12 years agosupport rhel and centos
Michael Schroeder [Thu, 13 Oct 2011 13:29:46 +0000 (15:29 +0200)]
support rhel and centos

12 years agofix libsatsolver provides/obsoletes
Michael Schroeder [Thu, 13 Oct 2011 08:38:20 +0000 (10:38 +0200)]
fix libsatsolver provides/obsoletes

12 years agofix .gitignore
Michael Andres [Mon, 10 Oct 2011 12:49:26 +0000 (14:49 +0200)]
fix .gitignore

12 years agofix specfile so that static builds work
Michael Schroeder [Mon, 10 Oct 2011 09:43:54 +0000 (11:43 +0200)]
fix specfile so that static builds work

12 years agoremove Werror for now
Michael Schroeder [Mon, 10 Oct 2011 09:39:50 +0000 (11:39 +0200)]
remove Werror for now

12 years agoBuild static per default.
Michael Andres [Thu, 6 Oct 2011 14:55:39 +0000 (16:55 +0200)]
Build static per default.

12 years agoProvide a FindLibSolv.cmake file
Michael Andres [Thu, 6 Oct 2011 12:21:54 +0000 (14:21 +0200)]
Provide a FindLibSolv.cmake file

12 years ago- fix segfault in "fallback" solution creation code, do two passes to find better...
Michael Schroeder [Tue, 26 Jul 2011 13:30:00 +0000 (15:30 +0200)]
- fix segfault in "fallback" solution creation code, do two passes to find better solutions

12 years ago- fedora installs ruby stuff into site_ruby. sigh.
Michael Schroeder [Mon, 18 Jul 2011 15:52:11 +0000 (17:52 +0200)]
- fedora installs ruby stuff into site_ruby. sigh.

12 years ago- fix python bindings on fedora
Michael Schroeder [Mon, 18 Jul 2011 15:22:47 +0000 (17:22 +0200)]
- fix python bindings on fedora

12 years ago- need perl-devel for fedora
Michael Schroeder [Mon, 18 Jul 2011 15:06:37 +0000 (17:06 +0200)]
- need perl-devel for fedora

12 years ago- fix syntax
Michael Schroeder [Mon, 18 Jul 2011 14:58:13 +0000 (16:58 +0200)]
- fix syntax

12 years ago- build perl bindings with -Wno-nonnull for SLE 11 SP1
Michael Schroeder [Mon, 18 Jul 2011 14:52:09 +0000 (16:52 +0200)]
- build perl bindings with -Wno-nonnull for SLE 11 SP1

12 years ago- try to fix fedora build
Michael Schroeder [Mon, 18 Jul 2011 14:42:20 +0000 (16:42 +0200)]
- try to fix fedora build

12 years ago- fix build on 64bit and 11.3
Michael Schroeder [Mon, 18 Jul 2011 14:40:47 +0000 (16:40 +0200)]
- fix build on 64bit and 11.3

12 years ago- some more tweaks for the binding packages
Michael Schroeder [Mon, 18 Jul 2011 12:37:11 +0000 (14:37 +0200)]
- some more tweaks for the binding packages

12 years agoreduce build badness
Michael Schroeder [Mon, 18 Jul 2011 12:23:11 +0000 (14:23 +0200)]
reduce build badness

12 years agofix spec
Michael Schroeder [Mon, 18 Jul 2011 12:13:09 +0000 (14:13 +0200)]
fix spec

12 years ago- no Check for now
Michael Schroeder [Mon, 18 Jul 2011 11:53:38 +0000 (13:53 +0200)]
- no Check for now

12 years ago- remove unused "suppstart" variable
Michael Schroeder [Mon, 18 Jul 2011 10:52:21 +0000 (12:52 +0200)]
- remove unused "suppstart" variable