Michael Matz [Thu, 7 Feb 2008 04:10:29 +0000 (04:10 +0000)]
And now use the new lookupLocation function to get the media path.
With the added hack of prepending "suse/" I can now actually install a
package and it indeed downloads the right rpm. I've only tried dry
mode, so no actual installation happens. It seems as if installing just
one package doesn't really trigger a solver run, though (the
dependencies don't seem to be marked as to-install).
Due to the hack with the hard-coded datadir this only works when the
package comes from a susetags repo (the others don't yet have media
locations anyway).
Michael Matz [Thu, 7 Feb 2008 04:06:22 +0000 (04:06 +0000)]
Implement a lookupLocation function. The location is stored in a clever
way, so a helper function is necessary, that is further complicated by
the wish to iterate over the attributes for a solvable only once,
although we need up to three separate attributes to form the location.
Michael Matz [Thu, 7 Feb 2008 04:04:06 +0000 (04:04 +0000)]
Call the sat-solver helper programs from $PATH, not from /usr/bin.
Make it possible to have repo aliases with '/' in them (those are used
as filenames, which can't contain slashes).
Michael Matz [Thu, 7 Feb 2008 04:01:51 +0000 (04:01 +0000)]
Fix one common place of the "deprecated repository()" warnings.
Duncan Mac-Vicar P [Wed, 6 Feb 2008 17:28:05 +0000 (17:28 +0000)]
add path attribute
Duncan Mac-Vicar P [Wed, 6 Feb 2008 16:56:47 +0000 (16:56 +0000)]
merge lslezak keyring changes
Duncan Mac-Vicar P [Wed, 6 Feb 2008 16:56:45 +0000 (16:56 +0000)]
restore statusReset()
Michael Andres [Wed, 6 Feb 2008 16:10:46 +0000 (16:10 +0000)]
- remove ResStores in target and repositories
- allow storing RepoInfo along with a sat::Repo
- Provide RepoInfo (and Repository) in ResObject
Duncan Mac-Vicar P [Wed, 6 Feb 2008 02:15:58 +0000 (02:15 +0000)]
- retrieving attributes, 1st version... does not support translations yet
Michael Andres [Tue, 5 Feb 2008 22:01:39 +0000 (22:01 +0000)]
backup
Michael Andres [Tue, 5 Feb 2008 21:48:30 +0000 (21:48 +0000)]
avoid exception if missing cookiefile
Michael Andres [Tue, 5 Feb 2008 19:26:08 +0000 (19:26 +0000)]
consistent interface
Michael Andres [Tue, 5 Feb 2008 18:48:16 +0000 (18:48 +0000)]
get basic ResPool working again
Duncan Mac-Vicar P [Tue, 5 Feb 2008 18:27:55 +0000 (18:27 +0000)]
- Use SolvAttr to keep the ids of attributes in a nice way
- start playing with a way to get the data using resolvable interface
- the most important goal for today (tonight) is the url/media so we can
commit packages, and hopefully, description and summary
Duncan Mac-Vicar P [Tue, 5 Feb 2008 15:15:13 +0000 (15:15 +0000)]
typo
Duncan Mac-Vicar P [Tue, 5 Feb 2008 15:15:12 +0000 (15:15 +0000)]
build system cleanup to share stuff with zypper
Duncan Mac-Vicar P [Tue, 5 Feb 2008 15:15:11 +0000 (15:15 +0000)]
move lot of stuff to ZYppCommon
Duncan Mac-Vicar P [Tue, 5 Feb 2008 10:37:54 +0000 (10:37 +0000)]
fix build
Duncan Mac-Vicar P [Mon, 4 Feb 2008 21:58:14 +0000 (21:58 +0000)]
- remove xml store
snif, this is emotional for me, it was the first piece of c++ code I wrote when joining SUSE.
But the replacement is... nothing! what can be better than removing code by simplifying the concept.
Michael Andres [Mon, 4 Feb 2008 19:23:17 +0000 (19:23 +0000)]
throw if solv file loading fails
Michael Andres [Mon, 4 Feb 2008 19:21:50 +0000 (19:21 +0000)]
removed excessive logging
Michael Andres [Mon, 4 Feb 2008 19:06:57 +0000 (19:06 +0000)]
typo
Michael Andres [Mon, 4 Feb 2008 18:46:08 +0000 (18:46 +0000)]
improved error handling
Michael Andres [Mon, 4 Feb 2008 18:45:33 +0000 (18:45 +0000)]
fix endless loop in str::split
Michael Andres [Mon, 4 Feb 2008 16:23:33 +0000 (16:23 +0000)]
remove Language and Selection
Michael Andres [Mon, 4 Feb 2008 14:32:48 +0000 (14:32 +0000)]
fix solver testcase
Michael Andres [Mon, 4 Feb 2008 14:01:23 +0000 (14:01 +0000)]
Move system arch and text locale handling to Zconfig (avoiding ZYpp lock).
Stefan Schubert [Mon, 4 Feb 2008 13:42:10 +0000 (13:42 +0000)]
added vendorcallback for SAT solver
Duncan Mac-Vicar P [Sat, 2 Feb 2008 22:26:32 +0000 (22:26 +0000)]
- add unit test for sysconfig reader
Duncan Mac-Vicar P [Sat, 2 Feb 2008 22:26:27 +0000 (22:26 +0000)]
testcase for Sysconfig.
TODO: this has to be moved to parser someday
Duncan Mac-Vicar P [Sat, 2 Feb 2008 03:32:33 +0000 (03:32 +0000)]
remove some interfaces, cleanup
Duncan Mac-Vicar P [Sat, 2 Feb 2008 03:32:24 +0000 (03:32 +0000)]
loading rpm from solv works ;-)
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:20:04 +0000 (23:20 +0000)]
- use new methods
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:20:01 +0000 (23:20 +0000)]
save cookie file too
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:57 +0000 (23:19 +0000)]
add test
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:54 +0000 (23:19 +0000)]
- move the cookie saving code
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:51 +0000 (23:19 +0000)]
- move the cookie code to RepoStatus to reuse it in target
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:47 +0000 (23:19 +0000)]
compile
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:44 +0000 (23:19 +0000)]
More work in attributes
Michael Andres [Fri, 1 Feb 2008 16:45:51 +0000 (16:45 +0000)]
improve some string helper
Stefan Schubert [Thu, 31 Jan 2008 15:45:13 +0000 (15:45 +0000)]
add additional testcase for vendors
Stefan Schubert [Thu, 31 Jan 2008 15:44:22 +0000 (15:44 +0000)]
bugfix
Stefan Schubert [Thu, 31 Jan 2008 13:36:14 +0000 (13:36 +0000)]
-testcase for vendors added
-bugfix in zypp.config and vendor definition
Michael Andres [Thu, 31 Jan 2008 13:00:43 +0000 (13:00 +0000)]
Workaround ZConfig access causing ZYppLock creation.
Michael Andres [Thu, 31 Jan 2008 10:49:42 +0000 (10:49 +0000)]
type
Michael Andres [Wed, 30 Jan 2008 16:11:44 +0000 (16:11 +0000)]
add missing extern C
Stefan Schubert [Wed, 30 Jan 2008 16:08:27 +0000 (16:08 +0000)]
type
Stefan Schubert [Wed, 30 Jan 2008 16:08:00 +0000 (16:08 +0000)]
- vendor handling by "group vendors"
- removed trusted vendor stuff
- configuration of equivalent vendors in /etc/zypp/vendors.d
Stefan Schubert [Wed, 30 Jan 2008 13:36:20 +0000 (13:36 +0000)]
removed setdirty
Duncan Mac-Vicar P [Wed, 30 Jan 2008 10:19:54 +0000 (10:19 +0000)]
- more progress trying to adapt to the solvstore semantics
Duncan Mac-Vicar P [Wed, 30 Jan 2008 10:19:45 +0000 (10:19 +0000)]
- change ResolvableConsumer to not take the repo on each consumption, because
this would be too slow for converting id -> Repo*
Instead we will change the semantics to pass the repo on construction and
allow to change it using some sort of setRepo( alias ) later.
Commit will iterate over all repos and dump.
Duncan Mac-Vicar P [Tue, 29 Jan 2008 22:36:34 +0000 (22:36 +0000)]
misc compiles
Michael Andres [Tue, 29 Jan 2008 20:29:13 +0000 (20:29 +0000)]
adapt to new libsatsolver api
Michael Andres [Tue, 29 Jan 2008 18:08:25 +0000 (18:08 +0000)]
- Prepare ResPool being a singleton ontop of sat::Pool.
Remove obsolete ZYpp::{add,remove}Resolvables methods .
Michael Andres [Mon, 28 Jan 2008 18:56:41 +0000 (18:56 +0000)]
removed deprecated Resolvable methods
Michael Andres [Mon, 28 Jan 2008 16:41:42 +0000 (16:41 +0000)]
fix CapMatch
Michael Andres [Mon, 28 Jan 2008 16:40:35 +0000 (16:40 +0000)]
activate capability testcases
Michael Andres [Mon, 28 Jan 2008 14:58:49 +0000 (14:58 +0000)]
Fixed missing O_CREAT when opening an ofgzstream.
Michael Andres [Fri, 25 Jan 2008 18:09:15 +0000 (18:09 +0000)]
added CapDetail
Duncan Mac-Vicar P [Fri, 25 Jan 2008 15:32:56 +0000 (15:32 +0000)]
commit again
Stefan Schubert [Fri, 25 Jan 2008 09:11:42 +0000 (09:11 +0000)]
fixed error message
Stefan Schubert [Thu, 24 Jan 2008 16:20:26 +0000 (16:20 +0000)]
setting SAT-solver flags for update and verify
Stefan Schubert [Thu, 24 Jan 2008 15:28:16 +0000 (15:28 +0000)]
-cleanup
-added solver parameters
Michael Andres [Thu, 24 Jan 2008 14:00:07 +0000 (14:00 +0000)]
Removed dummy satSolvable id in PoolItem as ResObject is now Id based
Stefan Schubert [Thu, 24 Jan 2008 13:13:42 +0000 (13:13 +0000)]
added correct postfix
Stefan Schubert [Thu, 24 Jan 2008 12:35:47 +0000 (12:35 +0000)]
logging ResStatus into testcase
Michael Andres [Thu, 24 Jan 2008 12:15:50 +0000 (12:15 +0000)]
Add ResObject construction from Solvable
- ResObject::Ptr makeResObject( const sat::Solvable & solvable_r )
- template<class _Res>
ResTraits<_Res>::PtrType make( const sat::Solvable & solvable_r )
Stefan Schubert [Thu, 24 Jan 2008 11:01:02 +0000 (11:01 +0000)]
generating a testcase BEFORE updating the system; compress testcase
Stefan Schubert [Thu, 24 Jan 2008 09:06:37 +0000 (09:06 +0000)]
- improved error messages
- activated lock/kepp requests
Duncan Mac-Vicar P [Wed, 23 Jan 2008 18:32:41 +0000 (18:32 +0000)]
uhm, for some reason I only get one resolvable in the store, will
fix tomorrow
Duncan Mac-Vicar P [Wed, 23 Jan 2008 17:33:05 +0000 (17:33 +0000)]
- create resolvables (basically bring back old api so we
can make old things work and then start fixing it)
- fix testcases
- disable some code related to sqlite so tests dont fail because
sqlite tables missing
Duncan Mac-Vicar P [Wed, 23 Jan 2008 17:33:03 +0000 (17:33 +0000)]
by now the repomanager returns an invalid repo
but loads the solv file in the global pool
(should this be automatic?)
Duncan Mac-Vicar P [Wed, 23 Jan 2008 17:33:02 +0000 (17:33 +0000)]
- update test
Stefan Schubert [Wed, 23 Jan 2008 17:10:03 +0000 (17:10 +0000)]
create testcase without solving
Stefan Schubert [Wed, 23 Jan 2008 16:38:48 +0000 (16:38 +0000)]
added template for CapabilitySet
Michael Andres [Wed, 23 Jan 2008 14:18:46 +0000 (14:18 +0000)]
readd lost data directory
Stefan Schubert [Wed, 23 Jan 2008 13:22:24 +0000 (13:22 +0000)]
removing old solver
Michael Andres [Wed, 23 Jan 2008 11:31:26 +0000 (11:31 +0000)]
moving sourcefiles
Stefan Schubert [Wed, 23 Jan 2008 10:23:15 +0000 (10:23 +0000)]
remove old solver
Stefan Schubert [Wed, 23 Jan 2008 10:20:32 +0000 (10:20 +0000)]
not needed anymore; Set in the SAT pool
Michael Andres [Wed, 23 Jan 2008 10:18:19 +0000 (10:18 +0000)]
use LC_MESSAGES instead of LC_CTYPE to determine defaultTextLocale
Stefan Schubert [Tue, 22 Jan 2008 16:45:09 +0000 (16:45 +0000)]
remove old solver
Stefan Schubert [Tue, 22 Jan 2008 12:51:32 +0000 (12:51 +0000)]
remove old solver
Stefan Schubert [Tue, 22 Jan 2008 12:50:06 +0000 (12:50 +0000)]
remove old solver
Michael Andres [Mon, 21 Jan 2008 17:03:03 +0000 (17:03 +0000)]
Removed obsolete files and classes.
Duncan Mac-Vicar P [Wed, 16 Jan 2008 16:58:28 +0000 (16:58 +0000)]
- more progress creating caches
Michael Andres [Wed, 16 Jan 2008 12:58:17 +0000 (12:58 +0000)]
indent
Duncan Mac-Vicar P [Tue, 15 Jan 2008 22:53:08 +0000 (22:53 +0000)]
- disable the solvstore for now and use the sat parsers for now
to get something working fast
- more work on the repo manager, implement most methods, especially
the status one, using a cookie file (untested)
- tomorrow I will try to add the solv files to the pool
Duncan Mac-Vicar P [Tue, 15 Jan 2008 22:53:02 +0000 (22:53 +0000)]
lets try to append a resolvable
Duncan Mac-Vicar P [Tue, 15 Jan 2008 22:52:58 +0000 (22:52 +0000)]
dont compile
Michael Andres [Tue, 15 Jan 2008 18:16:23 +0000 (18:16 +0000)]
indent
Michael Andres [Tue, 15 Jan 2008 17:58:26 +0000 (17:58 +0000)]
move IdString to namespace zypp
Michael Andres [Tue, 15 Jan 2008 14:34:30 +0000 (14:34 +0000)]
backup
Michael Andres [Tue, 15 Jan 2008 14:34:13 +0000 (14:34 +0000)]
backup
Duncan Mac-Vicar P [Tue, 15 Jan 2008 11:08:27 +0000 (11:08 +0000)]
compile
Duncan Mac-Vicar P [Tue, 15 Jan 2008 11:08:05 +0000 (11:08 +0000)]
- create solv store
- start porting repo manager
- change data classes to use plain strings
- make everything compile again
Michael Andres [Tue, 15 Jan 2008 09:52:03 +0000 (09:52 +0000)]
backup
Michael Andres [Mon, 14 Jan 2008 12:38:16 +0000 (12:38 +0000)]
id based Edition
Michael Andres [Thu, 10 Jan 2008 16:56:09 +0000 (16:56 +0000)]
backup
Michael Andres [Thu, 10 Jan 2008 10:43:16 +0000 (10:43 +0000)]
extend testcase