Commit graph

1686 commits

Author SHA1 Message Date
5972ce7f37 Make StoreIdIterator generic
This patch makes the StoreIdIterator type generic over all iterators
with Item = StoreId.

As the StoreIdIterator type was previousely used for iterating over a
glob() result, I had to wrap this result type in another iterator type
which is then wrapped in StoreIdIterator.

With this patch applied, other libraries may use the StoreIdIterator
type to abstract things away in their implementation.
2016-05-12 17:21:04 +02:00
7c9e52c25e Rename and make public: is_link_store_id() -> is_external_link_storeid() 2016-05-12 17:12:40 +02:00
9f528fb929 Merge pull request #390 from matthiasbeyer/update-log
Update log
2016-05-11 12:35:27 +02:00
111c8b73f0 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
9e0eb9f470 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
62f6478476 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
acfff70498 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
dda40fb5d2 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
40fed760d5 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
eb8f5a7c92 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
72e53e16f6 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
abcbfd7f27 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
f168d8c871 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
15986cba34 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
c29c6bf4a3 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
1b280b2f18 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
e3105fe085 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
a2ca6b4feb Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
465f43cd6e Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
96b7a76227 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
9d1bc2e88c Merge pull request #388 from matthiasbeyer/libimagrt/config-open-error-handling
Libimagrt/config open error handling
2016-05-10 12:34:57 +02:00
ff8ca9c39b Merge pull request #389 from matthiasbeyer/example-config
Add example configuration file
2016-05-09 18:58:10 +02:00
1564ee397b Merge pull request #387 from matthiasbeyer/libimagstore/config-check-fix
Remove old check from config validation
2016-05-09 18:57:45 +02:00
4d9ef9604c Add example configuration file 2016-05-09 17:13:17 +02:00
987605322f Add missing "return None" in file opening error case 2016-05-09 17:12:55 +02:00
87c55d5906 Remove old check from config validation
These keys are not used, actually.
2016-05-09 17:11:59 +02:00
285832f45f Merge pull request #349 from matthiasbeyer/libimagstore/walk
Libimagstore/walk
2016-05-09 15:53:17 +02:00
c32065c2d6 Implement Store::walk() 2016-05-07 13:17:23 +02:00
7ac54dac6d Merge pull request #385 from influenza/patch-1
Fixes coice / choice typo in README.md
2016-05-07 09:21:40 +02:00
3e792ad024 Merge pull request #339 from matthiasbeyer/libimagstore/storeid-no-typedef
Remove typedef for StoreId type
2016-05-07 09:17:18 +02:00
Ron Dahlgren
025ea4b03b Fixes coice / choice typo in README.md 2016-05-06 21:40:15 -04:00
3842e177d7 Make Entry::{from_file,from_str} generic over IntoStoreId 2016-05-04 13:30:19 +02:00
79f585def9 Fix libimagentrylist::listers::path 2016-05-04 13:30:19 +02:00
5d6c226953 Make some store functions generic over IntoStoreId 2016-05-04 13:30:19 +02:00
24ddf5d53b Impl IntoStoreId for StoreId 2016-05-04 13:30:19 +02:00
7e17e213be Fixup ModuleEntryPath macro type 2016-05-04 13:30:19 +02:00
b4db587a10 Impl Deref<PathBuf> for StoreId 2016-05-03 14:58:18 +02:00
4d4acf9168 Fix IntoStoreId implementation 2016-05-03 14:58:05 +02:00
799b9e27a5 Remove typedef for StoreId type
but make it a new type instead.

Also derive and implement as many traits as possible for it, so we keep
backwards compatibility as much as possible.

Anyways, we need to rewrite some code for this.

Suggested-by: Marcel Müller <neikos@neikos.email>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2016-05-03 14:58:05 +02:00
1f13594999 Merge pull request #382 from matthiasbeyer/cache-cargo-travis
Add cargo cache for travis
2016-04-29 14:45:08 +02:00
54cf4c114b Add cargo cache for travis 2016-04-29 13:52:50 +02:00
770cc3e86b Add dependency: walkdir = 0.1.5 2016-04-28 17:52:46 +02:00
9ff826e64e Merge pull request #380 from matthiasbeyer/libimagutil/polish-trace_output
Make trace() output a bit nicer
2016-04-22 16:25:23 +02:00
f6e59c355e Remove "caused by" marker
As we are in debug mode anyways, a developer using this should know by
the trace number that the next line is the cause.

As we use the debug!() macro here, this would be printed on a new line,
which is rather distracting instead of helpful. Therefor this patch
removes this line.
2016-04-22 15:10:24 +02:00
ad4e73399f Make trace() output a bit nicer 2016-04-21 16:36:13 +02:00
bd2f7bc616 Merge pull request #377 from matthiasbeyer/hotfix-build
Remove unused import
2016-04-21 16:33:29 +02:00
7aeb0c2833 Remove unused import 2016-04-21 15:57:42 +02:00
b629d0b8f1 Merge pull request #367 from matthiasbeyer/unwrap_err
Unwrap err
2016-04-21 15:08:36 +02:00
0c4edf6474 Merge pull request #374 from matthiasbeyer/remove-unneeded-derefs
Remove unneeded derefs
2016-04-21 15:08:00 +02:00
4d27958699 Merge pull request #375 from matthiasbeyer/imag-store/zero-warnings
Imag store/zero warnings
2016-04-21 15:07:54 +02:00