-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use RepositoryTracker for KnownRepositories to be consistent with Update
Currently if the user choose 'Check for Updates' the handler uses the ProvisioningUI (that uses RepositoryTracker internally) to choose the initial items to offer. The UpdateChecker (aka automatically search for updates) on the other hand uses a (potentially) different set of items. This now adds a new method that allow to pass the repository flags to be used when search for an update and delegate it on the callers side to use the Provisioning UI.
- Loading branch information
Showing
7 changed files
with
102 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
12 changes: 12 additions & 0 deletions
12
bundles/org.eclipse.equinox.p2.updatechecker/.settings/.api_filters
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<component id="org.eclipse.equinox.p2.updatechecker" version="2"> | ||
<resource path="src/org/eclipse/equinox/internal/p2/updatechecker/UpdateChecker.java" type="org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker"> | ||
<filter id="640712815"> | ||
<message_arguments> | ||
<message_argument value="IPlanner"/> | ||
<message_argument value="UpdateChecker"/> | ||
<message_argument value="updatesFor(IInstallableUnit, ProvisioningContext, IProgressMonitor)"/> | ||
</message_arguments> | ||
</filter> | ||
</resource> | ||
</component> |
This file contains 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
This file contains 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
This file contains 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