Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ACBFE200C6C for ; Fri, 5 May 2017 18:05:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AB6F2160BAF; Fri, 5 May 2017 16:05:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F204F160B97 for ; Fri, 5 May 2017 18:05:11 +0200 (CEST) Received: (qmail 18852 invoked by uid 500); 5 May 2017 16:05:11 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 18843 invoked by uid 99); 5 May 2017 16:05:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2017 16:05:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id AEDD0C137A for ; Fri, 5 May 2017 16:05:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id hAzGJ2VWUESu for ; Fri, 5 May 2017 16:05:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7FB3D5F569 for ; Fri, 5 May 2017 16:05:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C895EE07D6 for ; Fri, 5 May 2017 16:05:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7C31321DE0 for ; Fri, 5 May 2017 16:05:04 +0000 (UTC) Date: Fri, 5 May 2017 16:05:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-2179) Archetype generate-sources.sh should delete old files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 05 May 2017 16:05:12 -0000 [ https://issues.apache.org/jira/browse/BEAM-2179?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15998= 506#comment-15998506 ]=20 ASF GitHub Bot commented on BEAM-2179: -------------------------------------- GitHub user jbonofre opened a pull request: https://github.com/apache/beam/pull/2913 [BEAM-2179] Archetype generate-sources.sh cleanup the existing sources = before rsync Be sure to do all of the following to help us incorporate your contribu= tion quickly and easily: =20 - [X] Make sure the PR title is formatted like: `[BEAM-] Description of pull request` - [X] Make sure tests pass via `mvn clean verify`. - [X] Replace `` in the title with the actual Jira issue number, if there is one. - [X] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.or= g/licenses/icla.pdf). =20 --- You can merge this pull request into a Git repository by running: $ git pull https://github.com/jbonofre/beam BEAM-2179-ARCHETYPES-GENERA= TE-SOURCES Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2913.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2913 =20 ---- ---- > Archetype generate-sources.sh should delete old files > ----------------------------------------------------- > > Key: BEAM-2179 > URL: https://issues.apache.org/jira/browse/BEAM-2179 > Project: Beam > Issue Type: Bug > Components: project-management > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > > Examples archetypes use {{generate-sources.sh}} to copy the sources from = examples modules into the archetype resources. However, it's a simple copy = and doesn't remove previously copied files (it's just an overwrite). > It means that if we remove a file in examples module, it's not updated in= the archetypes (the file is still present). -- This message was sent by Atlassian JIRA (v6.3.15#6346)