Note: This is a test release intended to ensure nothing breaks when the
associated crates are published to crates.io.
- Update to version '0.8.7-pre'.
- Testing new `Cargo.toml` workspace manifest, of which brings manifest
keys in all three pacwrap crates together. Most package keys now, with
the exception of crate-specific metadata, are now located in the
workspace manifest.
- Update common.sh to accomodate this change.
- Update README.md to again use relative paths.
- Up until this point, attempting to release a transaction via a call to
`trans_release` was done liberally and unnecessarily so; this has now
been fixed.
- Added whitespace character in `aggregator` module to println statement.
- Renamed `NoCompatibleRemotes` to `NoCompatibleContainers` in the
`SyncError` error enum.
- 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.
- Updated to alpm.rs 4.0.1
- Changes made with b621c34 were made as a result of a regression,
introduced with alpm.rs 3.0.x, of which has now been fixed upstream.
They've now since been reverted.
- `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.
Accidental removal of filter call leading to a regression, which output
the full package list for each container configuration. The original
intention was to remove a conditional statement from the filter.
Gracefully filter process file metadata instead of panicking, because
there's a non-zero chance this error will be encountered when processes
are being added or removed from procfs.
- 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.
- 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
- 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
- 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.
- 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
- 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
- lazy-static variables replaced with OnceLock where applicable with
otherwise redundant usage removed.
- Front-end code no longer makes use of lazy-static variables
- 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.