Menu

#172 ANT task to get revision data for a label

open
nobody
5
2003-02-25
2003-02-25
Marc Palmer
No

Here's a whizz-bang feature idea. An ANT task that you
can supply a label name to, and it will generate a local
text file (name passed to the task) containing all of the
revisions (de-duplicated where change date and comment
are identical) on all files under the folder specified, since
the label was created.

This would be used to auto-generate change lists for new
releases.

Think of the power....

Preferably it would use a local template scripting
language like WebMacro to generate the text file, so the
build script can supply a custom template for the file to
generate. i.e:

#foreach $revision in $SJ.Revisions

* $revision.Date - $revision.Text

#end

...although this would mean that people would have to be
a bit careful about what they type in the comments box
when committing files :)

However the resulting file could always be edited
manually if necessary.

Discussion

  • Robert MacGrogan

    Logged In: YES
    user_id=258727

    Is this really all that different from the auto-generated
    change lists now available (as of 2.0)? I suppose the
    current auto-generated lists don't allow any customization,
    but that might be tough to implement on the server (where
    the lists are generated now).

    Any thoughts?

     
  • Robert MacGrogan

    Logged In: YES
    user_id=258727

    Is this really all that different from the auto-generated
    change lists now available (as of 2.0)? I suppose the
    current auto-generated lists don't allow any customization,
    but that might be tough to implement on the server (where
    the lists are generated now).

    Any thoughts?

     

Log in to post a comment.