Commit Graph

9 Commits

Author SHA1 Message Date
Felix Yan
82d5ebb630
apt: Parse Packages and cache it to improve performance
It's a very noticable 20~40s to 1s improvement here.
2020-09-21 18:49:23 +08:00
lilydjwg
ac73106e43 apt: minor update 2020-09-20 23:09:40 +08:00
lilydjwg
185a7e88a9 use asyncio.Semaphore instead of self-made queue 2020-09-20 22:15:54 +08:00
lilydjwg
f4983eaea3 apt: run decompress in an executor to give other tasks time to run 2020-09-20 22:02:18 +08:00
Felix Yan
a018f71186
Make mirror and suite mandatory 2020-09-17 12:53:03 +08:00
Felix Yan
da5b489173
Use srcpkg instead of source_pkg 2020-09-16 21:19:38 +08:00
Felix Yan
b620ed4e90
Support source package too 2020-09-16 18:57:50 +08:00
Felix Yan
819a8461a4
Use deb.debian.org instead of ftp.debian.org 2020-09-16 17:41:45 +08:00
Felix Yan
ae563d007f
Add an APT source
This source follows the same flow apt itself uses to check for a
package's version, so it can be used to check for any APT repository
(not necessarily Debian or Ubuntu).
2020-09-16 17:20:17 +08:00