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:12:27 UTC
[jira] [Created] (HADOOP-7500) Write a script to migrate patches to
Maven layout
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
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
[jira] [Updated] (HADOOP-7500) Write a script to migrate patches to
Maven layout
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White updated HADOOP-7500:
------------------------------
Attachment: mavenize-hdfs.sed
Equivalent script for HDFS.
> 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, mavenize-hdfs.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
[jira] [Commented] (HADOOP-7500) Write a script to migrate patches
to Maven layout
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078896#comment-13078896 ]
Alejandro Abdelnur commented on HADOOP-7500:
--------------------------------------------
Should we commit this in common/dev-support/?
> 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
[jira] [Updated] (HADOOP-7500) Write a script to migrate patches to
Maven layout
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (HADOOP-7500) Write a script to migrate patches
to Maven layout
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White resolved HADOOP-7500.
-------------------------------
Resolution: Fixed
I don't think this needs to be committed since it's only useful for a limited time, and folks can easily download it from this JIRA.
> 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