Skip to content

Support default views#136

Open
bcumming wants to merge 5 commits intoeth-cscs:mainfrom
bcumming:default-view
Open

Support default views#136
bcumming wants to merge 5 commits intoeth-cscs:mainfrom
bcumming:default-view

Conversation

@bcumming
Copy link
Member

Support default views in uenv.

To enable a default view in a uenv the default-view field must be set in the meta/env.json file: this makes default views strictly opt-in.

Stackinator gains support for specifying a default view when building a uenv.

This means that existing uenv will not load default views, so users will see no change with existing workflows.

@bcumming bcumming requested a review from RMeli March 11, 2026 14:32
Copy link
Member

@RMeli RMeli left a comment

Choose a reason for hiding this comment

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

I'm not familiar with the uenv internals, but the changes and tests LGTM on the surface.

(char*)"disable default views: only views explicitly set using the --view "
"flag will be used",
0, // does not take an argument
0, // plugin specific value to pass to the callback (unnused)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
0, // plugin specific value to pass to the callback (unnused)
0, // plugin specific value to pass to the callback (unused)

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.

2 participants