Commit Graph

30 Commits

Author SHA1 Message Date
Nathan Fisher
af41d1c006 Fix bug introduced revolving around the ustar prefix field. GNU tar
was not giving the full path to each file and ignoring the `prefix`
field. On investigation, the field is only to be used if the filename
is longer than 100 bytes. Since the library code had been simplified to
always use the prefix field this caused all filenames shorter than 100
bytes to fail.

Also updated `package-bootstrap` to the latest patch release, which has
a fix for completions being installed into the base directory rather
than the appropriate subdirectory.
2023-05-05 19:07:44 -04:00
1e7a02e33d Moved hpk-package all the way back into tree, fixed some clippy lints 2023-04-16 10:36:43 -04:00
be0c8dc6e7 Massage Installer for better code readability 2023-04-11 22:37:02 -04:00
Nathan Fisher
13dff6bd96 Get basic package installation implemented, with several TODOS left. 2023-04-11 14:05:37 -04:00
f4e87ee500 Merge remote-tracking branch 'hpk-cli/odin' into odin;
This commit brings the cli `hpk` binary back into the `hpk` crate and
places it behind a feature flag, enabling development to take place in a
single repository.
2023-04-10 01:06:01 -04:00
Nathan Fisher
ab6e7441f1 Create Installer struct 2023-04-07 19:12:28 -04:00
Nathan Fisher
a07166375a Add Arch to Update struct 2023-04-06 18:47:53 -04:00
c5450c34ef Update package-bootstrap crate 2023-04-05 22:37:25 -04:00
Nathan Fisher
8907831877 Update hpk-package 2023-04-04 22:52:19 -04:00
Nathan Fisher
1e101f7e70 Update hpk crate, which now has hpk-package split out 2023-04-03 19:04:37 -04:00
Nathan Fisher
082c215b44 Split out hpk-package into separate crate; Implement Repository::build() 2023-04-03 19:02:15 -04:00
bbb611c77c Added constants and functions for getting the effective database path
and cache directory
2023-03-31 11:39:20 -04:00
ccd163edf5 Remove nativ_tls option for ureq, as it greatly complicates cross
compiling
2023-03-31 01:03:54 -04:00
Nathan Fisher
8b52ded12c Tweaked command line options; Fixed manpage installation paths; 2023-03-30 00:46:14 -04:00
9f4d26b338 Added some db/repo methods; Add deny.toml; Replace reqwests with
`ureq` crate;
2023-03-29 23:31:59 -04:00
efe77b97d8 Added progress bar styling 2023-03-28 21:18:55 -04:00
cf9d6aa7e6 Add progress bars for package creation 2023-03-28 19:28:37 -04:00
e8aa73bf9d Split off from hpk crate 2023-03-28 17:12:41 -04:00
1160730e1f Moved cli binary and bootstrapper into separate crate 2023-03-28 16:57:13 -04:00
026e8599a5 Move cli into module rather than workspace member 2023-03-28 00:16:12 -04:00
e1f7fbe4fe Fix bugs in Creator so that it works now 2023-03-28 00:09:16 -04:00
e345ca6abb Add bootstrap binary 2023-03-26 01:43:32 -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
46336cfaff Implement package specs files 2023-03-24 17:23:02 -04:00
d6982b70e8 Defined cli program options 2023-03-24 12:51:54 -04:00
4f44290a48 Add optional owner to node creation from data 2023-03-23 14:09:18 -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
5431e176b5 Initial Commit 2023-03-21 11:12:20 -04:00