Commit graph

328 commits

Author SHA1 Message Date
7234f89202
Release 0.8.5 2024-09-14 21:15:59 -04:00
73697a4060
Update doucmentation to reflect e4b8a85ccd 2024-09-14 21:13:37 -04:00
e4b8a85ccd
--disable-sandbox for disabling libalpm sandbox
- Ability to instruct libalpm to disable its own sandboxing mechanism by
  engaging `--disable-sandbox` at the command line.
- Updated manuals to reflect new command-line options.
- Disable sandbox user when disabling libalpm's sandbox
2024-09-14 21:11:46 -04:00
2819f5d216
--debug to trigger logging verbosity
- Logging verbosity triggered by `--debug` command-line option.
- Implemented callback function for libalpm's logging callback.
- Increased TransactionFlags to 16 bits from 8 bits to accomodate the
  bitlength required for additional transaction flags.
2024-09-11 22:20:55 -04:00
024bab1d7f
Remove redundant flag 2024-09-11 22:03:35 -04:00
9e4537fded
disable_sandbox option for global configuration 2024-09-10 20:05:17 -04:00
4fb2ac7ef8
Better handle transactional errors originating from agent 2024-09-10 19:55:08 -04:00
956f0ce176
Update to README.md
- Remove relative paths
2024-09-09 23:06:01 -04:00
caa9d05041
Deduplicate pacwrap/README.md, symlinking to ../README.md 2024-09-09 23:05:00 -04:00
c75c26eb48
Support libalpm 15 via alpm-rs 4.0.0
- exec.rs: Remove libfakeroot.so from LD_PRELOAD environment variable set
  in the transaction_agent function, when creating the ephemeral
  container with bubblewrap utilised for sandboxed transactions.
- Update Cargo.lock
- Cargo.toml: Change alpm-rs 3.0.5 to 4.0.0
2024-09-09 23:04:22 -04:00
e67cbd56ab
Parse empty operators 2024-09-03 17:08:22 -04:00
276e72ac7d
Bespoke pseudorandom_string function replaced with sample_string 2024-08-29 00:03:02 -04:00
fe3d060383
Add file extension to temporary files for editing
- Added ext function to the FileType impl to return a FileType extension
  for the relevant FileType.
- In the edit function, derive the file extension from said ext function.
- Simplified can_edit function with matches macro.
2024-08-28 16:43:22 -04:00
2c190b83c0
Use thread_prng from the rand crate instead of calling /dev/urandom 2024-08-28 16:12:00 -04:00
556ece1256
Additional length validation 2024-07-20 22:26:25 -04:00
e988b90c11
Release 0.8.4 2024-06-14 17:31:52 -04:00
8b3d4ee651
Cleaned up error handling in dist scripting 2024-06-14 17:31:38 -04:00
ae8c37e951
Addition of Process mtime function and expect calls 2024-06-11 20:51:32 -04:00
c956e7761f
Breaking change with nvidia driver 550.90.07 fixed 2024-06-11 17:38:26 -04:00
aa59e578e1
Process hierarchy in descending order sorted by mtime 2024-06-10 22:42:47 -04:00
4d037afbae
Target dependents during composition
- Along with some minor tweaks
2024-06-10 18:05:50 -04:00
9e979ab0b1
Corrected typo of command-line-utilities category slug 2024-06-07 19:02:29 -04:00
64b9d96ea5
Release 0.8.3 2024-06-07 18:54:26 -04:00
2a2c3cd3dc
Agent error handling and initialize trustdb during composition
- Initialize gnupg database during container composition
- Handle exit code 1 of agent as a general failure and changed resulting
  verbiage to 'general agent fault'. Shifted error codes up by one.
- Check if FD 1 is a terminal for colour detection in pacwrap-key
2024-05-31 17:30:55 -04:00
b30ffbc14b
More legible data structure for representing repositories
- AlpmRepository struct to increase legibility of repository data
  structure for future work.
2024-05-30 20:57:41 -04:00
736dae7aeb
Rework of synchronize_database function and handle empty queue
- Cleaned up synchronize_database function and use filter_handle prior
  to acquisition of handle iterator.
- In aggregate module when queue is empty, error with
  SyncError::NothingToDo.
2024-05-28 16:34:24 -04:00
21b4fa6c32
Handle Symbolic containers properly 2024-05-27 18:12:06 -04:00
2dd3f1dbf1
Include symlinked root directories in enumeration 2024-05-27 16:33:32 -04:00
45d9376ab0
Release 0.8.2 2024-05-21 19:04:37 -04:00
1f6e04c4ff
Update Cargo.lock 2024-05-21 19:01:58 -04:00
d2c71a230e
Revision to 1385021b0f 2024-05-14 23:31:34 -04:00
e8403c600d
Bug fix for kill_processes function with minor refactoring
- Continue loop in kill_processes and warn instead of returning error
- Removed redundant colon in warn message
- Removed vestigial lifetime expanssion from qualify_process function
2024-05-13 18:16:26 -04:00
1385021b0f
Fixed error condition handling in edit function with some minor refactoring
- A bug wherein the lock doesn't get removed when an error occurs (e.g.
  file not found) has been fixed.
2024-05-09 20:52:14 -04:00
c86d24c5a8
Cleaned up directory-acquisition functions and tidyed up agent
- Added expect call in procfs() in the ever unlikely scenario the Linux
  kernel fails to return a UTF-8 string. If this were to happen, it'd
  mean something had gone horribly wrong; either a bug in the kernel, or
  memory corruption as a result of faulty hardware.
- Reference version data from constants in agent.rs
2024-05-09 20:48:06 -04:00
622be0a7e6
Attribution update in dist 2024-05-09 20:40:19 -04:00
6168fefd13
Removed lazy_static dependency from pacwrap crate 2024-05-01 21:32:44 -04:00
3fe9d41659
Some tidy up curtailing use of lazy-static variables
- lazy-static variables replaced with OnceLock where applicable with
  otherwise redundant usage removed.
- Front-end code no longer makes use of lazy-static variables
2024-05-01 21:32:13 -04:00
e1f6d0ee52
Manual update to reflect c243d528b1 2024-04-30 20:32:21 -04:00
c243d528b1
Lazy init addition to manual, HELP_ALL changed to fixed-length static array 2024-04-30 20:29:35 -04:00
0cf3701fe9
Updated Cargo.lock 2024-04-30 20:29:32 -04:00
aeadbd4aa4
Enablement of experimental lazy database initialization 2024-04-26 23:45:42 -04:00
d8a81436a1
Release 0.8.1 2024-04-24 18:00:28 -04:00
f7f603f37f
Attribution Update 2024-04-24 17:58:24 -04:00
4bfc0ccbe6
Documentation update 2024-04-23 19:20:02 -04:00
69c1b3fe53
Fixed delete lock and fixed argument in manual 2024-04-23 17:15:58 -04:00
78bbcbef79
Don't synchronize filesystem state during preview
- Prevent filesystem state synchronization when preview flag set
- Disallow container creation when preview flag set
2024-04-21 15:43:01 -04:00
03d942ad22
Bug fixes for database resolution during composition
- Container::stamp function to set new timestamp with compose_handle.
- Restructured and refactored trans_ready function.
- Fixed bug with progress ticker during an aggregate transaction when
  one or more lines are printed to std[out|err].
- Do not print containers as up-to-date upon completion of container
  composition nor creation in aggregate, nor if a container was
  composed.
- TransactionState::Skip state declared and implemented.
- Check for UpdateSchema(..) instead of Prepare for marking a container
  as updated.
2024-04-21 15:34:53 -04:00
5c3b9bdd5d
Attribution update 2024-04-19 18:41:29 -04:00
8564f2ca74
Add positional arguments in edit function 2024-04-19 18:41:27 -04:00
93a3386571 Partial reversion of 8b286a2dfc to qualify
runtime operation
2024-04-11 20:26:11 -04:00