| Summary: | Missing @since tag when adding new API classes not reported | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Dani Megert <daniel_megert> |
| Component: | API Tools | Assignee: | Vikas Chandra <Vikas.Chandra> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ed, stephan.herrmann |
| Version: | 3.6 | ||
| Target Milestone: | 4.11 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/136668 https://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=bdd84b1398930391b6c4e597eb58aa3b0fd6dbfc |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 544977 | ||
|
Description
Dani Megert
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. > Unfortunately, out of the box the severity for missing package is set to 'Ignore'
We should at least set it to 'Warning'.
New Gerrit change created: https://git.eclipse.org/r/136668 Gerrit change https://git.eclipse.org/r/136668 was merged to [master]. Commit: http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=bdd84b1398930391b6c4e597eb58aa3b0fd6dbfc Can bug reporter or bug assignee please verify this defect for 4.11M3? Verified with eclipse-SDK-I20190213-1800-win32-x86_64. (In reply to Dani Megert from comment #2) > > Unfortunately, out of the box the severity for missing package is set to 'Ignore' > > We should at least set it to 'Warning'. No. This is a really irritating unjustified change. About 25% of my plugins now have a warning. This bug is that there is a NEW package that is not exported. It should not apply a) if there is no API tooling for a plugin b) the package was already not exported in the baseline. Do we have other options for solving the request from comment 0, so that the unloved warning can be reverted to ignore (or info)? I assume the real difficulty is in this scenario: New package introduced in version X, but no @since tags added, and no Export-Package - so the new thing is not really API, yet. When later the package is exported, say in version X+1, how exactly will API tools react? 1. will it cry that a "@since X+1" is needed (which doesn't match the time when the feature was implemented)? 2. will it remain silent in version X+1, if it find the implementation already existed in version X? If (2), maybe that's a "bug" that can be fixed in API tools? Would we want separate since tags for Java and Export-Package headers? Or is it actually fair to say "@since X+1", if that's the point where the thing became API? |