Klaus Kaempf [Thu, 23 Feb 2006 08:49:56 +0000 (08:49 +0000)]
define LOGGROUP
Michael Andres [Thu, 23 Feb 2006 01:17:05 +0000 (01:17 +0000)]
- ui::Selectable: added Selectable::setCandidate to explicitly choose a
Candidate among all available objects.
Michael Andres [Wed, 22 Feb 2006 23:27:39 +0000 (23:27 +0000)]
- ui::Selectable: Order available resolvables according to arch,
edition.
Michael Andres [Wed, 22 Feb 2006 22:57:43 +0000 (22:57 +0000)]
- Added 'diffState' to ResPoolProxy (used by UI to determine whether user has
to confirm 'canel' due to changes)
Klaus Kaempf [Wed, 22 Feb 2006 22:21:07 +0000 (22:21 +0000)]
don't change installed<->uninstalled status here, its up to the
target to provide new data.
Klaus Kaempf [Wed, 22 Feb 2006 22:01:03 +0000 (22:01 +0000)]
src packages do provide archivesize and diskusage
Klaus Kaempf [Wed, 22 Feb 2006 21:47:22 +0000 (21:47 +0000)]
remove 'Arch_src'
Klaus Kaempf [Wed, 22 Feb 2006 21:44:32 +0000 (21:44 +0000)]
add "SrcPackage" as new kind of resolvable
Michael Andres [Wed, 22 Feb 2006 21:39:00 +0000 (21:39 +0000)]
ResStatus:
- Added accessors returning TransactValue/TransactByValue (i.e. the enum value
to allow switch() instead of if/elseif).
- Added setTransactValue to modify the transaction state (KEEP_STATE,LOCKED,TRANSACT)
via enum values.
- Fixed setStatus. TransactByField must not be evaluated if leaving KEEP_STATE.
Only LOCKED and TRANSACT require same or higher TransactByValue.
Stefan Schubert [Wed, 22 Feb 2006 18:34:21 +0000 (18:34 +0000)]
output has been changed
Stefan Schubert [Wed, 22 Feb 2006 18:17:51 +0000 (18:17 +0000)]
other installation order; checked partialconflict-postfix-sendmail-test.solution
Stefan Schubert [Wed, 22 Feb 2006 18:02:58 +0000 (18:02 +0000)]
onother installation order
Marius Tomaschewski [Wed, 22 Feb 2006 17:57:13 +0000 (17:57 +0000)]
- Implemented isSharedMedia() method returning
if the media is on a shared physical device.
Klaus Kaempf [Wed, 22 Feb 2006 17:46:54 +0000 (17:46 +0000)]
default arch to "noarch" instead of "" since empty arch
will not be compatible with anything and will be ignored
by the pool inserter.
Duncan Mac-Vicar P [Wed, 22 Feb 2006 17:20:36 +0000 (17:20 +0000)]
Use (installroot)/var/lib/zypp as home
Source cache is stored (by stano) in /var/lib/zypp/cache
while storage is now in /var/lib/zypp/db
under that you can find sources (known sources), selections, patches,
etc.
Also, use assert_dir for smart directory creating and complain by
exception.
Klaus Kaempf [Wed, 22 Feb 2006 16:45:18 +0000 (16:45 +0000)]
- add parse-metadata
- define LOGGROUP within .cc files, not within Makefile.am
Michael Andres [Wed, 22 Feb 2006 16:33:46 +0000 (16:33 +0000)]
- ResStatus: indicate locked state in stream output.
Marius Tomaschewski [Wed, 22 Feb 2006 16:16:13 +0000 (16:16 +0000)]
- Fixed to use mkstemp for temporary files
Klaus Kaempf [Wed, 22 Feb 2006 15:33:17 +0000 (15:33 +0000)]
provide size() and archivesize() for installed packages
Stefan Schubert [Wed, 22 Feb 2006 15:27:29 +0000 (15:27 +0000)]
switch off version compare of resolutions
Klaus Kaempf [Wed, 22 Feb 2006 14:46:47 +0000 (14:46 +0000)]
do logging to stderr
Klaus Kaempf [Wed, 22 Feb 2006 14:44:36 +0000 (14:44 +0000)]
testcase for REQUIRES parsing
Klaus Kaempf [Wed, 22 Feb 2006 14:42:14 +0000 (14:42 +0000)]
copy DueToUpdate reason back to pool
Klaus Kaempf [Wed, 22 Feb 2006 14:40:39 +0000 (14:40 +0000)]
add causer
Marius Tomaschewski [Wed, 22 Feb 2006 14:37:09 +0000 (14:37 +0000)]
- Fix for timeout problems in Bug #152709. Set CURLOPT_NOSIGNAL=1
to avoid need of installed alarm handler and CURLOPT_TIMEOUT=60
(sec), causing that curl does not block on sys calls and trys
to recover if possible.
Michael Andres [Wed, 22 Feb 2006 14:35:29 +0000 (14:35 +0000)]
- added lock state and, and a bit to remember license confirmed.
Stefan Schubert [Wed, 22 Feb 2006 14:20:17 +0000 (14:20 +0000)]
cannot evalute context --> core
Klaus Kaempf [Wed, 22 Feb 2006 13:41:01 +0000 (13:41 +0000)]
reduce debug
Duncan Mac-Vicar P [Wed, 22 Feb 2006 13:33:30 +0000 (13:33 +0000)]
fix bug:152761
Klaus Kaempf [Wed, 22 Feb 2006 13:23:24 +0000 (13:23 +0000)]
reduce debug
Duncan Mac-Vicar P [Wed, 22 Feb 2006 13:16:56 +0000 (13:16 +0000)]
add some milestones and indent
Klaus Kaempf [Wed, 22 Feb 2006 11:50:16 +0000 (11:50 +0000)]
extend "REQUIRES" parsing
Duncan Mac-Vicar P [Wed, 22 Feb 2006 09:59:22 +0000 (09:59 +0000)]
try to fix crash reading cache
Michael Andres [Wed, 22 Feb 2006 09:50:21 +0000 (09:50 +0000)]
- Filter available (!)resolvables of incompatible arch, when feeding
the Pool. Target objects are not filtered.
Klaus Kaempf [Wed, 22 Feb 2006 09:16:13 +0000 (09:16 +0000)]
filter out incompatible archs (saves memory, pool will also filter)
Stanislav Visnovsky [Wed, 22 Feb 2006 08:59:22 +0000 (08:59 +0000)]
don't store the root prefix in the cache_dir (#151436)
Stefan Schubert [Wed, 22 Feb 2006 08:23:06 +0000 (08:23 +0000)]
comment added
Jiri Srain [Tue, 21 Feb 2006 22:35:49 +0000 (22:35 +0000)]
added Target::setInstallationLogfile to set the RPM log
(/var/log/YaST2/y2logRPM)
Klaus Kaempf [Tue, 21 Feb 2006 19:05:26 +0000 (19:05 +0000)]
ignore
Klaus Kaempf [Tue, 21 Feb 2006 19:04:34 +0000 (19:04 +0000)]
improve debug
Klaus Kaempf [Tue, 21 Feb 2006 19:03:43 +0000 (19:03 +0000)]
implement catalog handling
implement source data uploading to ZMD (query-files)
Klaus Kaempf [Tue, 21 Feb 2006 18:44:31 +0000 (18:44 +0000)]
complete catalog API
Klaus Kaempf [Tue, 21 Feb 2006 18:18:08 +0000 (18:18 +0000)]
ouch, extended the wrong bitfield
Klaus Kaempf [Tue, 21 Feb 2006 18:17:50 +0000 (18:17 +0000)]
indentation
Duncan Mac-Vicar P [Tue, 21 Feb 2006 17:21:11 +0000 (17:21 +0000)]
log where are we trying to find the cache
Jiri Srain [Tue, 21 Feb 2006 17:10:39 +0000 (17:10 +0000)]
more fsbugging log
Duncan Mac-Vicar P [Tue, 21 Feb 2006 16:48:05 +0000 (16:48 +0000)]
rewrite the package collection logic from scratch to make it readable by humans
Stefan Schubert [Tue, 21 Feb 2006 16:41:50 +0000 (16:41 +0000)]
taking care about priorities
Klaus Kaempf [Tue, 21 Feb 2006 16:31:17 +0000 (16:31 +0000)]
- put branch items at end of resolver queue (put unknowns last)
- add # of items in branch to debug
Klaus Kaempf [Tue, 21 Feb 2006 16:29:00 +0000 (16:29 +0000)]
fix typo
Klaus Kaempf [Tue, 21 Feb 2006 16:20:28 +0000 (16:20 +0000)]
fix comment
Michael Andres [Tue, 21 Feb 2006 16:18:50 +0000 (16:18 +0000)]
- removed obsolete ArchCompat (it's now an Arch detail)
Jiri Srain [Tue, 21 Feb 2006 16:11:32 +0000 (16:11 +0000)]
fixed missing prefix before static variable
Klaus Kaempf [Tue, 21 Feb 2006 15:50:40 +0000 (15:50 +0000)]
- set logfile to stderr
- handle locales in testcases
Jiri Srain [Tue, 21 Feb 2006 15:39:57 +0000 (15:39 +0000)]
Set the agent string for HTTP and HTTPS
Michael Andres [Tue, 21 Feb 2006 14:35:58 +0000 (14:35 +0000)]
- Arch:
- fixed the broken compare and compatibleWith relation
- introduced shared implementation class, maintaining comatibility information.
- added type Arch::CompatSet, and Arch::compatSet( const Arch & targetArch_r );
returns a CompatSet including all Archs compatible with targetArch_r;
CompatSet uses reverse order: x86_64 athlon i686 i586 i486 i386 noarch
Duncan Mac-Vicar P [Tue, 21 Feb 2006 13:48:50 +0000 (13:48 +0000)]
refuse to use stupid paths as cache dir :-) stanos computer is now safe
Duncan Mac-Vicar P [Tue, 21 Feb 2006 13:42:51 +0000 (13:42 +0000)]
cache content file
Klaus Kaempf [Tue, 21 Feb 2006 12:20:31 +0000 (12:20 +0000)]
fix segfault when filtering packages
Stanislav Visnovsky [Tue, 21 Feb 2006 11:42:11 +0000 (11:42 +0000)]
Fixed cache dir handling
TODO: integration with SourceCache
Stanislav Visnovsky [Tue, 21 Feb 2006 11:41:07 +0000 (11:41 +0000)]
allow to set a different root for source cache
Stanislav Visnovsky [Tue, 21 Feb 2006 11:40:31 +0000 (11:40 +0000)]
make sure there is '/' at the end of path to dir
Stanislav Visnovsky [Tue, 21 Feb 2006 11:25:20 +0000 (11:25 +0000)]
use patterns file from cache
Michael Andres [Tue, 21 Feb 2006 11:17:14 +0000 (11:17 +0000)]
- backup
Klaus Kaempf [Tue, 21 Feb 2006 09:57:12 +0000 (09:57 +0000)]
add LOGGROUP
Klaus Kaempf [Tue, 21 Feb 2006 09:42:07 +0000 (09:42 +0000)]
honor "supplements" dependency
Klaus Kaempf [Tue, 21 Feb 2006 09:38:45 +0000 (09:38 +0000)]
add "supplements" as normal dependency
Klaus Kaempf [Tue, 21 Feb 2006 09:18:19 +0000 (09:18 +0000)]
honor "Sup" for "supplements
Klaus Kaempf [Tue, 21 Feb 2006 09:16:32 +0000 (09:16 +0000)]
save last package before filtering out the next
Klaus Kaempf [Tue, 21 Feb 2006 08:56:25 +0000 (08:56 +0000)]
include assert.h
Klaus Kaempf [Tue, 21 Feb 2006 08:18:15 +0000 (08:18 +0000)]
add dummy returns
Michael Andres [Mon, 20 Feb 2006 22:35:15 +0000 (22:35 +0000)]
- Prepare class ArchCompat for proper architecture ordering
and comaptibility handling.
Marius Tomaschewski [Mon, 20 Feb 2006 21:47:05 +0000 (21:47 +0000)]
- Changed to compare filesystem type with media source type
Marius Tomaschewski [Mon, 20 Feb 2006 21:32:14 +0000 (21:32 +0000)]
- Implemented overloaded isAttached() calling checkAttached()
- Changed to use isUseableAttachPoint() for path verify
Marius Tomaschewski [Mon, 20 Feb 2006 21:29:21 +0000 (21:29 +0000)]
- Implemented checkAttached() function verifying attached
media against last state of the mount entries.
- Implemented isUseableAttachPoint() verifying attach point
against last state of the mount entries.
- Changed isAttached to virtual, so it can be overloaded
to call checkAttached() in derived classes.
- Moved MediaAccess friendship to protected.
Marius Tomaschewski [Mon, 20 Feb 2006 21:24:04 +0000 (21:24 +0000)]
- Added getMountTableMTime() and getMountEntries()
to the interface, cleaned up a little bit
Marius Tomaschewski [Mon, 20 Feb 2006 21:18:05 +0000 (21:18 +0000)]
- Fixed to use temporary variable
Klaus Kaempf [Mon, 20 Feb 2006 20:27:29 +0000 (20:27 +0000)]
track "uninstall due to upgrade" seperately
Klaus Kaempf [Mon, 20 Feb 2006 19:40:00 +0000 (19:40 +0000)]
debug code added
Klaus Kaempf [Mon, 20 Feb 2006 19:20:01 +0000 (19:20 +0000)]
don't write dependencies with empty edition
Klaus Kaempf [Mon, 20 Feb 2006 19:19:18 +0000 (19:19 +0000)]
fix filename filter in PROVIDES.
Speeds up target creation from > 1 min to < 15 sec
Klaus Kaempf [Mon, 20 Feb 2006 18:16:05 +0000 (18:16 +0000)]
- define LOGGROUP
- fix file: url
Klaus Kaempf [Mon, 20 Feb 2006 18:09:32 +0000 (18:09 +0000)]
define LOGGROUP
Klaus Kaempf [Mon, 20 Feb 2006 18:09:24 +0000 (18:09 +0000)]
comment typo
Klaus Kaempf [Mon, 20 Feb 2006 18:07:13 +0000 (18:07 +0000)]
write log to /var/log/zmd-backend.log
Duncan Mac-Vicar P [Mon, 20 Feb 2006 17:45:56 +0000 (17:45 +0000)]
add /var/lib/zypp as an accessor
Klaus Kaempf [Mon, 20 Feb 2006 17:19:07 +0000 (17:19 +0000)]
start adding 'catalogs' api (incomplete)
Marius Tomaschewski [Mon, 20 Feb 2006 17:14:55 +0000 (17:14 +0000)]
- Changed back to use fixed RW_pointer unique()
Klaus Kaempf [Mon, 20 Feb 2006 17:00:43 +0000 (17:00 +0000)]
compiles again
Klaus Kaempf [Mon, 20 Feb 2006 16:44:19 +0000 (16:44 +0000)]
write target resolvables as catalog "@system"
Klaus Kaempf [Mon, 20 Feb 2006 16:43:58 +0000 (16:43 +0000)]
pass "catalog" to backend
Duncan Mac-Vicar P [Mon, 20 Feb 2006 16:32:41 +0000 (16:32 +0000)]
make patterns category tarnslatable, for Huha
Klaus Kaempf [Mon, 20 Feb 2006 16:21:45 +0000 (16:21 +0000)]
write all resolvables
Klaus Kaempf [Mon, 20 Feb 2006 16:21:29 +0000 (16:21 +0000)]
adapt to latest ZMD table format
Klaus Kaempf [Mon, 20 Feb 2006 16:05:58 +0000 (16:05 +0000)]
architecture accessors
Klaus Kaempf [Mon, 20 Feb 2006 16:05:41 +0000 (16:05 +0000)]
determine and provide architecture
Duncan Mac-Vicar P [Mon, 20 Feb 2006 15:16:03 +0000 (15:16 +0000)]
remove some debug
Stanislav Visnovsky [Mon, 20 Feb 2006 15:04:35 +0000 (15:04 +0000)]
Report problems when restoring sources from persistent store.
Restore also enablement and autorefresh.
Duncan Mac-Vicar P [Mon, 20 Feb 2006 14:51:39 +0000 (14:51 +0000)]
check if arch is empty
Marius Tomaschewski [Mon, 20 Feb 2006 14:24:05 +0000 (14:24 +0000)]
- Do _never_ create static MediaManager instances
unless you like unitialized mutextes!