summaryrefslogtreecommitdiff
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
* provide a public interface for acquiring changelogsDavid Kalnischkies2015-06-151-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provided is a specialized acquire item which given a version can figure out the correct URI to try by itself and if not provides an error message alongside with static methods to get just the URI it would try to download if it should just be displayed or similar such. The URI is constructed as follows: Release files can provide an URI template in the "Changelogs" field, otherwise we lookup a configuration item based on the "Label" or "Origin" of the Release file to get a (hopefully known) default value for now. This template should contain the string CHANGEPATH which is replaced with the information about the version we want the changelog for (e.g. main/a/apt/apt_1.1). This middleway was choosen as this path part was consistent over the three known implementations (+1 defunct), while the rest of the URI varies widely between them. The benefit of this construct is that it is now easy to get changelogs for Debian packages on Ubuntu and vice versa – even at the moment where the Changelogs field is present nowhere. Strictly better than what apt-get had before as it would even fail to get changelogs from security… Now it will notice that security identifies as Origin: Debian and pick this setting (assuming again that no Changelogs field exists). If on the other hand security would ship its changelogs in a different location we could set it via the Label option overruling Origin. Closes: 687147, 739854, 784027, 787190
* Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-11-051-2/+2
|\ | | | | | | | | Conflicts: debian/changelog
| * doc/examples/configure-index: make "Dpkg::Max{Arg,ArgBytes} match realityMichael Vogt2014-10-221-2/+2
| | | | | | | | Git-Dch: ignore
* | Use Acquire::Allow{InsecureRepositories,DowngradeToInsecureRepositories}Michael Vogt2014-10-011-1/+1
|/ | | | | | | | | | | The configuration key Acquire::AllowInsecureRepositories controls if apt allows loading of unsigned repositories at all. The configuration Acquire::AllowDowngradeToInsecureRepositories controls if a signed repository can ever become unsigned. This should really never be needed but we provide it to avoid having to mess around in /var/lib/apt/lists if there is a use-case for this (which I can't think of right now).
* Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt2014-04-011-1/+1
|\
| * fix documentation for APT::Periodic::MaxSize "0" (closes: #740551)Michael Vogt2014-03-271-1/+1
| |
* | Add new Debug::RunScripts optionMichael Vogt2014-04-011-1/+1
|/ | | | | This debug option will display all scripts that are run by apts RunScripts and RunScriptsWithPkgs helpers.
* Fix typos in documentation (codespell)Michael Vogt2014-02-221-1/+1
|
* introduce a vendor system to change sources.listDavid Kalnischkies2013-11-301-8/+0
| | | | | | | | Many derivatives make quiet a few simple changes to apt introducing silly diffs just to change examples and co making it harder for them to update apt and harder for us to merge real changes back. First stop: doc/examples/sources.list
* fix syntax error in the configure-indexDavid Kalnischkies2013-06-201-1/+1
| | | | | | | The file isn't supposed to be a valid config file, but it should show valid syntax non-the-less. Git-Dch: Ignore
* * ftparchive/apt-ftparchive.cc:David Kalnischkies2012-06-091-3/+3
| | | | - default to putting the Contents-* files below $(SECTION) as apt-file expects them there - thanks Martin-Éric Racine! (Closes: #675827)
* * doc/examples/sources.list:David Kalnischkies2012-05-262-9/+8
| | | | - use the codename instead of 'stable' in the examples sources.list as we do in the manpage and as the debian-installer does
* * doc/apt-cdrom.8.xml:Justin B Rye2012-05-252-2/+2
| | | | - replace CDROM with the proper CD-ROM in text
* implement MultiarchCross for build-dep and source (Closes: #632221)David Kalnischkies2011-07-251-0/+1
|
* * doc/apt.conf.5.xml:David Kalnischkies2011-07-051-0/+1
| | | - document APT::Architectures list (Closes: #612102)
* * apt-pkg/contrib/cdromutl.{cc,h}, apt-pkg/cdrom.{cc,h}:Michael Vogt2011-03-101-1/+4
| | | | | | - deal with missing FSTAB_DIR when using libudev to discover cdrom - add experimental APT::cdrom::CdromOnly option (on by default). When this is set to false apt-cdrom will handle any removable deivce (like a usb-stick) as a "cdrom/dvd" source
* doc/examples/configure-index: remove no longer used option NoConfigureMichael Vogt2011-02-211-1/+0
|
* merge 'after squeeze release'-stuffDavid Kalnischkies2011-02-031-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ David Kalnischkies ] * apt-pkg/depcache.cc: - add SetCandidateRelease() to set a candidate version and the candidates of dependencies if needed to a specified release (Closes: #572709) * cmdline/apt-get.cc: - if --print-uris is used don't setup downloader as we don't need progress, lock nor the directories it would create otherwise - show dependencies of essential packages which are going to remove only if they cause the remove of this essential (Closes: #601961) - keep not installed garbage packages uninstalled instead of showing in the autoremove section and installing those (Closes: #604222) - change pkg/release behavior to use the new SetCandidateRelease so installing packages from experimental or backports is easier - really do not show packages in the extra section if they were requested on the commandline, e.g. with a modifier (Closes: #184730) * debian/control: - add Vcs-Browser now that loggerhead works again (Closes: #511168) - depend on debhelper 7 to raise compat level - depend on dpkg-dev (>= 1.15.8) to have c++ symbol mangling * apt-pkg/contrib/fileutl.cc: - add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401) - ignore non-regular files in GetListOfFilesInDir (Closes: #594694) * apt-pkg/contrib/weakptr.h: - include stddefs.h to fix compile error (undefined NULL) with gcc-4.6 * methods/https.cc: - fix CURLOPT_SSL_VERIFYHOST by really passing 2 to it if enabled * deb/dpkgpm.cc: - fix popen/fclose mismatch reported by cppcheck. Thanks to Petter Reinholdtsen for report and patch! (Closes: #607803) * doc/apt.conf.5.xml: - fix multipl{y,e} spelling error reported by Jakub Wilk (Closes: #607636) * apt-inst/contrib/extracttar.cc: - let apt-utils work with encoded tar headers if uid/gid are large. Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162) * apt-pkg/cacheiterator.h: - do not segfault if cache is not build (Closes: #254770) * doc/apt-get.8.xml: - remove duplicated mentioning of --install-recommends * doc/sources.list.5.xml: - remove obsolete references to non-us (Closes: #594495) * debian/rules: - use -- instead of deprecated -u for dh_gencontrol - remove shlibs.local creation and usage - show differences in the symbol files, but never fail * pre-build.sh: - remove as it is not needed for a working 'bzr bd' * debian/{apt,apt-utils}.symbols: - ship experimental unmangled c++ symbol files * methods/rred.cc: - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred - try downloading clearsigned InRelease before trying Release.gpg - change the internal handling of Extensions in pkgAcqIndex - add a special uncompressed compression type to prefer those files - download and use i18n/Index to choose which Translations to download * cmdline/apt-key: - don't set trustdb-name as non-root so 'list' and 'finger' can be used without being root (Closes: #393005, #592107) * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles * ftparchive/writer.cc: - add config option to search for more patterns in release command - include Index files by default in the Release file * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero * apt-pkg/aptconfiguration.cc: - remove the inbuilt Translation files whitelist
| * - change the internal handling of Extensions in pkgAcqIndexDavid Kalnischkies2011-01-261-1/+1
| | | | | | | | | | - add a special uncompressed compression type to prefer those files * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero
| * add the possibility to disable only the progress reporting stuff as theDavid Kalnischkies2010-11-301-0/+1
| | | | | | | | | | quiet level 1 does this, but also disables other stuff we might want to test against in a testcase
* | merged from the apt-get-changelog branchMichael Vogt2010-11-181-3/+4
|\ \
| * | refactor/simplify changelog fetching codeMichael Vogt2010-11-181-3/+4
| | |
* | | merged lp:~mvo/apt/apt-get-changelog Michael Vogt2010-11-181-45/+52
|\| | | |/ |/|
| * doc/examples/configure-index: updated to include apt::changelogs::serverMichael Vogt2010-11-151-45/+52
| |
* | * doc/examples/apt-https-method-example.conf:Olly Betts2010-10-151-5/+5
|/ | | | - apply various typo fixes by Olly Betts, thanks! (Closes: #600249)
* doc/examples/configure-index:Michael Vogt2010-09-211-0/+1
| | | | - add info on debug::acquire::cdrom
* * doc/apt.conf.5.xml:David Kalnischkies2010-07-091-1/+3
| | | - add and document APT::Cache-{Start,Grow,Limit} options for mmap control
* - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies2010-06-091-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897) * doc/apt.conf.5.xml: - document the new Valid-Until related options * apt-pkg/contrib/strutl.cc: - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some self-made scanf mangling - use the portable timegm shown in his manpage instead of a strange looking code copycat from wget * ftparchive/writer.cc: - add ValidTime option to generate a Valid-Until header in Release file
| * rename the options, document them and reorder the changelog a bitDavid Kalnischkies2010-06-091-0/+4
| |
* | * apt-pkg/deb/debsystem.cc:David Kalnischkies2010-05-281-2/+1
|/ | | - add better config item for extended_states file
* * apt-pkg/acquire-item.cc:David Kalnischkies2010-04-091-0/+1
| | | | | - Acquire::ForceHash to force method for expected hash - display MD5Sum in --print-uris if not forced to use another method instead of displaying the strongest available (Closes: #576420)
* merged from lp:~donkult/apt/sidMichael Vogt2010-04-011-0/+2
|\
| * Add with pkgCacheGen::Essential a way to control which packages get theDavid Kalnischkies2010-03-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | essential flag: * native is the default and will only mark packages of the main arch * all will mark all packages which have these flag in Packages * none will obviously do the opposite * installed will only mark packages which are installed as essential, so it will behave in the same way as dpkg does it. It is mostly needed sometimes for debugging but some users with special needs might like to switch the mode as well under the expense to be on their own…
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-03-261-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | - fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler * cmdline/apt-get.cc: - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/packagemanager.cc: - better debug output * doc/examples/configure-index: - add missing Debug::pkgPackageManager option
| * apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManagerMichael Vogt2010-03-161-0/+1
| |
* | * [BREAK] merged lp:~mvo/apt/historyMichael Vogt2010-02-181-0/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log) * methods/http.cc: - add cache-control headers even if no cache is given to allow adding options for intercepting proxies - add Acquire::http::ProxyAutoDetect configuration that can be used to call a external helper to figure out the proxy configuration and return it to apt via stdout (this is a step towards WPAD and zeroconf/avahi support) * abicheck/ - add new abitest tester using the ABI Compliance Checker from http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker * Change the package index Info methods to allow apt-cache policy to be useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
| * merged from debian-sidMichael Vogt2010-02-172-6/+35
| |\
| * | add Dir::Media::MountPath config optionMichael Vogt2010-01-261-0/+7
| | |
| * | add new "Acquire::cdrom::AutoDetect" variable that enables/disablesMichael Vogt2010-01-261-0/+4
| | | | | | | | | the dlopen of libudev for automatic cdrom detection
| * | * merged lp:~mvo/apt/historyMichael Vogt2009-12-181-0/+1
| |\ \ | | | | | | | | | | | | - this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log)
| | * | * debian/apt.logrotate:Michael Vogt2009-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | - add to logratation * doc/examples/configure-index: - add as example
* | | | merge with debian-sidDavid Kalnischkies2010-02-131-0/+11
|\ \ \ \ | | |_|/ | |/| |
| * | | merge 1695..1701 from the lp:~mvo/apt/mvo branchMichael Vogt2010-01-271-0/+11
| | | |
* | | | merge with lp:~mvo/apt/debian-sid to get 0.7.25.1 and my changes backDavid Kalnischkies2010-01-131-0/+1
|\| | |
| * | | * apt-pkg/deb/debindexfile.cc, apt-pkg/pkgcachegen.cc:Michael Vogt2010-01-091-0/+1
| | | | | | | | | | | | | | | | | | | | - add debug option Debug::pkgCacheGen - merge fix for apt-get source pkg=version regression (closes: #561971)
| * | | * French manpage translation updateMichael Vogt2010-01-082-6/+27
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * spot & fix various typos in all manpages * German manpage translation update * cmdline/apt-cache.cc: - remove translatable marker from the "%4i %s\n" string * buildlib/po4a_manpage.mak: - instruct debiandoc to build files with utf-8 encoding * buildlib/tools.m4: - fix some warning from the buildtools * apt-pkg/acquire-item.cc: - add configuration PDiffs::Limit-options to not download too many or too big patches (Closes: #554349) * debian/control: - let all packages depend on ${misc:Depends} * share/*-archive.gpg: - remove the horrible outdated files. We already depend on the keyring so we don't need to ship our own version * cmdline/apt-key: - errors out if wget is not installed (Closes: #545754) - add --keyring option as we have now possibly many * methods/gpgv.cc: - pass all keyrings (TrustedParts) to gpgv instead of using only one trusted.gpg keyring (Closes: #304846) * methods/https.cc: - finally merge the rest of the patchset from Arnaud Ebalard with the CRL and Issuers options, thanks! (Closes: #485963)
| * | add https options which default to the ones from http for the httpsDavid Kalnischkies2009-12-111-9/+24
| | | | | | | | | | | | | | | method as this is more sane than using only the http options without a possibility to override these for https.
| * | add config setting for User-Agent in http and https to the Acquire group,David Kalnischkies2009-12-111-0/+3
| |/ | | | | | | thanks Timothy J. Miller! (Closes: #355782)
* | finally merge the rest of the patchset from Arnaud EbalardDavid Kalnischkies2010-01-041-0/+21
| | | | | | | | with the CRL and Issuers options for https, thanks! (Closes: #485963)
* | add TrustedParts so in the future new keyrings can just be droppedDavid Kalnischkies2010-01-041-5/+2
| | | | | | | | | | | | | | into /etc/apt/trusted.gpg.d/ which eliminates the need to have gpg installed to add keys to APTs trusted keyring (with apt-key) (Closes #304846) - Thanks to Timo Weingärtner & Peter Palfrader for providing different patchs/ideas for this!