Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318049

Summary: <CTRL>+<ALT>+P doesn't create ChangeLog file, but it perhaps should or ask if it should
Product: [Tools] Linux Tools Reporter: Severin Gehwolf <sgehwolf>
Component: ChangeLogAssignee: Phil Muldoon <pmuldoon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: af_0_af, jjohnstn, linux.changelog-inbox, sgehwolf
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Severin Gehwolf CLA 2010-06-25 17:11:54 EDT
I'm using the eclipse-changelog-2.6.7 RPM.

Steps to reproduce:

1. Check out project from version control
2. Change/add file in project
3. Select project and hit <CTRL>+<ALT>+P or use Project => Prepare Changelog

Experienced behaviour:
<CTRL>+<ALT>+C creates a new ChangeLog file if none is existent, but <CTRL>+<ALT>+P doesn't. <CTRL>+<ALT>+P does nothing (Project => Prepare Changelog is disabled) on checked out and modified project.

Expected behaviour:
When <CTRL>+<ALT>+P is pressed (or Project => Prepare Changelog is clicked) and no ChangeLog file exists, it should probably ask in a similar fashion as <CTRL>+<ALT>+C does if a new file should be created.

There are a few other things to consider:
* What if a *.spec file exists inside the current project?
  It could perhaps prompt if changelog entries should be added
  to the spec file.
* Are there other files around which have inline changelogs?
  Should those files be possible to specify in preferences?

Thoughts?
Comment 1 Severin Gehwolf CLA 2010-11-26 10:36:44 EST
Ok, Perpare Changelog is only enabled when a project is selected (not some file inside this project).

However, according to the user documentation a selection dialog as to where to create a ChangeLog file should pop up if a project is selected and "Project => Prepare Changelog" is clicked (provided no ChangeLog does yet exist).

I think the user doc needs to be changed/updated.
Comment 2 Andrew Overholt CLA 2011-01-11 09:47:47 EST
Severin, please feel free to update the docs:

http://wiki.eclipse.org/Linux_Tools_Project/ChangeLog/User_Guide

You could update the screenshots while you're there if you like :) (bug 333975).
Comment 3 Eclipse Genie CLA 2014-06-14 14:14:28 EDT
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.
Comment 4 Andrew Ferrazzutti CLA 2015-05-06 15:53:03 EDT
Both the "Prepare Changelog" and "Insert Changelog Entry" commands now function as advertised by the User Guide, meaning that either command brings up a file dialog asking where to create the Changelog file if it doesn't yet exist, or edits the existing Changelog file. I don't know as of when this functionality was restored, but at the time of this writing, the commands do work as expected.