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

Add an action to convert a bundle import into a package import #488

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Feb 24, 2023

Currently there is no convient way to convert a bundle from using Require-Bundle to Import-Package (what is recommended to use).

This adds a new option in the OrganizeManifest action to do this conversion automatically in the follwoing way:

  • Automatic Managed Dependencies are set to using Import-Package
  • Current Require-Bundles are converted to Automatic Managed Dependencies
  • the package imports are recalculated and updated

Fix #362

@laeubi laeubi force-pushed the issu_362 branch 2 times, most recently from b560eb4 to 4172584 Compare February 24, 2023 17:00
@laeubi
Copy link
Contributor Author

laeubi commented Feb 24, 2023

Select the Organize Manifest Action

(Alternatively select some projects and choose Plugin Tools > Organize Manifests...)
grafik

Choose the "Recompute Import-Package ..." cleanup

grafik

The Manifest will be transformed and the result can be reviewed

grafik

Currently there is no convient way to convert a bundle from using
Require-Bundle to Import-Package (what is recommended to use).

This adds a new option in the OrganizeManifest action to do this
conversion automatically in the follwoing way:

- Automatic Managed Dependencies are set to using Import-Package
- Current Require-Bundles are converted to Automatic Managed
Dependencies
- the package imports are recalculated and updated

Fix eclipse-pde#362
@github-actions
Copy link

github-actions bot commented Mar 9, 2023

Test Results

     80 files       80 suites   16m 22s ⏱️
3 277 tests 3 252 ✔️ 24 💤 1
3 376 runs  3 351 ✔️ 24 💤 1

For more details on these failures, see this check.

Results for commit 279012b.

@laeubi laeubi merged commit 7ec2f75 into eclipse-pde:master Mar 9, 2023
laeubi added a commit to laeubi/www.eclipse.org-eclipse-news that referenced this pull request Mar 27, 2023
laeubi added a commit to laeubi/www.eclipse.org-eclipse-news that referenced this pull request Mar 27, 2023
laeubi added a commit to eclipse-platform/www.eclipse.org-eclipse-news that referenced this pull request Mar 27, 2023
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.

Add an action to convert a bundle import into a package import
1 participant