]> git.saurik.com Git - apt.git/log
apt.git
10 years agouse utimes instead of utimensat/futimens
David Kalnischkies [Mon, 10 Feb 2014 20:52:38 +0000 (21:52 +0100)] 
use utimes instead of utimensat/futimens

cppcheck complains about the obsolete utime as it was removed in
POSIX1.2008 and recommends usage of utimensat/futimens instead
as those are in POSIX and so commit 9ce3cfc9 switched to them.
It is just that they aren't as portable as the standard suggests:
At least our kFreeBSD and Hurd ports stumble over it at runtime.
So to make both, the ports and cppcheck happy, we use utimes instead.

Closes: 738567
10 years agouse VersionSet in download to handle repeats
David Kalnischkies [Mon, 10 Feb 2014 17:06:28 +0000 (18:06 +0100)] 
use VersionSet in download to handle repeats

Closes: 738103
10 years agoalways cleanup patchfiles at the end of rred call
David Kalnischkies [Mon, 10 Feb 2014 16:55:13 +0000 (17:55 +0100)] 
always cleanup patchfiles at the end of rred call

With APT::Get::List-Cleanup disabled the ed-style patch files are
lingering in the lists/ directory otherwise. That was kinda okay in the
old none-client-merge as the filename was always the same so it was
constantly overridden, but now with different names for client-merge
quiet a few could pill up on the system and are used by the next call
as it picks them up based on the filename.

10 years agodo not use an empty APT_CONFIG environment variable
David Kalnischkies [Mon, 10 Feb 2014 13:42:56 +0000 (14:42 +0100)] 
do not use an empty APT_CONFIG environment variable

10 years agodisable doxygen undocumented method warning
David Kalnischkies [Thu, 6 Feb 2014 22:32:53 +0000 (23:32 +0100)] 
disable doxygen undocumented method warning

Very few methods we have are documented, so this is A LOT of noise
hidden the "interesting" warnings about methods which are documented,
but incorrectly and such stuff.

Git-Dch: Ignore

10 years agobump Standards-Version to 3.9.5 (no changes needed)
David Kalnischkies [Thu, 6 Feb 2014 21:01:45 +0000 (22:01 +0100)] 
bump Standards-Version to 3.9.5 (no changes needed)

10 years agoupdate libapt-pkg.symbols file
David Kalnischkies [Thu, 6 Feb 2014 20:59:11 +0000 (21:59 +0100)] 
update libapt-pkg.symbols file

10 years agosimplify code to make compilers happy
David Kalnischkies [Thu, 6 Feb 2014 20:46:29 +0000 (21:46 +0100)] 
simplify code to make compilers happy

Does the same as before, but is a bit simpler on the logic for humans as
well as compilers. scan-build complained about it at least with:
"Result of operation is garbage or undefined"

Reported-By: scan-build
10 years agofix remaining testcase-bugs from my armel box
David Kalnischkies [Thu, 6 Feb 2014 19:48:52 +0000 (20:48 +0100)] 
fix remaining testcase-bugs from my armel box

Git-Dch: Ignore

10 years agoreleasing package apt version 0.9.15.1
Michael Vogt [Thu, 6 Feb 2014 17:10:48 +0000 (18:10 +0100)] 
releasing package apt version 0.9.15.1

10 years agomulticompress with externals sets wrong file modes
Colin Watson [Thu, 30 Jan 2014 14:08:08 +0000 (14:08 +0000)] 
multicompress with externals sets wrong file modes

Copy from the bug description:
After we upgraded the Ubuntu master archive from lucid to precise, we
noticed that Translation-en.bz2 was being written with mode 0600 rather
than 0644, which broke our mirroring.  This is no longer reproducible as
such in unstable because apt now links against libbz2, but it's still
reproducible with xz; it happens because multicompress fchmods one end
of the compression pipe in this case rather than the target file.

[Original testcase slightly modified to comply with house-style]

Closes: 737130
10 years agoMerge remote-tracking branch 'mvo/bugfix/multiarch-upgrade' into debian/sid
Michael Vogt [Thu, 6 Feb 2014 06:10:38 +0000 (07:10 +0100)] 
Merge remote-tracking branch 'mvo/bugfix/multiarch-upgrade' into debian/sid

10 years agodiscard impossible candidates in MarkInstall
David Kalnischkies [Wed, 5 Feb 2014 23:13:10 +0000 (00:13 +0100)] 
discard impossible candidates in MarkInstall

If a (Pre-)Depends can't be satisfied there is no point in keeping the
candidate as is as it is impossible to find a solution for it, so we can
just as well reset the candidate to the currently installed version.
We avoid trying to install this impossible candidate later on this way.

Closes: #735967
10 years agomove isatty() check into InitOutput()
Michael Vogt [Wed, 5 Feb 2014 16:35:33 +0000 (17:35 +0100)] 
move isatty() check into InitOutput()

10 years agoFix multiarch package upgrade issue
Michael Vogt [Tue, 4 Feb 2014 09:18:16 +0000 (10:18 +0100)] 
Fix multiarch package upgrade issue

When checking for negative dependencies in MarkInstall() ensure that
only dependencies that are relevant (i.e. getting installed) are
checked.

10 years agoshow "status" in apt list last
Michael Vogt [Fri, 31 Jan 2014 07:57:34 +0000 (08:57 +0100)] 
show "status" in apt list last

10 years agoMerge remote-tracking branch 'donkult/debian/sid' into debian/sid
Michael Vogt [Fri, 31 Jan 2014 07:23:23 +0000 (08:23 +0100)] 
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid

10 years agodo not crash if VF.File()/VF.File().Archive() is NULL
Michael Vogt [Thu, 30 Jan 2014 14:06:26 +0000 (15:06 +0100)] 
do not crash if VF.File()/VF.File().Archive() is NULL

10 years agofix various style/performance warnings in rred
David Kalnischkies [Wed, 29 Jan 2014 23:11:05 +0000 (00:11 +0100)] 
fix various style/performance warnings in rred

Reported-By: cppcheck
Git-Dch: Ignore

10 years agorestart debSrcRecordParsers only if needed
David Kalnischkies [Wed, 29 Jan 2014 22:24:41 +0000 (23:24 +0100)] 
restart debSrcRecordParsers only if needed

The offset variable in DebSrcRecordParser was not initialized which we
now do and based on it do not trigger a restart if the parser was not
used yet avoiding a needless rescan of the section.

Detected while working on the previous commit e62aa1dd. Both commits act
as a "fix" for the bug shown in the testcase of the commit – this one
here would only hide it through.

10 years agopkgTagFile: if we have seen the end, do not try to see more
David Kalnischkies [Wed, 29 Jan 2014 22:02:51 +0000 (23:02 +0100)] 
pkgTagFile: if we have seen the end, do not try to see more

Asking for more via Step() will notice that we are done with the file
already and will result in a fail, which means we can't find the last
sections anymore (which is especially painful if we haven't moved at
all as in the testcase we haven't even looked at one of the sources
leading to a strange behaviour)

Reported-By: Niall Walsh <niallwalsh@users.berlios.de>
10 years agofix apt-get download truncation (closes: #736962)
Michael Vogt [Wed, 29 Jan 2014 09:37:17 +0000 (10:37 +0100)] 
fix apt-get download truncation (closes: #736962)

10 years agoadd test for Suite with path
Michael Vogt [Tue, 28 Jan 2014 16:20:19 +0000 (17:20 +0100)] 
add test for Suite with path

10 years agoenable deb822 sources for associated testcase
David Kalnischkies [Sun, 26 Jan 2014 14:29:10 +0000 (15:29 +0100)] 
enable deb822 sources for associated testcase

Git-Dch: Ignore

10 years agofixup merge issues introduced in 796673c
David Kalnischkies [Sun, 26 Jan 2014 12:06:31 +0000 (13:06 +0100)] 
fixup merge issues introduced in 796673c

Issues in doc/po/de.po (fixed by Chris already) and
test/integration/framework

Git-Dch: Ignore

10 years agoTrivian unfuzzies of the German po4a translation
Chris Leick [Sun, 26 Jan 2014 14:44:45 +0000 (15:44 +0100)] 
Trivian unfuzzies of the German po4a translation

10 years agoMerge remote-tracking branch 'donkult/debian/sid' into debian/sid
Michael Vogt [Sun, 26 Jan 2014 07:15:29 +0000 (08:15 +0100)] 
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid

Conflicts:
apt-private/private-list.cc
doc/po/de.po
test/integration/framework

10 years agoreleasing package apt version 0.9.15 0.9.15
Michael Vogt [Sat, 25 Jan 2014 20:57:26 +0000 (21:57 +0100)] 
releasing package apt version 0.9.15

10 years agoMerge remote-tracking branch 'mvo/debian/sid' into debian/sid
Michael Vogt [Sat, 25 Jan 2014 20:55:11 +0000 (21:55 +0100)] 
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid

10 years agoMerge branch 'debian/experimental-no-abi-break' into debian/sid
Michael Vogt [Sat, 25 Jan 2014 20:54:52 +0000 (21:54 +0100)] 
Merge branch 'debian/experimental-no-abi-break' into debian/sid

10 years agosupport " " in deb822 source options
Michael Vogt [Sat, 25 Jan 2014 13:53:03 +0000 (14:53 +0100)] 
support " " in deb822 source options

10 years agouse svg in doxygen and ensure dot is around for it
David Kalnischkies [Sat, 25 Jan 2014 00:00:23 +0000 (01:00 +0100)] 
use svg in doxygen and ensure dot is around for it

10 years agoreleasing package apt version 0.9.14.3~exp5 0.9.14.3.exp5
Michael Vogt [Fri, 24 Jan 2014 22:21:23 +0000 (23:21 +0100)] 
releasing package apt version 0.9.14.3~exp5

10 years agofix test
Michael Vogt [Fri, 24 Jan 2014 22:29:10 +0000 (23:29 +0100)] 
fix test

10 years agoset APT::Sources::Use-Deb822 to default false for now
Michael Vogt [Fri, 24 Jan 2014 22:17:30 +0000 (23:17 +0100)] 
set APT::Sources::Use-Deb822 to default false for now

10 years agomake update-po
Michael Vogt [Fri, 24 Jan 2014 22:16:27 +0000 (23:16 +0100)] 
make update-po

10 years agoMerge remote-tracking branch 'mvo/feature/apt-show-nice' into debian/experimental...
Michael Vogt [Fri, 24 Jan 2014 22:07:10 +0000 (23:07 +0100)] 
Merge remote-tracking branch 'mvo/feature/apt-show-nice' into debian/experimental-no-abi-break

Conflicts:
apt-private/private-cmndline.cc

10 years agoMerge remote-tracking branch 'mvo/debian/sid' into debian/experimental-no-abi-break
Michael Vogt [Fri, 24 Jan 2014 22:05:25 +0000 (23:05 +0100)] 
Merge remote-tracking branch 'mvo/debian/sid' into debian/experimental-no-abi-break

10 years agoMerge remote-tracking branch 'ajt/better-pdiffs-dk' into debian/sid
Michael Vogt [Fri, 24 Jan 2014 22:00:57 +0000 (23:00 +0100)] 
Merge remote-tracking branch 'ajt/better-pdiffs-dk' into debian/sid

10 years agoapt-mark help shows all commands now
Michael Vogt [Fri, 24 Jan 2014 21:59:36 +0000 (22:59 +0100)] 
apt-mark help shows all commands now

10 years agohide more from apt show
Michael Vogt [Fri, 24 Jan 2014 21:20:28 +0000 (22:20 +0100)] 
hide more from apt show

Hide the Hashes,Filename,Multi-Arch,Architecture by default from
"apt show". The information is still available via apt-cache show.

Also improve the output of the Size-

10 years agoshow APT-Sources in apt show
Michael Vogt [Fri, 24 Jan 2014 20:17:07 +0000 (21:17 +0100)] 
show APT-Sources in apt show

10 years agoShow "Manual-Installed: {yes|no}" in apt show
Michael Vogt [Fri, 24 Jan 2014 20:03:49 +0000 (21:03 +0100)] 
Show "Manual-Installed: {yes|no}" in apt show

10 years agoadd "apt full-upgrade" and tweak "apt upgrade"
Michael Vogt [Fri, 24 Jan 2014 19:33:02 +0000 (20:33 +0100)] 
add "apt full-upgrade" and tweak "apt upgrade"

There is a new "apt full-upgrade" that performs a apt-get dist-upgrade.
"apt dist-upgrade" is still supported as a alias. The "apt upgrade" code
is changed so that it mirrors the behavior of
"apt-get upgrade --with-new-pkgs" and also honors
"apt uprade --no-new-pkgs".

10 years agoupdate german manpage translation
Chris Leick [Fri, 24 Jan 2014 11:37:24 +0000 (12:37 +0100)] 
update german manpage translation

10 years agoinclude "Archive-Origin" in the apt show output
Michael Vogt [Thu, 23 Jan 2014 07:12:02 +0000 (08:12 +0100)] 
include "Archive-Origin" in the apt show output

10 years agoShow only the candidate with "apt show"
Michael Vogt [Thu, 23 Jan 2014 06:52:23 +0000 (07:52 +0100)] 
Show only the candidate with "apt show"

Display only the candidate version with "apt show pkg" but show
a notice that there is more to see.

10 years agoreleasing package apt version 0.9.14.3~exp4
Michael Vogt [Wed, 22 Jan 2014 17:59:14 +0000 (18:59 +0100)] 
releasing package apt version 0.9.14.3~exp4

10 years agoMerge remote-tracking branch 'mvo/debian/sid' into debian/experimental-no-abi-break
Michael Vogt [Wed, 22 Jan 2014 17:49:15 +0000 (18:49 +0100)] 
Merge remote-tracking branch 'mvo/debian/sid' into debian/experimental-no-abi-break

10 years ago"apt show" show user friendly size info
Michael Vogt [Wed, 22 Jan 2014 16:18:26 +0000 (17:18 +0100)] 
"apt show" show user friendly size info

The size/installed-size is displayed via SizeToStr() and Size
is rewriten to "Download-Size" to make clear what size is refered
to here.

10 years agoadd test for apt show
Michael Vogt [Wed, 22 Jan 2014 15:41:00 +0000 (16:41 +0100)] 
add test for apt show

10 years agoadd integration test for apt search
Michael Vogt [Wed, 22 Jan 2014 07:25:02 +0000 (08:25 +0100)] 
add integration test for apt search

10 years agoMerge remote-tracking branch 'upstream/debian/experimental-no-abi-break' into feature...
Michael Vogt [Tue, 21 Jan 2014 06:20:07 +0000 (07:20 +0100)] 
Merge remote-tracking branch 'upstream/debian/experimental-no-abi-break' into feature/source-deb822

Conflicts:
test/integration/test-apt-sources-deb822

10 years agomethods/rred: minor robustness improvements
Anthony Towns [Mon, 20 Jan 2014 19:00:12 +0000 (05:00 +1000)] 
methods/rred: minor robustness improvements

Use retry_fwrite to better handle partial fwrite successes, and to keep
the Hashes in sync with what's actually written.

10 years agoadd support for multipl types in one line
Michael Vogt [Mon, 20 Jan 2014 07:17:43 +0000 (08:17 +0100)] 
add support for multipl types in one line

10 years agoadd support for multiple URIs in deb822 style sources.list
Michael Vogt [Mon, 20 Jan 2014 07:10:50 +0000 (08:10 +0100)] 
add support for multiple URIs in deb822 style sources.list

10 years agoadd support for Enabled: no in deb822 sources.list
Michael Vogt [Mon, 20 Jan 2014 06:59:11 +0000 (07:59 +0100)] 
add support for Enabled: no in deb822 sources.list

10 years agoadd Description tag for deb822 sources
Michael Vogt [Mon, 20 Jan 2014 06:43:17 +0000 (07:43 +0100)] 
add Description tag for deb822 sources

10 years agodo not ignore ioctl(TIOCSCTTY) errors
Michael Vogt [Sat, 18 Jan 2014 22:42:51 +0000 (23:42 +0100)] 
do not ignore ioctl(TIOCSCTTY) errors

Show a proper error message when a ioctl() in dpkgpm.cc fails.
Also simply StartPtyMagic() a bit.

10 years agoreleasing package apt version 0.9.14.3~exp3 0.9.14.3.exp3
Michael Vogt [Sat, 18 Jan 2014 20:12:40 +0000 (21:12 +0100)] 
releasing package apt version 0.9.14.3~exp3

10 years ago* implement deb822 suggestions from donkult (thanks!):
Michael Vogt [Sat, 18 Jan 2014 20:10:58 +0000 (21:10 +0100)] 
* implement deb822 suggestions from donkult (thanks!):
  - rename "Dist" to "Suites"
  - rename "Section" to "Sections"
  - rename "Architectures-Delete" to "Architectures-Remove"
  - rename "Uri" to "URI"
* add "apt list --manual-installed"
* add "apt upgrade --dist"
* add "apt purge"
* flock() the file edited in "apt edit-sources"
* apt-private/private-show.cc:
  - do not show Description-lang: header
* reword apt !isatty() warning
* add missing integration test for "apt list" and fix bugs
  found by it

10 years agoMerge remote-tracking branch 'mvo/feature/source-deb822' into debian/experimental...
Michael Vogt [Sat, 18 Jan 2014 20:05:24 +0000 (21:05 +0100)] 
Merge remote-tracking branch 'mvo/feature/source-deb822' into debian/experimental-no-abi-break

10 years agorename "Suite/Section" to plural
Michael Vogt [Sat, 18 Jan 2014 19:51:03 +0000 (20:51 +0100)] 
rename "Suite/Section" to plural

10 years agoMerge remote-tracking branch 'mvo/feature/source-deb822' into debian/experimental...
Michael Vogt [Sat, 18 Jan 2014 07:52:02 +0000 (08:52 +0100)] 
Merge remote-tracking branch 'mvo/feature/source-deb822' into debian/experimental-no-abi-break

10 years agoMerge remote-tracking branch 'mvo/debian/sid' into debian/experimental-no-abi-break
Michael Vogt [Sat, 18 Jan 2014 07:51:53 +0000 (08:51 +0100)] 
Merge remote-tracking branch 'mvo/debian/sid' into debian/experimental-no-abi-break

10 years agoget color/msglevel handling for tests in line
David Kalnischkies [Fri, 17 Jan 2014 21:43:42 +0000 (22:43 +0100)] 
get color/msglevel handling for tests in line

Without a PTY attached do not use color, but use the same MSGLEVEL with
or without a PTY. The level is better adjust via flags – especially as
it is likely that without a PTY you want fullblown logs instead of
the reduced display you get with -q otherwise.

Git-Dch: Ignore

10 years agoadd purge to the apt cmdline
Michael Vogt [Fri, 17 Jan 2014 20:38:23 +0000 (21:38 +0100)] 
add purge to the apt cmdline

10 years agoimplement suggestion by donkult (thanks!)
Michael Vogt [Fri, 17 Jan 2014 19:41:55 +0000 (20:41 +0100)] 
implement suggestion by donkult (thanks!)

10 years agoensure the right permissions as dpkg-deb ensists
David Kalnischkies [Fri, 17 Jan 2014 18:37:45 +0000 (19:37 +0100)] 
ensure the right permissions as dpkg-deb ensists

otherwise you get with pickier umasks errors like:
dpkg-deb: error: control directory has bad permissions 700 (must be
>=0755 and <=0775)
so we just force a 755 for the control directory and dpkg is happy.

Git-Dch: Ignore

10 years agouse our tmpdir instead of creating tmpfiles
David Kalnischkies [Fri, 17 Jan 2014 16:53:15 +0000 (17:53 +0100)] 
use our tmpdir instead of creating tmpfiles

Maintaining (mainly the deletion of them) is a pain and they litter /tmp
while the testcase is run for no good reason as we could just as well
drop it into our tmpdir we have anyway and let them be deleted with the
rest automatically

Git-Dch: Ignore

10 years agocorrect some quoting offenses
David Kalnischkies [Fri, 17 Jan 2014 16:36:47 +0000 (17:36 +0100)] 
correct some quoting offenses

also avoids redirecting messages from dpkg-deb to /dev/null as it might
fail (as it is quiet picky) and we should know why if it does.

Git-Dch: Ignore

10 years agoadd missing integration test for "apt list"
Michael Vogt [Fri, 17 Jan 2014 07:43:14 +0000 (08:43 +0100)] 
add missing integration test for "apt list"

10 years agoreword !isatty() warning
Michael Vogt [Fri, 17 Jan 2014 06:52:22 +0000 (07:52 +0100)] 
reword !isatty() warning

10 years agoadd apt upgrade --dist
Michael Vogt [Fri, 17 Jan 2014 06:48:43 +0000 (07:48 +0100)] 
add apt upgrade --dist

10 years agoimprove stdout/stderr usage correctness in test framework
David Kalnischkies [Fri, 17 Jan 2014 00:02:47 +0000 (01:02 +0100)] 
improve stdout/stderr usage correctness in test framework

Also adds a friendly note about how many tests were run/passed so that
the end of the testrun isn't all that negative by just showing fails.
(It now tells us that we have 111 tests at the moment!)

Git-Dch: Ignore

10 years agouse our own homedir for gpg in testcases
David Kalnischkies [Thu, 16 Jan 2014 22:51:05 +0000 (23:51 +0100)] 
use our own homedir for gpg in testcases

Git-Dch: Ignore

10 years agouse gpg --homedir instead of explicit file placement
David Kalnischkies [Thu, 16 Jan 2014 22:00:27 +0000 (23:00 +0100)] 
use gpg --homedir instead of explicit file placement

Avoids that gpg gets the idea it could use files from the user which
weren't overridden specifically like secret keyring and trustdb as
before.

10 years agocorrect some style/performance/warnings from cppcheck
David Kalnischkies [Thu, 16 Jan 2014 21:19:49 +0000 (22:19 +0100)] 
correct some style/performance/warnings from cppcheck

The most "visible" change is from utime to utimensat/futimens
as the first one isn't part of POSIX anymore.

Reported-By: cppcheck
Git-Dch: Ignore

10 years agoprepare upload 0.9.14.3.exp2
Michael Vogt [Thu, 16 Jan 2014 20:47:28 +0000 (21:47 +0100)] 
prepare upload

10 years agomerged mvo/feature/deb822
Michael Vogt [Thu, 16 Jan 2014 20:40:58 +0000 (21:40 +0100)] 
merged mvo/feature/deb822

10 years agorework some code to fix some scan-build warnings
David Kalnischkies [Thu, 16 Jan 2014 18:51:23 +0000 (19:51 +0100)] 
rework some code to fix some scan-build warnings

No visible functional changes, just code moved around and additional
checks to eliminate impossible branches

Reported-By: scan-build
Git-Dch: Ignore

10 years agoprepare new upload
Michael Vogt [Thu, 16 Jan 2014 17:55:13 +0000 (18:55 +0100)] 
prepare new upload

10 years agoapt-private/private-show.cc: do not show Description-lang: header, the user probably...
Michael Vogt [Thu, 16 Jan 2014 17:26:07 +0000 (18:26 +0100)] 
apt-private/private-show.cc: do not show Description-lang: header, the user probably knows his language (thanks to Donkult)

10 years agoupdate libapt test
Michael Vogt [Thu, 16 Jan 2014 17:14:14 +0000 (18:14 +0100)] 
update libapt test

10 years agoshow the error message if the webserver start failed
David Kalnischkies [Thu, 16 Jan 2014 16:21:13 +0000 (17:21 +0100)] 
show the error message if the webserver start failed

Can happen e.g. if port 8080 is already used by something else

Git-Dch: Ignore

10 years agosupport multiple "Suite:" entries
Michael Vogt [Thu, 16 Jan 2014 16:13:18 +0000 (17:13 +0100)] 
support multiple "Suite:" entries

10 years agorename URL to Uri in deb822-sources
Michael Vogt [Thu, 16 Jan 2014 16:03:07 +0000 (17:03 +0100)] 
rename URL to Uri in deb822-sources

10 years agorename "distribution" in sources.list to "suite"
Michael Vogt [Thu, 16 Jan 2014 16:00:56 +0000 (17:00 +0100)] 
rename "distribution" in sources.list to "suite"

10 years ago* refactor to have a new virtual ParseStanza
Michael Vogt [Thu, 16 Jan 2014 15:25:33 +0000 (16:25 +0100)] 
* refactor to have a new virtual ParseStanza

Have a similar ParseStanza() to the current ParseLine().
Rename the Architectures options in deb822 to make it more
user friendly

10 years agoadd --manual-installed commandline switch
Michael Vogt [Thu, 16 Jan 2014 15:45:11 +0000 (16:45 +0100)] 
add --manual-installed commandline switch

10 years agoremove "," in components again
Michael Vogt [Thu, 16 Jan 2014 07:03:24 +0000 (08:03 +0100)] 
remove "," in components again

10 years agorework some testcases to not spit out text
David Kalnischkies [Wed, 15 Jan 2014 17:44:47 +0000 (18:44 +0100)] 
rework some testcases to not spit out text

Rework also uncovers two FIXMEs

Git-Dch: Ignore

10 years agointegrate Anthonys rred with POC for client-side merge
David Kalnischkies [Wed, 15 Jan 2014 16:23:05 +0000 (17:23 +0100)] 
integrate Anthonys rred with POC for client-side merge

Providing the benefits of both without the downsides :)
(ABI breaks or external dependencies)

For this Anthonys rred is equipped with:
- magic-filename-pickup of patches rather than explicit messages
- use of FileFd instead of FILE* to get on-the-fly uncompress
  of the gzip compressed pdiff patches

The acquire code in turn stops checking for apt-file's helper
as our own rred is now clever enough for our needs.

10 years agoreimplement rred to allow applying all the diffs in a single pass
Anthony Towns [Wed, 15 Jan 2014 15:33:36 +0000 (16:33 +0100)] 
reimplement rred to allow applying all the diffs in a single pass

Based on the idea presented in:
https://lists.debian.org/deity/2009/08/msg00169.html  and
https://lists.debian.org/debian-devel/2014/01/msg00081.html

It reads all patches one by one and merges them in-memory before
applying the merged changes to the index.

Beware: This commit by David Kalnischkies rips out the rred binary
rewrite unchanged (expect minor format issue corrections) from the
proposed changes, so this commit alone BREAKS pdiff completely.
The integration into the acquire system as it was prepared in the
previous POC will be done in the next commit to have proper 'blame'.

10 years agoactually register the tempfile removal atexit
David Kalnischkies [Wed, 15 Jan 2014 15:14:23 +0000 (16:14 +0100)] 
actually register the tempfile removal atexit

Git-Dch: Ignore

10 years agoreenable unlimited pdiff files download
David Kalnischkies [Fri, 27 Dec 2013 13:52:15 +0000 (14:52 +0100)] 
reenable unlimited pdiff files download

In 51fc6def77edfb1f429a48e5169519e9e05a759b we limited the amount of
pdiff to be downloaded per index to 20. This was a compromise between
not letting it go overboard (becoming even slower) and not using
bandwidth needlessly. Now that with the POC the speed reason is gone it
makes sense again to download as much files as we possible can via pdiff
to save bandwidth (and possibly even time).

It also avoids problems with the limit in cases we were we deal with a
server merged archieve as this limit assumes a strict patch progression.

10 years agocorrect IndexDiff vs DiffIndex in Debug output
Anthony Towns [Wed, 15 Jan 2014 14:55:26 +0000 (15:55 +0100)] 
correct IndexDiff vs DiffIndex in Debug output

10 years agotest apt-get source release selection with suite and codename
David Kalnischkies [Wed, 11 Dec 2013 12:39:51 +0000 (13:39 +0100)] 
test apt-get source release selection with suite and codename

Git-Dch: Ignore

10 years agotests: default to 'sid' codename for 'unstable'
David Kalnischkies [Tue, 10 Dec 2013 17:23:47 +0000 (18:23 +0100)] 
tests: default to 'sid' codename for 'unstable'

Git-Dch: Ignore

10 years agouse C.UTF-8 in testcases as locale
David Kalnischkies [Tue, 10 Dec 2013 14:37:02 +0000 (15:37 +0100)] 
use C.UTF-8 in testcases as locale

Git-Dch: Ignore