platform/upstream/libzypp.git
16 years agoAdded filesystem::getUmask and filesystem::applyUmaskTo (in PathInfo.h) and
Michael Andres [Tue, 31 Jul 2007 18:00:46 +0000 (18:00 +0000)]
Added filesystem::getUmask and filesystem::applyUmaskTo (in PathInfo.h) and
fixed MediaCurl to use them.

16 years agofix to compile
Michael Andres [Tue, 31 Jul 2007 17:34:46 +0000 (17:34 +0000)]
fix to compile

16 years agochanges
Michael Andres [Tue, 31 Jul 2007 17:04:31 +0000 (17:04 +0000)]
changes

16 years agochanges
Michael Andres [Tue, 31 Jul 2007 17:04:20 +0000 (17:04 +0000)]
changes

16 years ago- Temorary files and directories created by makeSibling use the
Michael Andres [Tue, 31 Jul 2007 17:03:48 +0000 (17:03 +0000)]
- Temorary files and directories created by makeSibling use the
  same protection as the original.

16 years agosmall doc addition
Jan Kupec [Tue, 31 Jul 2007 15:10:16 +0000 (15:10 +0000)]
small doc addition

16 years ago- migrate sources
Duncan Mac-Vicar P [Tue, 31 Jul 2007 15:04:37 +0000 (15:04 +0000)]
- migrate sources

16 years agoinitial version of a repository migrator
Duncan Mac-Vicar P [Tue, 31 Jul 2007 15:04:36 +0000 (15:04 +0000)]
initial version of a repository migrator

16 years agobackup
Michael Andres [Tue, 31 Jul 2007 14:28:11 +0000 (14:28 +0000)]
backup

16 years agouse typedef
Michael Andres [Tue, 31 Jul 2007 14:27:58 +0000 (14:27 +0000)]
use typedef

16 years ago- fixed typos
Arvin Schnell [Tue, 31 Jul 2007 09:09:54 +0000 (09:09 +0000)]
- fixed typos

16 years agoversion 3.13.2
Stefan Schubert [Tue, 31 Jul 2007 08:42:19 +0000 (08:42 +0000)]
version 3.13.2

16 years agoRemoved keepExtras from resolvePool
Stefan Schubert [Tue, 31 Jul 2007 08:37:02 +0000 (08:37 +0000)]
Removed keepExtras from resolvePool

16 years agologging not needed
Stefan Schubert [Tue, 31 Jul 2007 08:34:52 +0000 (08:34 +0000)]
logging not needed

16 years agochecking if item really exists; #295544
Stefan Schubert [Tue, 31 Jul 2007 08:32:10 +0000 (08:32 +0000)]
checking if item really exists; #295544

16 years agoarch and basearch working
Duncan Mac-Vicar P [Mon, 30 Jul 2007 21:55:39 +0000 (21:55 +0000)]
arch and basearch working

16 years agoMerge branch 'repo-variables' of git://piscola.suse.de/suse/libzypp into repo-variables
Duncan Mac-Vicar P [Mon, 30 Jul 2007 21:55:34 +0000 (21:55 +0000)]
Merge branch 'repo-variables' of git://piscola.suse.de/suse/libzypp into repo-variables

Conflicts:

zypp/RepoInfo.h

16 years ago- simplification
Arvin Schnell [Mon, 30 Jul 2007 15:54:57 +0000 (15:54 +0000)]
- simplification

16 years ago- removed superfluous namespace thingy
Arvin Schnell [Mon, 30 Jul 2007 15:50:17 +0000 (15:50 +0000)]
- removed superfluous namespace thingy

16 years agochanges
Michael Andres [Mon, 30 Jul 2007 15:19:11 +0000 (15:19 +0000)]
changes

16 years ago- Remove tribool from RepoInfo's interface.
Michael Andres [Mon, 30 Jul 2007 15:18:59 +0000 (15:18 +0000)]
- Remove tribool from RepoInfo's interface.

16 years ago- cleanup
Arvin Schnell [Mon, 30 Jul 2007 14:54:11 +0000 (14:54 +0000)]
- cleanup

16 years ago- cleanup
Arvin Schnell [Mon, 30 Jul 2007 14:45:06 +0000 (14:45 +0000)]
- cleanup

16 years agoimproved refreshMetadata() message and doc
Jan Kupec [Mon, 30 Jul 2007 14:04:40 +0000 (14:04 +0000)]
improved refreshMetadata() message and doc

16 years agoback to revision 6233; dependency settings via pool is still needed
Stefan Schubert [Mon, 30 Jul 2007 13:06:33 +0000 (13:06 +0000)]
back to revision 6233; dependency settings via pool is still needed

16 years agochanges
Michael Andres [Mon, 30 Jul 2007 12:58:21 +0000 (12:58 +0000)]
changes

16 years ago- Fixed wrong media number reported by script, message and patch.
Michael Andres [Mon, 30 Jul 2007 12:58:10 +0000 (12:58 +0000)]
- Fixed wrong media number reported by script, message and patch.
- Fixed script API to provide the scripts location on media (if not
  inlined).
- Introduced ScripProvider to make a script available on the local
  disk.

16 years agoNot using pool for retrieving additional dependencies which has to be
Stefan Schubert [Mon, 30 Jul 2007 12:13:55 +0000 (12:13 +0000)]
Not using pool for retrieving additional dependencies which has to be
regarded by the solver.

16 years agoNot using pool for retrieving additional dependencies which has to be
Stefan Schubert [Mon, 30 Jul 2007 12:13:05 +0000 (12:13 +0000)]
Not using pool for retrieving additional dependencies which has to be
regarded by the solver.

16 years agoCleaned my devel-dir
Stefan Haas [Mon, 30 Jul 2007 09:20:34 +0000 (09:20 +0000)]
Cleaned my devel-dir

16 years ago.changes
Jan Kupec [Fri, 27 Jul 2007 16:10:15 +0000 (16:10 +0000)]
.changes

16 years ago- don't request media change if the media is not changeable (like http)
Jan Kupec [Fri, 27 Jul 2007 16:08:18 +0000 (16:08 +0000)]
- don't request media change if the media is not changeable (like http)

16 years ago- isChangeable(MediaAccessId) added
Jan Kupec [Fri, 27 Jul 2007 16:05:00 +0000 (16:05 +0000)]
- isChangeable(MediaAccessId) added

16 years agochanges
Duncan Mac-Vicar P [Fri, 27 Jul 2007 15:43:46 +0000 (15:43 +0000)]
changes

16 years agocompile
Duncan Mac-Vicar P [Fri, 27 Jul 2007 15:35:32 +0000 (15:35 +0000)]
compile

16 years agoprogress ticks for clean cache
Duncan Mac-Vicar P [Fri, 27 Jul 2007 15:35:31 +0000 (15:35 +0000)]
progress ticks for clean cache

16 years ago- invert arguments in sqlite3x setprogresshandler
Duncan Mac-Vicar P [Fri, 27 Jul 2007 15:35:30 +0000 (15:35 +0000)]
- invert arguments in sqlite3x setprogresshandler

- add some docu
- try to make clean cache also tick

16 years agochanges
Michael Andres [Fri, 27 Jul 2007 15:19:22 +0000 (15:19 +0000)]
changes

16 years ago- Fixed package to provide the location media number. (#294496)
Michael Andres [Fri, 27 Jul 2007 15:15:52 +0000 (15:15 +0000)]
- Fixed package to provide the location media number. (#294496)

16 years agocorrected revision
Jan Kupec [Fri, 27 Jul 2007 14:44:49 +0000 (14:44 +0000)]
corrected revision

16 years ago- ignore empty url keys (baseurl, mirrorlist, gpgkey) instead of throwing bad url...
Jan Kupec [Fri, 27 Jul 2007 14:40:22 +0000 (14:40 +0000)]
- ignore empty url keys (baseurl, mirrorlist, gpgkey) instead of throwing bad url exception

16 years agoadd missing include
Michael Andres [Fri, 27 Jul 2007 12:19:27 +0000 (12:19 +0000)]
add missing include

16 years agodocs
Michael Andres [Fri, 27 Jul 2007 12:15:16 +0000 (12:15 +0000)]
docs

16 years agoAdd historyAsString()
Michael Andres [Fri, 27 Jul 2007 12:05:17 +0000 (12:05 +0000)]
Add historyAsString()

16 years ago- Make the callback report finish in the right way
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:43 +0000 (11:30 +0000)]
- Make the callback report finish in the right way

16 years ago- Move the sqlite3x tick logic to sqlite3x iteself, allowing to set a progress data...
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:43 +0000 (11:30 +0000)]
- Move the sqlite3x tick logic to sqlite3x iteself, allowing to set a progress data callback instead of the hack in cached::RepoImpl

16 years agozconfig: default* -> *, they are not default anymore as the user can
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:41 +0000 (11:30 +0000)]
zconfig: default* -> *, they are not default anymore as the user can

set them in the conf file

16 years agoNot needed
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:40 +0000 (11:30 +0000)]
Not needed

16 years ago- re enable reading cache callbacks
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:38 +0000 (11:30 +0000)]
- re enable reading cache callbacks

16 years agochanges
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:37 +0000 (11:30 +0000)]
changes

16 years ago- ini parser without boost::regexp patch by dmueller (#152447)
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:36 +0000 (11:30 +0000)]
- ini parser without boost::regexp patch by dmueller (#152447)

16 years agoups, I deleted the docu here
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:35 +0000 (11:30 +0000)]
ups, I deleted the docu here

16 years ago- /var/lib/zypp/cache -> /var/cache/zypp (#292419)
Duncan Mac-Vicar P [Fri, 27 Jul 2007 11:30:35 +0000 (11:30 +0000)]
- /var/lib/zypp/cache -> /var/cache/zypp (#292419)

16 years agoadd message history to Exception
Michael Andres [Fri, 27 Jul 2007 10:12:30 +0000 (10:12 +0000)]
add message history to Exception

16 years agofix signed/unsigned comparison
Michael Andres [Fri, 27 Jul 2007 10:11:34 +0000 (10:11 +0000)]
fix signed/unsigned comparison

16 years ago- Make clearing of extra dependencies/conflicts configurable when
Klaus Kaempf [Thu, 26 Jul 2007 14:44:52 +0000 (14:44 +0000)]
- Make clearing of extra dependencies/conflicts configurable when
  resolvePool(). Leave the default as before (clear extras).
  Bug # 294727
- revision 6233
- version 3.12.0

16 years agomake the key names same as yum.conf for similar options
Duncan Mac-Vicar P [Thu, 26 Jul 2007 08:15:46 +0000 (08:15 +0000)]
make the key names same as yum.conf for similar options

16 years agochanges
Michael Andres [Wed, 25 Jul 2007 11:47:41 +0000 (11:47 +0000)]
changes

16 years ago- don't hardcode "/var/tmp" as the temporary directory but
Klaus Kaempf [Wed, 25 Jul 2007 09:55:36 +0000 (09:55 +0000)]
- don't hardcode "/var/tmp" as the temporary directory but
  use filesystem::TmpPath::defaultLocation() instead.

- make filesystem::TmpPath::defaultLocation() configurable
  via environment variable.

16 years ago- fixed some typos
Arvin Schnell [Wed, 25 Jul 2007 08:37:04 +0000 (08:37 +0000)]
- fixed some typos

16 years agoFixed bug in smart pointer comparison.
Michael Andres [Tue, 24 Jul 2007 15:51:41 +0000 (15:51 +0000)]
Fixed bug in smart pointer comparison.

16 years agodelete dead code
Duncan Mac-Vicar P [Tue, 24 Jul 2007 15:35:26 +0000 (15:35 +0000)]
delete dead code

16 years ago- output some caps
Arvin Schnell [Tue, 24 Jul 2007 14:19:50 +0000 (14:19 +0000)]
- output some caps

16 years agodont crash
Duncan Mac-Vicar P [Tue, 24 Jul 2007 14:13:55 +0000 (14:13 +0000)]
dont crash

16 years agocompiles but segfaults
Duncan Mac-Vicar P [Tue, 24 Jul 2007 14:13:55 +0000 (14:13 +0000)]
compiles but segfaults

16 years ago- make this function a class so we can convert it into a scoped cache
Duncan Mac-Vicar P [Tue, 24 Jul 2007 14:13:54 +0000 (14:13 +0000)]
- make this function a class so we can convert it into a scoped cache

16 years ago- Add metadata directory to repo info
Duncan Mac-Vicar P [Tue, 24 Jul 2007 14:13:54 +0000 (14:13 +0000)]
- Add metadata directory to repo info

16 years ago- ups, compile
Duncan Mac-Vicar P [Tue, 24 Jul 2007 14:13:53 +0000 (14:13 +0000)]
- ups, compile

16 years ago- ups, compile
Duncan Mac-Vicar P [Tue, 24 Jul 2007 14:13:52 +0000 (14:13 +0000)]
- ups, compile

16 years ago- better error message
Duncan Mac-Vicar P [Tue, 24 Jul 2007 14:13:51 +0000 (14:13 +0000)]
- better error message

16 years agoMerge branch 'media-verif'
Duncan Mac-Vicar P [Tue, 24 Jul 2007 12:44:08 +0000 (12:44 +0000)]
Merge branch 'media-verif'

Conflicts:

zypp/repo/RepoProvideFile.cc

16 years agochanges
Michael Andres [Tue, 24 Jul 2007 12:41:58 +0000 (12:41 +0000)]
changes

16 years agoread config from zypp.conf
Duncan Mac-Vicar P [Tue, 24 Jul 2007 12:35:01 +0000 (12:35 +0000)]
read config from zypp.conf

16 years agocompile
Duncan Mac-Vicar P [Tue, 24 Jul 2007 12:35:01 +0000 (12:35 +0000)]
compile

16 years ago- ups, compile
Duncan Mac-Vicar P [Tue, 24 Jul 2007 12:35:00 +0000 (12:35 +0000)]
- ups, compile

16 years ago- better error message
Duncan Mac-Vicar P [Tue, 24 Jul 2007 12:34:59 +0000 (12:34 +0000)]
- better error message

16 years ago- Create metadata download directories as sibling of the desired
Michael Andres [Mon, 23 Jul 2007 10:58:47 +0000 (10:58 +0000)]
- Create metadata download directories as sibling of the desired
  final location instead of /var/tmp. (prevent failing renames
  across filesystem boundaries).

16 years agoAdded static TmpFile::makeSibling TmpDir makeSibling for creating an temp file/dir as
Michael Andres [Mon, 23 Jul 2007 10:50:08 +0000 (10:50 +0000)]
Added static TmpFile::makeSibling TmpDir makeSibling for creating an temp file/dir as
sibling of a provided path ( var/lib/mydir -> var/lib/mydir.XXXX ). Convenient if the
temp path is intended to be renamed to the original path.

16 years agolog failed actions as warning
Michael Andres [Mon, 23 Jul 2007 10:11:55 +0000 (10:11 +0000)]
log failed actions as warning

16 years agobackup
Michael Andres [Mon, 23 Jul 2007 09:38:39 +0000 (09:38 +0000)]
backup

16 years ago- add default constructor for inidict, allowing to fill it later
Duncan Mac-Vicar P [Mon, 23 Jul 2007 08:56:10 +0000 (08:56 +0000)]
- add default constructor for inidict, allowing to fill it later

16 years ago- Implement hasSection and hasEntry in IniDict
Duncan Mac-Vicar P [Mon, 23 Jul 2007 08:56:09 +0000 (08:56 +0000)]
- Implement hasSection and hasEntry in IniDict
- test cases

16 years agorawCachePath -> metadataPath
Duncan Mac-Vicar P [Mon, 23 Jul 2007 08:56:08 +0000 (08:56 +0000)]
rawCachePath -> metadataPath

16 years ago- assert the destination directory before we use as cache
Duncan Mac-Vicar P [Sat, 21 Jul 2007 06:01:15 +0000 (06:01 +0000)]
- assert the destination directory before we use as cache
  for Fetcher, because it checks its existence when adding it

16 years agoassert cache directory when initializing
Duncan Mac-Vicar P [Fri, 20 Jul 2007 20:21:11 +0000 (20:21 +0000)]
assert cache directory when initializing

16 years agoadd methods to retrieve the status (checksum, date) of
Duncan Mac-Vicar P [Fri, 20 Jul 2007 20:21:08 +0000 (20:21 +0000)]
add methods to retrieve the status (checksum, date) of

metadata and cache

16 years agotypo
Michael Andres [Fri, 20 Jul 2007 14:08:54 +0000 (14:08 +0000)]
typo

16 years agochanges
Michael Andres [Fri, 20 Jul 2007 14:06:59 +0000 (14:06 +0000)]
changes

16 years agobackup
Michael Andres [Fri, 20 Jul 2007 14:01:56 +0000 (14:01 +0000)]
backup

16 years agoclasses from wich will be derived from should have a virtial destructor
Stefan Schubert [Fri, 20 Jul 2007 12:51:17 +0000 (12:51 +0000)]
classes from wich will be derived from should have a virtial destructor

16 years agoMake Repository(Impl_Ptr) public. Yes, it is lowlevel but nevertheless usefull for...
Michael Andres [Fri, 20 Jul 2007 12:35:58 +0000 (12:35 +0000)]
Make Repository(Impl_Ptr) public. Yes, it is lowlevel but nevertheless usefull for testing.

16 years agobase/Gettext.h must not be included by any zypp header, include it
Martin Vidner [Thu, 19 Jul 2007 17:28:16 +0000 (17:28 +0000)]
base/Gettext.h must not be included by any zypp header, include it
in .cc files instead.
Otherwise zypp would export its idea about the _ macro to any
application using zypp, causing conflicts with their own _ and
confusing Bubli.

16 years agobetter docu
Duncan Mac-Vicar P [Thu, 19 Jul 2007 15:43:32 +0000 (15:43 +0000)]
better docu

16 years agoMerge from master
Duncan Mac-Vicar P [Thu, 19 Jul 2007 15:43:31 +0000 (15:43 +0000)]
Merge from master

16 years agoMedia verification: split media download to a separate function
Duncan Mac-Vicar P [Thu, 19 Jul 2007 15:43:31 +0000 (15:43 +0000)]
Media verification: split media download to a separate function

16 years agochanged ZConfig to become a singleton
Michael Andres [Thu, 19 Jul 2007 15:13:51 +0000 (15:13 +0000)]
changed ZConfig to become a singleton

16 years ago- make repo manager use the common downloader interface to set the cache for downloader
Duncan Mac-Vicar P [Thu, 19 Jul 2007 15:07:48 +0000 (15:07 +0000)]
- make repo manager use the common downloader interface to set the cache for downloader

- remove some duplicated code, use the common interface

16 years ago- Pass the media set to the Downloaders instead of having one in the object
Duncan Mac-Vicar P [Thu, 19 Jul 2007 15:07:48 +0000 (15:07 +0000)]
- Pass the media set to the Downloaders instead of having one in the object

- Make Downloaders have a base class repo::Downloader
  this will allow to remove some code in RepoManager and interact
  with the downloader without knowing which type is it
- Make Downloader base class inherit from fetcher, then you can
  set the cache directories to the downloader itself, which
  RepoManager will do

16 years agodocumentation, add constructor from file
Duncan Mac-Vicar P [Thu, 19 Jul 2007 15:07:45 +0000 (15:07 +0000)]
documentation, add constructor from file

16 years agoMerge from master
Duncan Mac-Vicar P [Thu, 19 Jul 2007 15:07:44 +0000 (15:07 +0000)]
Merge from master