Skip to content

ARGS: defaults is now always interpreted as a list#29

Merged
pbuncic merged 7 commits into
mainfrom
support-more-defaults
Nov 12, 2025
Merged

ARGS: defaults is now always interpreted as a list#29
pbuncic merged 7 commits into
mainfrom
support-more-defaults

Conversation

@Ni-Langguth

Copy link
Copy Markdown

With these changes, an infinite number of defaults can be concatenated with :: and applied to a build.

@Ni-Langguth Ni-Langguth self-assigned this Oct 22, 2025
@Ni-Langguth Ni-Langguth added the enhancement New feature or request label Oct 22, 2025
Comment thread bits_helpers/args.py Outdated
Comment thread bits_helpers/utilities.py Outdated
Comment thread bits_helpers/utilities.py
continue
skip = False
for d in defaults:
if p == "defaults-release" and ("defaults-" + d) in specs:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Also here: not clear what the point of (e.g.) defaults-lcg in specs is, since this is not going to have all the defaults in specs eventually.
I guess more of a question for @pbuncic.

@Ni-Langguth
Ni-Langguth force-pushed the support-more-defaults branch from 2f28233 to c54f0c6 Compare October 22, 2025 16:06
Comment thread bits_helpers/build.py Outdated
Comment thread bits_helpers/build_template.sh Outdated
# Latest package built for a given devel prefix gets latest-$BUILD_FAMILY
if [[ $BUILD_FAMILY ]]; then
ln -snf $PKGVERSION-$PKGREVISION $ARCHITECTURE/$PKGNAME/latest-$BUILD_FAMILY
for DEFAULT in $BUILD_FAMILY; do

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this change would not be needed with #31 , because then BUILD_FAMILY is a string again, and the defaults are "_" joined.

@Ni-Langguth
Ni-Langguth marked this pull request as draft November 6, 2025 15:12
@Ni-Langguth
Ni-Langguth force-pushed the support-more-defaults branch 4 times, most recently from 3f209b9 to 75bfbcb Compare November 7, 2025 16:34
@Ni-Langguth
Ni-Langguth marked this pull request as ready for review November 7, 2025 21:47
@Ni-Langguth
Ni-Langguth force-pushed the support-more-defaults branch 2 times, most recently from 308006c to ace8637 Compare November 12, 2025 08:16
@Ni-Langguth
Ni-Langguth marked this pull request as draft November 12, 2025 08:17
@Ni-Langguth
Ni-Langguth force-pushed the support-more-defaults branch from ace8637 to 886170c Compare November 12, 2025 15:53
@Ni-Langguth
Ni-Langguth marked this pull request as ready for review November 12, 2025 15:55
@Ni-Langguth
Ni-Langguth requested a review from pbuncic November 12, 2025 15:56
@pbuncic

pbuncic commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

OK, I'll merge this but tests should be all fixed if they are still failing.

@pbuncic
pbuncic merged commit 919610b into main Nov 12, 2025
0 of 12 checks passed
@Ni-Langguth

Copy link
Copy Markdown
Author

Well, the tests are failing because of changes in the main branch, not in shahzads or mine. Of course they should be fixed.

@Ni-Langguth
Ni-Langguth deleted the support-more-defaults branch February 17, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants