Repository navigation
Handle P2 Repo features in bundle graph drag & drop - #7162
Merged
chrisrueger merged 1 commit intoMar 17, 2026
Merged
chrisrueger merged 1 commit into
chrisrueger merged 1 commit into
Conversation
Contributor
|
Looks great! Merge it 👍 |
Add support for dropping P2 features and feature-related nodes into the bundle graph. The drop adapter now recognizes RepositoryFeature, FeatureVersionNode, FeatureFolderNode, IncludedFeatureItem and IncludedBundleItem (for P2Repository), extracts plugin ids and versions, and populates repoBundles/repoVersions accordingly. New helper methods (addFeature, addFeatureFolderNode, addIncludedFeatureItem, getFeatureChildren) centralize processing of features, included bundles/features and plugin versions. Errors while resolving features from P2Repository are caught and logged. Support recursive P2 feature includes Replace direct addFeature calls with addFeatureRecursive to collect bundles from a feature and all transitively included sub-features. Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
chrisrueger
force-pushed
the
add-p2-feature-dragdrop-support-for-bundlegraph
branch
from
March 17, 2026 12:51
2b0a9a3 to
a2e3912
Compare
Contributor
Author
Squashed and merged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First draft for recent #7124 (Support for Eclipse Features in p2 repositories)
Add support for dropping P2 features and feature-related nodes into the bundle graph. The drop adapter now recognizes RepositoryFeature, FeatureVersionNode, FeatureFolderNode, IncludedFeatureItem and IncludedBundleItem (for P2Repository), extracts plugin ids and versions, and populates repoBundles/repoVersions accordingly. New helper methods (addFeature, addFeatureFolderNode, addIncludedFeatureItem, getFeatureChildren) centralize processing of features, included bundles/features and plugin versions. Errors while resolving features from P2Repository are caught and logged.
You can now drop: