Thanks Brett... I appreciate the clarification! -----Original Message----- From: Brett Porter [mailto:[email protected]] On Behalf Of Brett Porter Sent: Tuesday, September 07, 2010 9:03 PM To: [email protected] Subject: Re: Upgrading from 1.1
>From http://archiva.apache.org/docs/1.3.1/adminguide/repositories.html: > Please take note that the by number of days old criteria is activated by > default (set to 100 days). In order to de-activate it and use the by > retention count criteria, you must set the Repository Purge By Days Older > field to 0. Another thing to note here is that if the by number of days old > criteria is activated, the retention count would still be respected (See the > Repository Purge By Days Older section below for more details) but not the > other way around. So in your case, it'll keep the greater of the last 30 days worth, or the last 5 snapshots. - Brett On 08/09/2010, at 11:26 AM, Shelley, Ryan wrote: > Ok, I'll give that a try. One last question. If we have the repository scan > set to delete snapshots older than 30 days or 5 snapshots, which takes > precedence? Say I have 100 snapshots evenly spaced out across 40 days. I'm > assuming after the purge, I'd have 30 days worth of snapshots and the 5 > snapshot count doesn't come into play? I'm thinking we have our snapshot > retention set too high, as well. > > Thanks from the prompt response, Wendy. Much appreciated! > > -Ryan > > -----Original Message----- > From: Wendy Smoak [mailto:[email protected]] > Sent: Tuesday, September 07, 2010 6:04 PM > To: [email protected] > Subject: Re: Upgrading from 1.1 > > On Tue, Sep 7, 2010 at 8:39 PM, Shelley, Ryan <[email protected]> wrote: >> Would I have to re-configure everything after the upgrade? Repositories and >> Users, etc? > > No, that's stored elsewhere. There is a separate user database, don't > delete that one. The configuration is in archiva.xml in newer > versions. I'm not that familiar with 1.1 to be honest. > > The database has the info for the .../browse/... urls, which it can > re-construct when it scans all the poms. > > Now that I think of it, you'll probably want to delete the indexes > also (in the .index directory?) and let it rebuild those as well. > > -- > Wendy -- Brett Porter [email protected] http://brettporter.wordpress.com/
