| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
- move DoInstallPostFork() out of the header into the .cc file
|
|
|
| |
(thanks to Julien Danjou for the patch)
|
|
|
| |
- move unattended-upgrade before apt-get autoclean
|
| |
|
|
|
|
| |
- fix anohter missing cstring include
|
|
|
|
| |
- ignore EINTR on select()
|
| |
|
|
|
|
|
| |
- comment out dpkg trigger messages, those seem to be not generated by
dpkg over the status fd
|
| |
|
|
|
|
|
| |
- make the fake package architecture all to make the testsuit
work on all arches
|
|
|
|
| |
- add pointer to test-data-repo
|
|
|
|
| |
- increase MaxPipeDepth for the internal worker<->method
communication to 1000 for the debtorrent backend
|
|\ |
|
| |
| |
| |
| | |
- on error in select() continue
|
| |
| |
| |
| |
| | |
- increase default mmap size
* tests/local-repo:
- added local repository testcase
|
| |
| |
| |
| | |
move term_out into DPkgPM class
|
|\| |
|
| |
| |
| |
| | |
- do not fail if openpty() fails
|
| | |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| | |
- init Dir::Log::Terminal
* apt-pkg/deb/dpkgpm.cc:
- only work with term_out if it is not NULL
|
| |
| |
| |
| |
| | |
- commit initial testsuit code to do a blackbox test on the
generated binary to catch common problem before a upload
|
|\ \
| | |
| | |
| | |
| | | |
* merged apt--sha256 branch to fully support the new
sha256 checksums in the Packages and Release files
(ABI break)
|
| | |
| | |
| | |
| | | |
- only verify checksum in pkgAcqFile if we actually have one
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| | |
| | |
| | |
| | | |
- md5sum -> hashsum
|
| | |
| | |
| | |
| | | |
- transfert sha256 sum between libapt and method too
|
| | |
| | |
| | |
| | | |
and fallback
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- updated Dir::Log::Terminal
* apt-pkg/deb/dpkgpm.cc:
- make the terminal log optional
- rename Dir::Log::Name to Dir::Log::Terminal
|
|\| |
| | |
| | |
| | |
| | | |
- merged dpkg-log branch, this lets you specify a
Dir::Log::Terminal file to log dpkg output to
ABI break
|
| |\ \ |
|
| |/ / |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- a bit cleanup
- move the log date to the right place
- write log to dir::log::name
apt-pkg/init.cc:
- init dir::log::name "/var/log/apt/term.log"
debian/apt.dirs:
- create /var/log/apt/
doc/examples/configure-index:
- add new dir::log::name to the index
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- move output processing ProcessDpkgStatusLine() and out of the
Go() method (yeah!) - things start to look more tidy now
|
| |/ /
| | |
| | |
| | |
| | | |
- move make dpkgstatus processing into DoDpkgStatusFd()
and ProcessDpkgStatusLine() [the later is a stub for now]
|
| |\ \
| | | |
| | | |
| | | | |
- merge select() based terminal log
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- run DoStdin(), DoTerminalPty() calls only if their FD is in the
returned set after select()
|
| | | |
| | | |
| | | |
| | | | |
- write current time to log
|
| | | |
| | | |
| | | |
| | | | |
- unbreak progress reporting, make code nicer
|
| | | |
| | | |
| | | |
| | | | |
- move the terminal and stdin reading into its own functions
|
| |/ /
| | |
| | |
| | | |
- use select() to check for new data
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- remove zero size files on I-M-S hit
* methods/https.cc:
- only send LastModified if we actually have one
- send range request with if-range
- delete failed downloads
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- only send i-m-s if last-modified is > 0
- instead of resume send a range: if-range: custom header
- merge 304 detection patch from thom may (thanks!)
* apt-pkg/acquire-item.cc:
- remove empty files on i-m-s hits from partial/
|
| | | | |
|
| | | |
| | | |
| | | | |
- fix fd leak for zero size files
|
| | | |
| | | |
| | | | |
directory downloading on non-linux architectures (closes: #435597)
|