Commit Graph

16 Commits

Author SHA1 Message Date
Nathan Fisher
43d8c82c08 Remove appstream from Specs and Package structs 2023-04-10 18:41:23 -04:00
Nathan Fisher
89d36281e3 Added some testing for version comparison and implemented PartialEq for
Version manually
2023-04-09 19:14:16 -04:00
407d12a711 Remove stale backup of version::mod.rs 2023-04-09 01:38:39 -04:00
4cede60a80 Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/hpk-package into odin 2023-04-09 01:36:26 -04:00
Nathan Fisher
32b4f80715 Fix some issues with getting tar header fields; Add some doc tests in
tar module; Add some tests for version checks;
2023-04-08 19:10:30 -04:00
ae099d94aa Fix Header::filename() method;
TODO: fix other related methods, fix Archive::get() method.
2023-04-08 11:44:09 -04:00
Nathan Fisher
acbdf2d992 Cargo fmt 2023-04-07 19:11:35 -04:00
Nathan Fisher
0ab84def2e Make package::User and package::Group public 2023-04-07 19:08:23 -04:00
Nathan Fisher
723d697e90 Export Arch enum 2023-04-06 18:31:52 -04:00
9cf9d469f6 Add any arch; Add archive_name method for Package; Ensure
architecture matches when checking if a package is an upgrade;
2023-04-04 22:02:58 -04:00
7d6376d5c4 Store target arch as HOST_ARCH const, use this as default value for
`Package` struct
2023-04-04 21:52:29 -04:00
a58150cc9c Add arch field to Package 2023-04-04 20:45:43 -04:00
Nathan Fisher
90b163eb1b Add deku, ron and sha2 to re-exports 2023-04-03 18:43:58 -04:00
Nathan Fisher
218abdaa87 Adjust re-exports 2023-04-03 18:36:54 -04:00
Nathan Fisher
ee52bfb462 Add minitar test files; Remove creator and item modules; 2023-04-03 18:29:11 -04:00
Nathan Fisher
1e7d73bc28 Split from hpk crate 2023-04-02 18:51:12 -04:00