You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/09/14 03:40:48 UTC

[jira] Created: (MRM-948) allow plugins to handle deletion of artifacts through repository purge

allow plugins to handle deletion of artifacts through repository purge
----------------------------------------------------------------------

                 Key: MRM-948
                 URL: http://jira.codehaus.org/browse/MRM-948
             Project: Archiva
          Issue Type: Improvement
          Components: design
    Affects Versions: 1.1.2
            Reporter: Brett Porter


currently the repository purge directly calls the database and then the index to cleanup after purging artifacts. This couples the core consumers to those modules, and also prevents any plugins that wish to store artifact metadata from doing the same.

Note there are also some issues: the cleanup released snapshots doesn't cleanup after itself.

These can both be fixed by moving the deletion logic to the respective modules and using an event from the purge to trigger their call

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-948) allow plugins to handle deletion of artifacts through repository purge

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MRM-948.
----------------------------

         Assignee: Brett Porter
       Resolution: Fixed
    Fix Version/s: 1.2

> allow plugins to handle deletion of artifacts through repository purge
> ----------------------------------------------------------------------
>
>                 Key: MRM-948
>                 URL: http://jira.codehaus.org/browse/MRM-948
>             Project: Archiva
>          Issue Type: Improvement
>          Components: design
>    Affects Versions: 1.1.2
>            Reporter: Brett Porter
>            Assignee: Brett Porter
>             Fix For: 1.2
>
>
> currently the repository purge directly calls the database and then the index to cleanup after purging artifacts. This couples the core consumers to those modules, and also prevents any plugins that wish to store artifact metadata from doing the same.
> Note there are also some issues: the cleanup released snapshots doesn't cleanup after itself.
> These can both be fixed by moving the deletion logic to the respective modules and using an event from the purge to trigger their call

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira