Modify ↓
Ticket #448 (closed enhancement: fixed)
PatchTask
| Reported by: | Merkas <mk@…> | Owned by: | mrook |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.4.1 |
| Component: | phing-tasks-ext | Version: | |
| Keywords: | Cc: |
Description
I wrote a task to patch files. It based on Apache Ant PatchTask and implements all (I hope) it's attributes with some differences:
- It uses batch mode (--batch option always set)
- If "strip" argument not set it will by 0 by default
- "dir" attribute not applyed because I'm not shure how to do this in a "phing way"
And also I'm not sure about Apache License. I've included original license notice but is it enough?
Any way, I hope this task will be usefull. And I can maintain it if needed.
Attachments
Change History
Changed 2 years ago by Merkas <mk@…>
-
attachment
PatchTask.2.php
added
PatchTask with "dir" attribute implemented
Changed 2 years ago by Merkas <mk@…>
-
attachment
PatchTask.3.php
added
Fix for FreeBSD version of patch
comment:3 Changed 2 years ago by mrook
Thanks for the patch! Could you extend it with some documentation (appendix c - optional tasks)?
Note: See
TracTickets for help on using
tickets.
