platform/upstream/libzypp.git
16 years agocompressing control file too
Stefan Schubert [Tue, 12 Feb 2008 09:58:53 +0000 (09:58 +0000)]
compressing control file too

16 years ago- properties for patterns
Duncan Mac-Vicar P [Mon, 11 Feb 2008 18:50:36 +0000 (18:50 +0000)]
- properties for patterns

16 years agosync filename
Stefan Schubert [Mon, 11 Feb 2008 15:58:57 +0000 (15:58 +0000)]
sync filename

16 years agousing byIdentBegin istead of byNameBegin
Stefan Schubert [Mon, 11 Feb 2008 15:49:15 +0000 (15:49 +0000)]
using byIdentBegin istead of byNameBegin

16 years agocompile on 64 bit
Duncan Mac-Vicar P [Mon, 11 Feb 2008 15:45:48 +0000 (15:45 +0000)]
compile on 64 bit

16 years agocleanup; generate control file
Stefan Schubert [Mon, 11 Feb 2008 14:56:42 +0000 (14:56 +0000)]
cleanup; generate control file

16 years agofixing cmake syntax
Stephan Kulow [Mon, 11 Feb 2008 14:35:22 +0000 (14:35 +0000)]
fixing cmake syntax

16 years agocode cleanup
Stefan Schubert [Mon, 11 Feb 2008 14:25:29 +0000 (14:25 +0000)]
code cleanup

16 years agoadded < operator
Stefan Schubert [Mon, 11 Feb 2008 14:25:11 +0000 (14:25 +0000)]
added < operator

16 years agoAdd pool byIdent iterator: Iterate over all items of a given name and kind.
Michael Andres [Mon, 11 Feb 2008 13:08:25 +0000 (13:08 +0000)]
Add pool byIdent iterator: Iterate over all items of a given name and kind.
This is faster than iterating by name and filtering by kind.

16 years agoget rid of -O3 in debug builds and increase version
Stephan Kulow [Mon, 11 Feb 2008 09:37:57 +0000 (09:37 +0000)]
get rid of -O3 in debug builds and increase version

16 years agoDear Lord! There's always infinite amazement into which total and utter
Michael Matz [Mon, 11 Feb 2008 04:30:08 +0000 (04:30 +0000)]
Dear Lord!  There's always infinite amazement into which total and utter
crap code can transform by using boost.  This removes 325 lines, adds
47 new ones (for a slow implementation of XML escaping) and now my
"zypper in kde4-bozo" takes 14 seconds instead of 128.  Yes, nine times
faster!  There should be a severe penalty for using boost for ANYTHING.

16 years agoremove cache, compile
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:34:20 +0000 (22:34 +0000)]
remove cache, compile

16 years ago- this is wrong, suse/ dir is a datadir told in the content file so this uggly append is
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:34:15 +0000 (22:34 +0000)]
- this is wrong, suse/ dir is a datadir told in the content file so this uggly append is
  not valid for yum repos.

so for now, as the optimization of mediafile only happens in susetags repos
append suse/ only for this case.

16 years agoremove cache
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:34:10 +0000 (22:34 +0000)]
remove cache

16 years agoremove cache
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:34:06 +0000 (22:34 +0000)]
remove cache

16 years agono tabs please
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:33:50 +0000 (22:33 +0000)]
no tabs please

16 years agoadd addRepo filter
Duncan Mac-Vicar P [Fri, 8 Feb 2008 18:12:45 +0000 (18:12 +0000)]
add addRepo filter

16 years agoavoid map in PoolImpl
Michael Andres [Fri, 8 Feb 2008 17:46:51 +0000 (17:46 +0000)]
avoid map in PoolImpl

16 years agorevert fix
Michael Andres [Fri, 8 Feb 2008 17:46:26 +0000 (17:46 +0000)]
revert fix

16 years agofix to compile
Michael Andres [Fri, 8 Feb 2008 17:42:11 +0000 (17:42 +0000)]
fix to compile

16 years ago- move the callback from constructor to query()
Duncan Mac-Vicar P [Fri, 8 Feb 2008 17:09:51 +0000 (17:09 +0000)]
- move the callback from constructor to query()
- add filter by installed & uninstalled

16 years agofix testcase names to make cmakelists easier
Duncan Mac-Vicar P [Fri, 8 Feb 2008 16:01:37 +0000 (16:01 +0000)]
fix testcase names to make cmakelists easier

16 years ago- first version of PoolQuery, based on JKupec Query proposal.
Duncan Mac-Vicar P [Fri, 8 Feb 2008 16:01:12 +0000 (16:01 +0000)]
- first version of PoolQuery, based on JKupec Query proposal.
- unit test (not asserting nothing right now)

16 years agobugfix, generating broken helixfiles
Stefan Schubert [Fri, 8 Feb 2008 12:41:16 +0000 (12:41 +0000)]
bugfix, generating broken helixfiles

16 years agoto be submitted
Stephan Kulow [Fri, 8 Feb 2008 11:50:31 +0000 (11:50 +0000)]
to be submitted

16 years agogenerating testcase BEFORE staring the solver
Stefan Schubert [Fri, 8 Feb 2008 11:25:19 +0000 (11:25 +0000)]
generating testcase BEFORE staring the solver

16 years agogenerating testcase BEFORE staring the solver
Stefan Schubert [Fri, 8 Feb 2008 11:24:51 +0000 (11:24 +0000)]
generating testcase BEFORE staring the solver

16 years agofix changelog
Stephan Kulow [Fri, 8 Feb 2008 09:23:55 +0000 (09:23 +0000)]
fix changelog

16 years ago r8433 | jkupec | 2008-02-01 17:46:57 +0100 (Fr, 01 Feb 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 09:14:39 +0000 (09:14 +0000)]
   r8433 | jkupec | 2008-02-01 17:46:57 +0100 (Fr, 01 Feb 2008) | 2 lines

   changes

16 years ago r8431 | jkupec | 2008-02-01 17:45:00 +0100 (Fr, 01 Feb 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 09:14:10 +0000 (09:14 +0000)]
   r8431 | jkupec | 2008-02-01 17:45:00 +0100 (Fr, 01 Feb 2008) | 2 lines

   - fixed renaming a repo to an existing one (bnc #228216)

16 years ago r8388 | jkupec | 2008-01-29 17:05:41 +0100 (Di, 29 Jan 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 09:13:21 +0000 (09:13 +0000)]
   r8388 | jkupec | 2008-01-29 17:05:41 +0100 (Di, 29 Jan 2008) | 2 lines

   - handle \" and \ at the end of the quoted parameter value

16 years ago r8382 | jkupec | 2008-01-29 10:38:37 +0100 (Di, 29 Jan 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 09:13:05 +0000 (09:13 +0000)]
   r8382 | jkupec | 2008-01-29 10:38:37 +0100 (Di, 29 Jan 2008) | 2 lines

   - unescape also \\

16 years agobelong to the previous change
Stephan Kulow [Fri, 8 Feb 2008 09:11:53 +0000 (09:11 +0000)]
belong to the previous change

16 years ago r8368 | jkupec | 2008-01-24 18:26:36 +0100 (Do, 24 Jan 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 09:11:29 +0000 (09:11 +0000)]
   r8368 | jkupec | 2008-01-24 18:26:36 +0100 (Do, 24 Jan 2008) | 2 lines

   - read .curlrc more robustly (#330351)

16 years ago r8366 | jkupec | 2008-01-24 16:41:59 +0100 (Do, 24 Jan 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 09:11:10 +0000 (09:11 +0000)]
   r8366 | jkupec | 2008-01-24 16:41:59 +0100 (Do, 24 Jan 2008) | 2 lines

   - quotes added

16 years ago r8314 | jkupec | 2008-01-17 15:10:30 +0100 (Do, 17 Jan 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 09:08:59 +0000 (09:08 +0000)]
   r8314 | jkupec | 2008-01-17 15:10:30 +0100 (Do, 17 Jan 2008) | 2 lines

   - saner NFS timeo default (#350309)

16 years ago r8309 | kkaempf | 2008-01-17 12:04:22 +0100 (Do, 17 Jan 2008) | 3 lines
Stephan Kulow [Fri, 8 Feb 2008 09:08:32 +0000 (09:08 +0000)]
   r8309 | kkaempf | 2008-01-17 12:04:22 +0100 (Do, 17 Jan 2008) | 3 lines

   - support 'patterns.pat' and 'patterns.pat.gz' to read all
     patterns in one go.

16 years ago r8225 | coolo | 2008-01-08 17:11:59 +0100 (Di, 08 Jan 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 08:57:09 +0000 (08:57 +0000)]
   r8225 | coolo | 2008-01-08 17:11:59 +0100 (Di, 08 Jan 2008) | 2 lines

   I wonder what funny bugs such a typo creates

16 years ago r8180 | jkupec | 2008-01-02 18:28:28 +0100 (Mi, 02 Jan 2008) | 2 lines
Stephan Kulow [Fri, 8 Feb 2008 08:55:06 +0000 (08:55 +0000)]
   r8180 | jkupec | 2008-01-02 18:28:28 +0100 (Mi, 02 Jan 2008) | 2 lines

   changes

16 years ago------------------------------------------------------------------------
Stephan Kulow [Fri, 8 Feb 2008 08:52:53 +0000 (08:52 +0000)]
------------------------------------------------------------------------
r8179 | jkupec | 2008-01-02 18:23:07 +0100 (Mi, 02 Jan 2008) | 3 lines

- enabled usage of symlinks to iso files (#274651)
- this will probably work only for file/dir and cd/dvd schemes

------------------------------------------------------------------------

16 years ago------------------------------------------------------------------------
Stephan Kulow [Fri, 8 Feb 2008 08:52:29 +0000 (08:52 +0000)]
------------------------------------------------------------------------
r8177 | jkupec | 2008-01-02 18:02:39 +0100 (Mi, 02 Jan 2008) | 8 lines

- expandlink(Pathname) added
- TODO: could be made so that it throws on bad links (better error
  reporting)
- TODO: cyclic links protection can be improved by remembering paths
  alredy visited and checking them (again better error reporting and
  performance)

------------------------------------------------------------------------

16 years agoreduced logging
Stefan Schubert [Fri, 8 Feb 2008 08:33:29 +0000 (08:33 +0000)]
reduced logging

16 years agoEquality of C strings is tested by !strcmp() :-)
Michael Matz [Fri, 8 Feb 2008 01:28:54 +0000 (01:28 +0000)]
Equality of C strings is tested by !strcmp() :-)

16 years agoTo determine a checksum of the current rpmdatabase (changing whenever
Michael Matz [Fri, 8 Feb 2008 00:06:10 +0000 (00:06 +0000)]
To determine a checksum of the current rpmdatabase (changing whenever
something was installed) /var/lib/rpm/Name is as good as
/var/lib/rpm/Packages.  Only 10000 times smaller (and hence faster).
Shoves off another 33% of "zypper in -D kde4-bovo".

16 years ago_XDEBUG is often _extremely_ expensive (the << operators for e.g.
Michael Matz [Thu, 7 Feb 2008 23:54:37 +0000 (23:54 +0000)]
_XDEBUG is often _extremely_ expensive (the << operators for e.g.
solvables and the like).  So guard applying the operators with a check
for excessive debugging.  That's nearly 25% of the runtime of "zypper in
-D something".

16 years agoUse the correct attribute for license and eula.
Michael Matz [Thu, 7 Feb 2008 23:00:35 +0000 (23:00 +0000)]
Use the correct attribute for license and eula.

16 years agorequire a fixed version of satsolver-tools
Stephan Kulow [Thu, 7 Feb 2008 17:43:40 +0000 (17:43 +0000)]
require a fixed version of satsolver-tools

16 years agoAlso prepend arch dir if we have a mediafile.
Michael Matz [Thu, 7 Feb 2008 17:34:01 +0000 (17:34 +0000)]
Also prepend arch dir if we have a mediafile.

16 years agobump
Duncan Mac-Vicar P [Thu, 7 Feb 2008 17:18:55 +0000 (17:18 +0000)]
bump

16 years ago- compile testsuite
Duncan Mac-Vicar P [Thu, 7 Feb 2008 17:04:46 +0000 (17:04 +0000)]
- compile testsuite

16 years agoprepare namespace callback
Michael Andres [Thu, 7 Feb 2008 16:41:02 +0000 (16:41 +0000)]
prepare namespace callback

16 years agodo not call non-existant binaries
Stephan Kulow [Thu, 7 Feb 2008 12:47:18 +0000 (12:47 +0000)]
do not call non-existant binaries

16 years agodon't do it twice :)
Stephan Kulow [Thu, 7 Feb 2008 12:12:39 +0000 (12:12 +0000)]
don't do it twice :)

16 years agoreadd
Duncan Mac-Vicar P [Thu, 7 Feb 2008 12:11:04 +0000 (12:11 +0000)]
readd

16 years agofixing packaging one more time
Stephan Kulow [Thu, 7 Feb 2008 12:10:22 +0000 (12:10 +0000)]
fixing packaging one more time

16 years agoignore
Stephan Kulow [Thu, 7 Feb 2008 11:38:18 +0000 (11:38 +0000)]
ignore

16 years agofix rpm packaging
Duncan Mac-Vicar P [Thu, 7 Feb 2008 11:20:22 +0000 (11:20 +0000)]
fix rpm packaging

16 years agoyast2-pkg-bindings need 4.1.8
Stephan Kulow [Thu, 7 Feb 2008 10:01:24 +0000 (10:01 +0000)]
yast2-pkg-bindings need 4.1.8

16 years agowho did this let slip through?
Stephan Kulow [Thu, 7 Feb 2008 09:59:48 +0000 (09:59 +0000)]
who did this let slip through?

16 years agoI like it easy
Stephan Kulow [Thu, 7 Feb 2008 09:46:20 +0000 (09:46 +0000)]
I like it easy

16 years agosync with trunk
Stephan Kulow [Thu, 7 Feb 2008 09:42:08 +0000 (09:42 +0000)]
sync with trunk

16 years agoAnd now use the new lookupLocation function to get the media path.
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).

16 years agoImplement a lookupLocation function. The location is stored in a clever
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.

16 years agoCall the sat-solver helper programs from $PATH, not from /usr/bin.
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).

16 years agoFix one common place of the "deprecated repository()" warnings.
Michael Matz [Thu, 7 Feb 2008 04:01:51 +0000 (04:01 +0000)]
Fix one common place of the "deprecated repository()" warnings.

16 years agoadd path attribute
Duncan Mac-Vicar P [Wed, 6 Feb 2008 17:28:05 +0000 (17:28 +0000)]
add path attribute

16 years agomerge lslezak keyring changes
Duncan Mac-Vicar P [Wed, 6 Feb 2008 16:56:47 +0000 (16:56 +0000)]
merge lslezak keyring changes

16 years agorestore statusReset()
Duncan Mac-Vicar P [Wed, 6 Feb 2008 16:56:45 +0000 (16:56 +0000)]
restore statusReset()

16 years ago- remove ResStores in target and repositories
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

16 years ago- retrieving attributes, 1st version... does not support translations yet
Duncan Mac-Vicar P [Wed, 6 Feb 2008 02:15:58 +0000 (02:15 +0000)]
- retrieving attributes, 1st version... does not support translations yet

16 years agobackup
Michael Andres [Tue, 5 Feb 2008 22:01:39 +0000 (22:01 +0000)]
backup

16 years agoavoid exception if missing cookiefile
Michael Andres [Tue, 5 Feb 2008 21:48:30 +0000 (21:48 +0000)]
avoid exception if missing cookiefile

16 years agoconsistent interface
Michael Andres [Tue, 5 Feb 2008 19:26:08 +0000 (19:26 +0000)]
consistent interface

16 years agoget basic ResPool working again
Michael Andres [Tue, 5 Feb 2008 18:48:16 +0000 (18:48 +0000)]
get basic ResPool working again

16 years ago- Use SolvAttr to keep the ids of attributes in a nice way
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

16 years agotypo
Duncan Mac-Vicar P [Tue, 5 Feb 2008 15:15:13 +0000 (15:15 +0000)]
typo

16 years agobuild system cleanup to share stuff with zypper
Duncan Mac-Vicar P [Tue, 5 Feb 2008 15:15:12 +0000 (15:15 +0000)]
build system cleanup to share stuff with zypper

16 years agomove lot of stuff to ZYppCommon
Duncan Mac-Vicar P [Tue, 5 Feb 2008 15:15:11 +0000 (15:15 +0000)]
move lot of stuff to ZYppCommon

16 years agofix build
Duncan Mac-Vicar P [Tue, 5 Feb 2008 10:37:54 +0000 (10:37 +0000)]
fix build

16 years ago- remove xml store
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.

16 years agothrow if solv file loading fails
Michael Andres [Mon, 4 Feb 2008 19:23:17 +0000 (19:23 +0000)]
throw if solv file loading fails

16 years agoremoved excessive logging
Michael Andres [Mon, 4 Feb 2008 19:21:50 +0000 (19:21 +0000)]
removed excessive logging

16 years agotypo
Michael Andres [Mon, 4 Feb 2008 19:06:57 +0000 (19:06 +0000)]
typo

16 years agoimproved error handling
Michael Andres [Mon, 4 Feb 2008 18:46:08 +0000 (18:46 +0000)]
improved error handling

16 years agofix endless loop in str::split
Michael Andres [Mon, 4 Feb 2008 18:45:33 +0000 (18:45 +0000)]
fix endless loop in str::split

16 years agoremove Language and Selection
Michael Andres [Mon, 4 Feb 2008 16:23:33 +0000 (16:23 +0000)]
remove Language and Selection

16 years agofix solver testcase
Michael Andres [Mon, 4 Feb 2008 14:32:48 +0000 (14:32 +0000)]
fix solver testcase

16 years agoMove system arch and text locale handling to Zconfig (avoiding ZYpp lock).
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).

16 years agoadded vendorcallback for SAT solver
Stefan Schubert [Mon, 4 Feb 2008 13:42:10 +0000 (13:42 +0000)]
added vendorcallback for SAT solver

16 years ago- add unit test for sysconfig reader
Duncan Mac-Vicar P [Sat, 2 Feb 2008 22:26:32 +0000 (22:26 +0000)]
- add unit test for sysconfig reader

16 years agotestcase for Sysconfig.
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

16 years agoremove some interfaces, cleanup
Duncan Mac-Vicar P [Sat, 2 Feb 2008 03:32:33 +0000 (03:32 +0000)]
remove some interfaces, cleanup

16 years agoloading rpm from solv works ;-)
Duncan Mac-Vicar P [Sat, 2 Feb 2008 03:32:24 +0000 (03:32 +0000)]
loading rpm from solv works ;-)

16 years ago- use new methods
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:20:04 +0000 (23:20 +0000)]
- use new methods

16 years agosave cookie file too
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:20:01 +0000 (23:20 +0000)]
save cookie file too

16 years agoadd test
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:57 +0000 (23:19 +0000)]
add test

16 years ago- move the cookie saving code
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:54 +0000 (23:19 +0000)]
- move the cookie saving code

16 years ago- move the cookie code to RepoStatus to reuse it in target
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

16 years agocompile
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:47 +0000 (23:19 +0000)]
compile