Commit Graph

75 Commits

Author SHA1 Message Date
Stefan Reiter
e073fe8081 bump version to 0.3.2 2020-10-30 00:11:07 +00:00
Stefan Reiter
edc7008762 add DepIterator to list dependencies of package versions
Mostly the same boilerplate as the other iterators, but with a special
SinglePkgView type introduced to allow direct access to the nested
PkgIterator returned from target_pkg.
2020-10-30 00:11:07 +00:00
Stefan Reiter
7b2d146e8d expose 'sane' interface to external consumers 2020-10-30 00:11:07 +00:00
Stefan Reiter
07c92f003b add package detail accessors
* short description
* long description
* maintainer
* homepage

Requires constructing a pkgRecords::Parser to read for some reason.
AFAICT this parser is bound to the pkgRecords instance and deleted
together with it, so it doesn't require an explicit delete/free.
2020-10-30 00:11:07 +00:00
Stefan Reiter
1018536523 add priority type accessor to VerView 2020-10-30 00:11:07 +00:00
Stefan Reiter
f28cd3e499 use correct raw type in PkgFileIterator 2020-10-30 00:11:07 +00:00
Chris West (Faux)
52213cdd72 chore: dev itertools -> 0.9 2020-08-20 21:12:39 +01:00
Chris West (Faux)
6d16f0987f chore: bump travis 2019-12-29 21:37:25 +00:00
Chris West (Faux)
ecd60906d2 fix: extra headers required on newer apt 2019-12-29 21:36:49 +00:00
Chris West (Faux)
3d66d108b2 hack: work around https://github.com/rust-lang/rust/pull/57018 2019-04-13 23:08:48 +01:00
Chris West (Faux)
f8c52cba96 travis: bump to xenial 2019-04-13 13:35:26 +01:00
Chris West (Faux)
dac9411a56 edition = 2018 2019-01-21 22:22:47 +00:00
Chris West (Faux)
be7b547623 minor lie in the readme 2019-01-21 22:20:47 +00:00
Chris West (Faux)
7f180bc3ef bump dev dependency / fmt 2018-12-17 19:04:09 +00:00
Chris West (Faux)
46ad5e2bb2 upgrade gcc crate to cc 2018-04-14 20:43:04 +01:00
Chris West (Faux)
2f2167c027 new rustfmt 2018-04-12 20:35:08 +01:00
Chris West (Faux)
1d2364d800 test environment for building on trusty in docker 2017-12-12 20:45:01 +00:00
Chris West (Faux)
46aa9ed07f #2: support building with very old apt 2017-12-12 20:44:28 +00:00
Chris West (Faux)
7a55e2678b update lazy-static to 1 2017-12-10 15:20:21 +00:00
Chris West (Faux)
3b7065ed95 add a note about singleton breakage 2017-11-18 11:05:57 +00:00
Chris West (Faux)
c4e7590239 remove empty test 2017-11-17 09:54:20 +00:00
Chris West (Faux)
b104724ccf add a reload() (#1) 2017-11-17 09:54:14 +00:00
Chris West (Faux)
45741e2de1 PhantomData cares about the MutexGuard, not the Cache 2017-11-17 09:41:11 +00:00
Chris West (Faux)
e6f0bd8b6b comments / unwrap->expect 2017-11-17 09:31:24 +00:00
Chris West (Faux)
9ee8a3ca09 Cache actually carries around a mutex
This is way less insane than the old way, I think. And it seems to work.
2017-11-17 09:28:57 +00:00
Chris West (Faux)
e1cf0fa26c new rustfmt 2017-11-17 09:03:38 +00:00
Chris West (Faux)
477038c074 less specific version declarations 2017-11-17 09:00:44 +00:00
Chris West (Faux)
6b2bd29fed example of running on docker 2017-10-15 21:05:14 +01:00
Chris West (Faux)
370a764967 some extra iterator utilities 2017-10-15 15:44:24 +01:00
Chris West (Faux)
db3be1e3d2 thread safety note 2017-10-15 15:12:24 +01:00
Chris West (Faux)
0aa1d738c6 upgrade 2017-10-15 15:04:46 +01:00
Chris West (Faux)
8fd3d146e3 try and convince travis to run in fast mode 2017-09-13 08:33:02 +01:00
Chris West (Faux)
6bf783c67b cargo upgrade + fix deprecation warning 2017-09-13 08:28:30 +01:00
Chris West (Faux)
d13db3450b 0.2.1: version exposed 2017-09-09 13:20:40 +01:00
Chris West (Faux)
f8d5c5370b source-listing example sorts by version 2017-07-20 12:59:26 +01:00
Chris West (Faux)
77918dcee7 fmt 2017-07-20 12:59:00 +01:00
Chris West (Faux)
81b66ce2ae expose version comparison 2017-07-20 12:45:30 +01:00
Chris West (Faux)
3314733ebb 0.2.0: fixed iterators, "origin"-like concept exposed 2017-07-14 18:16:57 +01:00
Chris West (Faux)
b1bb2ef8ca clippy 2017-07-14 18:15:50 +01:00
Chris West (Faux)
16aa763845 remove last warning with phantomdata 2017-07-14 18:14:49 +01:00
Chris West (Faux)
6641457af2 spello 2017-07-14 14:06:30 +01:00
Chris West (Faux)
b2fc66519b a port of list_source_packages.py, minus the cachedir changing 2017-07-14 14:04:02 +01:00
Chris West (Faux)
25c1de2af2 fmt 2017-07-14 14:03:49 +01:00
Chris West (Faux)
c7b6207ba6 a whole load of origin information may be absent; afaics only for /var/lib/dpkg/status? 2017-07-14 12:19:43 +01:00
Chris West (Faux)
e5a01acb71 surface a whole load more 'origin' information 2017-07-14 11:49:51 +01:00
Chris West (Faux)
4ced3f985c fmt 2017-07-13 22:11:05 +01:00
Chris West (Faux)
d935fa5fb7 some fiddling with the display 2017-07-13 22:01:45 +01:00
Chris West (Faux)
457c31b4a4 impl Display; remove prettyprint for compat; fix section 2017-07-13 21:50:53 +01:00
Chris West (Faux)
d1948421ce thinking about other iterator things to add 2017-07-13 20:10:03 +01:00
Chris West (Faux)
00188891eb fixup borrows on nasty iterators 2017-07-13 18:28:20 +01:00