- Error logging is now present in pacwrap-agent
- Agent error code handling now correctly traps runtime panics.
- impl of DisplayTrait for TransactionError no longer handles the
display of transaction failure messages.
- Error handling for TransactionAggregation is split into three
categories: Fatal, Error, and Non-Fatal Error. While two former are
immediately trapped and the program is terminated, the latter can
safely terminate the program without consequence.
- This option was ommitted by mistake during some refactoring work and
now the `exec` module in pacwrap has been revised to include this
option.
- AppIndicator module has had the talk option re-added.
- Specifiying the `-v` option twice will invoke `--log` on
xdg-dbus-proxy for easy debugging.
- `fatal()` function for handling the termination of the program when a
fatal human-readable error digestable error occurs. This function
terminates the program and will never return a value.
- Much like the aforementioned function, the `error()` function now
prints the error and terminates the program, instead of printing the
error and returning the error code as an i32 integer.
- ErrorType enum implemented as an encapsulate to delineate error type.
- Display trait implemented for ErrorType enum for use cases whereby
the program being terminated is inconvenient for the given code path.
- `generic()` function added to GenericError trait for handling errors
of which do not require a message to be prepended.
- Global configuration is now statically cached with OnceLock instead of
lazy_static, and is loaded on-demand instead of during the invocation
of the `init()` function from the init module upon program startup.
- Use of lazy_static was also eliminated in pacwrap-core's sync module.
- 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
- 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.
- 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.
- 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
- 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
- lazy-static variables replaced with OnceLock where applicable with
otherwise redundant usage removed.
- Front-end code no longer makes use of lazy-static variables
- Documentation for desktop utils command module
- Split authorship and license sections in manual
- Cleaned up and reformatted some parameters in manual output
- Don't include symbolic containers with queue in filesystem module
- Tidy-up refactor of a few different functions across the library
- Allow synchronization to occur for target-only operations
- Check array bounds in remove module for container deletion shortcut
- Remove redundant builder call to progress function in remove module
- Shields.io badges added to README.md with clarification on
functionality present in pacwrap.
- Stipulate the requirement for libalpm 14 or greater in README.md
- Module documentation written in markdown located in /docs/ for
filesystems and permissions modules
- Help CLI refactored with format improvements and fixes.
- Lock assert calls for container composition, creation, and remote sync
- Added value opperand for process module in main frontend module
- Moved Lock.unlock() callback to front-end callers as aggregator module
no longer is responsible for this invocation.
- Download fail state added to download event module
- Verbosity of the output has been greatly reduced during aggregated
transactions. Implemented is a progress ticker which serves as a
header for when a container requires to be operated upon.
- PACWRAP_VERBOSE=[0|1] or TERM=dumb environment variables can be used
to otherwise toggle the old, verbose printout.
- signal_trap function moved to utils module.
- lock module provides a lock file facility via the Lock impl to ensure
conflicts do not occur with concurrent operations on the same pacwrap
data directory and container store.
- pacwrap-signal thread spawned during aggregate transactions to provide
graceful, forced signal trapping. Requires three iterations of a normal
signal to forcibly quit the program.
- metadata getter and flags setter functions moved out of TransactionHandle
into the TransactionMetadata impl
- Filter non-existant roots with obtain_base_handle in cache module
- Inclusion of new TableColumns type called OldNewNet
- Shell command module is now correctly qualified by qualify_process
- Removal of unnecessary clone derive for event structs
- Idiomatic whitespace generation
- Missing space in string for gpg key prompt
- Adjusted list sorting and fixed bug with column alignment
- Creation of symbolic containers exposed at frontend via utilities
subcommand module via --utils --symbolic.
- Symbolic container filter removed from register function in cache
module
- Container API adjusted to allow symbolic container composition
- Frontend sync module has been overhauled and cleaned up with
additional argument bounds checks.
- Adjusted validation control flow during container creation with
sync or compose modules to ensure containers aren't prematurely
instantiated without valid environmental and operational parameters.
- Moved and integrated a genericised instantiate_container function
into the sync module in the core library
- Configuration error message altered to include path instead of
container name.
- Container creation in sync module now only syncs targets as required
- More robust validation for --target parameters
- Targets marked for reinitialization can now accept a configuration
from a file if specified.
- Cleaned up process module
- Prompt module no longer emboldens listed targets for confirmation
prototype removed
- Remainder of the bash prototype has been deprecated and removed along
with the bash compatibility layer
- Container composition which allows users to instantiate and reinitialize
containers from an existing configuration or specified configuration file.
- Utilities ported such as desktop entry creation, container list, and
container deletion.
- Packages can be removed from multiple separate targets as specified
- Multiple targets can now be aggregated with --target-only
- PACWRAP_ROOT environment variable for overriding the container root
directory for a given container's runtime environment
- Eliminated key.sh and replaced it with package(), a generic bash
function for packaging version-aware resources and scripting
- In order to make use of standard git tarballs, manpage generation is
now invoked by hand with resulting manpages comitted to git, and then
version information is added with dist scripting.
- Some refactoring and tidying up of manual formatting
- Present a verbose string only for development or git builds
- Obtain build date from modification time. This will ensure a
deterministic build timestamp is still available for tarball-derived
builds.
- Handle rewind I/O error properly by returning blank state in
filesystem.rs module
- Upon initialization of container, setup default timezone.
- Corrected path to new configuration location in pacwrap-common script
- Updated definition for --force-foreign in manual.rs module
- Patched erroneously unbracketed conditional in proc.rs module
- Changed DSL storage location from ~/.config/pacwrap/instance/ to
~/.config/pacwrap/container/
- In the progress.rs module, discard held reference once progress
is complete.
- Package holding implemented
- Logical errors fixed in foreign preparation state
- Version URLs updated in manual.rs
- proc module now has --all option for process lists
- Switched to IEC units for transaction summaries
- Display bug fixed with basic transaction summary
- Removed symbolic container creation from pacwrap-utils script
- Seperation of concerns with warnings in exec module
- Getting started documentation for new users
- Refactored ExecutionArgs struct in args module
- Addition of a new manual: docs/config.md
- Updated docs/manual.md to reflect present help manual
- Help documents can be accessed with command nouns.
- Comment out multilib repo in default repositories.conf file
- Remove pacwrap-base-dist from default pacwrap.yml hold_pkgs array
- Default configuration files included can be changed at build time with
PACWRAP_DIST_CONF and PACWRAP_DIST_REPO_CONF environment variables.