Commit Graph

25 Commits

Author SHA1 Message Date
39b8664c9e Added package Creator struct, with create method to process package
entries fully multithreaded including compressing into the archive, as
well as passing messages through an mpsc::channel() interface for use in
a background thread in various frontends. Much better suited to task
than previous `create_package` function. Untested.
2023-03-27 03:18:20 -04:00
33955fa836 Made completions generation more generic 2023-03-26 02:13:13 -04:00
e345ca6abb Add bootstrap binary 2023-03-26 01:43:32 -04:00
00e48a9f9a Fix ownership issues with previous commit 2023-03-25 18:03:51 -04:00
6c62f15a41 Add Update and Database types and begin forming infra for updating
packages
2023-03-25 17:59:53 -04:00
9d53c9f44d Fix some clippy lints 2023-03-25 17:04:50 -04:00
26af277e28 Create tar node for package.ron directly from in memory data 2023-03-25 16:51:58 -04:00
b9116951d5 Creating packages with the cli now working; 2023-03-25 15:15:13 -04:00
ffcd6820d0 Extend tar functionality to turn nodes and archives into byte vectors;
Implement package creation using those methods;
2023-03-25 12:28:44 -04:00
318968db4b Added package format description 2023-03-24 19:03:53 -04:00
311df4c349 Added README 2023-03-24 18:12:30 -04:00
46336cfaff Implement package specs files 2023-03-24 17:23:02 -04:00
bc1f1ed082 Added Hooks enum; Add some doc comments for Package; Add some useful
fields to `Package` struct; Add more cli functionality;
2023-03-24 13:18:52 -04:00
d6982b70e8 Defined cli program options 2023-03-24 12:51:54 -04:00
c3324f203b Ran clippy 2023-03-23 14:53:43 -04:00
85a85a3810 Add Item struct, which contains both a tar::Node and a plist entry.
This struct can be created from just a `Path` parameter, allowing to
read the data contained in a file only once during package creation or
extraction.
2023-03-23 14:43:25 -04:00
4f44290a48 Add optional owner to node creation from data 2023-03-23 14:09:18 -04:00
405ffd194f Add Archive struct to tar 2023-03-23 13:14:17 -04:00
a53cb726f9 Implement tar::Node creation from raw data + file metadata 2023-03-23 12:11:02 -04:00
Nathan Fisher
faf574364a Add basic data structures to represent Tar archives 2023-03-22 18:50:20 -04:00
953c3abbc9 impl TryFrom<&Path> for Plist 2023-03-22 00:01:57 -04:00
Nathan Fisher
634c19be51 Removed unused data structures 2023-03-21 14:33:38 -04:00
Nathan Fisher
d210c44905 Fleshed out some data structures:
- Package
- Version
- Dependency
2023-03-21 14:29:27 -04:00
Nathan Fisher
06bb42ecb9 Add tags to .gitignore 2023-03-21 11:15:36 -04:00
Nathan Fisher
5431e176b5 Initial Commit 2023-03-21 11:12:20 -04:00