Better batch package handling - #3
Open
Vikyek wants to merge 5 commits into
Open
Conversation
Resolve issues with pre-execution shell-hook wrapper by migrating the triggering mechanism to a native ALPM hook and integrating a local verification database to cache scanned package data. - Add support for native PreTransaction pacman hook to scan only chosen packages - Remove legacy shell-wrapper injection to avoid unselected/search downloads - Implement JSON database caching using cJSON to track name, source, key and sha256 - Add PGP key verification to bypass hashing for signed packages - Enable direct TTY prompting inside piping contexts - Clean up old shell config configurations automatically
Add support for traversing the process tree (via /proc) to locate the active working directories of paru/yay wrapper processes. - Retrieve parent process IDs (PPID) recursively up to 5 levels - Verify directories containing PKGBUILDs using /proc/<PID>/cwd - Avoid redownloading or cloning package repositories from AUR when the local sources are already present - Scan the PKGBUILD in-place without disk duplication
Prevent pkgscan from attempting to clone and scan packages that reside in official repositories, which results in empty repository warning/failure and blocking prompts inside the non-interactive pacman hook. - Check the package source returned by pacman query - Skip scanning of any package that is not from the AUR - Output a skip notification instead of triggering git clone
Synchronize documentation and Makefile target with recent ALPM hook and package database architecture changes. - Document native ALPM pacman hook enable/disable/status flags - Add CLI flag reference table for database caching, logging, and proc search options - Update features list to reflect in-place process tree search and official repository skipping - Adjust Makefile uninstall prompt to instruct running ALPM hook disable
Contributor
Author
|
It also remembers our trust status for all packages and skips scanning in the future to optimize the process. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now instead of stopping the installation process and doing a single scan and asking for confirmation for every installed package it does all scans and asks for batched confirmation. Then proceeds with uninterrupted installation process.