#13002 closed enhancement (wontfix)
"port diff" command to help Portfile writer make patches
Reported by: | ebgssth@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | base | Version: | 1.5.0 |
Keywords: | Cc: | ebgssth@…, afb@… | |
Port: |
Description
port diff command is a new sub-command of port command which works live below.
$ port edit portname # make changes $ port diff portfile # invokes diff -u Original-Portfile Edited-Portfile
This functionality makes patches for Portfile easier.
Change History (5)
comment:1 Changed 17 years ago by afb@…
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ebgssth@… afb@… added |
---|---|
Milestone: | → MacPorts base enhancements |
comment:3 Changed 17 years ago by afb@…
Resolution: | → wontfix |
---|---|
Status: | new → closed |
If you have some more ideas on how the "save an original" phase would work, or how to resolve edits by multiple authors (so that you diff against the recent version) then reopen ticket...
Until then, use subversion ?
comment:4 Changed 17 years ago by ebgssth@…
edits by multiple authors should be resoved by subversion.
port diff helps casual portfile writer, who doesn't svn co macports src, edit portfiles.
"save an original" phase shouldn't be so difficult. Just rename the original Portfile.orig, and port diff checks that whether there's a modified file or not and if there is, Just invoke diff portfile.orig portfile | $PAGER
comment:5 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future |
---|
Note: See
TracTickets for help on using
tickets.
We are currently using Subversion instead.
svn diff Portfile