summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.cc
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/acquire-worker.cc:Michael Vogt2007-08-081-1/+3
| | | | | | - only pass a hash if we actually got one from the method * methods/copy.cc: - take hashes here too (*sigh*)
* * apt-pkg/acquire-item.{cc,h}:Michael Vogt2007-07-301-1/+16
| | | | | | | | | | | | | | | | | | | | | | | - rename "hash" into ExpectedHash in pkgAcqFile, pkgAcqIndex - add missing HashSum() call to class pkgAcqIndex - use the data provided by acquire-method (and send via the {SHA256,SHA1,MD5Sum}-Hash tag when comparing the hash, this avoids calculating the hash twice (just like old libapt) * apt-pkg/acquire-method.cc: - send MD5Sum-Hash tag to libapt to be consistant with HashString::SupportedHashes() * apt-pkg/acquire-worker.cc: - check with "Owner->HashSum().HashType()" what hash the frontend is expecting and pass it to pkgAcquireItem::Done() in the new HashString format - add some debugging output * apt-pkg/contrib/hashes.cc: - fix off-by-one error when constructing a HashString from a single input string * apt-pkg/contrib/hashes.h: - add "HashType()" method * apt-pkg/init.h, apt-pkg/makefile, methods/makefile: - break ABI
* * merged the remaining bits from the apt--no-pragma branchMichael Vogt2007-06-091-3/+0
|\
| * * remove all the remaining #pragma implementationMichael Vogt2007-06-081-3/+0
| |
* | * more work for the DefaultAptSources specMichael Vogt2006-02-211-0/+7
|/ | | | | | | | | | | | | | apt-pkg/acquire-item.h: - add new pkgAcquire::Item::StatTransientNetworkError status apt-pkg/acquire-item.cc: - if we get a StatTransientNetworkError use old sigfile and indexfiles apt-pkg/acquire-worker.cc: - set StatTransientNetworkError on "Timeout", "TmpResolveFailure", "ConnectionRefused" cmdline/apt-get.cc: - handle a StatTransientNetworkError different than a normal error (warning instead of error)
* * include a human readable string for the MediaChange status-fd message as wellMichael Vogt2005-08-311-2/+7
|
* * meda-change message is send over status-fd nowMichael Vogt2005-08-311-0/+14
|
* G++3 fixes from RandolphArch Librarian2004-09-201-3/+7
| | | | | | Author: jgg Date: 2001-05-22 04:42:54 GMT G++3 fixes from Randolph
* More snprintf stuffArch Librarian2004-09-201-5/+3
| | | | | | Author: jgg Date: 2001-03-23 01:47:14 GMT More snprintf stuff
* Join with aliencodeArch Librarian2004-09-201-7/+9
| | | | | | Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
* Typo in Algorithms.cc. Closes: #63577Arch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 2000-05-10 05:56:23 GMT Typo in Algorithms.cc. Closes: #63577
* Bug fixes, new major versionArch Librarian2004-09-201-2/+15
| | | | | | Author: jgg Date: 2000-01-27 04:15:09 GMT Bug fixes, new major version
* More CD fixesArch Librarian2004-09-201-6/+10
| | | | | | Author: jgg Date: 2000-01-17 07:11:49 GMT More CD fixes
* CDROMs are unmountedArch Librarian2004-09-201-2/+6
| | | | | | Author: jgg Date: 1999-10-18 00:37:35 GMT CDROMs are unmounted
* Fixed sign conversionArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1999-08-28 01:49:07 GMT Fixed sign conversion
* Random fixes..Arch Librarian2004-09-201-4/+3
| | | | | | Author: jgg Date: 1999-08-03 05:19:41 GMT Random fixes..
* Small segv bug fixArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1999-08-03 02:25:38 GMT Small segv bug fix
* Fixed up dpkginit and acquire stuff..Arch Librarian2004-09-201-5/+19
| | | | | | Author: jgg Date: 1999-07-30 05:36:52 GMT Fixed up dpkginit and acquire stuff..
* Minor cleanups, fix for checksum lowercase bugArch Librarian2004-09-201-6/+3
| | | | | | Author: jgg Date: 1999-07-26 17:46:07 GMT Minor cleanups, fix for checksum lowercase bug
* Fixed the cps resume problemArch Librarian2004-09-201-2/+3
| | | | | | Author: jgg Date: 1999-05-23 06:47:43 GMT Fixed the cps resume problem
* Working apt-get source build stuffArch Librarian2004-09-201-18/+2
| | | | | | Author: jgg Date: 1999-04-20 05:02:09 GMT Working apt-get source build stuff
* Signal safetyArch Librarian2004-09-201-2/+21
| | | | | | Author: jgg Date: 1999-03-16 00:43:55 GMT Signal safety
* Retry supportArch Librarian2004-09-201-4/+4
| | | | | | Author: jgg Date: 1999-01-30 08:08:54 GMT Retry support
* Moved strutl.hArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1999-01-27 02:48:52 GMT Moved strutl.h
* Hide hit for local urisArch Librarian2004-09-201-2/+7
| | | | | | Author: jgg Date: 1999-01-20 05:11:25 GMT Hide hit for local uris
* Havocs _exitArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1998-12-14 06:54:41 GMT Havocs _exit
* Fixed cdrom method problemsArch Librarian2004-09-201-2/+3
| | | | | | Author: jgg Date: 1998-12-05 01:45:19 GMT Fixed cdrom method problems
* CDROM supportArch Librarian2004-09-201-3/+34
| | | | | | Author: jgg Date: 1998-12-04 21:16:46 GMT CDROM support
* Minor Acquire cleanupArch Librarian2004-09-201-3/+2
| | | | | | Author: jgg Date: 1998-11-29 01:24:14 GMT Minor Acquire cleanup
* Local file fixesArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1998-11-14 01:39:41 GMT Local file fixes
* More or less working acquire systemArch Librarian2004-09-201-2/+53
| | | | | | Author: jgg Date: 1998-11-09 01:09:19 GMT More or less working acquire system
* Working acquire codeArch Librarian2004-09-201-4/+6
| | | | | | Author: jgg Date: 1998-11-05 07:21:35 GMT Working acquire code
* New http methodArch Librarian2004-09-201-3/+3
| | | | | | Author: jgg Date: 1998-11-01 05:27:29 GMT New http method
* SyncArch Librarian2004-09-201-36/+4
| | | | | | Author: jgg Date: 1998-10-30 07:53:30 GMT Sync
* Stable acquire codeArch Librarian2004-09-201-5/+38
| | | | | | Author: jgg Date: 1998-10-26 07:11:43 GMT Stable acquire code
* SyncArch Librarian2004-09-201-4/+41
| | | | | | Author: jgg Date: 1998-10-24 04:57:55 GMT Sync
* SyncArch Librarian2004-09-201-2/+1
| | | | | | Author: jgg Date: 1998-10-23 00:49:58 GMT Sync
* SyncArch Librarian2004-09-201-64/+183
| | | | | | Author: jgg Date: 1998-10-22 04:56:38 GMT Sync
* Upgraded to eg++ 1.1 and libstdc++2.9Arch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1998-10-20 04:33:11 GMT Upgraded to eg++ 1.1 and libstdc++2.9
* Start on acquire stuffArch Librarian2004-09-201-2/+249
| | | | | | Author: jgg Date: 1998-10-20 02:39:12 GMT Start on acquire stuff
* Devel acquire moduleArch Librarian2004-09-201-0/+15
Author: jgg Date: 1998-10-15 06:59:59 GMT Devel acquire module