Re: Tool to clean snapshots from the repo
On 5/17/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: We have several remote offices and are using maven-proxy (surprisingly it works perfect for the last 1.5 yrs). I'll have to test out if mp can handle this correctly. Maven-Proxy is aggregating all our repositories as well. (even our internal ones). We only have 1 site though. So it should work for you too. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tool to clean snapshots from the repo
We have several remote offices and are using maven-proxy (surprisingly it works perfect for the last 1.5 yrs). I'll have to test out if mp can handle this correctly. -Original Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 4:22 AM To: Maven Developers List Subject: Re: Tool to clean snapshots from the repo On 5/17/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: > I'll have to experiment with that. You don't have trouble with any > proxies? If there's no unique version, it seems like it could cause > problems somewhere downstream. How do you mean proxies? This is for internal company releases of snapshots so there are no proxies in the way. Maven takes care of managing the snapshot metadata. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
On 5/17/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: I'll have to experiment with that. You don't have trouble with any proxies? If there's no unique version, it seems like it could cause problems somewhere downstream. How do you mean proxies? This is for internal company releases of snapshots so there are no proxies in the way. Maven takes care of managing the snapshot metadata. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
On 5/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: I'll have to experiment with that. You don't have trouble with any proxies? If there's no unique version, it seems like it could cause problems somewhere downstream. It should be fine, the metadata file is still there with a last changed timestamp. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tool to clean snapshots from the repo
I'll have to experiment with that. You don't have trouble with any proxies? If there's no unique version, it seems like it could cause problems somewhere downstream. -Original Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 9:52 PM To: Maven Developers List Subject: Re: Tool to clean snapshots from the repo On 5/17/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: > Heh. I fill up a 300gb disk every 3 weeks ;-) Our app build is 800Mb each build, in the end I set top level modules to include in the pom: inhouse_snapshot false scp://NUCLEUS/usr/local/www/default/maven2_repositories/inhouse_sna pshot So that there is only every 1 snapshot per release. You will never want to be able to pull out an older snapshot release for a top level module (application, ear, war, etc) but you may wish to revert to an older utility jar. I too thought about writing a tool. However after a manual purge and uniqueVersion=false, my disk space issues have gone away. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
On 5/17/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: Heh. I fill up a 300gb disk every 3 weeks ;-) Our app build is 800Mb each build, in the end I set top level modules to include in the pom: inhouse_snapshot false scp://NUCLEUS/usr/local/www/default/maven2_repositories/inhouse_snapshot So that there is only every 1 snapshot per release. You will never want to be able to pull out an older snapshot release for a top level module (application, ear, war, etc) but you may wish to revert to an older utility jar. I too thought about writing a tool. However after a manual purge and uniqueVersion=false, my disk space issues have gone away. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tool to clean snapshots from the repo
Heh. I fill up a 300gb disk every 3 weeks ;-) That script didn't seem to recurse for me, but in the comments of the blog, I was tipped off to the FORFILES windows command. I was able to whip up a simple batch file: @echo Starting Clean Process at %DATE% %TIME% >>aging.log @forfiles /P d:\maven-repos\stc-snapshots /D -14 /S /C "cmd /c echo Deleting @file && DEL @file" /M *.* 1>> aging.log @echo Ended Clean Process at %DATE% %TIME% >>aging.log -Original Message- From: Evan Worley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 8:25 PM To: Maven Developers List Subject: Re: Tool to clean snapshots from the repo We set it to delete snapshots at least 90 days old, that feels very safe to me :) On 5/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > Interesting. I'm doing the same thing but I was concerned about trashing > snapshots that may be referenced in a dev branch. I guess it won't hurt > to try as is and see what happens. > > -Original Message- > From: Evan Worley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 6:26 PM > To: Maven Developers List > Subject: Re: Tool to clean snapshots from the repo > > Brian, > > We did not add any exclusion functionality, we have a cruisecontrol > machine > which is deploying snapshot artifacts to that repository roughly every > 30 > minutes, so we are not concerned about any files older than 7 days. I > understand that this would be an issue for any repository that is not > purely > a snapshot repo. > > Evan > > On 5/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > > > Where you able to tailor this to only delete files if it won't leave > > none? I think simply aging the files won't work, especially when we > move > > to another version, we don't want to remove all versions, but just > leave > > behind the last one. > > > > -Original Message- > > From: Evan Worley [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 16, 2007 1:53 PM > > To: Maven Developers List > > Subject: Re: Tool to clean snapshots from the repo > > > > Here is the original script that we tailored for our needs. > > > > > http://lifehacker.com/software/geek-to-live/geek-to-live-hard-drive-jani > > tor-133190.php > > > > On 5/16/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > > > Hi Evan, > > > > > > If can publish it ... > > > > > > Thanks > > > > > > Damien > > > > > > 2007/5/11, Evan Worley <[EMAIL PROTECTED]>: > > > > HI Damien, > > > > > > > > While there might be a more elegant method, we used a scheduled > task > > to > > > > delete all snapshot builds that were older than 7 days. We > > typically > > > build > > > > 10-20 snapshots a day for a given component. If you are > interested > > in > > > this > > > > method, I can point you to the script that does the cleaning. > > > > > > > > Evan > > > > > > > > On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Any idea of how to remove old artifact snapshot ? > > > > > > > > > > Can repositorytools be useful for that ? > > > > > > > > > > Thanks > > > > > > > > > > Damien > > > > > > > > > > > Which goal specifically? I can only see: > > > > > > > > > > > > repositorytools:add-artifact > > > > > > repositorytools:add-plugin-group > > > > > > repositorytools:add-repository > > > > > > repositorytools:copy-artifact > > > > > > repositorytools:copy-repository > > > > > > repositorytools:deploy-bundle > > > > > > repositorytools:deploy-repository > > > > > > repositorytools:export-csv > > > > > > repositorytools:validate > > > > > > > > > > > > Mark > > > > > > > > > > > > > > > > - > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
We set it to delete snapshots at least 90 days old, that feels very safe to me :) On 5/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: Interesting. I'm doing the same thing but I was concerned about trashing snapshots that may be referenced in a dev branch. I guess it won't hurt to try as is and see what happens. -Original Message- From: Evan Worley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 6:26 PM To: Maven Developers List Subject: Re: Tool to clean snapshots from the repo Brian, We did not add any exclusion functionality, we have a cruisecontrol machine which is deploying snapshot artifacts to that repository roughly every 30 minutes, so we are not concerned about any files older than 7 days. I understand that this would be an issue for any repository that is not purely a snapshot repo. Evan On 5/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > Where you able to tailor this to only delete files if it won't leave > none? I think simply aging the files won't work, especially when we move > to another version, we don't want to remove all versions, but just leave > behind the last one. > > -Original Message- > From: Evan Worley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 1:53 PM > To: Maven Developers List > Subject: Re: Tool to clean snapshots from the repo > > Here is the original script that we tailored for our needs. > > http://lifehacker.com/software/geek-to-live/geek-to-live-hard-drive-jani > tor-133190.php > > On 5/16/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > Hi Evan, > > > > If can publish it ... > > > > Thanks > > > > Damien > > > > 2007/5/11, Evan Worley <[EMAIL PROTECTED]>: > > > HI Damien, > > > > > > While there might be a more elegant method, we used a scheduled task > to > > > delete all snapshot builds that were older than 7 days. We > typically > > build > > > 10-20 snapshots a day for a given component. If you are interested > in > > this > > > method, I can point you to the script that does the cleaning. > > > > > > Evan > > > > > > On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > > > > > Any idea of how to remove old artifact snapshot ? > > > > > > > > Can repositorytools be useful for that ? > > > > > > > > Thanks > > > > > > > > Damien > > > > > > > > > Which goal specifically? I can only see: > > > > > > > > > > repositorytools:add-artifact > > > > > repositorytools:add-plugin-group > > > > > repositorytools:add-repository > > > > > repositorytools:copy-artifact > > > > > repositorytools:copy-repository > > > > > repositorytools:deploy-bundle > > > > > repositorytools:deploy-repository > > > > > repositorytools:export-csv > > > > > repositorytools:validate > > > > > > > > > > Mark > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tool to clean snapshots from the repo
Interesting. I'm doing the same thing but I was concerned about trashing snapshots that may be referenced in a dev branch. I guess it won't hurt to try as is and see what happens. -Original Message- From: Evan Worley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 6:26 PM To: Maven Developers List Subject: Re: Tool to clean snapshots from the repo Brian, We did not add any exclusion functionality, we have a cruisecontrol machine which is deploying snapshot artifacts to that repository roughly every 30 minutes, so we are not concerned about any files older than 7 days. I understand that this would be an issue for any repository that is not purely a snapshot repo. Evan On 5/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > Where you able to tailor this to only delete files if it won't leave > none? I think simply aging the files won't work, especially when we move > to another version, we don't want to remove all versions, but just leave > behind the last one. > > -Original Message- > From: Evan Worley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 1:53 PM > To: Maven Developers List > Subject: Re: Tool to clean snapshots from the repo > > Here is the original script that we tailored for our needs. > > http://lifehacker.com/software/geek-to-live/geek-to-live-hard-drive-jani > tor-133190.php > > On 5/16/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > Hi Evan, > > > > If can publish it ... > > > > Thanks > > > > Damien > > > > 2007/5/11, Evan Worley <[EMAIL PROTECTED]>: > > > HI Damien, > > > > > > While there might be a more elegant method, we used a scheduled task > to > > > delete all snapshot builds that were older than 7 days. We > typically > > build > > > 10-20 snapshots a day for a given component. If you are interested > in > > this > > > method, I can point you to the script that does the cleaning. > > > > > > Evan > > > > > > On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > > > > > Any idea of how to remove old artifact snapshot ? > > > > > > > > Can repositorytools be useful for that ? > > > > > > > > Thanks > > > > > > > > Damien > > > > > > > > > Which goal specifically? I can only see: > > > > > > > > > > repositorytools:add-artifact > > > > > repositorytools:add-plugin-group > > > > > repositorytools:add-repository > > > > > repositorytools:copy-artifact > > > > > repositorytools:copy-repository > > > > > repositorytools:deploy-bundle > > > > > repositorytools:deploy-repository > > > > > repositorytools:export-csv > > > > > repositorytools:validate > > > > > > > > > > Mark > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
Brian, We did not add any exclusion functionality, we have a cruisecontrol machine which is deploying snapshot artifacts to that repository roughly every 30 minutes, so we are not concerned about any files older than 7 days. I understand that this would be an issue for any repository that is not purely a snapshot repo. Evan On 5/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: Where you able to tailor this to only delete files if it won't leave none? I think simply aging the files won't work, especially when we move to another version, we don't want to remove all versions, but just leave behind the last one. -Original Message- From: Evan Worley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 1:53 PM To: Maven Developers List Subject: Re: Tool to clean snapshots from the repo Here is the original script that we tailored for our needs. http://lifehacker.com/software/geek-to-live/geek-to-live-hard-drive-jani tor-133190.php On 5/16/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > Hi Evan, > > If can publish it ... > > Thanks > > Damien > > 2007/5/11, Evan Worley <[EMAIL PROTECTED]>: > > HI Damien, > > > > While there might be a more elegant method, we used a scheduled task to > > delete all snapshot builds that were older than 7 days. We typically > build > > 10-20 snapshots a day for a given component. If you are interested in > this > > method, I can point you to the script that does the cleaning. > > > > Evan > > > > On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > > > Any idea of how to remove old artifact snapshot ? > > > > > > Can repositorytools be useful for that ? > > > > > > Thanks > > > > > > Damien > > > > > > > Which goal specifically? I can only see: > > > > > > > > repositorytools:add-artifact > > > > repositorytools:add-plugin-group > > > > repositorytools:add-repository > > > > repositorytools:copy-artifact > > > > repositorytools:copy-repository > > > > repositorytools:deploy-bundle > > > > repositorytools:deploy-repository > > > > repositorytools:export-csv > > > > repositorytools:validate > > > > > > > > Mark > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tool to clean snapshots from the repo
Where you able to tailor this to only delete files if it won't leave none? I think simply aging the files won't work, especially when we move to another version, we don't want to remove all versions, but just leave behind the last one. -Original Message- From: Evan Worley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 1:53 PM To: Maven Developers List Subject: Re: Tool to clean snapshots from the repo Here is the original script that we tailored for our needs. http://lifehacker.com/software/geek-to-live/geek-to-live-hard-drive-jani tor-133190.php On 5/16/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > Hi Evan, > > If can publish it ... > > Thanks > > Damien > > 2007/5/11, Evan Worley <[EMAIL PROTECTED]>: > > HI Damien, > > > > While there might be a more elegant method, we used a scheduled task to > > delete all snapshot builds that were older than 7 days. We typically > build > > 10-20 snapshots a day for a given component. If you are interested in > this > > method, I can point you to the script that does the cleaning. > > > > Evan > > > > On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > > > Any idea of how to remove old artifact snapshot ? > > > > > > Can repositorytools be useful for that ? > > > > > > Thanks > > > > > > Damien > > > > > > > Which goal specifically? I can only see: > > > > > > > > repositorytools:add-artifact > > > > repositorytools:add-plugin-group > > > > repositorytools:add-repository > > > > repositorytools:copy-artifact > > > > repositorytools:copy-repository > > > > repositorytools:deploy-bundle > > > > repositorytools:deploy-repository > > > > repositorytools:export-csv > > > > repositorytools:validate > > > > > > > > Mark > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
Here is the original script that we tailored for our needs. http://lifehacker.com/software/geek-to-live/geek-to-live-hard-drive-janitor-133190.php On 5/16/07, Damien Lecan <[EMAIL PROTECTED]> wrote: Hi Evan, If can publish it ... Thanks Damien 2007/5/11, Evan Worley <[EMAIL PROTECTED]>: > HI Damien, > > While there might be a more elegant method, we used a scheduled task to > delete all snapshot builds that were older than 7 days. We typically build > 10-20 snapshots a day for a given component. If you are interested in this > method, I can point you to the script that does the cleaning. > > Evan > > On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > Any idea of how to remove old artifact snapshot ? > > > > Can repositorytools be useful for that ? > > > > Thanks > > > > Damien > > > > > Which goal specifically? I can only see: > > > > > > repositorytools:add-artifact > > > repositorytools:add-plugin-group > > > repositorytools:add-repository > > > repositorytools:copy-artifact > > > repositorytools:copy-repository > > > repositorytools:deploy-bundle > > > repositorytools:deploy-repository > > > repositorytools:export-csv > > > repositorytools:validate > > > > > > Mark > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
Hi Evan, If can publish it ... Thanks Damien 2007/5/11, Evan Worley <[EMAIL PROTECTED]>: HI Damien, While there might be a more elegant method, we used a scheduled task to delete all snapshot builds that were older than 7 days. We typically build 10-20 snapshots a day for a given component. If you are interested in this method, I can point you to the script that does the cleaning. Evan On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > Any idea of how to remove old artifact snapshot ? > > Can repositorytools be useful for that ? > > Thanks > > Damien > > > Which goal specifically? I can only see: > > > > repositorytools:add-artifact > > repositorytools:add-plugin-group > > repositorytools:add-repository > > repositorytools:copy-artifact > > repositorytools:copy-repository > > repositorytools:deploy-bundle > > repositorytools:deploy-repository > > repositorytools:export-csv > > repositorytools:validate > > > > Mark > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tool to clean snapshots from the repo
Hi Evan, I'm very interested by your script. Would you send it to me or to the mailing list? Thanks, Philippe > -Original Message- > From: Evan Worley [mailto:[EMAIL PROTECTED] > Sent: vendredi 11 mai 2007 20:08 > To: Maven Developers List > Subject: Re: Tool to clean snapshots from the repo > > HI Damien, > > While there might be a more elegant method, we used a scheduled task to > delete all snapshot builds that were older than 7 days. We typically > build > 10-20 snapshots a day for a given component. If you are interested in > this > method, I can point you to the script that does the cleaning. > > Evan > > On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > Any idea of how to remove old artifact snapshot ? > > > > Can repositorytools be useful for that ? > > > > Thanks > > > > Damien > > > > > Which goal specifically? I can only see: > > > > > > repositorytools:add-artifact > > > repositorytools:add-plugin-group > > > repositorytools:add-repository > > > repositorytools:copy-artifact > > > repositorytools:copy-repository > > > repositorytools:deploy-bundle > > > repositorytools:deploy-repository > > > repositorytools:export-csv > > > repositorytools:validate > > > > > > Mark > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
HI Damien, While there might be a more elegant method, we used a scheduled task to delete all snapshot builds that were older than 7 days. We typically build 10-20 snapshots a day for a given component. If you are interested in this method, I can point you to the script that does the cleaning. Evan On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: Any idea of how to remove old artifact snapshot ? Can repositorytools be useful for that ? Thanks Damien > Which goal specifically? I can only see: > > repositorytools:add-artifact > repositorytools:add-plugin-group > repositorytools:add-repository > repositorytools:copy-artifact > repositorytools:copy-repository > repositorytools:deploy-bundle > repositorytools:deploy-repository > repositorytools:export-csv > repositorytools:validate > > Mark > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
Any idea of how to remove old artifact snapshot ? Can repositorytools be useful for that ? Thanks Damien Which goal specifically? I can only see: repositorytools:add-artifact repositorytools:add-plugin-group repositorytools:add-repository repositorytools:copy-artifact repositorytools:copy-repository repositorytools:deploy-bundle repositorytools:deploy-repository repositorytools:export-csv repositorytools:validate Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
On 02/05/07, Jason van Zyl <[EMAIL PROTECTED]> wrote: On 2 May 07, at 2:26 PM 2 May 07, Brian E. Fox wrote: > Is there any tool or piece of tool in existence that can clean > snapshots > from a repo? Tom's repositorytools in the mojo sandbox. Which goal specifically? I can only see: repositorytools:add-artifact repositorytools:add-plugin-group repositorytools:add-repository repositorytools:copy-artifact repositorytools:copy-repository repositorytools:deploy-bundle repositorytools:deploy-repository repositorytools:export-csv repositorytools:validate Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
On 2 May 07, at 2:26 PM 2 May 07, Brian E. Fox wrote: Is there any tool or piece of tool in existence that can clean snapshots from a repo? Tom's repositorytools in the mojo sandbox. Jason. We have consumed over 370GB in a month in snapshots (talk about lots of large builds!). My only solution right now is to go hacking entire versions from the repo, leaving behind just the latest set. I need a tool to read the metadata or the snapshots and start removing stuff leaving just the latest 1 or 2 of each artifact for each snapshot rev around. I'm hoping some piece of archiva can be leveraged. Thanks. --Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tool to clean snapshots from the repo
On 5/2/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: Is there any tool or piece of tool in existence that can clean snapshots from a repo? We have consumed over 370GB in a month in snapshots (talk about lots of large builds!). My only solution right now is to go hacking entire versions from the repo, leaving behind just the latest set. I need a tool to read the metadata or the snapshots and start removing stuff leaving just the latest 1 or 2 of each artifact for each snapshot rev around. I'm hoping some piece of archiva can be leveraged. Sounds familiar. :) http://jira.codehaus.org/browse/MRM-294 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]