Duncan Mac-Vicar P [Wed, 23 Aug 2006 13:05:23 +0000 (13:05 +0000)]
- Implement sane cmd line options parsing using boost
- lot of improvements, including package grabbing
Marius Tomaschewski [Wed, 23 Aug 2006 11:47:57 +0000 (11:47 +0000)]
- Little patch showing the resulting library name in
the summary at the end of the configure run.
Duncan Mac-Vicar P [Tue, 22 Aug 2006 20:40:44 +0000 (20:40 +0000)]
- How to test callbacks in a sane way?
- How to install a single patch or test a single
source?
Introducing zmart. (the name is only humor)
A command line tool, right now
only capable of listing patches.
Featuring for now:
- using system sources, or a source passed in command line
- display of applicable patches
- rpm read callbacks with console progress display
- first testbed of the probing callbacks
Missing but comming:
- command line usage
- will be the testbed for source progress reports
before they get implemented in yast
- why not, installing and removing packages.
Duncan Mac-Vicar P [Tue, 22 Aug 2006 20:36:51 +0000 (20:36 +0000)]
- Introduce sane probing, with reporting, And decoupled
of source creation.
Marius Tomaschewski [Tue, 22 Aug 2006 16:00:24 +0000 (16:00 +0000)]
- Updated changelog (MediaCurl range reset / curl debug log)
Marius Tomaschewski [Tue, 22 Aug 2006 15:57:06 +0000 (15:57 +0000)]
- Fixed getDoesFileExist to reset the transfer range
- Added logging of curl debug messages to the zypp log.
The env var ZYPP_MEDIA_CURL_DEBUG=1 logs curl infos,
ZYPP_MEDIA_CURL_DEBUG=2 logs the in/out headers.
Duncan Mac-Vicar P [Mon, 21 Aug 2006 16:19:44 +0000 (16:19 +0000)]
try to make this testcase actually work
Duncan Mac-Vicar P [Mon, 21 Aug 2006 11:14:46 +0000 (11:14 +0000)]
reorganize
Duncan Mac-Vicar P [Mon, 21 Aug 2006 11:06:20 +0000 (11:06 +0000)]
reorganize for boost test
Duncan Mac-Vicar P [Mon, 21 Aug 2006 10:53:52 +0000 (10:53 +0000)]
ISO and NFS tests requires root
Duncan Mac-Vicar P [Mon, 21 Aug 2006 09:25:43 +0000 (09:25 +0000)]
dumb bug. Now the tests for doesFileExists pass
with ISO and NFS.
Duncan Mac-Vicar P [Fri, 18 Aug 2006 15:30:45 +0000 (15:30 +0000)]
typo catched by the testsuite
Duncan Mac-Vicar P [Fri, 18 Aug 2006 15:29:42 +0000 (15:29 +0000)]
testsuite for doesFileExist
Duncan Mac-Vicar P [Fri, 18 Aug 2006 13:51:28 +0000 (13:51 +0000)]
- not needed anymore
Duncan Mac-Vicar P [Fri, 18 Aug 2006 13:51:00 +0000 (13:51 +0000)]
- start converting media testsuite to boost unit tests
Klaus Kaempf [Fri, 18 Aug 2006 13:12:54 +0000 (13:12 +0000)]
merge svn rev 3997:3998 to trunk
Duncan Mac-Vicar P [Thu, 17 Aug 2006 16:17:42 +0000 (16:17 +0000)]
changes
Duncan Mac-Vicar P [Thu, 17 Aug 2006 16:16:11 +0000 (16:16 +0000)]
fix uninstalling of atoms (noop) fixes messages like:
[base] Exception.cc(log):94 TargetImpl.cc(commit):477 CAUGHT:
XMLFilesBackend.cc(deleteObject):572: Error deleting
/var/lib/zypp/db/atoms/
fc7a8178421fef434f6fc3f831809808
Klaus Kaempf [Thu, 17 Aug 2006 11:57:31 +0000 (11:57 +0000)]
re-insert blanks into capability to work around regexp bug(?) in CapFactory::parse
Klaus Kaempf [Thu, 17 Aug 2006 11:08:51 +0000 (11:08 +0000)]
fix product name/version (#199951)
Duncan Mac-Vicar P [Wed, 16 Aug 2006 15:43:55 +0000 (15:43 +0000)]
changes
Duncan Mac-Vicar P [Wed, 16 Aug 2006 15:43:06 +0000 (15:43 +0000)]
use kernel.org for testing
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.
Klaus Kaempf [Wed, 16 Aug 2006 11:30:29 +0000 (11:30 +0000)]
remove duplicate "package" target
Stefan Schubert [Tue, 15 Aug 2006 11:50:29 +0000 (11:50 +0000)]
typo
Stefan Schubert [Tue, 15 Aug 2006 10:07:53 +0000 (10:07 +0000)]
new API calls maxSolverPasses, timeout
Stefan Schubert [Tue, 15 Aug 2006 10:06:56 +0000 (10:06 +0000)]
adding testcase for maxSolutions
Stefan Schubert [Tue, 15 Aug 2006 10:06:42 +0000 (10:06 +0000)]
adding testcase for maxSolutions
Duncan Mac-Vicar P [Tue, 15 Aug 2006 10:04:24 +0000 (10:04 +0000)]
changes
Duncan Mac-Vicar P [Tue, 15 Aug 2006 10:03:55 +0000 (10:03 +0000)]
more dbus_connection_close fixes
Klaus Kaempf [Tue, 15 Aug 2006 09:45:44 +0000 (09:45 +0000)]
clean up 'incomplete' handling in QueueItemEstablish
Klaus Kaempf [Tue, 15 Aug 2006 09:45:11 +0000 (09:45 +0000)]
"package" is a make target (synonym with 'dist')
Klaus Kaempf [Tue, 15 Aug 2006 09:37:20 +0000 (09:37 +0000)]
adapt rev
Klaus Kaempf [Tue, 15 Aug 2006 09:37:02 +0000 (09:37 +0000)]
- Don't set 'incomplete' for uninstalled patterns or products.
(#198379)
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
Duncan Mac-Vicar P [Tue, 15 Aug 2006 09:29:42 +0000 (09:29 +0000)]
merge changes schwab did in autobuild
Stefan Schubert [Mon, 14 Aug 2006 14:56:25 +0000 (14:56 +0000)]
added new API calls: setAdditionalProvide,setAdditionalConflict,setAdditionalRequire
Stefan Schubert [Mon, 14 Aug 2006 14:51:49 +0000 (14:51 +0000)]
new API calls: setAdditionalProvide setAdditionalConflict setAdditionalRequire
Stefan Schubert [Mon, 14 Aug 2006 14:46:17 +0000 (14:46 +0000)]
new layout
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
Duncan Mac-Vicar P [Mon, 14 Aug 2006 09:29:06 +0000 (09:29 +0000)]
changes
Duncan Mac-Vicar P [Mon, 14 Aug 2006 09:28:20 +0000 (09:28 +0000)]
changes
Klaus Kaempf [Sat, 12 Aug 2006 09:49:43 +0000 (09:49 +0000)]
make it readable by inserting linebreaks
Duncan Mac-Vicar P [Fri, 11 Aug 2006 15:05:02 +0000 (15:05 +0000)]
changes
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.
Duncan Mac-Vicar P [Fri, 11 Aug 2006 09:51:26 +0000 (09:51 +0000)]
changes
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
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
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.
Klaus Kaempf [Thu, 10 Aug 2006 15:08:46 +0000 (15:08 +0000)]
reduce logging
Klaus Kaempf [Thu, 10 Aug 2006 15:02:26 +0000 (15:02 +0000)]
log resolvable kind if its not a package
Duncan Mac-Vicar P [Thu, 10 Aug 2006 14:34:48 +0000 (14:34 +0000)]
changes
Duncan Mac-Vicar P [Thu, 10 Aug 2006 14:22:42 +0000 (14:22 +0000)]
delay resolvable loading, fix location
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.
Klaus Kaempf [Thu, 10 Aug 2006 12:33:28 +0000 (12:33 +0000)]
remove 'helix' subdir, it was moved to libzypp/testsuite/src before
Klaus Kaempf [Thu, 10 Aug 2006 12:17:10 +0000 (12:17 +0000)]
allow "refers" and synonym for "kind" in dependencies
Klaus Kaempf [Thu, 10 Aug 2006 12:05:52 +0000 (12:05 +0000)]
allow "refers" within dependencies as a synonym to 'kind'
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
Duncan Mac-Vicar P [Tue, 8 Aug 2006 16:17:05 +0000 (16:17 +0000)]
backup
Duncan Mac-Vicar P [Tue, 8 Aug 2006 14:54:01 +0000 (14:54 +0000)]
changes
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
Stefan Schubert [Tue, 8 Aug 2006 11:57:35 +0000 (11:57 +0000)]
have fix repo on machcd2
Stefan Schubert [Tue, 8 Aug 2006 11:53:38 +0000 (11:53 +0000)]
layout changed
Stefan Schubert [Tue, 8 Aug 2006 11:52:26 +0000 (11:52 +0000)]
other problems prefered
Stefan Schubert [Tue, 8 Aug 2006 08:57:33 +0000 (08:57 +0000)]
merged SuSE-SLE-10-Branch till rev 3907
Duncan Mac-Vicar P [Mon, 7 Aug 2006 15:59:28 +0000 (15:59 +0000)]
changes
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.
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.
Michael Andres [Mon, 7 Aug 2006 14:46:07 +0000 (14:46 +0000)]
fixed missing backslash
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
Michael Andres [Mon, 7 Aug 2006 13:59:50 +0000 (13:59 +0000)]
changes
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)
Michael Andres [Mon, 7 Aug 2006 13:28:08 +0000 (13:28 +0000)]
Do not use the deprecated POSIX API, but boost::regex.
Duncan Mac-Vicar P [Mon, 7 Aug 2006 12:18:08 +0000 (12:18 +0000)]
fix build
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
Duncan Mac-Vicar P [Fri, 4 Aug 2006 13:23:15 +0000 (13:23 +0000)]
changes
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.
Duncan Mac-Vicar P [Wed, 2 Aug 2006 13:54:01 +0000 (13:54 +0000)]
readd removed operators during merge
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.
Klaus Kaempf [Wed, 2 Aug 2006 10:41:53 +0000 (10:41 +0000)]
move to different directory
Klaus Kaempf [Wed, 2 Aug 2006 10:39:27 +0000 (10:39 +0000)]
merge from SLE branch
Klaus Kaempf [Wed, 2 Aug 2006 10:38:07 +0000 (10:38 +0000)]
merge from SLE branch
Klaus Kaempf [Wed, 2 Aug 2006 10:26:33 +0000 (10:26 +0000)]
merge from SLE branch
Duncan Mac-Vicar P [Tue, 1 Aug 2006 11:40:50 +0000 (11:40 +0000)]
changes
Duncan Mac-Vicar P [Tue, 1 Aug 2006 11:20:22 +0000 (11:20 +0000)]
fix build
Duncan Mac-Vicar P [Tue, 1 Aug 2006 11:19:30 +0000 (11:19 +0000)]
forward port #192535
Duncan Mac-Vicar P [Fri, 21 Jul 2006 09:00:50 +0000 (09:00 +0000)]
changes
Duncan Mac-Vicar P [Thu, 20 Jul 2006 14:03:24 +0000 (14:03 +0000)]
this is experimental too
Duncan Mac-Vicar P [Wed, 19 Jul 2006 14:21:03 +0000 (14:21 +0000)]
from 8.3 seconds to 7 seconds constructing objects
Duncan Mac-Vicar P [Wed, 19 Jul 2006 14:10:23 +0000 (14:10 +0000)]
patch, even faster, from mvidner, using a regexp
Duncan Mac-Vicar P [Wed, 19 Jul 2006 11:52:56 +0000 (11:52 +0000)]
changes
Duncan Mac-Vicar P [Wed, 19 Jul 2006 10:31:50 +0000 (10:31 +0000)]
dont link sqlite here
Duncan Mac-Vicar P [Tue, 18 Jul 2006 15:46:41 +0000 (15:46 +0000)]
changes
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
Duncan Mac-Vicar P [Tue, 18 Jul 2006 15:42:01 +0000 (15:42 +0000)]
parse regexp only once
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:58:47 +0000 (10:58 +0000)]
changes
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:56:45 +0000 (10:56 +0000)]
dont install zypp2
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.
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:26:58 +0000 (10:26 +0000)]
fix build
Duncan Mac-Vicar P [Tue, 18 Jul 2006 10:13:39 +0000 (10:13 +0000)]
fix make package