Commit Graph

27 Commits

Author SHA1 Message Date
Colin Walters 8a5ac02822 Update to glib 0.14
An intimidating spam of compiler errors at the start, but the
biggest was handling the new convention of `ostree_sys::` => `ffi::`.

This will require a semver bump of course.
2022-05-06 12:53:56 -04:00
Felix Krull a39328a4eb sign: add sanity check for sign API 2022-05-06 12:53:56 -04:00
Felix Krull de0cee4ecd tests: use RepoMode::Archive (seems to be less finicky) 2022-05-06 12:53:56 -04:00
Felix Krull ddb781f399 repo_checkout_at_options: fix version flags 2022-05-06 12:53:55 -04:00
Felix Krull 3290d5c2d1 Rewrite handwritten futures functions 2022-05-06 12:53:55 -04:00
Felix Krull bf27ba5dc0 Fix lint in tests 2022-05-06 12:53:55 -04:00
Felix Krull 376dc2896c ci: fix build
I guess the failing checksumming tests were due to user IDs or file system
permission problems in CI.

Squashed commit of the following:

commit 6680075f3fc1ce483712b1e2b7124f5b04654393
Author: Felix Krull <f_krull@gmx.de>
Date:   Tue Sep 3 00:46:02 2019 +0200

    Remove troublesome tests

    They seemed to be failing due to different user IDs or file system
    permissions. I don't know how to get them stable, so out they go.

commit 6bb28dbf2ed2af093df6120d6095d1aba48fed56
Author: Felix Krull <f_krull@gmx.de>
Date:   Tue Sep 3 00:37:15 2019 +0200

    Ignore troublesome tests

commit a31a347a18ef4a32cae8ec22532ce938c6000d97
Author: Felix Krull <f_krull@gmx.de>
Date:   Tue Sep 3 00:30:17 2019 +0200

    Potentially fix checksum tests

commit 8e8bace9ce39d4ef709eb8806502140734eade4c
Author: Felix Krull <f_krull@gmx.de>
Date:   Mon Sep 2 23:33:31 2019 +0200

    Fix actual/expected (maybe)

commit ab2a1f6f13f8e607dc3824e4ccf51cebc9a17111
Author: Felix Krull <f_krull@gmx.de>
Date:   Mon Sep 2 23:23:42 2019 +0200

    Fix Checksum::from_{base64,hex}

commit dd462c271ffb54190399dfe50f5797e1956f7bab
Author: Felix Krull <f_krull@gmx.de>
Date:   Mon Sep 2 23:08:29 2019 +0200

    Fix Checksum::to_base64
2022-05-06 12:53:54 -04:00
Felix Krull ad26abaa7e Implement ostree::checksum_file_at 2022-05-06 12:53:54 -04:00
Felix Krull 14f2ff43df Implement ostree::checksum_file_from_input 2022-05-06 12:53:54 -04:00
Felix Krull 7f3bd56d0d Implement ostree::checksum_file 2022-05-06 12:53:54 -04:00
Felix Krull bb4e0c5978 Implement Repo::write_metadata 2022-05-06 12:53:54 -04:00
Felix Krull 78a14d15a3 Implement Repo::write_content 2022-05-06 12:53:54 -04:00
Felix Krull d74c0fc04f lib: add docs and safety notes to RepoCheckoutFilter 2022-05-06 12:53:54 -04:00
Felix Krull e39f8d7461 lib: add repo_checkout_filter function for better ergonomics 2022-05-06 12:53:54 -04:00
Felix Krull 6776c819f1 tests: reorganise repo tests so they have fewer feature flags 2022-05-06 12:53:54 -04:00
Felix Krull eb602d8546 tests: fix imports with default features 2022-05-06 12:53:54 -04:00
Felix Krull 19fdf706d5 lib: implement CheckoutOptions::filter (hackishly) 2022-05-06 12:53:54 -04:00
Felix Krull 54be07c6b9 tests: fix checkout_at tests 2022-05-06 12:53:54 -04:00
Felix Krull aef78f3985 lib: handle ino cache and sepolicy options 2022-05-06 12:53:54 -04:00
Felix Krull eec4a2287d lib: RepoCheckoutAtOptions 2022-05-06 12:53:54 -04:00
Felix Krull faef3562b8 collection_ref: add accessors for collection_id and ref_name 2022-05-06 12:53:54 -04:00
Felix Krull 0fe1b0d951 Add ignored test for empty FileInfo crash 2022-05-06 12:53:54 -04:00
Felix Krull 80de2aa2ea Add test for checkout_tree 2022-05-06 12:53:54 -04:00
Felix Krull c89270969c Refactor tests and add test for traverse_commit 2022-05-06 12:53:53 -04:00
Felix Krull 61e205b5c3 Regenerate and update to new gir and glib-rs version 2022-05-06 12:53:53 -04:00
Felix Krull 999d239c59 Rename libostree to ostree 2022-05-06 12:53:53 -04:00
Felix Krull ced47cbb26 Move main crate into repo root 2022-05-06 12:53:53 -04:00