darcs

Issue 705 warn about patches which are not changelogged.

Title warn about patches which are not changelogged.
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List E.Y.Kow, darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-02-24.16:55:05 by markstos, last changed 2009-08-27.14:09:09 by admin.

Messages
msg3654 (view) Author: markstos Date: 2008-02-24.16:55:04
There's currently no easy way to see which darcs patches have been processed to
support a changelog entry, since they are scattered throughout many files in a
directory. I would like a tool that reports the following

"show me all patches that have not been changelogged"

It should support a "--from-tag" option, and ideally would already produce
output in the changelog format. For example, if the patch name was all one one
line, it would use "match: exact", while multi-line patches would output in
"match name" format. (I assume that "exact" can't be used with multi-line patches).
msg3656 (view) Author: tommy Date: 2008-02-24.23:42:14
I started looking at this, since I probably have contributed a
great deal to the change log entry fragmentation, but I don't
have time to finish it.

In src/make_changelog.hs the patches with no matching entries
can be retrieved with something like (tested and looks like
working):

  let foo = filter (\p -> not $ any (`apply_matcher` p) allpatterns) history where allpatterns = concat $ map fst entries

This will wrongly filter out also all tags, and it doesn't stop
at any --from-foo, and it doesn't print anything. Well, "putStr
$ show $ map info foo" will print a non-human-friendly list. I
guess importing Darcs.Patch.Info( human_friendly ) might be a
good idea.
msg5043 (view) Author: E.Y.Kow Date: 2008-06-13.16:03:10
The following patch updated the status of issue705 to be resolved:

* Resolve issue705: warn about patches which are not changelogged. 
Mostly by Tommy Pettersson.
History
Date User Action Args
2008-02-24 16:55:05markstoscreate
2008-02-24 23:42:16tommysetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, markstos
messages: + msg3656
2008-06-13 16:03:12E.Y.Kowsetstatus: unknown -> resolved-in-unstable
nosy: + E.Y.Kow, dagit
messages: + msg5043
title: wish: tool to see which patches haven't been changelogged -> warn about patches which are not changelogged.
2008-09-04 21:32:42adminsetstatus: resolved-in-unstable -> resolved
nosy: droundy, tommy, beschmi, kowey, markstos, dagit, E.Y.Kow
2009-08-06 17:54:56adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, E.Y.Kow
2009-08-06 20:58:49adminsetnosy: - beschmi
2009-08-10 22:16:05adminsetnosy: + E.Y.Kow, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-11 00:07:35adminsetnosy: - dagit
2009-08-25 18:06:11adminsetnosy: + darcs-devel, - simon
2009-08-27 14:09:09adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin, E.Y.Kow