You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2011/08/03 00:20:31 UTC

[jira] [Updated] (HADOOP-7500) Write a script to migrate patches to Maven layout

     [ https://issues.apache.org/jira/browse/HADOOP-7500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-7500:
------------------------------

    Attachment: mavenize-common.sed

Here's a simple sed script to fix patches. Usage:

{noformat}
sed -E -f mavenize-common.sed < old.patch > new.patch
{noformat}

Note that there may be some paths that are not converted by this script: these will need to be manually changed.

> Write a script to migrate patches to Maven layout
> -------------------------------------------------
>
>                 Key: HADOOP-7500
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7500
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: mavenize-common.sed
>
>
> HADOOP-6671 changed the source directory layout. It would be useful to have a script to fix patches that were written with the old layout.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira