| Summary: | [patch] [target] Dont increment sequence number during reload and provide tooltips for reload and update | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Vikas Chandra <Vikas.Chandra> | ||||
| Component: | UI | Assignee: | Markus Kuppe <bugs.eclipse.org> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | bugs.eclipse.org, christian.pontesegger, curtis.windatt.public, daniel_megert, gunnar, malaperle, peter.kullmann, pwebster, rico.scholz, Vikas.Chandra, wim.jongman | ||||
| Version: | 4.4 | ||||||
| Target Milestone: | 4.5 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 439034, 441190 | ||||||
| Bug Blocks: | 462214 | ||||||
| Attachments: |
|
||||||
|
Description
Vikas Chandra
I think that would be great! There is also a reload button in the "Install/Update/Available Software Site" preferences. Is this related to the things you try to achieve here? If not please ignore. Created attachment 251461 [details]
Patch for not increasing sequence number by Markus K
With this patch, scenario of comment#7 in bug 441190 doesnt work. (In reply to Vikas Chandra from comment #4) > With this patch, scenario of comment#7 in bug 441190 doesnt work. Why doesn't that case work? Is a resolve not getting started? Or because while the sequence number is wrong, the basic contents still match so the cache is still treated as valid. If it is the latter, we could a) Delete the cache on reload or b) Set the cache sequence number to a specific value which would indicate the cache is invalid and should be deleted on the next resolve/synchronize. My bad ! It works fine. Committed via commit id https://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=8952937e7f3d89ad871dcdb9e139857b2fc5b864 Tooltip change here http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=f6e8e3b7dadb0fbe7b6d1835f7f79325c08b1563 Only minor issue of Bug 462214 - [target] Reload dirties the target editor may be remaining. I suspect it has an easy fix. See git commits in the last 2 comments. Version: Mars (4.5) Build id: I20150317-2000 |