Michael Schroeder [Wed, 24 Jun 2009 16:29:43 +0000 (18:29 +0200)]
- add some fedora specific code
Michael Schroeder [Wed, 24 Jun 2009 15:14:51 +0000 (17:14 +0200)]
- fix typos
Michael Schroeder [Wed, 24 Jun 2009 14:22:25 +0000 (16:22 +0200)]
- oops, forgot to set the repo priorities
Michael Schroeder [Wed, 24 Jun 2009 14:16:29 +0000 (16:16 +0200)]
- fix bug in take_solution
- add buddy callback support
Michael Schroeder [Wed, 24 Jun 2009 13:58:50 +0000 (15:58 +0200)]
- use descrdir and datadir info from content file
Michael Schroeder [Wed, 24 Jun 2009 12:06:31 +0000 (14:06 +0200)]
- fetch primary location from repomd.xml
Michael Schroeder [Wed, 24 Jun 2009 11:53:30 +0000 (13:53 +0200)]
- add pool_tmpjoin and sat_dupjoin helpers
Michael Schroeder [Wed, 24 Jun 2009 11:42:04 +0000 (13:42 +0200)]
- obtain default vendor the right way
Michael Schroeder [Wed, 24 Jun 2009 11:36:46 +0000 (13:36 +0200)]
- add susetags:defaultvendor support
Michael Schroeder [Wed, 24 Jun 2009 10:41:06 +0000 (12:41 +0200)]
- change the interface of repo_add_susetags: take default vendor id,
not product solvable id
Michael Schroeder [Wed, 24 Jun 2009 10:24:58 +0000 (12:24 +0200)]
- convert META/HASH/KEY data from content file
Michael Schroeder [Wed, 24 Jun 2009 09:28:27 +0000 (11:28 +0200)]
- fix typo: "desc" -> "descr". Seems to make no difference, though
Michael Schroeder [Wed, 24 Jun 2009 09:26:18 +0000 (11:26 +0200)]
- repo_content: store DESCRDIR
- susetags2solv: add query option
Michael Schroeder [Tue, 23 Jun 2009 17:14:55 +0000 (19:14 +0200)]
- add query mode
Michael Schroeder [Tue, 23 Jun 2009 15:28:06 +0000 (17:28 +0200)]
- beautify
Michael Schroeder [Tue, 23 Jun 2009 15:14:45 +0000 (17:14 +0200)]
- use appdata for repo
Michael Schroeder [Tue, 23 Jun 2009 15:03:52 +0000 (17:03 +0200)]
- add appdata application private pointer to Pool/Repo
Michael Schroeder [Tue, 23 Jun 2009 14:56:38 +0000 (16:56 +0200)]
- use closeonexec flag instead of manually closing fps
Michael Schroeder [Tue, 23 Jun 2009 14:49:01 +0000 (16:49 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Tue, 23 Jun 2009 14:48:39 +0000 (16:48 +0200)]
- close fds before calling rpm
Klaus Kämpf [Tue, 23 Jun 2009 13:51:23 +0000 (15:51 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Tue, 23 Jun 2009 13:32:54 +0000 (15:32 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Tue, 23 Jun 2009 13:32:06 +0000 (15:32 +0200)]
- add tiny demo installer program "solv"
- add transaction_installedresult function
- fix bug in conflict detection
Klaus Kämpf [Tue, 23 Jun 2009 10:58:30 +0000 (12:58 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Tue, 23 Jun 2009 10:49:18 +0000 (12:49 +0200)]
- fix bug in SOLVER_UPDATE handling (that nobody uses)
Klaus Kämpf [Mon, 22 Jun 2009 14:21:10 +0000 (16:21 +0200)]
evr doesn't change the Pool: more constness
Klaus Kämpf [Mon, 22 Jun 2009 14:20:37 +0000 (16:20 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Mon, 22 Jun 2009 14:15:51 +0000 (16:15 +0200)]
- revert debugcallback Pool constness, as the callback may want to do
fancy things like changing the debugmask
Michael Schroeder [Mon, 22 Jun 2009 14:13:13 +0000 (16:13 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Klaus Kämpf [Mon, 22 Jun 2009 14:05:40 +0000 (16:05 +0200)]
More constness
Klaus Kämpf [Mon, 22 Jun 2009 14:04:51 +0000 (16:04 +0200)]
Pass a const Pool to debugcallback
Klaus Kämpf [Mon, 22 Jun 2009 14:03:54 +0000 (16:03 +0200)]
Add link to qsort_r wierdness
Michael Schroeder [Mon, 22 Jun 2009 14:02:56 +0000 (16:02 +0200)]
- add repomd.xml data sections to meta data
- bump version to 14.2
Klaus Kämpf [Mon, 22 Jun 2009 13:44:16 +0000 (15:44 +0200)]
More const
Klaus Kämpf [Mon, 22 Jun 2009 13:38:08 +0000 (15:38 +0200)]
Make Pool* const where appropriate
Michael Schroeder [Mon, 22 Jun 2009 12:13:51 +0000 (14:13 +0200)]
- fix internalize logic
Michael Schroeder [Mon, 22 Jun 2009 10:58:42 +0000 (12:58 +0200)]
- move repo_helix from src to ext
Michael Schroeder [Mon, 22 Jun 2009 10:54:17 +0000 (12:54 +0200)]
- forgot to adapt ruby/python bindings
Michael Schroeder [Mon, 22 Jun 2009 10:49:11 +0000 (12:49 +0200)]
- create libsatsolverext static library
Klaus Kämpf [Mon, 22 Jun 2009 09:47:04 +0000 (11:47 +0200)]
A _count is an unsigned int, not an Id
Michael Schroeder [Mon, 22 Jun 2009 09:25:45 +0000 (11:25 +0200)]
- add rpm_installedrpmdbids
- fix memleaks
Michael Schroeder [Sat, 20 Jun 2009 12:39:52 +0000 (14:39 +0200)]
- make debug output better
Michael Schroeder [Sat, 20 Jun 2009 12:08:55 +0000 (14:08 +0200)]
- add support for cutoff argument in file conflict checker
Michael Schroeder [Sat, 20 Jun 2009 11:05:07 +0000 (13:05 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Sat, 20 Jun 2009 11:04:36 +0000 (13:04 +0200)]
- clean up ugly products handling
Klaus Kämpf [Sat, 20 Jun 2009 05:40:32 +0000 (07:40 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Fri, 19 Jun 2009 16:52:23 +0000 (18:52 +0200)]
- add support for REL_FILECONFLICT
- add findfileconflicts.c demo app
Michael Schroeder [Fri, 19 Jun 2009 15:35:24 +0000 (17:35 +0200)]
- start with fileconflicts detection support
Michael Schroeder [Wed, 17 Jun 2009 15:00:43 +0000 (17:00 +0200)]
- move some debug statements from STATS to SOLVER
Michael Schroeder [Wed, 17 Jun 2009 14:40:46 +0000 (16:40 +0200)]
- beautify
Michael Schroeder [Wed, 17 Jun 2009 09:08:51 +0000 (11:08 +0200)]
- add solver_take_solution() function
- add solver_printsolution() function
- rename solver_printsolutions() to solver_printallsolutions()
- add transaction_init_clone() and transaction_free_orderdata()
Michael Schroeder [Tue, 16 Jun 2009 17:06:39 +0000 (19:06 +0200)]
- fix coding style a bit
Michael Schroeder [Tue, 16 Jun 2009 16:56:05 +0000 (18:56 +0200)]
- fastlz.c is obsolete since a long time
Michael Schroeder [Tue, 16 Jun 2009 16:51:17 +0000 (18:51 +0200)]
- add queue_insertn, queue_deleten, queue_truncate
Michael Schroeder [Tue, 16 Jun 2009 08:40:26 +0000 (10:40 +0200)]
- add transaction_add_obsoleted() function
Michael Schroeder [Mon, 15 Jun 2009 18:51:29 +0000 (20:51 +0200)]
- move output arg to back in solver_calculate_noobsmap()
Michael Schroeder [Mon, 15 Jun 2009 17:24:20 +0000 (19:24 +0200)]
- add repoid to repo struct
Michael Schroeder [Mon, 15 Jun 2009 16:29:53 +0000 (18:29 +0200)]
- add FOR_REPOS macro to iterate over repos
Michael Schroeder [Mon, 15 Jun 2009 16:08:50 +0000 (18:08 +0200)]
- code cleanup
Michael Schroeder [Mon, 15 Jun 2009 14:33:01 +0000 (16:33 +0200)]
- make out parameters last in function calls
- rename "class" parameter, as g++ chokes otherwise
Michael Schroeder [Mon, 15 Jun 2009 13:57:50 +0000 (15:57 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Mon, 15 Jun 2009 13:57:09 +0000 (15:57 +0200)]
- cleanup transaction interface a bit
Dirk Mueller [Mon, 15 Jun 2009 13:11:03 +0000 (15:11 +0200)]
fix indent
Klaus Kämpf [Mon, 15 Jun 2009 11:36:24 +0000 (13:36 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Mon, 15 Jun 2009 10:15:38 +0000 (12:15 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Mon, 15 Jun 2009 10:15:19 +0000 (12:15 +0200)]
- fix kernel dep rewriting [bnc#512726]
Dirk Mueller [Thu, 11 Jun 2009 20:11:40 +0000 (22:11 +0200)]
implement --exclude parameter
installcheck can be called with a whitespace seperated list
of substrings that are matched against package names and
that are excluded from checking. This is useful to ignore
e.g. known or wanted dependency errors.
Also added a small usage() implementation
Dirk Mueller [Thu, 11 Jun 2009 12:16:05 +0000 (14:16 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/sat-solver
Michael Schroeder [Tue, 9 Jun 2009 15:41:50 +0000 (17:41 +0200)]
- look at repo/medianr when ordering the transaction
Michael Schroeder [Mon, 8 Jun 2009 17:16:49 +0000 (19:16 +0200)]
- make orderdata private to be more flexible
- add flags argument to transaction_order()
Michael Schroeder [Mon, 8 Jun 2009 15:20:20 +0000 (17:20 +0200)]
- update transaction ordering code
- add queue insert/delete functions
Michael Schroeder [Fri, 5 Jun 2009 16:47:11 +0000 (18:47 +0200)]
- added missing dbenv to db_create call
Michael Schroeder [Thu, 4 Jun 2009 16:53:43 +0000 (18:53 +0200)]
- fix bugs in problem handling
Michael Schroeder [Thu, 4 Jun 2009 09:42:08 +0000 (11:42 +0200)]
- move some flags describing the rpm from solver to pool
- change prune_to_best_version to just need a pool pointer
- create a new type containing transaction data
- change transaction code to work with a pool, not a solver
- add solver_calculate_noobsmap() helper function that calculates
the noobsoletes map from a solver job
Michael Schroeder [Wed, 3 Jun 2009 17:20:13 +0000 (19:20 +0200)]
- use DB_UNKNOWN to let berkeleydb autodetect the database type
- fix -r option if the root is not an abs path
- print rpm --rebuilddb hint
Michael Schroeder [Wed, 3 Jun 2009 17:02:01 +0000 (19:02 +0200)]
- commit current ordering code
Michael Schroeder [Wed, 3 Jun 2009 10:54:54 +0000 (12:54 +0200)]
- treat missing vendor as empty string in vendorchange check
Michael Schroeder [Fri, 29 May 2009 09:06:02 +0000 (11:06 +0200)]
- fix coding style
Dirk Mueller [Thu, 28 May 2009 19:45:58 +0000 (21:45 +0200)]
void* arithmetics is not defined
Dirk Mueller [Thu, 28 May 2009 19:42:54 +0000 (21:42 +0200)]
Check version / release numbers for consistency
Dirk Mueller [Thu, 28 May 2009 19:41:39 +0000 (21:41 +0200)]
reduce -pedantic compile warnings
Michael Schroeder [Thu, 28 May 2009 14:04:19 +0000 (16:04 +0200)]
- implement cycle removal
Michael Schroeder [Thu, 28 May 2009 10:08:04 +0000 (12:08 +0200)]
- rename dirpool_create to dirpool_init, as it just initializes the data
Michael Schroeder [Thu, 28 May 2009 09:13:25 +0000 (11:13 +0200)]
- fix noprovide handling in findupdate
- add stringify hack
- add missing pool_lookup functions
Michael Schroeder [Tue, 26 May 2009 15:07:30 +0000 (17:07 +0200)]
- apply patch from Dirk, fixes crash and memory leaks
Michael Andres [Tue, 26 May 2009 11:37:01 +0000 (13:37 +0200)]
fix to compile
Michael Schroeder [Tue, 26 May 2009 10:38:49 +0000 (12:38 +0200)]
- move rest of rule functions from solver.c to rules.c
Michael Schroeder [Tue, 26 May 2009 08:59:14 +0000 (10:59 +0200)]
- split problem handling from solver.c
Michael Schroeder [Mon, 25 May 2009 16:06:22 +0000 (18:06 +0200)]
- split rule generation from solver.c into rules.c
Michael Schroeder [Mon, 25 May 2009 15:18:14 +0000 (17:18 +0200)]
- cleanup the code, make two functions static
Michael Schroeder [Mon, 25 May 2009 14:29:00 +0000 (16:29 +0200)]
- move create_obsolete_index to policy.c
- add (unused) pool_match_dep function
- add multiversion supplements workaround (bnc#501088)
- move systemsolvable decision to makeruledecisions to make the
code easier to understand
Michael Schroeder [Thu, 14 May 2009 16:27:39 +0000 (18:27 +0200)]
- add some docu
Michael Schroeder [Wed, 13 May 2009 14:31:28 +0000 (16:31 +0200)]
- start transaction ordering
Michael Schroeder [Tue, 12 May 2009 10:23:49 +0000 (12:23 +0200)]
- define solvid2str() function, use sat_sort()
Michael Schroeder [Tue, 12 May 2009 10:18:55 +0000 (12:18 +0200)]
- add sat_sort() function
Michael Schroeder [Thu, 7 May 2009 12:30:54 +0000 (14:30 +0200)]
- kill old dataiterator_match_obsolete function
Michael Schroeder [Thu, 7 May 2009 08:40:01 +0000 (10:40 +0200)]
- also support sha256 in susetags
Michael Andres [Wed, 6 May 2009 17:58:04 +0000 (19:58 +0200)]
Fix to support sha256 hashes (bnc#501425)
Michael Schroeder [Mon, 27 Apr 2009 15:17:45 +0000 (17:17 +0200)]
- fix distupgrade infarch check
Michael Schroeder [Thu, 16 Apr 2009 17:25:57 +0000 (19:25 +0200)]
- fix typo