| Summary: | CVS changes not reflected in prepare changelog output (first time) | ||
|---|---|---|---|
| Product: | [Tools] Linux Tools | Reporter: | Andrew Overholt <overholt> |
| Component: | ChangeLog | Assignee: | Jeff Johnston <jjohnstn> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | charley.wang, linux.changelog-inbox |
| Version: | unspecified | ||
| Target Milestone: | 0.9.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Andrew Overholt
I can't reproduce this with our latest build available now at: http://download.eclipse.org/technology/linuxtools/updates-nightly/ org.eclipse.linuxtools.changelog.core_2.7.0.201106031355.jar org.eclipse.linuxtools.changelog.cparser_2.7.0.201106031355.jar org.eclipse.linuxtools.changelog.doc_2.7.0.201106031355.jar org.eclipse.linuxtools.changelog.parsers.java_2.7.0.201106031355.jar Closing. Closing for real. I can reproduce this again. Post-Indigo. Do you think we can fix this for 0.8.1, Jeff? Or should it wait for 0.9.0 at the earliest? (In reply to comment #4) > Do you think we can fix this for 0.8.1, Jeff? Or should it wait for 0.9.0 at > the earliest? I should have paid more attention to you reopening this. The CTRL-ALT-P was changed to not create a ChangeLog if one does not exist. The docs do not reflect this. This was due to the problem of different ChangeLog formats and trying to default the creation of a ChangeLog (rather than bring up a dialog) when the files are located in the top-level directory. Some ChangeLogs can be designated infile (e.g. rpm files whereby the ChangeLog is in the file itself). Hitting CTRL+ALT+P for the whole project resulted in a problem in determining whether a ChangeLog file should be created or whether the infile ChangeLog is always to be used (e.g. rpm project). The result was to not create the ChangeLog if it was missing since CTRL+ALT+P would do the wrong thing for an rpm project. If you ask to create a ChangeLog entry in a file via CTRL+ALT+C, then you are manually asking for the entry for that file and you are essentially getting what you ask for. If this behaviour is unacceptable, I'm open to what you think would be the best approach in the mixed case (rpm project). I think asking for the location is more appropriate than doing nothing. This will work for the mixed case, too, but will require a different dialogue (ex. something asking for a location OR an in-place log). (In reply to comment #6) > I think asking for the location is more appropriate than doing nothing. This > will work for the mixed case, too, but will require a different dialogue (ex. > something asking for a location OR an in-place log). Ok, a fix has been committed into master. The behaviour is now that Prepare ChangeLog will ask the user for the ChangeLog location if a ChangeLog is not found. If the user cancels that dialog (e.g. in the case of an rpm project), no ChangeLog will be created and the user will not be asked again for that action. A subsequent Prepare ChangeLog will do the same thing again and ask first and then don't ask again for the remainder of the action. |