Opened 15 years ago
Closed 10 years ago
#21640 closed submission (fixed)
MacPorts patch generation script
Reported by: | royliu@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | contrib | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: |
Description
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.
Attachments (2)
Change History (10)
Changed 15 years ago by royliu@…
Attachment: | patch.tar.gz added |
---|
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Component: | ports → contrib |
---|---|
Version: | 1.8.0 |
Changed 15 years ago by royliu@…
Attachment: | gen_macports_patches.sh added |
---|
A newer version of the script.
comment:2 Changed 15 years ago by royliu@…
I updated the script to be more robust, like handling filenames with spaces. See attached.
comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)
I added this script to my fork of the macportsscripts repo: https://github.com/cooljeanius/macportsscripts/blob/master/gen_macports_patches.sh
The ticket for changing the macportsscripts port to point to my repo is still open btw: #37836
comment:5 Changed 12 years ago by cooljeanius (Eric Gallager)
This was added to the macportsscripts port when it was updated to v0.1.4 in r103999
comment:6 follow-up: 7 Changed 12 years ago by neverpanic (Clemens Lang)
So I guess we can close this ticket as fixed?
comment:7 Changed 12 years ago by cooljeanius (Eric Gallager)
Replying to 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?
comment:8 Changed 10 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The output of a sample run.