Skip to content

feat: allow "all" archs in packages - #1802

Merged
philclifford merged 1 commit into
wimpysworld:mainfrom
silentJET85:all-archs
Mar 20, 2026
Merged

philclifford merged 1 commit into
wimpysworld:mainfrom
silentJET85:all-archs

Conversation

@silentJET85

Copy link
Copy Markdown
Contributor

closes #1797

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: This PR modifies core package validation logic and architecture matching in a shell script, which carries a risk of breaking package installations.

@philclifford
philclifford merged commit 586c866 into wimpysworld:main Mar 20, 2026
2 checks passed
@philclifford

Copy link
Copy Markdown
Member

It seemed so innocuous but seems to contain or trigger a sneaky logic problem :-(

@philclifford

philclifford commented Mar 21, 2026 •

Copy link
Copy Markdown
Member

compare

./deb-get prettylist 01-main |grep debian |head

between a610e25 and 586c866

I suspect it may break more than the listing but CI didn't test updating or (re)installing a few apps from each source ...

@silentJET85

Copy link
Copy Markdown
Contributor Author

This puzzled me for a while.
It turns out that neither $HOST_ARCH nor "all" were matching. I'm surprised that installing apps somehow continued to work. After trying lots of things, I was starting to think that pipes and parenthesis don't work in combination with quoted strings. I ended up making a commit that avoided it by doing a separate [[ ]] test just for "all". That works, but is a bit ugly.

Then I finally realized that my original method was fine. The problem was simply some spaces around the pipe. Doh! 🤦

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Support ARCHS_SUPPORTED="all" in package definitions

2 participants