[
https://jira.jboss.org/jira/browse/DNA-273?page=com.atlassian.jira.plugin...
]
Randall Hauch commented on DNA-273:
-----------------------------------
We need to use only SVN-compatible patches so that any users (including those without
Eclipse workspaces) can apply the patches. (Although Eclipse can produce standard patch
files for a project, it creates Eclipse-specific files when creating a patch from changes
to multiple projects.)
Creating patches is very easy. Let's assume we want to create a patch to capture
local changes made against the latest revision of "trunk". Simply go to the
"trunk" folder in your local working area, and issue this command:
svn diff . > ~/DNA-000.patch
where "DNA-000" represents the JIRA issue number that describes the changes (and
where the patch will be uploaded). Note that the destination in the command creates the
patch file in your home directory, but you could place it anywhere. Also note that
'diff' ignores binary files, so any binary files need to be uploaded separately
(
http://www.igorexchange.com/node/89#creating_patches)
Now, someone else wants to apply the patch, so they download the patch file and apply the
differences using the 'patch' utility:
patch -p0 < ~/DNA-000.patch
The "-p0" option makes sure that all files can be found.
Define and document the official patch procedure
------------------------------------------------
Key: DNA-273
URL:
https://jira.jboss.org/jira/browse/DNA-273
Project: DNA
Issue Type: Task
Reporter: Randall Hauch
Fix For: 0.4
We need to define our patch procedure so that it does not involve Eclipse patches, but
rather uses standard patches that are compatible with SVN. We then need to document this
procedure in the Reference Guide.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira