Ales Kozumplik [Wed, 7 Mar 2012 13:14:14 +0000 (14:14 +0100)]
solv.c: fixes leaked transaction structure
Ales Kozumplik [Wed, 7 Mar 2012 12:56:38 +0000 (13:56 +0100)]
fix a small memory leak in transaction_order()
od.cycles and od.cyclesdata left to rot.
Michael Schroeder [Tue, 6 Mar 2012 14:09:09 +0000 (15:09 +0100)]
- change duprule generation to ignore uninstallable packages
Michael Schroeder [Mon, 5 Mar 2012 16:22:35 +0000 (17:22 +0100)]
- also use extrajobflags in bindings
Michael Schroeder [Mon, 5 Mar 2012 13:01:21 +0000 (14:01 +0100)]
- clean up update/feature rule handling in allowuninstall case. Automatically add the CLEANDEPS flags in solutions.
We no longer make the update/featurerule weak, but use a "autouninstall" function
instead that checks if we can solve the problem by removing a package. We also
automatically add CLEANDEPS in that case if all job rules in the problem have
CLEANDEPS set.
Michael Schroeder [Fri, 2 Mar 2012 14:00:47 +0000 (15:00 +0100)]
- add idqinst parameter to pool_addfileprovides_queue so that it can also return the added id list for the installed repo
Michael Schroeder [Fri, 2 Mar 2012 13:17:34 +0000 (14:17 +0100)]
- yet another incompatible change: as everybody seems to use repo_write_stdkeyfilter, make repo_write use it automatically and add repo_write_filtered
Michael Schroeder [Thu, 1 Mar 2012 17:16:06 +0000 (18:16 +0100)]
- change last argument in repo_write from Id ** to Queue *. Hopefully nobody uses that arg...
Michael Schroeder [Thu, 1 Mar 2012 16:42:21 +0000 (17:42 +0100)]
- rename repo_add_solv_flags to repo_add_solv. Should have done this a couple of months earlier, sorry.
Michael Schroeder [Thu, 1 Mar 2012 14:21:11 +0000 (15:21 +0100)]
- fix cleandeps bug with supplemented userinstalled packages
Michael Schroeder [Thu, 1 Mar 2012 13:57:01 +0000 (14:57 +0100)]
- improve unneeded algorithm a bit more
Michael Schroeder [Wed, 29 Feb 2012 15:23:29 +0000 (16:23 +0100)]
- force update of A in cleandeps testcase
Michael Schroeder [Wed, 29 Feb 2012 15:22:34 +0000 (16:22 +0100)]
- fix cleandeps mistake bug triggered by corner cases
Michael Schroeder [Wed, 29 Feb 2012 15:03:15 +0000 (16:03 +0100)]
- add testcase for cleandeps mistake handling
Michael Schroeder [Wed, 29 Feb 2012 15:02:59 +0000 (16:02 +0100)]
- fix argc comparison
Michael Schroeder [Wed, 29 Feb 2012 15:02:40 +0000 (16:02 +0100)]
- fix cleandeps mistake handling
Michael Schroeder [Wed, 29 Feb 2012 14:24:00 +0000 (15:24 +0100)]
support RESULT_UNNEEDED in testcases
Michael Schroeder [Wed, 29 Feb 2012 13:06:10 +0000 (14:06 +0100)]
- improve unneeded algorithms
Michael Schroeder [Tue, 28 Feb 2012 18:00:33 +0000 (19:00 +0100)]
- add solver_get_unneeded() to get a list of no longer needed installed packages
Michael Schroeder [Tue, 28 Feb 2012 15:11:29 +0000 (16:11 +0100)]
- use -D<sym> for swig (-D<sym>=1 works for me as well, but it isn't documented)
Michael Schroeder [Tue, 28 Feb 2012 14:46:43 +0000 (15:46 +0100)]
- also export solv config to swig, thanks Zdenek Pavlas
Michael Schroeder [Tue, 28 Feb 2012 14:45:52 +0000 (15:45 +0100)]
- obsoleteusescolor is 1) no longer exported, and 2) default if FEDORA is defined
Michael Schroeder [Fri, 24 Feb 2012 10:50:05 +0000 (11:50 +0100)]
- rename SOLVER_FLAG_IGNORE_ALREADY_RECOMMENDED to SOLVER_FLAG_ADD_ALREADY_RECOMMENDED and invert.
Our policy is that the default should be zero and cover the most uses. Last chance
to do the change. (sorry libzypp and hawkeye folks.)
Michael Schroeder [Thu, 23 Feb 2012 14:50:02 +0000 (15:50 +0100)]
- version -> Version
Michael Schroeder [Thu, 23 Feb 2012 14:49:19 +0000 (15:49 +0100)]
- improve cleandeps for opensuse a bit by marking installed visible patterns as userinstalled
Michael Schroeder [Thu, 23 Feb 2012 14:48:40 +0000 (15:48 +0100)]
fix spelling of ENABLE_RPMDB_PUBKEY, read susetags pattern files
Michael Schroeder [Thu, 23 Feb 2012 14:45:24 +0000 (15:45 +0100)]
- fix "autoextend" susetags mode not to add to old solvables
(Maybe should get rid of autoextend mode instead)
Michael Schroeder [Thu, 23 Feb 2012 14:45:03 +0000 (15:45 +0100)]
- fix spelling of ENABLE_RPMDB_PUBKEY
Michael Schroeder [Wed, 22 Feb 2012 14:43:51 +0000 (15:43 +0100)]
- also put poolflags in testcases, support <inline> results
Michael Schroeder [Wed, 22 Feb 2012 12:27:11 +0000 (13:27 +0100)]
- add dependency check testcases
Michael Schroeder [Wed, 22 Feb 2012 12:26:30 +0000 (13:26 +0100)]
- support testcases with multiple solver jobs
Michael Schroeder [Wed, 22 Feb 2012 12:24:36 +0000 (13:24 +0100)]
- adapt to rpm changes regarding cornercases where the release is missing
Michael Schroeder [Wed, 22 Feb 2012 09:01:26 +0000 (10:01 +0100)]
- change allowselfconflicts to forbidselfconflicts now that rpm also allows them.
Michael Schroeder [Tue, 21 Feb 2012 17:27:07 +0000 (18:27 +0100)]
- ignore README and .git ;)
Michael Schroeder [Tue, 21 Feb 2012 17:02:30 +0000 (18:02 +0100)]
rename to libsolv-zypptestcases
Michael Schroeder [Tue, 21 Feb 2012 16:57:54 +0000 (17:57 +0100)]
- add a simple testcase
Michael Schroeder [Tue, 21 Feb 2012 16:56:54 +0000 (17:56 +0100)]
- add testsolv tool
Michael Schroeder [Tue, 21 Feb 2012 12:46:19 +0000 (13:46 +0100)]
- allow <> dep in susetags, special case pattern: in packageand(), add SOLVER_TRANSACTION_KEEP_PSEUDO
Michael Schroeder [Mon, 20 Feb 2012 17:53:52 +0000 (18:53 +0100)]
- fix testcasedir handling
Michael Schroeder [Mon, 20 Feb 2012 16:46:46 +0000 (17:46 +0100)]
- fix copy&paste error
Michael Schroeder [Mon, 20 Feb 2012 15:47:36 +0000 (16:47 +0100)]
- make old rpmdb pubkey support optional
Michael Schroeder [Mon, 20 Feb 2012 15:05:49 +0000 (16:05 +0100)]
- don't install repopage.h, it's internal
Michael Schroeder [Mon, 20 Feb 2012 14:49:59 +0000 (15:49 +0100)]
- add some bits of history
Michael Schroeder [Mon, 20 Feb 2012 14:25:18 +0000 (15:25 +0100)]
- make pool flags private, allow self conflicts for rpm, add pool_set/get_flags
Michael Schroeder [Mon, 20 Feb 2012 12:19:17 +0000 (13:19 +0100)]
- fix comparisons in commit_diskusage()
Michael Schroeder [Mon, 20 Feb 2012 10:56:46 +0000 (11:56 +0100)]
- make file list conversion twice as fast by adding a 1k dir cache
Michael Schroeder [Fri, 17 Feb 2012 17:05:25 +0000 (18:05 +0100)]
- made parts of Pool private, removed inline from solv_chksum_len so that we can easily add new checksum types
Michael Schroeder [Fri, 17 Feb 2012 16:47:17 +0000 (17:47 +0100)]
- make more of repodata struct private
Michael Schroeder [Fri, 17 Feb 2012 14:51:39 +0000 (15:51 +0100)]
- oops, fix typo
Michael Schroeder [Fri, 17 Feb 2012 14:47:47 +0000 (15:47 +0100)]
- hide repodata internals (needed to move repo_write from ext to src for this)
also deleted repodata_create, use repo_add_repodata instead
Michael Schroeder [Thu, 16 Feb 2012 15:40:35 +0000 (16:40 +0100)]
- comps: use group: and category: instead of pattern:
Michael Schroeder [Thu, 16 Feb 2012 15:08:56 +0000 (16:08 +0100)]
- fix filelist handling in repo_susetags and testcase
Michael Schroeder [Wed, 15 Feb 2012 17:55:28 +0000 (18:55 +0100)]
- commit current state of testcase
Michael Schroeder [Wed, 15 Feb 2012 17:54:36 +0000 (18:54 +0100)]
- make susetags format work with packages that have no release (e.g. in debian)
Michael Schroeder [Wed, 15 Feb 2012 12:04:47 +0000 (04:04 -0800)]
Merge pull request #6 from akozumpl/upstream
Upstream
Ales Kozumplik [Wed, 15 Feb 2012 09:51:22 +0000 (10:51 +0100)]
cosmetic: fix misleading comment in repodata.c
Ales Kozumplik [Wed, 15 Feb 2012 09:50:11 +0000 (10:50 +0100)]
fix a small memory leak: pool->id2color.
Zdeněk Pavlas [Fri, 27 Jan 2012 13:58:01 +0000 (14:58 +0100)]
repo_write: fix key packing
Michael Schroeder [Tue, 14 Feb 2012 17:19:35 +0000 (18:19 +0100)]
- commit current state of testcase support
Michael Schroeder [Tue, 14 Feb 2012 17:18:54 +0000 (18:18 +0100)]
- support writing of gzipped files
Michael Schroeder [Tue, 14 Feb 2012 17:18:18 +0000 (18:18 +0100)]
- add pool_addvendorclass and solver_solutionelement_internalid
Michael Schroeder [Thu, 9 Feb 2012 16:54:20 +0000 (17:54 +0100)]
- start testcase reading/writing support
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
Michael Schroeder [Tue, 7 Feb 2012 15:33:43 +0000 (16:33 +0100)]
- add findutils requires
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
Michael Schroeder [Tue, 7 Feb 2012 11:17:42 +0000 (12:17 +0100)]
- add join_dup helper, cleanup code
Michael Schroeder [Tue, 7 Feb 2012 11:10:47 +0000 (12:10 +0100)]
- use join2 for temp store of the language instead of strdup
Michael Schroeder [Tue, 7 Feb 2012 10:52:05 +0000 (11:52 +0100)]
- clear langcache if the default language changes
Michael Schroeder [Mon, 6 Feb 2012 13:28:10 +0000 (14:28 +0100)]
- get rid of static variables used by join2
Michael Schroeder [Mon, 6 Feb 2012 12:18:28 +0000 (13:18 +0100)]
- add long forgotten break statement...
Michael Schroeder [Mon, 6 Feb 2012 11:41:18 +0000 (12:41 +0100)]
- clean up repo parsing code
Michael Schroeder [Thu, 2 Feb 2012 15:30:41 +0000 (16:30 +0100)]
- start support for Fedora comps format
Michael Schroeder [Thu, 2 Feb 2012 14:05:25 +0000 (15:05 +0100)]
- run spec file through coolo's spec beautifier
Michael Schroeder [Thu, 2 Feb 2012 10:54:24 +0000 (11:54 +0100)]
- add comments, add BUGS
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
Michael Schroeder [Wed, 1 Feb 2012 13:08:47 +0000 (14:08 +0100)]
- add cleandeps support for install/update
Michael Schroeder [Mon, 30 Jan 2012 14:54:42 +0000 (15:54 +0100)]
- fix load_ext definition
Michael Schroeder [Fri, 27 Jan 2012 13:12:49 +0000 (14:12 +0100)]
- remove NDEBUG for now
Michael Schroeder [Tue, 24 Jan 2012 17:05:46 +0000 (09:05 -0800)]
Merge pull request #4 from akozumpl/req
compiling 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.
Michael Schroeder [Fri, 20 Jan 2012 14:56:25 +0000 (15:56 +0100)]
- switch build type to RelWithDebInfo
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
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).
Michael Schroeder [Wed, 18 Jan 2012 14:39:31 +0000 (15:39 +0100)]
- add cmake options to only build for some repository types
Michael Schroeder [Wed, 18 Jan 2012 13:08:19 +0000 (14:08 +0100)]
- add Datapos lookup functions, add lookup_idarray/deparray for XSolvables
Ingo Weinhold [Mon, 11 Jul 2011 20:36:06 +0000 (20:36 +0000)]
Make more C89 and POSIX compliant
Michael Schroeder [Tue, 17 Jan 2012 16:15:59 +0000 (17:15 +0100)]
- remove duplicate line
Michael Schroeder [Tue, 17 Jan 2012 13:23:30 +0000 (14:23 +0100)]
- install dataiterator.h
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
Michael Schroeder [Tue, 17 Jan 2012 12:30:24 +0000 (13:30 +0100)]
- export new solvable_ functions
Michael Schroeder [Tue, 17 Jan 2012 11:21:36 +0000 (12:21 +0100)]
- add include guard for chksum.h
Michael Schroeder [Tue, 17 Jan 2012 11:16:43 +0000 (12:16 +0100)]
- clean up dataiterator.h a bit
Michael Schroeder [Tue, 17 Jan 2012 11:11:09 +0000 (12:11 +0100)]
- move dataiterator declarations into a separate file
Michael Schroeder [Tue, 17 Jan 2012 11:04:27 +0000 (12:04 +0100)]
- add solvable_ setter functions, add solvable_lookup_type/solvable_lookup_deparray
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)
Michael Schroeder [Mon, 16 Jan 2012 12:54:29 +0000 (13:54 +0100)]
- make add_solvable return a XSolvable
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
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
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.
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