You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2008/05/06 13:55:22 UTC

[jira] Created: (MRM-797) Delete Released Snapshots doesn't work

Delete Released Snapshots doesn't work
--------------------------------------

                 Key: MRM-797
                 URL: http://jira.codehaus.org/browse/MRM-797
             Project: Archiva
          Issue Type: Bug
    Affects Versions: 1.0.2
            Reporter: Arnaud Heritier


I have 2 repositories. One for releases and the other for snapshots.
I activated the option to remove snapshots for already released artifacts.
(I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
In my snapshots repository I have always some old snapshots

-- 
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] Work started: (MRM-797) Delete Released Snapshots doesn't work

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

Work on MRM-797 started by Maria Odea Ching.

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134598#action_134598 ] 

Maria Odea Ching commented on MRM-797:
--------------------------------------

Oops.. sorry about that :-) I'll attach them now.

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134644#action_134644 ] 

Maria Odea Ching commented on MRM-797:
--------------------------------------

Good point :-) I'll make a draft on how I'll implement this and post it here or send it to the dev list. 
Thanks Arnaud!

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134638#action_134638 ] 

Maria Odea Ching commented on MRM-797:
--------------------------------------

Do you think we should support a 'delete released snapshots' against all the repos the user has access to?

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Issue Comment Edited: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=133672#action_133672 ] 

aheritier edited comment on MRM-797 at 5/6/08 7:00 AM:
-------------------------------------------------------------

A sample of snapshots entries for artifacts already released

      was (Author: aheritier):
    My config of the snapshots repository
  
> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>         Attachments: screenshot-1.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134340#action_134340 ] 

Maria Odea Ching commented on MRM-797:
--------------------------------------

I tried to replicate this issue, and below are the results. (Pls. see the images 'before-repo-scan.png' and 'after-repo-scan.png' I've attached to this issue.)
1. those snapshot versions with '-SNAPSHOT' that have been released already were deleted.
2. those snapshot versions with the timestamped were not released.

Is this the same for you Arnaud? 
If so, I guess the issue here is case #2?







> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134748#action_134748 ] 

Maria Odea Ching commented on MRM-797:
--------------------------------------

Posted this on the dev list:

http://www.nabble.com/Delete-Released-Snaphots-td17224389.html

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Updated: (MRM-797) Delete Released Snapshots doesn't work

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

Arnaud Heritier updated MRM-797:
--------------------------------

    Attachment: archiva.xml

My archiva configuration file

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Updated: (MRM-797) Delete Released Snapshots doesn't work

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

Arnaud Heritier updated MRM-797:
--------------------------------

    Attachment: screenshot-1.jpg

My config of the snapshots repository

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>         Attachments: screenshot-1.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Updated: (MRM-797) Delete Released Snapshots doesn't work

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

James William Dumay updated MRM-797:
------------------------------------

    Fix Version/s:     (was: 1.1)
                   1.1.x

Moving to 1.1.x

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1.x
>
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Updated: (MRM-797) Delete Released Snapshots doesn't work

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

Maria Odea Ching updated MRM-797:
---------------------------------

    Attachment: after-repo-scan.png

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Updated: (MRM-797) Delete Released Snapshots doesn't work

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

Maria Odea Ching updated MRM-797:
---------------------------------

    Attachment: before-repo-scan.png

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Updated: (MRM-797) Delete Released Snapshots doesn't work

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

James William Dumay updated MRM-797:
------------------------------------

    Fix Version/s:     (was: 1.1.x)
                   1.1

Moved back to 1.1 as this is a critical bug

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134051#action_134051 ] 

Arnaud Heritier commented on MRM-797:
-------------------------------------

If this feature doesn't work and we can't fix it we could thnk to hide it in the UI and to remove it from the doc ???

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1.x
>
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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-797) Delete Released Snapshots doesn't work

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

Maria Odea Ching closed MRM-797.
--------------------------------

    Resolution: Fixed

Fixed in trunk -r660126:

- check for released versions of the snapshot across all repos
- added test

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134440#action_134440 ] 

Arnaud Heritier commented on MRM-797:
-------------------------------------

Hi Deng, 

  You just forgot to attach images ;-)
  I'll check tomorrow. I have a virtual machin to reproduce it.


> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134633#action_134633 ] 

Arnaud Heritier commented on MRM-797:
-------------------------------------

I have two repositories in my case, and after an archiva cleanup
in snapshots repo I have :
{code}
total 184
 4 drwxr-xr-x 28 ubuntu ubuntu  4096 2008-05-05 13:47 .
 4 drwxr-xr-x 40 ubuntu ubuntu  4096 2008-05-05 13:48 ..
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.10.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.1.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.10-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.11.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.1.1-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.12-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.2.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.3.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.3.1-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.4.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.5.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.6.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.7.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.7.1-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.7.2-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.8.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 0.9.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 1.0-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 1.1-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 1.2-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 1.3-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 1.4-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 13:47 1.5-SNAPSHOT
 4 drwxr-xr-x  2 ubuntu ubuntu  4096 2008-05-05 15:08 1.6.0-SNAPSHOT
32 drwxr-xr-x  2 ubuntu ubuntu 32768 2008-05-05 15:07 1.7.0-SNAPSHOT
36 drwxr-xr-x  2 ubuntu ubuntu 36864 2008-05-13 10:43 1.8.0-SNAPSHOT
 4 -rwxr-xr-x  1 ubuntu ubuntu   367 2008-05-05 13:49 maven-metadata.xml
 4 -rwxr-xr-x  1 ubuntu ubuntu    52 2008-05-05 13:49 maven-metadata.xml.md5
 4 -rwxr-xr-x  1 ubuntu ubuntu    60 2008-05-05 13:49 maven-metadata.xml.sha1
{code}
in internal repo I have :
{code}
total 52
4 drwxr-xr-x 10 ubuntu ubuntu 4096 2008-05-05 16:44 .
4 drwxr-xr-x 21 ubuntu ubuntu 4096 2008-05-05 16:44 ..
4 drwxr-xr-x  2 ubuntu ubuntu 4096 2008-05-05 16:44 0.9.0
4 drwxr-xr-x  2 ubuntu ubuntu 4096 2008-05-05 16:44 1.0
4 drwxr-xr-x  2 ubuntu ubuntu 4096 2008-05-05 16:44 1.1
4 drwxr-xr-x  2 ubuntu ubuntu 4096 2008-05-05 16:44 1.3
4 drwxr-xr-x  2 ubuntu ubuntu 4096 2008-05-05 16:44 1.4
4 drwxr-xr-x  2 ubuntu ubuntu 4096 2008-05-05 16:44 1.5.0
4 drwxr-xr-x  2 ubuntu ubuntu 4096 2008-05-05 16:44 1.5.1
4 drwxr-xr-x  2 ubuntu ubuntu 4096 2008-05-05 16:44 1.7.0
4 -rwxr-xr-x  1 ubuntu ubuntu  507 2008-05-05 17:00 maven-metadata.xml
4 -rwxr-xr-x  1 ubuntu ubuntu   52 2008-05-05 16:44 maven-metadata.xml.md5
4 -rwxr-xr-x  1 ubuntu ubuntu   60 2008-05-05 16:44 maven-metadata.xml.sha1
{code}
And in the web interface I have :
{code}
    *  0.9.0/
    * 1.0/
    * 1.1/
    * 1.3/
    * 1.4/
    * 1.5.0/
    * 1.5.1/
    * 1.6.0-20080226.173346-10/
    * 1.6.0-20080229.103456-11/
    * 1.7.0/
    * 1.7.0-20080318.134105-23/
    * 1.7.0-20080318.151519-24/
    * 1.8.0-20080428.123142-29/
    * 1.8.0-20080429.102033-30/
    * 1.8.0-SNAPSHOT/
    * 1.7.0-SNAPSHOT/
    * 1.6.0-SNAPSHOT/
{code}
Snapshots directories not shown in the web interface contain only metadata files.
I just noticed that there's no release for 1.6.0, perhaps it is why 1.7.0-SNAPSHOTS weren't removed ?

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Updated: (MRM-797) Delete Released Snapshots doesn't work

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

Maria Odea Ching updated MRM-797:
---------------------------------

         Assignee: Maria Odea Ching
    Fix Version/s: 1.1

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: archiva.xml, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134642#action_134642 ] 

Arnaud Heritier commented on MRM-797:
-------------------------------------

Yes I think because I don't think it is a good practice to have repositories storing releases and snapshots at the same time. It's often the cause of problems.

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Commented: (MRM-797) Delete Released Snapshots doesn't work

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134637#action_134637 ] 

Maria Odea Ching commented on MRM-797:
--------------------------------------

Ah, the delete released snapshots feature only checks for released snapshots in that repo and not against other repositories that's why the snapshots are still in there. 



> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>            Assignee: Maria Odea Ching
>             Fix For: 1.1
>
>         Attachments: after-repo-scan.png, archiva.xml, before-repo-scan.png, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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] Updated: (MRM-797) Delete Released Snapshots doesn't work

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

Arnaud Heritier updated MRM-797:
--------------------------------

    Attachment: screenshot-2.jpg

my snapshots repo configuration

> Delete Released Snapshots doesn't work
> --------------------------------------
>
>                 Key: MRM-797
>                 URL: http://jira.codehaus.org/browse/MRM-797
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Arnaud Heritier
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> I have 2 repositories. One for releases and the other for snapshots.
> I activated the option to remove snapshots for already released artifacts.
> (I also setup the repository with purge by retention = 2 and purge by days older than = 15D)
> In my snapshots repository I have always some old snapshots

-- 
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