platform/upstream/libzypp.git
18 years agoremove 'Arch_src'
Klaus Kaempf [Wed, 22 Feb 2006 21:47:22 +0000 (21:47 +0000)]
remove 'Arch_src'

18 years agoadd "SrcPackage" as new kind of resolvable
Klaus Kaempf [Wed, 22 Feb 2006 21:44:32 +0000 (21:44 +0000)]
add "SrcPackage" as new kind of resolvable

18 years agoResStatus:
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.

18 years agooutput has been changed
Stefan Schubert [Wed, 22 Feb 2006 18:34:21 +0000 (18:34 +0000)]
output has been changed

18 years agoother installation order; checked partialconflict-postfix-sendmail-test.solution
Stefan Schubert [Wed, 22 Feb 2006 18:17:51 +0000 (18:17 +0000)]
other installation order; checked partialconflict-postfix-sendmail-test.solution

18 years agoonother installation order
Stefan Schubert [Wed, 22 Feb 2006 18:02:58 +0000 (18:02 +0000)]
onother installation order

18 years ago- Implemented isSharedMedia() method returning
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.

18 years agodefault arch to "noarch" instead of "" since empty arch
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.

18 years agoUse (installroot)/var/lib/zypp as home
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.

18 years ago- add parse-metadata
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

18 years ago- ResStatus: indicate locked state in stream output.
Michael Andres [Wed, 22 Feb 2006 16:33:46 +0000 (16:33 +0000)]
- ResStatus: indicate locked state in stream output.

18 years ago- Fixed to use mkstemp for temporary files
Marius Tomaschewski [Wed, 22 Feb 2006 16:16:13 +0000 (16:16 +0000)]
- Fixed to use mkstemp for temporary files

18 years agoprovide size() and archivesize() for installed packages
Klaus Kaempf [Wed, 22 Feb 2006 15:33:17 +0000 (15:33 +0000)]
provide size() and archivesize() for installed packages

18 years agoswitch off version compare of resolutions
Stefan Schubert [Wed, 22 Feb 2006 15:27:29 +0000 (15:27 +0000)]
switch off version compare of resolutions

18 years agodo logging to stderr
Klaus Kaempf [Wed, 22 Feb 2006 14:46:47 +0000 (14:46 +0000)]
do logging to stderr

18 years agotestcase for REQUIRES parsing
Klaus Kaempf [Wed, 22 Feb 2006 14:44:36 +0000 (14:44 +0000)]
testcase for REQUIRES parsing

18 years agocopy DueToUpdate reason back to pool
Klaus Kaempf [Wed, 22 Feb 2006 14:42:14 +0000 (14:42 +0000)]
copy DueToUpdate reason back to pool

18 years agoadd causer
Klaus Kaempf [Wed, 22 Feb 2006 14:40:39 +0000 (14:40 +0000)]
add causer

18 years ago- Fix for timeout problems in Bug #152709. Set CURLOPT_NOSIGNAL=1
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.

18 years ago- added lock state and, and a bit to remember license confirmed.
Michael Andres [Wed, 22 Feb 2006 14:35:29 +0000 (14:35 +0000)]
- added lock state and, and a bit to remember license confirmed.

18 years agocannot evalute context --> core
Stefan Schubert [Wed, 22 Feb 2006 14:20:17 +0000 (14:20 +0000)]
cannot evalute context --> core

18 years agoreduce debug
Klaus Kaempf [Wed, 22 Feb 2006 13:41:01 +0000 (13:41 +0000)]
reduce debug

18 years agofix bug:152761
Duncan Mac-Vicar P [Wed, 22 Feb 2006 13:33:30 +0000 (13:33 +0000)]
fix bug:152761

18 years agoreduce debug
Klaus Kaempf [Wed, 22 Feb 2006 13:23:24 +0000 (13:23 +0000)]
reduce debug

18 years agoadd some milestones and indent
Duncan Mac-Vicar P [Wed, 22 Feb 2006 13:16:56 +0000 (13:16 +0000)]
add some milestones and indent

18 years agoextend "REQUIRES" parsing
Klaus Kaempf [Wed, 22 Feb 2006 11:50:16 +0000 (11:50 +0000)]
extend "REQUIRES" parsing

18 years agotry to fix crash reading cache
Duncan Mac-Vicar P [Wed, 22 Feb 2006 09:59:22 +0000 (09:59 +0000)]
try to fix crash reading cache

18 years ago- Filter available (!)resolvables of incompatible arch, when feeding
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.

18 years agofilter out incompatible archs (saves memory, pool will also filter)
Klaus Kaempf [Wed, 22 Feb 2006 09:16:13 +0000 (09:16 +0000)]
filter out incompatible archs (saves memory, pool will also filter)

18 years agodon't store the root prefix in the cache_dir (#151436)
Stanislav Visnovsky [Wed, 22 Feb 2006 08:59:22 +0000 (08:59 +0000)]
don't store the root prefix in the cache_dir (#151436)

18 years agocomment added
Stefan Schubert [Wed, 22 Feb 2006 08:23:06 +0000 (08:23 +0000)]
comment added

18 years agoadded Target::setInstallationLogfile to set the RPM log
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)

18 years agoignore
Klaus Kaempf [Tue, 21 Feb 2006 19:05:26 +0000 (19:05 +0000)]
ignore

18 years agoimprove debug
Klaus Kaempf [Tue, 21 Feb 2006 19:04:34 +0000 (19:04 +0000)]
improve debug

18 years agoimplement catalog handling
Klaus Kaempf [Tue, 21 Feb 2006 19:03:43 +0000 (19:03 +0000)]
implement catalog handling
implement source data uploading to ZMD (query-files)

18 years agocomplete catalog API
Klaus Kaempf [Tue, 21 Feb 2006 18:44:31 +0000 (18:44 +0000)]
complete catalog API

18 years agoouch, extended the wrong bitfield
Klaus Kaempf [Tue, 21 Feb 2006 18:18:08 +0000 (18:18 +0000)]
ouch, extended the wrong bitfield

18 years agoindentation
Klaus Kaempf [Tue, 21 Feb 2006 18:17:50 +0000 (18:17 +0000)]
indentation

18 years agolog where are we trying to find the cache
Duncan Mac-Vicar P [Tue, 21 Feb 2006 17:21:11 +0000 (17:21 +0000)]
log where are we trying to find the cache

18 years agomore fsbugging log
Jiri Srain [Tue, 21 Feb 2006 17:10:39 +0000 (17:10 +0000)]
more fsbugging log

18 years agorewrite the package collection logic from scratch to make it readable by humans
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

18 years agotaking care about priorities
Stefan Schubert [Tue, 21 Feb 2006 16:41:50 +0000 (16:41 +0000)]
taking care about priorities

18 years ago- put branch items at end of resolver queue (put unknowns last)
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

18 years agofix typo
Klaus Kaempf [Tue, 21 Feb 2006 16:29:00 +0000 (16:29 +0000)]
fix typo

18 years agofix comment
Klaus Kaempf [Tue, 21 Feb 2006 16:20:28 +0000 (16:20 +0000)]
fix comment

18 years ago- removed obsolete ArchCompat (it's now an Arch detail)
Michael Andres [Tue, 21 Feb 2006 16:18:50 +0000 (16:18 +0000)]
- removed obsolete ArchCompat (it's now an Arch detail)

18 years agofixed missing prefix before static variable
Jiri Srain [Tue, 21 Feb 2006 16:11:32 +0000 (16:11 +0000)]
fixed missing prefix before static variable

18 years ago- set logfile to stderr
Klaus Kaempf [Tue, 21 Feb 2006 15:50:40 +0000 (15:50 +0000)]
- set logfile to stderr
- handle locales in testcases

18 years agoSet the agent string for HTTP and HTTPS
Jiri Srain [Tue, 21 Feb 2006 15:39:57 +0000 (15:39 +0000)]
Set the agent string for HTTP and HTTPS

18 years ago- Arch:
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

18 years agorefuse to use stupid paths as cache dir :-) stanos computer is now safe
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

18 years agocache content file
Duncan Mac-Vicar P [Tue, 21 Feb 2006 13:42:51 +0000 (13:42 +0000)]
cache content file

18 years agofix segfault when filtering packages
Klaus Kaempf [Tue, 21 Feb 2006 12:20:31 +0000 (12:20 +0000)]
fix segfault when filtering packages

18 years agoFixed cache dir handling
Stanislav Visnovsky [Tue, 21 Feb 2006 11:42:11 +0000 (11:42 +0000)]
Fixed cache dir handling
TODO: integration with SourceCache

18 years agoallow to set a different root for source cache
Stanislav Visnovsky [Tue, 21 Feb 2006 11:41:07 +0000 (11:41 +0000)]
allow to set a different root for source cache

18 years agomake sure there is '/' at the end of path to dir
Stanislav Visnovsky [Tue, 21 Feb 2006 11:40:31 +0000 (11:40 +0000)]
make sure there is '/' at the end of path to dir

18 years agouse patterns file from cache
Stanislav Visnovsky [Tue, 21 Feb 2006 11:25:20 +0000 (11:25 +0000)]
use patterns file from cache

18 years ago- backup
Michael Andres [Tue, 21 Feb 2006 11:17:14 +0000 (11:17 +0000)]
- backup

18 years agoadd LOGGROUP
Klaus Kaempf [Tue, 21 Feb 2006 09:57:12 +0000 (09:57 +0000)]
add LOGGROUP

18 years agohonor "supplements" dependency
Klaus Kaempf [Tue, 21 Feb 2006 09:42:07 +0000 (09:42 +0000)]
honor "supplements" dependency

18 years agoadd "supplements" as normal dependency
Klaus Kaempf [Tue, 21 Feb 2006 09:38:45 +0000 (09:38 +0000)]
add "supplements" as normal dependency

18 years agohonor "Sup" for "supplements
Klaus Kaempf [Tue, 21 Feb 2006 09:18:19 +0000 (09:18 +0000)]
honor "Sup" for "supplements

18 years agosave last package before filtering out the next
Klaus Kaempf [Tue, 21 Feb 2006 09:16:32 +0000 (09:16 +0000)]
save last package before filtering out the next

18 years agoinclude assert.h
Klaus Kaempf [Tue, 21 Feb 2006 08:56:25 +0000 (08:56 +0000)]
include assert.h

18 years agoadd dummy returns
Klaus Kaempf [Tue, 21 Feb 2006 08:18:15 +0000 (08:18 +0000)]
add dummy returns

18 years ago- Prepare class ArchCompat for proper architecture ordering
Michael Andres [Mon, 20 Feb 2006 22:35:15 +0000 (22:35 +0000)]
- Prepare class ArchCompat for proper architecture ordering
  and comaptibility handling.

18 years ago- Changed to compare filesystem type with media source type
Marius Tomaschewski [Mon, 20 Feb 2006 21:47:05 +0000 (21:47 +0000)]
- Changed to compare filesystem type with media source type

18 years ago- Implemented overloaded isAttached() calling checkAttached()
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

18 years ago- Implemented checkAttached() function verifying attached
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.

18 years ago- Added getMountTableMTime() and getMountEntries()
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

18 years ago- Fixed to use temporary variable
Marius Tomaschewski [Mon, 20 Feb 2006 21:18:05 +0000 (21:18 +0000)]
- Fixed to use temporary variable

18 years agotrack "uninstall due to upgrade" seperately
Klaus Kaempf [Mon, 20 Feb 2006 20:27:29 +0000 (20:27 +0000)]
track "uninstall due to upgrade" seperately

18 years agodebug code added
Klaus Kaempf [Mon, 20 Feb 2006 19:40:00 +0000 (19:40 +0000)]
debug code added

18 years agodon't write dependencies with empty edition
Klaus Kaempf [Mon, 20 Feb 2006 19:20:01 +0000 (19:20 +0000)]
don't write dependencies with empty edition

18 years agofix filename filter in PROVIDES.
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

18 years ago- define LOGGROUP
Klaus Kaempf [Mon, 20 Feb 2006 18:16:05 +0000 (18:16 +0000)]
- define LOGGROUP
- fix file: url

18 years agodefine LOGGROUP
Klaus Kaempf [Mon, 20 Feb 2006 18:09:32 +0000 (18:09 +0000)]
define LOGGROUP

18 years agocomment typo
Klaus Kaempf [Mon, 20 Feb 2006 18:09:24 +0000 (18:09 +0000)]
comment typo

18 years agowrite log to /var/log/zmd-backend.log
Klaus Kaempf [Mon, 20 Feb 2006 18:07:13 +0000 (18:07 +0000)]
write log to /var/log/zmd-backend.log

18 years agoadd /var/lib/zypp as an accessor
Duncan Mac-Vicar P [Mon, 20 Feb 2006 17:45:56 +0000 (17:45 +0000)]
add /var/lib/zypp as an accessor

18 years agostart adding 'catalogs' api (incomplete)
Klaus Kaempf [Mon, 20 Feb 2006 17:19:07 +0000 (17:19 +0000)]
start adding 'catalogs' api (incomplete)

18 years ago- Changed back to use fixed RW_pointer unique()
Marius Tomaschewski [Mon, 20 Feb 2006 17:14:55 +0000 (17:14 +0000)]
- Changed back to use fixed RW_pointer unique()

18 years agocompiles again
Klaus Kaempf [Mon, 20 Feb 2006 17:00:43 +0000 (17:00 +0000)]
compiles again

18 years agowrite target resolvables as catalog "@system"
Klaus Kaempf [Mon, 20 Feb 2006 16:44:19 +0000 (16:44 +0000)]
write target resolvables as catalog "@system"

18 years agopass "catalog" to backend
Klaus Kaempf [Mon, 20 Feb 2006 16:43:58 +0000 (16:43 +0000)]
pass "catalog" to backend

18 years agomake patterns category tarnslatable, for Huha
Duncan Mac-Vicar P [Mon, 20 Feb 2006 16:32:41 +0000 (16:32 +0000)]
make patterns category tarnslatable, for Huha

18 years agowrite all resolvables
Klaus Kaempf [Mon, 20 Feb 2006 16:21:45 +0000 (16:21 +0000)]
write all resolvables

18 years agoadapt to latest ZMD table format
Klaus Kaempf [Mon, 20 Feb 2006 16:21:29 +0000 (16:21 +0000)]
adapt to latest ZMD table format

18 years agoarchitecture accessors
Klaus Kaempf [Mon, 20 Feb 2006 16:05:58 +0000 (16:05 +0000)]
architecture accessors

18 years agodetermine and provide architecture
Klaus Kaempf [Mon, 20 Feb 2006 16:05:41 +0000 (16:05 +0000)]
determine and provide architecture

18 years agoremove some debug
Duncan Mac-Vicar P [Mon, 20 Feb 2006 15:16:03 +0000 (15:16 +0000)]
remove some debug

18 years agoReport problems when restoring sources from persistent store.
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.

18 years agocheck if arch is empty
Duncan Mac-Vicar P [Mon, 20 Feb 2006 14:51:39 +0000 (14:51 +0000)]
check if arch is empty

18 years ago- Do _never_ create static MediaManager instances
Marius Tomaschewski [Mon, 20 Feb 2006 14:24:05 +0000 (14:24 +0000)]
- Do _never_ create static MediaManager instances
  unless you like unitialized mutextes!

18 years agoadd testcase for Huha bug
Duncan Mac-Vicar P [Mon, 20 Feb 2006 13:55:56 +0000 (13:55 +0000)]
add testcase for Huha bug

18 years agoimplement cache for SuSeTags, this should allow installing without CD1 in the drive...
Duncan Mac-Vicar P [Mon, 20 Feb 2006 13:47:26 +0000 (13:47 +0000)]
implement cache for SuSeTags, this should allow installing without CD1 in the drive all the time. CAUTION: experimental, gimme feedback

18 years ago- Fixed to throw NotDesired instead of NotAttached exception
Marius Tomaschewski [Mon, 20 Feb 2006 12:59:55 +0000 (12:59 +0000)]
- Fixed to throw NotDesired instead of NotAttached exception

18 years ago- Documented exceptions of provideFile
Marius Tomaschewski [Mon, 20 Feb 2006 12:59:07 +0000 (12:59 +0000)]
- Documented exceptions of provideFile

18 years agocheck that repo exists when using cache too. Otherwise it detects a YUM repo just...
Duncan Mac-Vicar P [Mon, 20 Feb 2006 12:51:19 +0000 (12:51 +0000)]
check that repo exists when using cache too. Otherwise it detects a YUM repo just when a cache parameter is given, no matter if it is not a YUM cache

18 years ago- Disable per default logging to stderr. It now defaults to no logging,
Michael Andres [Mon, 20 Feb 2006 11:07:47 +0000 (11:07 +0000)]
- Disable per default logging to stderr. It now defaults to no logging,
  which may be changed by setting $ZYPP_LOGFILE ( "-" for stderr, otherwise
  pathname of the log file).