Skip to content

ci(tests.yml): ignore essential packages on removal step#9044

Open
oklopfer wants to merge 1 commit into
pacstall:masterfrom
oklopfer:rm-essential
Open

ci(tests.yml): ignore essential packages on removal step#9044
oklopfer wants to merge 1 commit into
pacstall:masterfrom
oklopfer:rm-essential

Conversation

@oklopfer

@oklopfer oklopfer commented Jun 29, 2026

Copy link
Copy Markdown
Member

what this does:

  1. checks whether the package is a parent or child
  2. sets pkgbase value and determines srcinfo location for parsing
  3. uses srcinfo to check priority
  4. skips if priority == essential

@github-actions github-actions Bot added the CI CI updates label Jun 29, 2026
fi
pkgprior="$(./scripts/srcinfo.sh read packages/${srcbase}/.SRCINFO priority ${pbase}:${changed_file})"
if [[ ${pkgprior} == "essential" ]]; then
echo "Skipping removal of essential package ${changed_file}..."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
echo "Skipping removal of essential package ${changed_file}..."
echo "Skipping removal of essential package ${changed_file}..." 1>&2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants