[MacPorts] #21640: MacPorts patch generation script
#21640: MacPorts patch generation script --------------------------------+------------------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: --------------------------------+------------------------------------------- I've developed a script to diff two directories, one unmodified and one unmodified, and auto-generate MacPorts-compliant patches of the form patch-*.diff that belong in the "files/" directory of a Port. In addition to this, it will generate files found in the modified version that will need to be added to the directory structure of the unmodified distribution. Please find attached a sample run from diffing an unmodified and modified emacs-app distribution, as well as the script itself. -- Ticket URL: <http://trac.macports.org/ticket/21640> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21640: MacPorts patch generation script --------------------------------+------------------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: contrib | Version: Keywords: | Port: --------------------------------+------------------------------------------- Changes (by jmr@…): * version: 1.8.0 => * component: ports => contrib -- Ticket URL: <http://trac.macports.org/ticket/21640#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21640: MacPorts patch generation script --------------------------------+------------------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: contrib | Version: Keywords: | Port: --------------------------------+------------------------------------------- Comment(by royliu@…): I updated the script to be more robust, like handling filenames with spaces. See attached. -- Ticket URL: <http://trac.macports.org/ticket/21640#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21640: MacPorts patch generation script -------------------------+-------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: contrib | Version: Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by egall@…): I added this script to my fork of the macportsscripts repo: https://github.com/cooljeanius/macportsscripts/blob/master/gen_macports_patc... The ticket for changing the macportsscripts port to point to my repo is still open btw: #37836 -- Ticket URL: <https://trac.macports.org/ticket/21640#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21640: MacPorts patch generation script -------------------------+-------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: contrib | Version: Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by egall@…): This was added to the macportsscripts port when it was updated to v0.1.4 in r103999 -- Ticket URL: <https://trac.macports.org/ticket/21640#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#21640: MacPorts patch generation script -------------------------+-------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: contrib | Version: Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by cal@…): So I guess we can close this ticket as fixed? -- Ticket URL: <https://trac.macports.org/ticket/21640#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#21640: MacPorts patch generation script -------------------------+-------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: contrib | Version: Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:6 cal@…]:
So I guess we can close this ticket as fixed?
I'd say so at least; I figure you were asking the OP though? -- Ticket URL: <https://trac.macports.org/ticket/21640#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts