Nathan Fisher
a1843cac33
Check for package upgrades in parallel; Search in packages in parallel;
2023-04-01 02:01:53 -04:00
Nathan Fisher
eae02ce616
Clean up imports after last commit
2023-03-30 19:07:12 -04:00
Nathan Fisher
71a87a506e
Adjust `Creator` struct to use Vec<PathBuf> instead of Vec<DirEntry>;
...
Add `from_list` method for `Creator`
2023-03-30 18:43:11 -04:00
Nathan Fisher
efb28a30e2
Fix for dependency resolution - take into account release number
2023-03-30 10:59:02 -04:00
Nathan Fisher
749bac6876
Remove stdout message on writing package.ron
2023-03-28 17:53:44 -04:00
Nathan Fisher
1160730e1f
Moved cli binary and bootstrapper into separate crate
2023-03-28 16:57:13 -04:00
Nathan Fisher
3b88759665
Cleaned up imports from previous commit
2023-03-27 03:26:51 -04:00
Nathan Fisher
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
Nathan Fisher
6c62f15a41
Add Update and Database types and begin forming infra for updating
...
packages
2023-03-25 17:59:53 -04:00
Nathan Fisher
9d53c9f44d
Fix some clippy lints
2023-03-25 17:04:50 -04:00
Nathan Fisher
26af277e28
Create tar node for `package.ron` directly from in memory data
2023-03-25 16:51:58 -04:00
Nathan Fisher
b9116951d5
Creating packages with the cli now working;
2023-03-25 15:15:13 -04:00
Nathan Fisher
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
Nathan Fisher
46336cfaff
Implement package specs files
2023-03-24 17:23:02 -04:00
Nathan Fisher
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
Nathan Fisher
d6982b70e8
Defined cli program options
2023-03-24 12:51:54 -04:00
Nathan Fisher
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
Nathan Fisher
953c3abbc9
impl TryFrom<&Path> for Plist
2023-03-22 00:01:57 -04:00
Nathan Fisher
d210c44905
Fleshed out some data structures:
...
- Package
- Version
- Dependency
2023-03-21 14:29:27 -04:00