Return-Path: X-Original-To: apmail-archiva-dev-archive@www.apache.org Delivered-To: apmail-archiva-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 577A67A9E for ; Wed, 17 Aug 2011 22:32:24 +0000 (UTC) Received: (qmail 48340 invoked by uid 500); 17 Aug 2011 22:32:24 -0000 Delivered-To: apmail-archiva-dev-archive@archiva.apache.org Received: (qmail 48301 invoked by uid 500); 17 Aug 2011 22:32:23 -0000 Mailing-List: contact dev-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list dev@archiva.apache.org Received: (qmail 48293 invoked by uid 99); 17 Aug 2011 22:32:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 22:32:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jutzig.dev@googlemail.com designates 209.85.161.42 as permitted sender) Received: from [209.85.161.42] (HELO mail-fx0-f42.google.com) (209.85.161.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 22:32:16 +0000 Received: by fxe23 with SMTP id 23so1009099fxe.15 for ; Wed, 17 Aug 2011 15:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=V2CbR5wzdHVQdnUSt1edUf0gONSBI9Ajw3U3LSnZUhQ=; b=RwSeOQCVmGVLHBoABoh5RmbJhhGvRppczY4D0Fp4OjrFef0zHDPP1uHGonu9cfL4xS 4mX0+VM6nkAeyzrR9y8TGbDvFAz1bStiRSksBPHMoEK3Levl1iD/6kFq6u2DDUoxLB1e FYGBHQ5mSwdb9tpH5ZsIMPzbyKZVB9J4H28jE= Received: by 10.223.87.204 with SMTP id x12mr7974fal.27.1313620315629; Wed, 17 Aug 2011 15:31:55 -0700 (PDT) Received: from [192.168.178.44] (stgt-5f70d39d.pool.mediaWays.net [95.112.211.157]) by mx.google.com with ESMTPS id j23sm1241565faa.46.2011.08.17.15.31.55 (version=SSLv3 cipher=OTHER); Wed, 17 Aug 2011 15:31:55 -0700 (PDT) Message-ID: <4E4C415A.1090704@googlemail.com> Date: Thu, 18 Aug 2011 00:31:54 +0200 From: Johannes Utzig User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: dev@archiva.apache.org Subject: Re: using archiva as a p2 repository References: <4E4C1C3F.2020507@googlemail.com> <42E8A0CD-BFF4-410B-A36D-9D36F38341BF@apache.org> In-Reply-To: <42E8A0CD-BFF4-410B-A36D-9D36F38341BF@apache.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Brett, thank you very much for your fast reply. Please see comments inline Am 08/17/2011 10:21 PM, schrieb Brett Porter: > >> 1. I think this would be a very helpful feature for users of tycho and archiva and I'd like to make this (once finished) available as open source. I was wondering if this is something you'd be interested in hosting directly as an apache archive component > Yes! > > Is it against 1.3.x or trunk? > I used 1.3.5 but it's only a prototype so far, should be easy to switch to trunk > If I understand correctly, it might be better to add a hook to allow the custom code to remove the old files at the start of the scan when that is checked, and not otherwise - rather than putting it in the consumer API itself? Yes, that makes sense. I think I fell for the 'boolean executeOnEntireRepo' parameter, which sounded to me like it would correlate to the 'Process All Artifacts' flag, but as it turns out, it doesn't :-) > Implementors of archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/events/RepositoryListener.java > > (though it may not be consistently used for some deletions). > Exactly what I was looking for and kept missing for some reason. Thanks a lot for your help. -Johannes