Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA2256E78 for ; Tue, 2 Aug 2011 22:20:56 +0000 (UTC) Received: (qmail 95904 invoked by uid 500); 2 Aug 2011 22:20:56 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 95874 invoked by uid 500); 2 Aug 2011 22:20:55 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 95866 invoked by uid 99); 2 Aug 2011 22:20:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 22:20:55 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 22:20:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B8A779BB26 for ; Tue, 2 Aug 2011 22:20:31 +0000 (UTC) Date: Tue, 2 Aug 2011 22:20:31 +0000 (UTC) From: "Tom White (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <249407761.3093.1312323631753.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <333319857.3086.1312323147286.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7500) Write a script to migrate patches to Maven layout MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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