platform/upstream/libzypp.git
18 years agoImplement media doesFileExists().
Duncan Mac-Vicar P [Wed, 16 Aug 2006 15:36:35 +0000 (15:36 +0000)]
Implement media doesFileExists().

Current way to do that is to provide, and if t
fails, it doesnt exists, but if it succeeds, then
you do a transfer :-( So doesFileExists to the rescue

The current implementation does a partial
transfer of 100 bytes, as using NOBODY option
of curl doesn't work for ftp.

It can be optimized using different methods
for different URL schemes. It is not yet
used but it wll be used in the source
probing.

Marius, please give it a look when you are back.

18 years agoremove duplicate "package" target
Klaus Kaempf [Wed, 16 Aug 2006 11:30:29 +0000 (11:30 +0000)]
remove duplicate "package" target

18 years agotypo
Stefan Schubert [Tue, 15 Aug 2006 11:50:29 +0000 (11:50 +0000)]
typo

18 years agonew API calls maxSolverPasses, timeout
Stefan Schubert [Tue, 15 Aug 2006 10:07:53 +0000 (10:07 +0000)]
new API calls maxSolverPasses, timeout

18 years agoadding testcase for maxSolutions
Stefan Schubert [Tue, 15 Aug 2006 10:06:56 +0000 (10:06 +0000)]
adding testcase for maxSolutions

18 years agoadding testcase for maxSolutions
Stefan Schubert [Tue, 15 Aug 2006 10:06:42 +0000 (10:06 +0000)]
adding testcase for maxSolutions

18 years agochanges
Duncan Mac-Vicar P [Tue, 15 Aug 2006 10:04:24 +0000 (10:04 +0000)]
changes

18 years agomore dbus_connection_close fixes
Duncan Mac-Vicar P [Tue, 15 Aug 2006 10:03:55 +0000 (10:03 +0000)]
more dbus_connection_close fixes

18 years agoclean up 'incomplete' handling in QueueItemEstablish
Klaus Kaempf [Tue, 15 Aug 2006 09:45:44 +0000 (09:45 +0000)]
clean up 'incomplete' handling in QueueItemEstablish

18 years ago"package" is a make target (synonym with 'dist')
Klaus Kaempf [Tue, 15 Aug 2006 09:45:11 +0000 (09:45 +0000)]
"package" is a make target (synonym with 'dist')

18 years agoadapt rev
Klaus Kaempf [Tue, 15 Aug 2006 09:37:20 +0000 (09:37 +0000)]
adapt rev

18 years ago- Don't set 'incomplete' for uninstalled patterns or products.
Klaus Kaempf [Tue, 15 Aug 2006 09:37:02 +0000 (09:37 +0000)]
- Don't set 'incomplete' for uninstalled patterns or products.
  (#198379)

18 years ago- Don't set 'incomplete' for uninstalled patterns or products.
Klaus Kaempf [Tue, 15 Aug 2006 09:36:15 +0000 (09:36 +0000)]
- Don't set 'incomplete' for uninstalled patterns or products.
  (#198379)
- rev 3968

18 years agomerge changes schwab did in autobuild
Duncan Mac-Vicar P [Tue, 15 Aug 2006 09:29:42 +0000 (09:29 +0000)]
merge changes schwab did in autobuild

18 years agoadded new API calls: setAdditionalProvide,setAdditionalConflict,setAdditionalRequire
Stefan Schubert [Mon, 14 Aug 2006 14:56:25 +0000 (14:56 +0000)]
added new API calls: setAdditionalProvide,setAdditionalConflict,setAdditionalRequire

18 years agonew API calls: setAdditionalProvide setAdditionalConflict setAdditionalRequire
Stefan Schubert [Mon, 14 Aug 2006 14:51:49 +0000 (14:51 +0000)]
new API calls: setAdditionalProvide setAdditionalConflict setAdditionalRequire

18 years agonew layout
Stefan Schubert [Mon, 14 Aug 2006 14:46:17 +0000 (14:46 +0000)]
new layout

18 years ago- remove downloadMetadataFile wrapper, and move
Duncan Mac-Vicar P [Mon, 14 Aug 2006 13:20:57 +0000 (13:20 +0000)]
- remove downloadMetadataFile wrapper, and move
  the report code into provideFile

18 years agochanges
Duncan Mac-Vicar P [Mon, 14 Aug 2006 09:29:06 +0000 (09:29 +0000)]
changes

18 years agochanges
Duncan Mac-Vicar P [Mon, 14 Aug 2006 09:28:20 +0000 (09:28 +0000)]
changes

18 years agomake it readable by inserting linebreaks
Klaus Kaempf [Sat, 12 Aug 2006 09:49:43 +0000 (09:49 +0000)]
make it readable by inserting linebreaks

18 years agochanges
Duncan Mac-Vicar P [Fri, 11 Aug 2006 15:05:02 +0000 (15:05 +0000)]
changes

18 years ago- backport:
Duncan Mac-Vicar P [Fri, 11 Aug 2006 15:02:56 +0000 (15:02 +0000)]
- backport:
- Add explicit finish callbacks for subtasks during ProvidePackage
  to avoid UI confusion.

18 years agochanges
Duncan Mac-Vicar P [Fri, 11 Aug 2006 09:51:26 +0000 (09:51 +0000)]
changes

18 years ago- Introduce examples/
Duncan Mac-Vicar P [Fri, 11 Aug 2006 09:47:51 +0000 (09:47 +0000)]
- Introduce examples/
  much like devel.* programs with one difference:
  - must compile. They are documentation.
  - Included in compilation
  - they should show only useful tasks.
    like installing a package, but not
    how to use templates to draw the suse logo in ascii.
  - they must be zypp user examples, not zypp developer examples

- fix some svn ignores

18 years agodbus_connection_disconnect is deprecated. Replace
Duncan Mac-Vicar P [Fri, 11 Aug 2006 09:31:10 +0000 (09:31 +0000)]
dbus_connection_disconnect is deprecated. Replace
with dbus_connection_close

18 years agoHelper script. Takes a file 'foo' as input and creates a header 'foo.h' providing
Michael Andres [Thu, 10 Aug 2006 21:00:35 +0000 (21:00 +0000)]
Helper script. Takes a file 'foo' as input and creates a header 'foo.h' providing
'std::list<std::string> foo()' returning the content of 'foo' as list of strings.

18 years agoreduce logging
Klaus Kaempf [Thu, 10 Aug 2006 15:08:46 +0000 (15:08 +0000)]
reduce logging

18 years agolog resolvable kind if its not a package
Klaus Kaempf [Thu, 10 Aug 2006 15:02:26 +0000 (15:02 +0000)]
log resolvable kind if its not a package

18 years agochanges
Duncan Mac-Vicar P [Thu, 10 Aug 2006 14:34:48 +0000 (14:34 +0000)]
changes

18 years agodelay resolvable loading, fix location
Duncan Mac-Vicar P [Thu, 10 Aug 2006 14:22:42 +0000 (14:22 +0000)]
delay resolvable loading, fix location

18 years ago- Support for plaindir sources.
Duncan Mac-Vicar P [Thu, 10 Aug 2006 13:02:44 +0000 (13:02 +0000)]
- Support for plaindir sources.

pending fixes:
- delay metadata read till resolvables() ? not sure yet
- location seems to be broken as the path is appended twice.

18 years agoremove 'helix' subdir, it was moved to libzypp/testsuite/src before
Klaus Kaempf [Thu, 10 Aug 2006 12:33:28 +0000 (12:33 +0000)]
remove 'helix' subdir, it was moved to libzypp/testsuite/src before

18 years agoallow "refers" and synonym for "kind" in dependencies
Klaus Kaempf [Thu, 10 Aug 2006 12:17:10 +0000 (12:17 +0000)]
allow "refers" and synonym for "kind" in dependencies

18 years agoallow "refers" within dependencies as a synonym to 'kind'
Klaus Kaempf [Thu, 10 Aug 2006 12:05:52 +0000 (12:05 +0000)]
allow "refers" within dependencies as a synonym to 'kind'

18 years agoattempt to fix
Duncan Mac-Vicar P [Tue, 8 Aug 2006 16:44:00 +0000 (16:44 +0000)]
attempt to fix
http://mailman.suse.de/mlarch/SuSE/packagers/2006/packagers.2006.08/msg00056.html

18 years agobackup
Duncan Mac-Vicar P [Tue, 8 Aug 2006 16:17:05 +0000 (16:17 +0000)]
backup

18 years agochanges
Duncan Mac-Vicar P [Tue, 8 Aug 2006 14:54:01 +0000 (14:54 +0000)]
changes

18 years ago- Move the target query by kind function to
Duncan Mac-Vicar P [Tue, 8 Aug 2006 14:47:12 +0000 (14:47 +0000)]
- Move the target query by kind function to
  a iterator, so we dont make a copy of the restore
  the iterator works loading by demand too

18 years agohave fix repo on machcd2
Stefan Schubert [Tue, 8 Aug 2006 11:57:35 +0000 (11:57 +0000)]
have fix repo on machcd2

18 years agolayout changed
Stefan Schubert [Tue, 8 Aug 2006 11:53:38 +0000 (11:53 +0000)]
layout changed

18 years agoother problems prefered
Stefan Schubert [Tue, 8 Aug 2006 11:52:26 +0000 (11:52 +0000)]
other problems prefered

18 years agomerged SuSE-SLE-10-Branch till rev 3907
Stefan Schubert [Tue, 8 Aug 2006 08:57:33 +0000 (08:57 +0000)]
merged SuSE-SLE-10-Branch till rev 3907

18 years agochanges
Duncan Mac-Vicar P [Mon, 7 Aug 2006 15:59:28 +0000 (15:59 +0000)]
changes

18 years agorename the new initTarget to initializeTarget,
Duncan Mac-Vicar P [Mon, 7 Aug 2006 15:58:56 +0000 (15:58 +0000)]
rename the new initTarget to initializeTarget,
leave the old one as is, but deprecate it.

18 years agorename the new initTarget to initializeTarget,
Duncan Mac-Vicar P [Mon, 7 Aug 2006 15:58:28 +0000 (15:58 +0000)]
rename the new initTarget to initializeTarget,
leave the old one as is, but deprecate it.

18 years agofixed missing backslash
Michael Andres [Mon, 7 Aug 2006 14:46:07 +0000 (14:46 +0000)]
fixed missing backslash

18 years ago- forward port from SLES10 branch , till 3888
Duncan Mac-Vicar P [Mon, 7 Aug 2006 14:04:30 +0000 (14:04 +0000)]
- forward port from SLES10 branch , till 3888
- Prefer to use available DeltaRpm or PatchRpm instead of downloading
  full packages. (#168844)
- rpmdb : Do not use the deprecated POSIX API, but boost::regex
- version 2.0.0
- rev 3892

18 years agochanges
Michael Andres [Mon, 7 Aug 2006 13:59:50 +0000 (13:59 +0000)]
changes

18 years ago- Prefer to use available DeltaRpm or PatchRpm instead of downloading
Michael Andres [Mon, 7 Aug 2006 13:58:56 +0000 (13:58 +0000)]
- Prefer to use available DeltaRpm or PatchRpm instead of downloading
  full packages. (#168844)

18 years agoDo not use the deprecated POSIX API, but boost::regex.
Michael Andres [Mon, 7 Aug 2006 13:28:08 +0000 (13:28 +0000)]
Do not use the deprecated POSIX API, but boost::regex.

18 years agofix build
Duncan Mac-Vicar P [Mon, 7 Aug 2006 12:18:08 +0000 (12:18 +0000)]
fix build

18 years agoSeparate package version from libtool -version-info.
Michael Andres [Sat, 5 Aug 2006 00:17:25 +0000 (00:17 +0000)]
Separate package version from libtool -version-info.
See VERSION file for details.
Set version 2.0.0

18 years agochanges
Duncan Mac-Vicar P [Fri, 4 Aug 2006 13:23:15 +0000 (13:23 +0000)]
changes

18 years ago- Separate target init from adding resolvables, getting rid of the
Duncan Mac-Vicar P [Fri, 4 Aug 2006 13:20:56 +0000 (13:20 +0000)]
- Separate target init from adding resolvables, getting rid of the
uggly bool flag.
- dont clear the store each time Target::resolvables is called
- Load target resolvables on demand by kind, keep them cached later
- add Target::resolvablesByKind(kind) to allow query specific kind
  without reading all kinds. Used to port TargetProduct, which
  was reading the whole rpm database only to displayy base product
  name in YaST help.
- commit to pkg-bindings and packager following.
- jsrain will port more stuff, especially inst_source which
  startup time should by reduced by half afterwards.

18 years agoreadd removed operators during merge
Duncan Mac-Vicar P [Wed, 2 Aug 2006 13:54:01 +0000 (13:54 +0000)]
readd removed operators during merge

18 years ago- merge 3728:3847 in trunk.
Duncan Mac-Vicar P [Wed, 2 Aug 2006 12:37:18 +0000 (12:37 +0000)]
- merge 3728:3847 in trunk.
  including Michael Andres patch delta rpm nonready code
  and Klaus solver blackmagic.

If you have anything else previous to those revisions non
forwardported, please contact me for merging. I don't track
commits and I merge what it is requested to merge, with
explicit changesets (xxxx:yyyy), otherwise your code will be
lost in the branch.

I can't merge libzypp.changes for trunk, so if a changeset
includes a .changes, attach them to the changeset list so i
can append after merging. For now, .changes commited in
SLES branch and not notified for merging were lost with this
merge, as it included too much changes.

18 years agomove to different directory
Klaus Kaempf [Wed, 2 Aug 2006 10:41:53 +0000 (10:41 +0000)]
move to different directory

18 years agomerge from SLE branch
Klaus Kaempf [Wed, 2 Aug 2006 10:39:27 +0000 (10:39 +0000)]
merge from SLE branch

18 years agomerge from SLE branch
Klaus Kaempf [Wed, 2 Aug 2006 10:38:07 +0000 (10:38 +0000)]
merge from SLE branch

18 years agomerge from SLE branch
Klaus Kaempf [Wed, 2 Aug 2006 10:26:33 +0000 (10:26 +0000)]
merge from SLE branch

18 years agochanges
Duncan Mac-Vicar P [Tue, 1 Aug 2006 11:40:50 +0000 (11:40 +0000)]
changes

18 years agofix build
Duncan Mac-Vicar P [Tue, 1 Aug 2006 11:20:22 +0000 (11:20 +0000)]
fix build

18 years agoforward port #192535
Duncan Mac-Vicar P [Tue, 1 Aug 2006 11:19:30 +0000 (11:19 +0000)]
forward port #192535

18 years agochanges
Duncan Mac-Vicar P [Fri, 21 Jul 2006 09:00:50 +0000 (09:00 +0000)]
changes

18 years agothis is experimental too
Duncan Mac-Vicar P [Thu, 20 Jul 2006 14:03:24 +0000 (14:03 +0000)]
this is experimental too

18 years agofrom 8.3 seconds to 7 seconds constructing objects
Duncan Mac-Vicar P [Wed, 19 Jul 2006 14:21:03 +0000 (14:21 +0000)]
from 8.3 seconds to 7 seconds constructing objects

18 years agopatch, even faster, from mvidner, using a regexp
Duncan Mac-Vicar P [Wed, 19 Jul 2006 14:10:23 +0000 (14:10 +0000)]
patch, even faster, from mvidner, using a regexp

18 years agochanges
Duncan Mac-Vicar P [Wed, 19 Jul 2006 11:52:56 +0000 (11:52 +0000)]
changes

18 years agodont link sqlite here
Duncan Mac-Vicar P [Wed, 19 Jul 2006 10:31:50 +0000 (10:31 +0000)]
dont link sqlite here

18 years agochanges
Duncan Mac-Vicar P [Tue, 18 Jul 2006 15:46:41 +0000 (15:46 +0000)]
changes

18 years agoreduce factory parsing from 30 sec to about 25 using different string find function
Duncan Mac-Vicar P [Tue, 18 Jul 2006 15:42:37 +0000 (15:42 +0000)]
reduce factory parsing from 30 sec to about 25 using different string find function

18 years agoparse regexp only once
Duncan Mac-Vicar P [Tue, 18 Jul 2006 15:42:01 +0000 (15:42 +0000)]
parse regexp only once

18 years agochanges
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:58:47 +0000 (10:58 +0000)]
changes

18 years agodont install zypp2
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:56:45 +0000 (10:56 +0000)]
dont install zypp2

18 years ago- Don't read the stream character wise but reading blocks,
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:41:01 +0000 (10:41 +0000)]
- Don't read the stream character wise but reading blocks,
  as advised by matz profiling.

18 years agofix build
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:26:58 +0000 (10:26 +0000)]
fix build

18 years agofix make package
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:13:39 +0000 (10:13 +0000)]
fix make package

18 years agovendor() of the source is the vendor of the product, not the media
Duncan Mac-Vicar P [Mon, 17 Jul 2006 14:41:58 +0000 (14:41 +0000)]
vendor() of the source is the vendor of the product, not the media
readed one

18 years agobuild
Duncan Mac-Vicar P [Mon, 17 Jul 2006 13:37:30 +0000 (13:37 +0000)]
build

18 years agothis part of the testsuite does not use deja gnu anymore
Duncan Mac-Vicar P [Mon, 17 Jul 2006 12:12:08 +0000 (12:12 +0000)]
this part of the testsuite does not use deja gnu anymore

18 years agomove new classes to zypp2 to make a parallel refactoring
Duncan Mac-Vicar P [Mon, 17 Jul 2006 11:46:31 +0000 (11:46 +0000)]
move new classes to zypp2 to make a parallel refactoring

18 years agochangelog
Michael Andres [Mon, 17 Jul 2006 11:02:55 +0000 (11:02 +0000)]
changelog

18 years ago- Add "openSUSE", "ATI Technologies Inc." and "Nvidia" to
Michael Andres [Mon, 17 Jul 2006 11:02:26 +0000 (11:02 +0000)]
- Add "openSUSE", "ATI Technologies Inc." and "Nvidia" to
  trusted vendors. (#189573)

18 years agoforward-port fix for #191311 stalle tmpfile
Duncan Mac-Vicar P [Thu, 13 Jul 2006 11:03:01 +0000 (11:03 +0000)]
forward-port fix for #191311 stalle tmpfile

18 years agoignore
Duncan Mac-Vicar P [Tue, 11 Jul 2006 16:03:02 +0000 (16:03 +0000)]
ignore

18 years agomake the cache initializer testeable
Duncan Mac-Vicar P [Tue, 11 Jul 2006 15:54:34 +0000 (15:54 +0000)]
make the cache initializer testeable

18 years ago- Added result asserts to test_url2, test_url3, test_url4
Marius Tomaschewski [Tue, 11 Jul 2006 15:34:52 +0000 (15:34 +0000)]
- Added result asserts to test_url2, test_url3, test_url4
- Merged test cases test_url and test_url5 into test_url1

18 years agomissing
Duncan Mac-Vicar P [Tue, 11 Jul 2006 14:36:06 +0000 (14:36 +0000)]
missing

18 years agonot use dejagnu for zypp core testcases.
Duncan Mac-Vicar P [Tue, 11 Jul 2006 14:07:54 +0000 (14:07 +0000)]
not use dejagnu for zypp core testcases.
Por Url testcases in a single Url.cc testsuite. Marious should add the
assertions to test_url3,4 5

18 years ago- finally the cacher and parser connect together
Duncan Mac-Vicar P [Tue, 11 Jul 2006 09:52:42 +0000 (09:52 +0000)]
- finally the cacher and parser connect together

18 years agomonday progres...
Duncan Mac-Vicar P [Mon, 10 Jul 2006 16:32:19 +0000 (16:32 +0000)]
monday progres...

YUMSOurceCacher downloads metadata,
using MediaSetAccess, trying to
connect it with the source cache now
and parse it with sax

18 years ago- first working checksum checker
Duncan Mac-Vicar P [Fri, 7 Jul 2006 14:37:22 +0000 (14:37 +0000)]
- first working checksum checker
- removeunused istream constructor

18 years ago- new testcases for core classes
Duncan Mac-Vicar P [Fri, 7 Jul 2006 13:20:46 +0000 (13:20 +0000)]
- new testcases for core classes
- ported some of the old ones to boost:test
- PublicKey test, embed the key in the code because
  I have no idea to know the path of a file from a testcase

18 years agofile checkers
Duncan Mac-Vicar P [Thu, 6 Jul 2006 16:22:54 +0000 (16:22 +0000)]
file checkers

18 years ago- Bug #172608, changed to implement default constructor
Marius Tomaschewski [Thu, 6 Jul 2006 14:52:39 +0000 (14:52 +0000)]
- Bug #172608, changed to implement default constructor
  in the UrlBase.cc instead of an inline implementation.
- Fixed to use proper character set for fragment encoding
  (it is not necessary to encode the "@/?" characters)

18 years agomore progress on fixing horrible broken design:
Duncan Mac-Vicar P [Wed, 5 Jul 2006 16:31:27 +0000 (16:31 +0000)]
more progress on fixing horrible broken design:

- This class (probably will be renamed later) is what media set always
  should have been.
- basically ripping out code from SourceImpl that not belongs there,
  togeether with code from MediaSet, and making it not coupled with
sources, therefore teteable as a unit.

18 years agomore skeletons
Duncan Mac-Vicar P [Tue, 4 Jul 2006 16:51:11 +0000 (16:51 +0000)]
more skeletons

18 years agoadded a minimalistic package for the build service
Martin Vidner [Tue, 4 Jul 2006 07:47:56 +0000 (07:47 +0000)]
added a minimalistic package for the build service

18 years agomove initializing code to a separate class, it will be easier for testing
Duncan Mac-Vicar P [Mon, 3 Jul 2006 15:02:34 +0000 (15:02 +0000)]
move initializing code to a separate class, it will be easier for testing