Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a mechanism to fetch all workspace (PDE) bundle pools #410

Closed
merks opened this issue Dec 14, 2023 · 0 comments
Closed

Provide a mechanism to fetch all workspace (PDE) bundle pools #410

merks opened this issue Dec 14, 2023 · 0 comments

Comments

@merks
Copy link
Contributor

merks commented Dec 14, 2023

PDE maintains a bundle pool in <workspace>/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool. In org.eclipse.pde.internal.core.target.P2TargetUtils.findWorkspaceRepos(Set<URI>) it tries to find such bundle pools in other workspaces by looking at the preferences. Because Oomph maintains a resource with the locations of all installations and all workspace (and their associations) in <user.home>/.eclipse/org.eclipse.oomph.setup/setups/locations.setup this approach can be generalized. Also, because Tycho can benefit from this information, providing a utility in p2, org.eclipse.equinox.internal.p2.repository.helpers.RepositoryHelper.getWorkspaceBundlePools(), analogous to RepositoryHelper.getSharedBundlePools() would be beneficial.

See also #373

merks added a commit to merks/p2 that referenced this issue Dec 14, 2023
Provide access to all the PDE bundle pools of all the known workspaces.

eclipse-equinox#410
merks added a commit that referenced this issue Dec 14, 2023
Provide access to all the PDE bundle pools of all the known workspaces.

#410
@merks merks closed this as completed Dec 15, 2023
merks added a commit to merks/eclipse.pde that referenced this issue Jan 5, 2024
Guard the use such that -Dpde.usePoolsInfo=false can be used to disable
the behavior.

eclipse-equinox/p2#410
laeubi pushed a commit to merks/eclipse.pde that referenced this issue Jan 6, 2024
Guard the use such that -Dpde.usePoolsInfo=false can be used to disable
the behavior.

eclipse-equinox/p2#410
laeubi pushed a commit to merks/eclipse.pde that referenced this issue Jan 7, 2024
Guard the use such that -Dpde.usePoolsInfo=false can be used to disable
the behavior.

eclipse-equinox/p2#410
merks added a commit to eclipse-pde/eclipse.pde that referenced this issue Jan 7, 2024
Guard the use such that -Dpde.usePoolsInfo=false can be used to disable
the behavior.

eclipse-equinox/p2#410
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

No branches or pull requests

1 participant