darcs

Issue 1769 Wish for --match 'description '

Title Wish for --match 'description <regex>'
Priority feature Status resolved
Milestone Resolved in 2.5.0
Superseder Nosy List attila.lendvai, darcs-devel, dmitry.kurochkin, jaredj, kili, kowey, twb
Assigned To
Topics Matchers, ProbablyEasy

Created on 2010-03-17.23:58:43 by twb, last changed 2010-06-15.22:34:50 by kili.

Messages
msg10239 (view) Author: twb Date: 2010-03-17.23:58:40
It turns out that -m matches on patch names, but not (as I had
thought) patch descriptions.  For my /etc repo, the ability to match
by patch description would be VERY useful.  The auto-generated patches
have name/descriptions like these:

    Tue Mar 16 18:30:56 EST 2010  twb
      * committing changes in /etc after apt run

      Package changes:
      +libarchive1 2.8.0-2
      +reprepro 4.1.0-1

The patch name is pretty much always the same, and I'd like to be able
to search based on the packages that changed, like

    darcs changes --match 'description reprepro.4\.1'
msg10287 (view) Author: attila.lendvai Date: 2010-03-19.15:34:39
a bit of thinking over about matching would be useful for darcs.

my personal wish is a darcs record --hunks-matching "some.*regexp" which
would pre-filter hunks before the y/n question.
msg10292 (view) Author: kowey Date: 2010-03-19.15:41:13
I think this should be fairly easy to implement.  Maybe during the sprint?
msg10942 (view) Author: kili Date: 2010-05-05.14:58:56
The following patch updated the status of issue1769 to be resolved:

* resolve issue1769: add support for --match 'comment ...' 
Ignore-this: 810d2ee013b907447ae0052a25214c8e
This uses `comment' rather than `description' as the latter term is
already used by darcs send. (Pointed out by kowey@darcs.net)
msg11443 (view) Author: kili Date: 2010-06-15.22:34:50
The following patch updated issue issue1769 with status=resolved;resolvedin=2.5.0 (current)

* resolve issue1769: add support for --match 'comment ...' 
Ignore-this: 810d2ee013b907447ae0052a25214c8e
This uses `comment' rather than `description' as the latter term is
already used by darcs send. (Pointed out by kowey@darcs.net)
History
Date User Action Args
2010-03-17 23:58:44twbcreate
2010-03-19 15:34:41attila.lendvaisetnosy: + attila.lendvai
messages: + msg10287
2010-03-19 15:41:17koweysetpriority: feature
status: unknown -> needs-implementation
topic: + ProbablyEasy
messages: + msg10292
nosy: + kowey, jaredj
2010-03-22 12:33:57koweysettopic: + Matchers
2010-05-05 14:58:56kilisetstatus: needs-implementation -> resolved
nosy: + kili
messages: + msg10942
2010-06-15 22:34:50kilisetmessages: + msg11443
resolvedin: 2.5.0