Skip to content

Persist and manage workspace template fragment indexes - #7284

Merged
chrisrueger merged 1 commit into
bndtools:masterfrom
maho7791:feature/workspace-template-indexes
Jun 24, 2026
Merged

chrisrueger merged 1 commit into
bndtools:masterfrom
maho7791:feature/workspace-template-indexes

Conversation

@maho7791

Copy link
Copy Markdown
Contributor

Fixes #7276

Add a bndtools.core preference workspaceTemplateIndexes (default FragmentTemplateEngine.DEFAULT_INDEX) to persist extra -workspace-templates indexes. The New Bnd Workspace wizard now loads them from this preference instead of hard-coding DEFAULT_INDEX and persists indexes added via the '+' button. A "Workspace Template Indexes" group on the Templates preference page manages them (Add/Remove), mirroring the templateRepoUriList UI. The list can be pre-seeded via e.g. Oomph: /instance/bndtools.core/workspaceTemplateIndexes.

Fixes bndtools#7276

Add a bndtools.core preference `workspaceTemplateIndexes` (default
FragmentTemplateEngine.DEFAULT_INDEX) to persist extra -workspace-templates
indexes. The New Bnd Workspace wizard now loads them from this preference
instead of hard-coding DEFAULT_INDEX and persists indexes added via the '+'
button. A "Workspace Template Indexes" group on the Templates preference
page manages them (Add/Remove), mirroring the templateRepoUriList UI. The
list can be pre-seeded via Oomph: /instance/bndtools.core/workspaceTemplateIndexes.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Mark Hoffmann <[email protected]>
@chrisrueger

chrisrueger commented Jun 23, 2026 •

Copy link
Copy Markdown
Contributor

@maho7791 sorry for the merge commit 1fab7e5 - this was by accident (fat fingering during scrolling in the github app ) Can you revert this?

@maho7791
maho7791 force-pushed the feature/workspace-template-indexes branch from 1fab7e5 to 029bfca Compare June 23, 2026 19:31
@maho7791

Copy link
Copy Markdown
Contributor Author

@chrisrueger ist erledigt

@chrisrueger chrisrueger 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.

I gave this a quick try:

  1. added a new index via the + button in the New Workspace (Fragments) wizard
  2. afterwards the new index url appeared in the Preferences
Image
  1. Also next time I opened the Wizard all indexes (two like in the screenshot) seemed to be used.

  2. Removing one index url from the preferences page also impacted the Wizard correctly next time and the additional fragments were removed.

@chrisrueger
chrisrueger merged commit 61d93e8 into bndtools:master Jun 24, 2026
11 checks passed
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.

Persist and manage additional workspace template fragment indexes

2 participants