platform/upstream/libzypp.git
15 years agorename enum to something more readable
Duncan Mac-Vicar P [Mon, 16 Feb 2009 14:37:41 +0000 (15:37 +0100)]
rename enum to something more readable

15 years agoRefactor all error handling workflow into a unique function powered
Duncan Mac-Vicar P [Sun, 15 Feb 2009 20:03:40 +0000 (21:03 +0100)]
Refactor all error handling workflow into a unique function powered
by functor references (used to rescue results).

15 years agoMerge branch 'master' into dmacvicar_aria
Duncan Mac-Vicar P [Fri, 13 Feb 2009 14:12:51 +0000 (15:12 +0100)]
Merge branch 'master' into dmacvicar_aria

15 years agoBig refactoring of MediaSetAccess
Duncan Mac-Vicar P [Fri, 13 Feb 2009 14:07:34 +0000 (15:07 +0100)]
Big refactoring of MediaSetAccess

- deprecate MediaSetAccess::provdeOptionalFile
- remove the mess of boolean cached, checkonly and stuff.
- For non-interactive (except for media change) there is a flag
  NON_INTERACTIVE which is accepted by provide*
- Downloaders don't need doesFileExist anymore.
- Exceptions are thrown. If you need ignore functionality, Fetcher
  has it, using OnMediaLocation::optional()
- refactor MediaSetAccess provideFile, provideDir in one common function
  removing tons of duplicated code

Pending/Next: refactor doesFileExist somehow (may be templating)
Fix doesFileExist in aria (may be with a curl external cmd line
implementation) using the following command line options

curl -I
-A agent
--basic
--digest
--connect-timeout
--cookie-jar
--anyauth
header -H "Host:"
--location
--no-keepalive ?
--proxy-basic / digest /negotiate
--proxytunnerl
-r 0-1
--user <user:password>
--proxy-user user:pass
--proxy <proxyhost[:port]>

15 years agoclean outdated files
Michael Andres [Thu, 12 Feb 2009 17:22:32 +0000 (18:22 +0100)]
clean outdated files

15 years agoFollow IEC and use the binary prefixes (KiB,MiB,GiB) for printing Byte
Michael Andres [Wed, 11 Feb 2009 12:50:33 +0000 (13:50 +0100)]
Follow IEC and use the binary prefixes (KiB,MiB,GiB) for printing Byte
counts based on a power of 1024 (formerly just K,M,G).

15 years agochanges
Michael Andres [Mon, 9 Feb 2009 12:15:16 +0000 (13:15 +0100)]
changes

15 years agoFix installation prompting for the wrong CD/DVD. (bnc #472892)
Michael Andres [Mon, 9 Feb 2009 12:10:50 +0000 (13:10 +0100)]
Fix installation prompting for the wrong CD/DVD. (bnc #472892)

15 years agoFix ProductFile parser to use parseDefAssign end_element callbacks.
Michael Andres [Fri, 6 Feb 2009 12:25:24 +0000 (13:25 +0100)]
Fix ProductFile parser to use parseDefAssign end_element callbacks.

15 years agoAdd xml::rnParse, a simple and lightweight xml::Reader interface.
Michael Andres [Thu, 5 Feb 2009 18:32:14 +0000 (19:32 +0100)]
Add xml::rnParse, a simple and lightweight xml::Reader interface.

15 years agoEnhance xml::parseDefAssign to support Node attribute consumption and pre/post-proces...
Michael Andres [Thu, 5 Feb 2009 18:29:16 +0000 (19:29 +0100)]
Enhance xml::parseDefAssign to support Node attribute consumption and pre/post-processing.

15 years agoconvenience added
Michael Andres [Fri, 6 Feb 2009 10:57:12 +0000 (11:57 +0100)]
convenience added

15 years agoFix wrong callback redirection
Michael Andres [Fri, 6 Feb 2009 10:57:51 +0000 (11:57 +0100)]
Fix wrong callback redirection

15 years agoProtect Edition against construction with NULL pointer.
Michael Andres [Thu, 5 Feb 2009 23:20:23 +0000 (00:20 +0100)]
Protect Edition against construction with NULL pointer.

15 years agoadd url() to webserver so we can detect hostname and jump over the ipv6
Duncan Mac-Vicar P [Thu, 5 Feb 2009 17:45:10 +0000 (18:45 +0100)]
add url() to webserver so we can detect hostname and jump over the ipv6
breakage when using localhost

15 years agouse which instead of whereis, at least gives a error code back
Duncan Mac-Vicar P [Thu, 5 Feb 2009 17:05:38 +0000 (18:05 +0100)]
use which instead of whereis, at least gives a error code back

15 years agoRequire aria now that it is default
Duncan Mac-Vicar P [Thu, 5 Feb 2009 15:50:32 +0000 (16:50 +0100)]
Require aria now that it is default

15 years agoForgot to include mongoose (new shttpd name)
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:59:29 +0000 (15:59 +0100)]
Forgot to include mongoose (new shttpd name)

15 years agoMerge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:50:25 +0000 (15:50 +0100)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp

15 years agofinally testcases pass.
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:49:25 +0000 (15:49 +0100)]
finally testcases pass.

add ruby to build requires, as we are using webrick for webserver
testcases for now

15 years agoadd support for webrick to WebServer.
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:00:30 +0000 (15:00 +0100)]
add support for webrick to WebServer.

Make aria the default

15 years agoLet xml::ParseDef skip initial comments.
Michael Andres [Wed, 4 Feb 2009 16:11:51 +0000 (17:11 +0100)]
Let xml::ParseDef skip initial comments.

15 years agochanges
Michael Andres [Tue, 3 Feb 2009 17:08:31 +0000 (18:08 +0100)]
changes

15 years agoSend any output from rpm install/delete scripts via callback,
Michael Andres [Tue, 3 Feb 2009 16:09:48 +0000 (17:09 +0100)]
Send any output from rpm install/delete scripts via callback,
so applications are able to display it. (bnc #369450)

15 years agochanges
Michael Andres [Mon, 2 Feb 2009 13:12:52 +0000 (14:12 +0100)]
changes

15 years agoAdd missing translations (bnc #256289)
Michael Andres [Mon, 2 Feb 2009 13:07:05 +0000 (14:07 +0100)]
Add missing translations (bnc #256289)

15 years agoadded SOLVER_SOLUTION_INFARCH and SOLVER_SOLUTION_DISTUPGRADE to the solutions; fixed...
Stefan Schubert [Mon, 2 Feb 2009 10:35:56 +0000 (11:35 +0100)]
added SOLVER_SOLUTION_INFARCH and SOLVER_SOLUTION_DISTUPGRADE to the solutions; fixed error messages Bug 443229

15 years agochanges
Ján Kupec [Wed, 28 Jan 2009 13:38:22 +0000 (14:38 +0100)]
changes

15 years agobackup
Ján Kupec [Wed, 28 Jan 2009 13:36:39 +0000 (14:36 +0100)]
backup

15 years agoHistoryLogReader::readFrom() and readFromTo() added.
Ján Kupec [Wed, 28 Jan 2009 13:35:53 +0000 (14:35 +0100)]
HistoryLogReader::readFrom() and readFromTo() added.

15 years agochanges
Michael Andres [Tue, 27 Jan 2009 12:36:33 +0000 (13:36 +0100)]
changes

15 years agoRespect content-file DATDIR when downloading packages. (bnc #468612)
Michael Andres [Tue, 27 Jan 2009 12:21:41 +0000 (13:21 +0100)]
Respect content-file DATDIR when downloading packages. (bnc #468612)

15 years agochanges
Ján Kupec [Tue, 27 Jan 2009 12:33:44 +0000 (13:33 +0100)]
changes

15 years agoEnabled CredentialManager for MediaSMB (bnc #460970).
Ján Kupec [Tue, 27 Jan 2009 12:11:43 +0000 (13:11 +0100)]
Enabled CredentialManager for MediaSMB (bnc #460970).

15 years agoIgnore URL's username, password, and query string in AuthData comparator.
Ján Kupec [Tue, 27 Jan 2009 11:43:23 +0000 (12:43 +0100)]
Ignore URL's username, password, and query string in AuthData comparator.

15 years agoMerge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/libzypp
Ján Kupec [Mon, 26 Jan 2009 12:57:02 +0000 (13:57 +0100)]
Merge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/libzypp

15 years agoHistoryLog reader:
Ján Kupec [Mon, 26 Jan 2009 12:28:49 +0000 (13:28 +0100)]
HistoryLog reader:

- dumpTo() and operator<< for HistoryItem*
- hid implementation
- allow to ignore invalid log entries with setIngoreInvalidItems(true)

15 years agochanges
Michael Andres [Mon, 26 Jan 2009 11:42:00 +0000 (12:42 +0100)]
changes

15 years agoLet vendor checks per default differ between 'openSUSE Build Service' and 'openSUSE...
Michael Andres [Mon, 26 Jan 2009 11:17:45 +0000 (12:17 +0100)]
Let vendor checks per default differ between 'openSUSE Build Service' and 'openSUSE' (bnc #467262).

15 years agobackup
Ján Kupec [Mon, 26 Jan 2009 09:33:06 +0000 (10:33 +0100)]
backup

15 years agoMissing newline at the end of some log entries.
Ján Kupec [Mon, 26 Jan 2009 07:27:08 +0000 (08:27 +0100)]
Missing newline at the end of some log entries.

15 years agoHistoryLogReader added
Ján Kupec [Sun, 25 Jan 2009 17:50:28 +0000 (18:50 +0100)]
HistoryLogReader added

15 years agofixed uninitialized variables
Ján Kupec [Sun, 25 Jan 2009 16:08:41 +0000 (17:08 +0100)]
fixed uninitialized variables

15 years agochanges
Michael Andres [Fri, 23 Jan 2009 11:35:52 +0000 (12:35 +0100)]
changes

15 years agoFix handling of plaindir repos on mounted devices (e.g. USB) (bnc #464778)
Michael Andres [Fri, 23 Jan 2009 11:16:57 +0000 (12:16 +0100)]
Fix handling of plaindir repos on mounted devices (e.g. USB) (bnc #464778)

15 years agoFix plaindir checksum computation not to to follow symlinks (bnc #464778)
Michael Andres [Thu, 22 Jan 2009 14:29:48 +0000 (15:29 +0100)]
Fix plaindir checksum computation not to to follow symlinks (bnc #464778)

15 years agoDate test added.
Ján Kupec [Thu, 22 Jan 2009 17:50:29 +0000 (18:50 +0100)]
Date test added.

15 years agoAdjust locale in Date(str, format) c-tor, like in Date::format().
Ján Kupec [Thu, 22 Jan 2009 17:48:51 +0000 (18:48 +0100)]
Adjust locale in Date(str, format) c-tor, like in Date::format().

15 years agoDate(str,format) added.
Ján Kupec [Thu, 22 Jan 2009 17:10:59 +0000 (18:10 +0100)]
Date(str,format) added.

15 years agoindent
Ján Kupec [Thu, 22 Jan 2009 15:30:30 +0000 (16:30 +0100)]
indent

15 years agoMerge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/libzypp
Ján Kupec [Thu, 22 Jan 2009 15:28:39 +0000 (16:28 +0100)]
Merge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/libzypp

15 years agostr::splitFieldsEscaped() added
Ján Kupec [Thu, 22 Jan 2009 15:24:28 +0000 (16:24 +0100)]
str::splitFieldsEscaped() added

str::splitFieldsEscaped() added and str::splitEscaped() extened
by an optional bool parameter 'withEmpty', to include empty fields
in the result.

15 years agochanges
Michael Andres [Thu, 22 Jan 2009 09:43:24 +0000 (10:43 +0100)]
changes

15 years agoTell satsolver about product buddies (bnc #466565)
Michael Andres [Thu, 22 Jan 2009 08:46:18 +0000 (09:46 +0100)]
Tell satsolver about product buddies (bnc #466565)

15 years agoAdapt to git hosting
Michael Andres [Wed, 21 Jan 2009 15:32:35 +0000 (16:32 +0100)]
Adapt to git hosting

15 years agofixed mem leak
Ján Kupec [Mon, 19 Jan 2009 10:40:45 +0000 (11:40 +0100)]
fixed mem leak

15 years agoadd testcase for ipv6 addresses
Duncan Mac-Vicar P [Fri, 16 Jan 2009 15:18:38 +0000 (16:18 +0100)]
add testcase for ipv6 addresses

15 years agochanges
Ján Kupec [Fri, 16 Jan 2009 10:45:43 +0000 (11:45 +0100)]
changes

15 years ago- handle HTTP 503 reponses as temporary errors
Ján Kupec [Wed, 7 Jan 2009 12:01:31 +0000 (13:01 +0100)]
- handle HTTP 503 reponses as temporary errors

15 years ago- Fixed lost user request to abort during commit. BASE-SuSE-Code-11-Branch
Michael Andres [Thu, 18 Dec 2008 21:32:18 +0000 (21:32 +0000)]
- Fixed lost user request to abort during commit.

15 years agobackup
Michael Andres [Thu, 18 Dec 2008 21:04:34 +0000 (21:04 +0000)]
backup

15 years agotypo
Michael Andres [Thu, 18 Dec 2008 12:12:40 +0000 (12:12 +0000)]
typo

15 years ago- Add Package::filelist, faster and less memory consuming
Michael Andres [Thu, 18 Dec 2008 12:05:46 +0000 (12:05 +0000)]
- Add Package::filelist, faster and less memory consuming
  implementation of Package::filenames (now deprecated).

15 years ago- Compile with -fPIC
Michael Andres [Wed, 17 Dec 2008 13:07:21 +0000 (13:07 +0000)]
- Compile with -fPIC

15 years ago- Add Exception::asUserHistory: Returns a single (multiline) string composed
Michael Andres [Fri, 12 Dec 2008 12:17:46 +0000 (12:17 +0000)]
- Add Exception::asUserHistory: Returns a single (multiline) string composed
  of asUserString  and  historyAsString. And use it in reports.

15 years ago- Add str::hexencode and str::hexdecode to encode special characters
Michael Andres [Thu, 11 Dec 2008 20:44:47 +0000 (20:44 +0000)]
- Add str::hexencode and str::hexdecode to encode special characters
  in a string as %XX.
- Hexdecode modalias strings in rpm dependencies because rpm does not
  allow comma, blank and other special chars. (bnc #456695)

15 years ago- Catch and report media errors when proving packages. (bnc #457652)
Michael Andres [Thu, 11 Dec 2008 16:16:23 +0000 (16:16 +0000)]
- Catch and report media errors when proving packages. (bnc #457652)

15 years agochanges
Michael Andres [Wed, 10 Dec 2008 15:10:51 +0000 (15:10 +0000)]
changes

15 years agoMonitor /etc/products.d to determine if @system.solv needs to be rebuilt. (bnc #457933)
Michael Andres [Wed, 10 Dec 2008 15:08:47 +0000 (15:08 +0000)]
Monitor /etc/products.d to determine if @system.solv needs to be rebuilt. (bnc #457933)

15 years agoRemove obsolete zypp.conf::productsdir and deprecate ZConfig::productsPath()
Michael Andres [Wed, 10 Dec 2008 15:08:27 +0000 (15:08 +0000)]
Remove obsolete zypp.conf::productsdir and deprecate ZConfig::productsPath()

15 years agobackup
Michael Andres [Wed, 10 Dec 2008 15:00:54 +0000 (15:00 +0000)]
backup

15 years ago- slovak translation
Jan Kupec [Tue, 9 Dec 2008 10:24:22 +0000 (10:24 +0000)]
- slovak translation

15 years ago- Execute patch scripts chroot to the installed system. (bnc #456795)
Michael Andres [Mon, 8 Dec 2008 14:34:41 +0000 (14:34 +0000)]
- Execute patch scripts chroot to the installed system. (bnc #456795)

15 years agoMake solver reset public
Stefan Schubert [Mon, 8 Dec 2008 09:41:52 +0000 (09:41 +0000)]
Make solver reset public

15 years agoMake solver reset public
Stefan Schubert [Mon, 8 Dec 2008 09:40:52 +0000 (09:40 +0000)]
Make solver reset public

15 years agotranslation updated
Stefan Schubert [Mon, 8 Dec 2008 08:40:59 +0000 (08:40 +0000)]
translation updated

15 years agonot my fault
Stephan Kulow [Sun, 7 Dec 2008 19:21:57 +0000 (19:21 +0000)]
not my fault

15 years ago- Fix solvers inappropriate selection as byUSER (bnc 455965)
Michael Andres [Fri, 5 Dec 2008 13:28:47 +0000 (13:28 +0000)]
- Fix solvers inappropriate selection as byUSER (bnc 455965)

15 years agocomment added
Michael Andres [Fri, 5 Dec 2008 10:35:53 +0000 (10:35 +0000)]
comment added

15 years agolater products might finally install without warning
Stephan Kulow [Thu, 4 Dec 2008 10:11:05 +0000 (10:11 +0000)]
later products might finally install without warning

15 years ago- Fix install order computation losing some installed packages
Michael Andres [Mon, 1 Dec 2008 18:42:47 +0000 (18:42 +0000)]
- Fix install order computation losing some installed packages
  pre-requirements. (bnc #439802)

15 years ago- Prune soft locks to prevent installation but not update of
Michael Andres [Fri, 28 Nov 2008 15:36:47 +0000 (15:36 +0000)]
- Prune soft locks to prevent installation but not update of
  already installed packages.

15 years agobackup
Michael Andres [Fri, 28 Nov 2008 15:36:12 +0000 (15:36 +0000)]
backup

15 years agoupdate translations
Stefan Schubert [Fri, 28 Nov 2008 13:07:33 +0000 (13:07 +0000)]
update translations

15 years ago- docs
Jan Kupec [Fri, 28 Nov 2008 12:33:47 +0000 (12:33 +0000)]
- docs
- removed unused code

15 years agor 11825
Stefan Schubert [Fri, 28 Nov 2008 10:37:15 +0000 (10:37 +0000)]
r 11825

15 years agoTaking solutions which based on user requirements/conflict as sulution
Stefan Schubert [Fri, 28 Nov 2008 10:35:46 +0000 (10:35 +0000)]
Taking solutions which based on user requirements/conflict as sulution
"by User" Bug 442718

15 years agochanges
Michael Andres [Fri, 28 Nov 2008 09:20:20 +0000 (09:20 +0000)]
changes

15 years ago- Take into account the requirements of all obsoleted packages uninstall
Michael Andres [Thu, 27 Nov 2008 23:10:35 +0000 (23:10 +0000)]
- Take into account the requirements of all obsoleted packages uninstall
  scripts when computing the installation order. (bnc #439802)

15 years agobump
Duncan Mac-Vicar P [Thu, 27 Nov 2008 14:26:28 +0000 (14:26 +0000)]
bump

15 years agochanges and release
Duncan Mac-Vicar P [Thu, 27 Nov 2008 14:26:27 +0000 (14:26 +0000)]
changes and release

15 years agoappend changes
Duncan Mac-Vicar P [Thu, 27 Nov 2008 14:12:53 +0000 (14:12 +0000)]
append changes

15 years ago- don't force time based uuid for anonymous id string (bnc #449654)
Duncan Mac-Vicar P [Thu, 27 Nov 2008 14:12:52 +0000 (14:12 +0000)]
- don't force time based uuid for anonymous id string (bnc #449654)

15 years agochanges
Duncan Mac-Vicar P [Thu, 27 Nov 2008 13:45:39 +0000 (13:45 +0000)]
changes

15 years ago- fix maybeUnsuported() method returning wrong result
Duncan Mac-Vicar P [Thu, 27 Nov 2008 13:45:37 +0000 (13:45 +0000)]
- fix maybeUnsuported() method returning wrong result
- add testcase for future coverage

15 years agofix debug output
Michael Andres [Thu, 27 Nov 2008 13:42:09 +0000 (13:42 +0000)]
fix debug output

15 years agobackup
Michael Andres [Wed, 26 Nov 2008 17:32:05 +0000 (17:32 +0000)]
backup

15 years agobackup
Michael Andres [Wed, 26 Nov 2008 16:50:30 +0000 (16:50 +0000)]
backup

15 years agostupid repo2solv arg detection
Michael Andres [Wed, 26 Nov 2008 16:50:04 +0000 (16:50 +0000)]
stupid repo2solv arg detection

15 years agoupdate buildrequires
Michael Andres [Wed, 26 Nov 2008 16:36:47 +0000 (16:36 +0000)]
update buildrequires