Skip to content

BndWorkspace improvements#1760

Merged
laeubi merged 1 commit intoeclipse-pde:masterfrom
chrisrueger:bnd-workspace-improvements
May 6, 2025
Merged

BndWorkspace improvements#1760
laeubi merged 1 commit intoeclipse-pde:masterfrom
chrisrueger:bnd-workspace-improvements

Conversation

@chrisrueger
Copy link
Contributor

@chrisrueger chrisrueger commented May 6, 2025

WIP

  • find correct workspace for cnf

The current change has the following effect:
If you click in a project called "cnf" (which is kind of a marker project name for a bnd workspace) then the correct Bnd Workspace is returned.
In the RepositoriesView this has the effect that the Bnd Workspace Repository and all other bnd repos are also shown if you click on "cnf" project.
image

Before this change clicking on a "cnf" project did not show any of the Bnd Workspace repositories (just the PDE Target Repo).

Copy link
Contributor

@laeubi laeubi left a comment

Choose a reason for hiding this comment

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

Looks reasonable. Do you think it needs further enhancements? If not just adjust the Commit message and set this ready for review.

@github-actions
Copy link

github-actions bot commented May 6, 2025

Test Results

   285 files  ±0     285 suites  ±0   52m 8s ⏱️ - 3m 20s
 3 611 tests ±0   3 535 ✅ ±0   76 💤 ±0  0 ❌ ±0 
11 025 runs  ±0  10 794 ✅ ±0  231 💤 ±0  0 ❌ ±0 

Results for commit aa467a0. ± Comparison against base commit c00ecd3.

♻️ This comment has been updated with latest results.

Workspaces.getWorkspace(IProject) now returns the correct bnd workspace
for the 'cnf' project which is a 'magic' marker project name for a bnd
workspace. Clicking on a cnf project now gives the same bnd workspace as
clicking on a normal bnd project.
@chrisrueger chrisrueger force-pushed the bnd-workspace-improvements branch from 6771ada to aa467a0 Compare May 6, 2025 11:08
@chrisrueger chrisrueger marked this pull request as ready for review May 6, 2025 11:09
@chrisrueger
Copy link
Contributor Author

Looks reasonable. Do you think it needs further enhancements? If not just adjust the Commit message and set this ready for review.

I think this is fine for now. Probably not the last change, but ok for now.

@laeubi laeubi merged commit 1f85741 into eclipse-pde:master May 6, 2025
19 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.

2 participants