summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* fix valid-until-min typo in sources.list(5)David Kalnischkies2015-08-311-1/+1
| | | | Git-Dch: Ignore
* implement $(NATIVE_ARCHITECTURE) substvar for indextargetsDavid Kalnischkies2015-08-301-0/+3
|
* implement indextargets option 'DefaultEnabled'David Kalnischkies2015-08-291-24/+61
| | | | | | | | | | | Some targets like Contents-udeb are special-needs targets. Shipping the configuration snippet for them is okay, but they shouldn't be downloaded by default. Forcing the user to enable targets by uncommenting targets is wrong and this would still not really solve the problem completely as even if you want to download some -udebs it will probably not be for all sources you have enabled, so having the possibility of disabling a target by default, but giving the user the option to enable it on a per-source entry basis is better.
* implement PDiff patching for compressed filesDavid Kalnischkies2015-08-281-6/+21
| | | | | | | | | | | | | | | | | | Some additional files like 'Contents' are very big and should therefore kept compressed on the disk, which apt-file did in the past. It also implemented pdiff patching of these files by un- and recompressing these files on-the-fly, with this commit we can do the same – but we can do this in both pdiff patching styles (client and server merging) and secured by hashes. Hashes are in so far slightly complicated as we can't compare the hashes of the compressed files as we might compress them differently than the server would (different compressor versions, options, …), so we must compare the hashes of the uncompressed content. While this commit has changes in public headers, the classes it changes are marked as hidden, so nobody can use them directly, which means the ABI break is internal only.
* auto-prefix $(SITE) for indextargets Description fieldDavid Kalnischkies2015-08-271-10/+10
| | | | | | | | This updates the documentation for a change which actually happened in c2a4a8dded2dfb56dbcab9689b6cb4b96c9999b6 already. The acquire system expects the $(SITE) to be there (e.g. for mirror rewriting) so we are better of prefixing it automatically than giving frontends the chance to forget it. There is no point in not showing $(SITE) first anyway.
* sources.list and indextargets option for pdiffsDavid Kalnischkies2015-08-273-3/+27
| | | | | | | Disabling pdiffs can be useful occasionally, like if you have a fast local mirror where the download doesn't matter, but still want to use it for non-local mirrors. Also, some users might prefer it to only use it for very big indextargets like Contents.
* Release 1.11~exp111.1.exp11Julian Andres Klode2015-08-2710-458/+533
|
* allow explicit dis/enable of IndexTargets in sources optionsDavid Kalnischkies2015-08-271-0/+3
| | | | | | | While Target{,-Add,-Remove} is available for configuring IndexTargets already, allow Targets to be mentioned explicitely as yes/no options as well, so that the Target 'Contents' can be disabled via 'Contents: no' as well as 'Target-Remove: Contents'.
* fix various typos reported by codespellDavid Kalnischkies2015-08-272-2/+2
| | | | Reported-By: codespell
* releasing package apt version 1.1~exp10Michael Vogt2015-08-2410-5321/+11315
|
* Fix typoMichael Vogt2015-08-241-1/+1
| | | | | Thanks: Julian Andres Klode Git-Dch: ignore
* doc/apt.conf.5.xml: document Acquire::EnableSrvRecodsMichael Vogt2015-08-211-0/+9
| | | | Git-Dch: ignore
* Add support for "apt-cache showsrc --only-source srcpkgname"Michael Vogt2015-08-181-3/+6
| | | | | Thanks: Steve Slangasek for the suggestion Closes: 695633
* Document the general effect of the comma operatorJulian Andres Klode2015-08-151-0/+5
| | | | Closes: #574939
* doc/files.dbk: Improve documentation for {src,}pkgcache.binJulian Andres Klode2015-08-141-3/+3
| | | | | | This should be enough for most persons. Closes: #465551
* apt-cache(8): Drop the #versions >= #package names comparisonJulian Andres Klode2015-08-141-2/+1
| | | | Closes: #691281
* apt: Add autoremove and auto-remove commandsJulian Andres Klode2015-08-141-0/+5
|
* Make auto-remove and auto-clean aliases for the versions without -Julian Andres Klode2015-08-141-2/+2
| | | | | | | | Some people type them instead of autoremove and autoclean, so make them happy. Closes: #274159 Makes-Happy: Ansgar
* apt_preferences(5): Mention overlapping of pin matchesJulian Andres Klode2015-08-141-0/+3
|
* apt_preferences(5): Correct default pin assignment documentationJulian Andres Klode2015-08-141-2/+2
| | | | | | | This was broken, as higher pins were also assigned to versions that are installed. Closes: #623706
* apt-cache(8): Mention that --names-only search providesJulian Andres Klode2015-08-141-2/+2
| | | | Closes: #618017
* Mention that source order only matter per versionJulian Andres Klode2015-08-141-1/+1
| | | | Closes: #617445
* Replace --force-yes by various options starting with --allowJulian Andres Klode2015-08-141-1/+25
| | | | This enables more fine grained control over such exceptions.
* Merge branch 'debian/experimental' of https://github.com/DonKult/apt into ↵Julian Andres Klode2015-08-1412-38/+55
|\ | | | | | | debian/experimental
| * use a=experimental instead n=experimental in pin documentationJohannes Schauer2015-08-1210-17/+17
| | | | | | | | Closes: 783343
| * Do not set unhonored DPKG_NO_TSTP variable for dpkgGuillem Jover2015-08-121-9/+1
| | | | | | | | | | | | | | Support for that variable was removed in dpkg in 1.15.6, in commit 6f037003e8b96878b485efb7cbd1f846e3bf4e97. Closes: #765366
| * document VERSION 2 (and 3) pre-install-pkgs hook interfaceJonathan Nieder2015-08-121-4/+28
| | | | | | | | | | | | | | [Commiter: Patch adapted to apply to current version of the manpage and added/moved a few words about Version 3 to make it fit better] Closes: 627188
| * remove Dir:: scope limit of RootDir in the documentationDavid Kalnischkies2015-08-121-1/+2
| | | | | | | | | | | | | | RootDir doesn't only effect Dir-scope but all FindDir directories, so document it accordingly. Closes: 659387
| * po-fixups: fill Project-Id-Version and Encoding correctlyGuillem Jover2015-08-127-7/+7
| | | | | | | | Closes: 612996
* | Accept --upgradeable as synonym for --upgradableJulian Andres Klode2015-08-1310-13/+15
| | | | | | | | | | | | It's a tiny diff, so why not? But no need to document it. Closes: #787846
* | apt_preferences(5): Re-document how priorities are calculatedJulian Andres Klode2015-08-121-5/+8
| | | | | | | | | | | | | | The old text did not match either the old or the new implementation, so let's rewrite it to explain the new implementation. Closes: #554773
* | policy: Be more strict about parsing pin files, and document prio 0Julian Andres Klode2015-08-121-0/+4
|/ | | | | | Treat invalid pin priorities and overflows as an error. Closes: #429912
* hide implicit deps in apt-cache again by defaultDavid Kalnischkies2015-08-101-2/+13
| | | | | | | | | | | | | | Before MultiArch implicits weren't a thing, so they were hidden by default by definition. Adding them for MultiArch solved many problems, but having no reliable way of detecting which dependency (and provides) is implicit or not causes problems everytime we want to output dependencies without confusing our observers with unneeded implementation details. The really notworthy point here is actually that we keep now a better record of how a dependency came to be so that we can later reason about it more easily, but that is hidden so deep down in the library internals that change is more the problems it solves than the change itself.
* rename 'apt-get files' to 'apt-get indextargets'David Kalnischkies2015-08-103-21/+23
| | | | | | | | 'files' is a bit too generic as a name for a command usually only used programmatically (if at all) by developers, so instead of "wasting" this generic name for this we use "indextargets" which is actually the name of the datastructure the displayed data is stored in. Along with this rename the config options are renamed accordingly.
* implement Signed-By option for sources.listDavid Kalnischkies2015-08-101-12/+12
| | | | | | | | | | Limits which key(s) can be used to sign a repository. Not immensely useful from a security perspective all by itself, but if the user has additional measures in place to confine a repository (like pinning) an attacker who gets the key for such a repository is limited to its potential and can't use the key to sign its attacks for an other (maybe less limited) repository… (yes, this is as weak as it sounds, but having the capability might come in handy for implementing other stuff later).
* add sources.list Check-Valid-Until and Valid-Until-{Max,Min} optionsDavid Kalnischkies2015-08-103-15/+58
| | | | | | | | | | | | | | | | | | These options could be set via configuration before, but the connection to the actual sources is so strong that they should really be set in the sources.list instead – especially as this can be done a lot more specific rather than e.g. disabling Valid-Until for all sources at once. Valid-Until-* names are chosen instead of the Min/Max-ValidTime as this seems like a better name and their use in the wild is probably low enough that this isn't going to confuse anyone if we have to names for the same thing in different areas. In the longrun, the config options should be removed, but for now documentation hinting at the new options is good enough as these are the kind of options you set once across many systems with different apt versions, so the new way should work everywhere first before we deprecate the old way.
* detect and error out on conflicting Trusted settingsDavid Kalnischkies2015-08-101-0/+8
| | | | | | | A specific trust state can be enforced via a sources.list option, but it effects all entries handled by the same Release file, not just the entry it was given on so we enforce acknowledgement of this by requiring the same value to be (not) set on all such entries.
* bring back deb822 sources.list entries as .sourcesDavid Kalnischkies2015-08-101-109/+228
| | | | | | | | | | | | | | | | | | Having two different formats in the same file is very dirty and causes external tools to fail hard trying to parse them. It is probably not a good idea for them to parse them in the first place, but they do and we shouldn't break them if there is a better way. So we solve this issue for now by giving our deb822 format a new filename extension ".sources" which unsupporting applications are likely to ignore an can begin gradually moving forward rather than waiting for the unknown applications to catch up. Currently and for the forseeable future apt is going to support both with the same feature set as documented in the manpage, with the longtime plan of adopting the 'new' format as default, but that is a long way to go and might get going more from having an easier time setting options than from us pushing it explicitely.
* support lang= and target= sources.list optionsDavid Kalnischkies2015-08-101-0/+16
| | | | | | | | | | | | | | | We support arch= for a while, now we finally add lang= as well and as a first simple way of controlling which targets to acquire also target=. This asked for a redesign of the internal API of parsing and storing information about 'deb' and 'deb-src' lines. As this API isn't visible to the outside no damage done through. Beside being a nice cleanup (= it actually does more in less lines) it also provides us with a predictable order of architectures as provides in the configuration rather than based on string sorting-order, so that now the native architecture is parsed/displayed first. Observeable e.g. in apt-get output.
* provide a public interface for acquiring changelogsDavid Kalnischkies2015-06-153-18/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* implement default apt-get file --release-info modeDavid Kalnischkies2015-06-151-27/+38
| | | | | | | | | | Selecting targets based on the Release they belong to isn't to unrealistic. In fact, it is assumed to be the most used case so it is made the default especially as this allows to bundle another thing we have to be careful with: Filenames and only showing targets we have acquired. Closes: 752702
* implement 'apt-get files' to access index targetsDavid Kalnischkies2015-06-112-4/+98
| | | | | | | | | | | | | Downloading additional files is only half the job. We still need a way to allow external tools to know where the files are they requested for download given that we don't want them to choose their own location. 'apt-get files' is our answer to this showing by default in a deb822 format information about each IndexTarget with the potential to filter the records based on lines and an option to change the output format. The command serves also as an example on how to get to this information via libapt.
* store all targets data in IndexTarget structDavid Kalnischkies2015-06-101-16/+13
| | | | | | | We still need an API for the targets, so slowly prepare the IndexTargets to let them take this job. Git-Dch: Ignore
* configureable acquire targets to download additional filesDavid Kalnischkies2015-06-091-0/+142
| | | | | | | | First pass at making the acquire system capable of downloading files based on configuration rather than hardcoded entries. It is now possible to instruct 'deb' and 'deb-src' sources.list lines to download more than just Packages/Translation-* and Sources files. Details on how to do that can be found in the included documentation file.
* Merge branch 'debian/jessie' into debian/experimentalDavid Kalnischkies2015-04-191-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: apt-pkg/acquire-item.cc cmdline/apt-key.in methods/https.cc test/integration/test-apt-key test/integration/test-multiarch-foreign
| * release 1.0.9.8David Kalnischkies2015-04-132-3/+3
| |
* | Italian manpage translation updateBeatrice Torracca2015-03-162-118/+89
| | | | | | | | Closes: 776702
* | properly implement pkgRecord::Parser for *.deb filesDavid Kalnischkies2015-03-162-87/+132
| | | | | | | | | | | | | | | | | | Implementing FileName() works for most cases for us, but other frontends might need more and even for us its not very stable as the normal Jump() implementation is pretty bad on a deb file and produce errors on its own at times. So, replacing this makeshift with a complete implementation by mostly just shuffling code around.
* | merge debian/sid into debian/experimentalDavid Kalnischkies2015-03-163-386/+277
|\|
| * prepare 1.0.9.6Michael Vogt2015-01-162-2/+2
| |