summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-12In SingleArch environments we don't need the arch "all" pseudo packageDavid Kalnischkies
for handling arch:all packages, so we create only one package and stop calling it a pseudo package.
2010-02-12Add yet another pseudo package which isn't as pseudo as the others:David Kalnischkies
Arch all packages are now represented by arch depending packages which all depend on a package with the same name and the special arch "all". This packages has NO dependencies, but beside this the same information. It is the only package which has a size, the arch depending ones all have a zero size. While the arch depending pseudo packages are used for dependency resolution the arch "all" package is used for downloading and ordering of the package.
2010-02-11Arch() on a MultiArch:all version should return "all" to be compatibleDavid Kalnischkies
with previous usecases. You now need to requested with Arch(true) the return of the architecture this version (and pseudo package) was created for.
2010-02-11display the architecture of the package if it is not the defaultDavid Kalnischkies
architecture in apt-get, display policy for all available architectures and use GrpIterator in apt-cache pkgnames
2010-02-11Add Multi-Arch: allowed support by creating an implicit provide ofDavid Kalnischkies
name:any for such packages, so dependencies in this style can be easily resolved.
2010-02-10Foreign Versions add an implicit Provides to the other packages in the groupDavid Kalnischkies
2010-02-10Create implicit dependencies needed for Multi-Arch handlingDavid Kalnischkies
2010-02-10Pre-MultiArch a package which depends on a package with architecture "all"David Kalnischkies
can be sure that a package comeing in as a dependency of this package will be of the same architecture as itself (or all). We don't want to break this, so internal an arch all package is represented as many arch depending packages. The only problem we have now is that we only know that a arch all package is installed or not - we don't know for which architecture it was installed: So we will look at all these broken arch all pseudo packages and "remove" them.
2010-02-07Drop the Arch information from the Version structure as we can getDavid Kalnischkies
the information from the parent package now
2009-12-27Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies
for creating the dependencies needed for our groups: For now for all groups only one package can be installed at the same time which conflicts with each other packages in the group. The exceptions are architecture all package. Also, the Multi-Arch field is now parsed, but not used for now.
2009-12-23merge Goswin Brederlow "support download of index files for different archs"David Kalnischkies
patch which includes the following big changes: - Declare the unused [vendor] field in sources.list as option field, e.g. deb [arch=amd64,i386 lang=en_GB have=fun] http://example.org - When fetching index files download them for all APT::Architectures (overrideable with the options field above) - Allow all architectures of APT::Architectures to be in the Cache - Add the architecture to status and progress informations - Add b= (Binary architecture) to policy This commit doesn't incude the "pin-hack" as the Group structure will take care of this (and does it already to some extend).
2009-12-19Implement the first step toward Multi-Arch by setting up a GroupDavid Kalnischkies
infrastructor for packages. APT is now aware of the fact that a package A in architecture X can't satisfy a dependency on package A in architecture Y - to handle these packages are now identified by name and architecture, so different architectures of the same package are handled internally as completly different packages. This is great for pinning, dependency checking and in many other situations, but sometimes we need to know which archs are available for a given package: Here Groups come to our rescue!
2009-12-19mark the Error/Warning method as __coldDavid Kalnischkies
2009-12-19add optional gcc features as deprecated, unused and (un)likelyDavid Kalnischkies
2009-12-09Refactor the cache iterators by using a common base classDavid Kalnischkies
This should not change the public interface, but it removes the friend connection between the iterators and pkgcache as it is unused.
2009-12-01fix a few typos in strings, comments and manpage of apt-ftparchiveDavid Kalnischkies
thanks Karl Goetz! (Closes: #558757)
2009-11-29Ignore :qualifiers after package name in build dependenciesDavid Kalnischkies
for now as long we don't understand them (Closes: #558103)
2009-11-28convert getlanguages_test to our new equals()David Kalnischkies
2009-11-28add our own equals method as assert doesn't really show the offendingDavid Kalnischkies
values which causes the failure.
2009-11-28check cache size even if we do nothing else otherwise in apt.cron.daily,David Kalnischkies
thanks Francesco Poli for patch(s) and patience! (Closes: #459344)
2009-11-28tell every method in ftparchive/ that const& is sexyDavid Kalnischkies
2009-11-28add APT::FTPArchive::AlwaysStat to disable the too aggressiveDavid Kalnischkies
caching if versions are build multiply times (not recommend) Patch by Christoph Goehre, thanks! (Closes: #463260)
2009-11-28add AI_ADDRCONFIG to ai_flags in connect.cc as suggested by Aurelien JarnoDavid Kalnischkies
in his response to Bernhard R. Link's patch, thanks! (Closes: #505020)
2009-11-27use "diff" filetype for .debian.tar.* files (Closes: #554898) inDavid Kalnischkies
apt-pkg/deb/debsrcrecords.cc as source format v3 uses this name scheme for their "diff" files.
2009-11-27add --debian-only as alias for --diff-only for all source v3 loversDavid Kalnischkies
2009-11-27merge with lp:~mvo/apt/debian-sid and update all pot's and po'sDavid Kalnischkies
2009-11-26add a few closes tags to Acquire::Translation changelogDavid Kalnischkies
2009-11-26Add APT::FTPArchive::LongDescription to disable the inclusion of theDavid Kalnischkies
LongDescriptions in the generated Packages file.
2009-11-26Add a very simple test runnerDavid Kalnischkies
2009-11-26[BREAK] add possibility to download and use multiplyDavid Kalnischkies
Translation files, configurable with Acquire::Languages accessable with APT::Configuration::getLanguages() and as always with documentation in apt.conf. The commit also includes a very very simple testapp.
2009-11-25print an error and exit if python-apt is not installed for apt-mark,David Kalnischkies
thanks Carl Chenet! (Closes: #521284)
2009-11-25add https options which default to the ones from http for the httpsDavid Kalnischkies
method as this is more sane than using only the http options without a possibility to override these for https.
2009-11-25another round of method hardening with const& in ConfigurationDavid Kalnischkies
2009-11-25add config setting for User-Agent in http and https to the Acquire group,David Kalnischkies
thanks Timothy J. Miller! (Closes: #355782)
2009-11-25print an error if a new state file can't be created in apt-mark,David Kalnischkies
thanks Carl Chenet! (Closes: #521289)
2009-11-25allow also to skip the last patch if target is reached in acquire-item.cc,David Kalnischkies
thanks Bernhard R. Link! (Closes: #545699)
2009-11-25use long instead of short for {Ver,Desc}File size in pkgcache.hDavid Kalnischkies
patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
2009-11-25merge my rred-rewrite branch & add it's changes to the changelogDavid Kalnischkies
2009-11-25cleanup code a bit more and expand error messagesDavid Kalnischkies
2009-11-24* ftparchive/apt-ftparchive.cc:Julian Andres Klode
- Call setlocale() so translations are actually used.
2009-11-24fix a typo in debian/NEWS entry for 0.7.24: Allready -> Already (Closes: ↵David Kalnischkies
#557674)
2009-11-19fix argument check for the rred methodDavid Kalnischkies
2009-11-12Italian translation updatebubulle@debian.org
2009-11-11Italian translation updatebubulle@debian.org
2009-11-09extent the mmap to be able to handle currently not implementedDavid Kalnischkies
(but planed) growable mmaps
2009-11-06Finally adope the patch from Morten Hustveit <morten@debian.org> to beDavid Kalnischkies
able to optional use mmaps and iovec to increase patch speed - but as this increase memory usage we can always fall back to the "old" method which doesn't relay on mmaps.
2009-11-05copyLinesFromFileToFile instead of a single Line in the rred methodDavid Kalnischkies
by saving the length of the data we need to copy into the out file
2009-11-05rewrite and refactor rred method to be able to handle even big (>30 MB)David Kalnischkies
patches (Closes: #554349) and hardening the method itself by using more constants and a return value which can't be misinterpreted as linenumber
2009-11-04add a debug test mode to the rred method for easier testingDavid Kalnischkies
2009-11-02bump policy to 3.8.3 as we have no outdated manpages anymoreDavid Kalnischkies