[Ns-bugs] [Bug 1287] New: feature request: patch generation tool

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Nov 3 08:50:14 PDT 2011


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1287

           Summary: feature request:  patch generation tool
           Product: ns-3
           Version: pre-release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: general
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: tomh at tomh.org
   Estimated Hours: 0.0


a recent post on the mailing list about generating patches for review got me
thinking that it may be useful to include a program in utils/ that would
generate a properly formatted patch against ns-3-dev, passing all the right
--exclude flags to exclude build/ .hg/ bindings/ directories.

for instance, something like 
utils/generate-patch.sh

could do an hg clone of ns-3-dev in some temporary directory, run the diff
properly, and clean up after itself, leaving a patch named such as
diff-against-<changeset>.patch

it could be extended to allow users to pass other options such as -r
<repository> (if not ns-3-dev), -n <name-of-patch>, etc.

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list