Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-17 | Don't download "optional" files not in Release :/. | Jay Freeman (saurik) | |
2019-08-17 | For ReMap to work, S has to be marked volatile :/. | Jay Freeman (saurik) | |
2019-08-17 | Tags should use StoreString, not WriteStringInMap. | Jay Freeman (saurik) | |
2019-08-17 | Port TagIterator to correctly support ReMap (doh). | Jay Freeman (saurik) | |
2019-08-17 | Repeat after me: IMS-Hit is really "I am shit" :/. | Jay Freeman (saurik) | |
2019-08-17 | It is NOT OK to just munmap memory from malloc :/. | Jay Freeman (saurik) | |
2019-08-17 | Symlinking final file failed is a common issue :/. | Jay Freeman (saurik) | |
2019-08-17 | This is realloc, not reallocf: be more careful :/. | Jay Freeman (saurik) | |
2019-08-17 | Bill is consistent. Bill is correct. Be like Bill. | Jay Freeman (saurik) | |
2019-08-17 | You can't just assume the start is always zero :/. | Jay Freeman (saurik) | |
2019-08-17 | The length given to msync was calculated wrong :/. | Jay Freeman (saurik) | |
2019-08-17 | Not /not/ immediately mapping a file is INSANE :/. | Jay Freeman (saurik) | |
2019-08-17 | The entire concept of PendingError() is flawed :/. | Jay Freeman (saurik) | |
2019-08-17 | Bug #807012 also involves package dependencies :/. | Jay Freeman (saurik) | |
2019-08-17 | On IMS-Hit, you can't assume local compression :/. | Jay Freeman (saurik) | |
2019-08-17 | It is *never* a good idea to throw away stderr :/. | Jay Freeman (saurik) | |
2019-08-17 | It is just so absolutely critical that this works. | Jay Freeman (saurik) | |
2019-08-17 | My "tolerance" patch was a tad bit overzealous :(. | Jay Freeman (saurik) | |
2019-08-17 | You have to do the bounds check before the access. | Jay Freeman (saurik) | |
2019-08-17 | Fix field-without-values appearing at end of file. | Jay Freeman (saurik) | |
2019-08-17 | Of *course* I managed to get this check backwards. | Jay Freeman (saurik) | |
2019-08-17 | In the C locale, let's avoid any crazy transforms. | Jay Freeman (saurik) | |
2019-08-17 | It's just *mean* to complain if they already know. | Jay Freeman (saurik) | |
2019-08-17 | Wreck validation until we can assess ecosystem :/. | Jay Freeman (saurik) | |
2019-08-17 | This is 2016 and APT already requires use of mmap. | Jay Freeman (saurik) | |
2019-08-17 | Only check for valid Date if checking Valid-Until. | Jay Freeman (saurik) | |
2019-08-17 | I know this is "bad", but a "full wedge" is worse. | Jay Freeman (saurik) | |
2019-08-17 | For speed, you *need* multiple downloads per host. | Jay Freeman (saurik) | |
2019-08-17 | The fastest way to get field values is as a range. | Jay Freeman (saurik) | |
2019-08-17 | Avoid wedging the entire system if recoverable :/. | Jay Freeman (saurik) | |
2019-08-17 | Most interfaces (Maemo) need a high-level name :/. | Jay Freeman (saurik) | |
2019-08-17 | Store tags in the cache (they are very useful :/). | Jay Freeman (saurik) | |
2019-08-17 | unlinkat is way way too modern to not autoconf :/. | Jay Freeman (saurik) | |
2019-08-17 | __deprecated is already defined by sys/cdefs.h :/. | Jay Freeman (saurik) | |
2019-08-17 | arpa/nameser.h, unlike nameser.h, uses NS_ prefix. | Jay Freeman (saurik) | |
2019-08-17 | std::map from std::initializer_list is "explicit". | Jay Freeman (saurik) | |
2019-05-21 | Unlock dpkg locks in reverse locking order | Julian Andres Klode | |
We need to unlock in the reverse order of locking in order to get useful behavior. LP: #1829860 | |||
2019-05-03 | Prevent shutdown while running dpkg | Julian Andres Klode | |
As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886 | |||
2019-03-03 | Add explicit message for unsupported binary signature | David Kalnischkies | |
Verifying the content of Release.gpg made us fail on binary signatures which were never officially supported (apt-secure manpage only documents only the generation of ASCII armored), but silently accepted by gpgv as we passed it on unchecked before. The binary format is complex and is itself split into old and new formats so adding support for this would not only add lots of code but also a good opportunity for bugs and dubious benefit. Reporting this issue explicitly should help repository creators figure out the problem faster than the default NODATA message hinting at captive portals. Given that the binary format has no file magic or any other clear and simple indication that this is a detached signature we guess based on the first two bits only – and by that only supporting the "old" binary format which seems to be the only one generated by gnupg in this case. References: e2965b0b6bdd68ffcad0e06d11755412a7e16e50 Closes: #921685 | |||
2019-02-10 | Fix various typos in the documentation | Jakub Wilk | |
2019-02-04 | Use std::to_string() for HashStringList::FileSize() getter | Julian Andres Klode | |
This slightly improves performance, as std::to_string() (as in gcc's libstdc++) avoids a heap allocation. This is surprisingly performance critical code, so we might want to improve things further in 1.9 by manually calculating the string - that would also get rid of issues with locales changing string formatting, if any. | |||
2019-02-04 | Detect function multiversioning and sse4.2/crc32, enables i386 | Julian Andres Klode | |
This fixes the build on kfreebsd-amd64, and due to the detection of sse4.2, should also enable the sse4.2 on i386. | |||
2019-02-04 | gpgv: Use buffered writes for splitting clearsigned files | Julian Andres Klode | |
This is safe here, as the code ensures that the file is flushed before it is being used. The next series should probably make GetTempFile() buffer writes by default. | |||
2019-02-04 | Merge branch 'pu/dead-pin' into 'master' | Julian Andres Klode | |
A pin of -32768 overrides any other, disables repo See merge request apt-team/apt!40 | |||
2019-02-01 | Add a Packages-Require-Authorization Release file field | Julian Andres Klode | |
This new field allows a repository to declare that access to packages requires authorization. The current implementation will set the pin to -32768 if no authorization has been provided in the auth.conf(.d) files. This implementation is suboptimal in two aspects: (1) A repository should behave more like NotSource repositories (2) We only have the host name for the repository, we cannot use paths yet. - We can fix those after an ABI break. The code also adds a check to acquire-item.cc to not use the specified repository as a download source, mimicking NotSource. | |||
2019-02-01 | Introduce experimental 'never' pinning for sources | Julian Andres Klode | |
This allows disabling a repository by pinning it to 'never', which is internally translated to a value of -32768 (or whatever the minimum of short is). This overrides any other pin for that repository. It can be used to make sure certain sources are never used; for example, in unattended-upgrades. To prevent semantic changes to existing files, we substitute min + 1 for every pin-priority: <min>. This is a temporary solution, as we are waiting for an ABI break. To add pins with that value, the special Pin-Priority "never" may be used for now. It's unclear if that will persist, or if the interface will change eventually. | |||
2019-02-01 | Merge branch 'pu/refuseunsignedlines' into 'master' | Julian Andres Klode | |
Fail if InRelease or Release.gpg contain unsigned lines See merge request apt-team/apt!45 | |||
2019-02-01 | Step over empty sections in TagFiles with comments | David Kalnischkies | |
Implementing a parser with recursion isn't the best idea, but in practice we should get away with it for the time being to avoid needless codechurn. Closes: #920317 #921037 | |||
2019-02-01 | Drop buffered writing from clearsigned message extraction | David Kalnischkies | |
It is dropped in the merged code, but the extraction of the clearsigned message code was the only one who had it previously, so the short-desc explains the change from a before-after merge of the branch PoV. It would make sense to enable it, but as we aren't in a time critical paths here we can delay this for after buster to avoid problems. References: 73e3459689c05cd62f15c29d2faddb0fc215ef5e Suggested-By: Julian Andres Klode | |||
2019-02-01 | Avoid boolean flags by splitting writeTo functions | David Kalnischkies | |
Suggested-By: Julian Andres Klode Gbp-Dch: Ignore |