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 39EED200B56 for ; Sat, 30 Jul 2016 09:12:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35F03160A81; Sat, 30 Jul 2016 07:12:22 +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 872C0160A8A for ; Sat, 30 Jul 2016 09:12:21 +0200 (CEST) Received: (qmail 33359 invoked by uid 500); 30 Jul 2016 07:12:20 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 33331 invoked by uid 99); 30 Jul 2016 07:12:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jul 2016 07:12:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8065F2C0D5E for ; Sat, 30 Jul 2016 07:12:20 +0000 (UTC) Date: Sat, 30 Jul 2016 07:12:20 +0000 (UTC) From: "Morgan Hautman (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (KARAF-3733) Update the repository.xml in a repository "on the fly" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 30 Jul 2016 07:12:22 -0000 [ https://issues.apache.org/jira/browse/KARAF-3733?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1540= 0513#comment-15400513 ]=20 Morgan Hautman edited comment on KARAF-3733 at 7/30/16 7:11 AM: ---------------------------------------------------------------- What do you mean with "the update command already do that"? The only thing the update command does is performing a scan: caveRepository.scan(); Ok so a simple Thread is enough in a new command called {code} cave:reposit= ory-watcher {code} was (Author: mhautman): What do you mean with "the update command already do that"? The only thing the update command does is performing a scan: caveRepository.scan(); Ok so a simple Thread is enough in a new command called {code} cave:reposit= ory-watcher {code}. > Update the repository.xml in a repository "on the fly" > ------------------------------------------------------ > > Key: KARAF-3733 > URL: https://issues.apache.org/jira/browse/KARAF-3733 > Project: Karaf > Issue Type: Improvement > Components: cave-server > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: cave-3.0.1, cave-4.0.1 > > > Right now, the only way to update the OBR metadata is by performing the s= can command. Meaning that we need to execute the command each time that the= repository is updated (adding/removing an artifact for instance). > It makes sense to have a thread that periodically update the OBR metadata= (that we can enable/disable with a command, like cave:scan-repository -a f= or auto). -- This message was sent by Atlassian JIRA (v6.3.4#6332)