Modify

Ticket #277 (closed enhancement: invalid)

Opened 5 years ago

Last modified 5 years ago

"changelog prepare" doesn't list changed functions in C++ files.

Reported by: murrayc@… Owned by: thomas
Priority: major Milestone: 0.2.6
Component: moap Version: TRUNK
Keywords: Cc:

Description

I use "moap changelog prepare", but it doesn't list the changed functions in my .cc files. I have ctags-exuberant installed (in Ubuntu Gutsy), which is able to parse C++ and did so when I did a quick test of it just now. So I don't know why it's not working. But the old GNOME prepare-ChangeLog?.pl script didn't do this either.

Attachments

Change History

comment:1 Changed 5 years ago by anonymous

  • Summary changed from "changelog prepare" doesn't list change functions in C++ files. to "changelog prepare" doesn't list changed functions in C++ files.

comment:2 Changed 5 years ago by thomas

Does it work if you use moap changelog prepare -c ?

comment:3 Changed 5 years ago by anonymous

Ooh, yeah, though it gives slightly strange results. For instance it lists

(Glom.set_zoom_percent)

when it should say

(Glom::Canvas_PrintLayout::set_zoom_percent)

I can't see this -c option in any of the --help or "changelog --help" output. What does it do?

comment:4 Changed 5 years ago by thomas

It's an argument to "moap changelog prepare", so it's in the hel pof moap changelog prepare. It extracts the ctags :)

A poll indicated most people prefer to not have them extracted by default. Am planning to add per-project and per-user default options because it's obviously a personal preference.

comment:5 Changed 5 years ago by murrayc@…

  • Status changed from new to closed
  • Resolution set to invalid

Ah, I didn't see that it doesn't even do it for .c files either by default. I guess I was comparing it to the prepare-ChangeLog?.pl script that I still use sometimes. Sorry for the noise.

If I could vote, I'd vote for it to add the function names by default.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.