Commit graph

369 commits

Author SHA1 Message Date
fe5aa4741b Refactored function name from parse to populate in arguments module 2023-12-01 20:28:34 -05:00
5826e619b1 Indentation cleanup 2023-12-01 17:35:15 -05:00
95f088d773 Changed split(..) to splitn(..,..) to ensure value is split only once 2023-12-01 17:31:19 -05:00
110305bc83 Updated README.md with preliminary logo.svg 2023-12-01 13:36:13 -05:00
d41269c806 DEV permission now accepts a plurality of devices 2023-11-29 17:45:04 -05:00
8b588c4ee8 Updated creation code with new --dep parameter.
- New --dep parameter to be used in place of --target to specify
container dependencies to configure a container on creation, allowing
for multiple containers to be created in one invocation.
- Bug fix applied to creation of base containers
- pacwrap-utils updated to be compatible with the proceeding changes.
2023-11-29 14:45:42 -05:00
728185d960 Improved error handling and further type optimisation
- Moved config registration to core library
- Improved trait structure for filesystem configuration
- constants module cleaned up
2023-11-28 13:20:51 -05:00
5986add449 Type refinements, resulting in a CPU time reduction of at least 27% 2023-11-23 23:07:43 -05:00
087eb29037 Applied 1c7f48dd81 2023-11-17 01:11:58 -05:00
4f5cd6c868 Fixed erroneous formatting for subheaders in markdown output 2023-11-17 00:51:20 -05:00
b9b5ea8664 Correction of overzealous punctuation 2023-11-16 23:55:24 -05:00
1c7f48dd81 Initial commit workspace Cargo.toml 2023-11-16 23:36:36 -05:00
2d070ab120 Agent is now at a functional parity, pacwrap-lib renamed to pacwrap-core, and some miscellaneous refactoring.
- Introduction of set_alpm(handle) function in Transaction impl..
- Agent attained a functional parity, however work remains to
  introduce IPC to polish the UX.
- keyring_update(inshandle) invocation reinstated post-transaction.
2023-11-16 23:35:50 -05:00
f9c1f53750 Initial commit of .gitignore 2023-11-16 01:14:04 -05:00
3cff477830 New and updated dist scripts, dist package, and build-environment
configuration

- makepkg.conf for building dist-package in build chroot
- runtime.sh to package a lightweight runtime image for pacwrap-agent
- Link to flatpak-xdg-utils binaries to /usr/local/bin in
  pacwrap-base-dist package.
2023-11-16 01:03:53 -05:00
0da7635e4b Some refactoring and formatting 2023-11-08 15:54:58 -05:00
52194e8c3f Split into three crates: pacwrap, pacwrap-lib, and pacwrap-agent.
- Preliminary introduction of the pacwrap-agent for containerising transactions
- Back-end and front-end code has been split into two separate crates.
- Among other miscellaneous refactoring work.
2023-11-03 22:42:24 -04:00
f193f3854c Type consistency and housekeeping on the arguments module 2023-10-31 19:47:36 -04:00
52812fb38f Check for refresh operation 2023-10-31 19:41:31 -04:00
1275ae56d4 Corrected bad comparator with insufficient scope 2023-10-30 21:48:35 -04:00
0544c34857 Fixed casing on version argument 2023-10-30 09:40:28 -04:00
7a7a5db319 Obtain timestamp from git on release target for reproducible builds. 2023-10-30 09:27:07 -04:00
8cc80df333 Release 0.4.4 2023-10-29 16:01:23 -04:00
d1d91add9a LICENSE file 2023-10-29 15:34:12 -04:00
c457ba26e0 Some tidy up, enhancements/fixes to argument parsing logic for --sync 2023-10-29 15:30:08 -04:00
24b518ca21 Slight reversion of ef6cfad562 and
reordered N/y to Y/n for key import and corrupted package dialogues
2023-10-27 07:21:11 -04:00
077509907d Missing OR operand 2023-10-27 06:41:58 -04:00
1ceaf8b072 Release 0.4.3 2023-10-27 06:22:44 -04:00
844c5f9533 ProgressEvent rewritten, foreign sync progress, refactoring, and some bug fixes.
- config::provide_new_handle(&str) which bypasses root path check
- Fixed bug lock-up bug in ProgressEvent
- Condensed progress bar for foreign package synchronization.
- pr_offset added to TransactionType as a semi-public API for
  ascertaining progress offset
2023-10-27 06:11:13 -04:00
048b4f49a4 Hardcoded PATH envvar updated to include /usr/local/bin/ 2023-10-27 06:10:05 -04:00
ef6cfad562 Removed --save function from bash interoperability layer.
- In addition, generate_config() in pacwrap-common is now inert.
- Specify dependent packages in package replication arguments.
2023-10-27 06:03:35 -04:00
668f96dfff Remove object from Map after finished otherwise indicatif will lock up. 2023-10-27 05:57:13 -04:00
da3e35d751 Implemented key import and corrupted prompts 2023-10-27 05:48:07 -04:00
ae870b770b Formatting consistency. 2023-10-26 09:55:02 -04:00
78c91105b6 Release 0.4.2
- go-md2man is no longer a required build-time dependency for manpage
  generation
- Improved input validation for exec module
- Improved target handle validation and error handling.
2023-10-25 05:52:05 -04:00
7484b606bf Proper error handling for provide_handle function.
- Improved error handling for missing or otherwise invalid
  container configurations for all downstream invocations.
- Universal, consistent error messages for related issues.
- provide_some_handle was deprecated and thusly removed.
2023-10-25 05:41:00 -04:00
027b44cba1 Initial commit of build script 2023-10-25 05:33:28 -04:00
939067bbcb String buffer construction, vt linewrap escape codes, and sub_text layout function 2023-10-25 05:28:32 -04:00
0bb89ccfdc Preliminary README markdown documents 2023-10-25 02:15:45 -04:00
4006ae9ce4 Removed sub_text function and replaced it with tab function. 2023-10-25 02:10:28 -04:00
23c10bca44 Updated makefile to remove deprecated scripting 2023-10-25 01:01:42 -04:00
d2decbb860 Initial commit of markdown-formatted user manual 2023-10-25 00:29:30 -04:00
1a11c7c9e6 Help documentation revision with proper troff support 2023-10-25 00:28:30 -04:00
4ee8350699 Removal of redundant slash in XDG_RUNTIME_DIR static constant 2023-10-24 04:38:30 -04:00
63baf06893 Fixed and improved input validation for executable args
- In addition some minor housekeeping
2023-10-23 06:21:12 -04:00
dcc7a6ee17 Help header fixed, and unnecessary uppercase letter changed to lowercase. 2023-10-23 06:18:28 -04:00
c0bb7f80d1 Release 0.4.1 - Compatibility bug and improved error handling.
- Disallow multiple type parameters applied to --create
- Provide the ROOT type in pacwrap-utils replicate function
- Updated help manual.
2023-10-22 07:13:41 -04:00
c14f6e0733 Formatting, URL update, and argument rearrangement 2023-10-22 03:08:53 -04:00
37dbdd1cdd Release 0.4.0 -- Newly integrated CLI arguments parser with a native
help manual.
2023-10-22 02:24:20 -04:00
8d6596ba01 Updated compatibility, Removed pacwrap-man as --help is now provided by
the main binary.
2023-10-22 02:04:27 -04:00