"How does Artifactory distinguish between what is a snapshot and what
isn’t?"
>From the name and/or the pom file.

Best practice is to ask Artifactory to do the snapshot naming
(Date-build.number) and have maven sends only files with -SNAPSHOT in their
names ("non-unique" configuration). This way the numbering and removal is
managed by Artifactory transactions.

On Thu, Dec 3, 2009 at 10:05 PM, Carlton Brown <[email protected]> wrote:

>  For the maximum number of unique builds to keep, the tooltip says “the
> maximum number unique snapshots (of the same artifact) to store.
>
>
>
> How does Artifactory distinguish between what is a snapshot and what isn’t?
>
>
>
> *From:* Frederic Simon [mailto:[email protected]]
> *Sent:* Thursday, December 03, 2009 2:43 PM
> *To:* [email protected]
> *Subject:* Re: [Artifactory-users] Implementing automated cleanup of
> artifacts
>
>
>
> Hi,
>
> The automatic deletion already part of Artifactory are:
>
> 1. For snapshots, if you choose "unique" layout you can configure a maximum
> number of unique builds to keep (not in days but I found it useful).
>
> 2. For remote cache repositories there is "delete cache artifacts not
> downloaded for X hours"
>
> There is a way to do it with REST/Webdav queries (we use it internally),
> but it is still undocumented.
>
>
>
> HTH,
>
> Fred.
>
>
>
> On Thu, Dec 3, 2009 at 5:54 PM, Carlton Brown <[email protected]>
> wrote:
>
> Is there any way I can configure Artifactory to perform automatic deletion
> of versions older than N days (such as snapshots, etc)?     The Web UI is
> nice but I don’t want to do this manually every day.
>
>
>
> If not, is there some API or command I could periodically run in a script
> to perform this task?
>
>
>
> Thanks in advance…
>
> ***CONFIDENTIALITY NOTICE and DISCLAIMER***
>
> This message and any attachment are confidential and may be
>
> privileged or otherwise protected from disclosure and solely for
>
> the use of the person(s) or entity to whom it is intended. If you
>
> have received this message in error and are not the intended
>
> recipient, please notify the sender immediately and delete this
>
> message and any attachment from your system. If you are not the
>
> intended recipient, be advised that any use of this message is
>
> prohibited and may be unlawful, and you must not copy this
>
> message or attachment or disclose the contents to any other person.
>
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
>
> --
> Co. Founder and Chief Architect
> JFrog Ltd
> http://www.jfrog.org/
> http://twitter.com/freddy33
>
> ***CONFIDENTIALITY NOTICE and DISCLAIMER***
> This message and any attachment are confidential and may be
> privileged or otherwise protected from disclosure and solely for
> the use of the person(s) or entity to whom it is intended. If you
> have received this message in error and are not the intended
> recipient, please notify the sender immediately and delete this
> message and any attachment from your system. If you are not the
> intended recipient, be advised that any use of this message is
> prohibited and may be unlawful, and you must not copy this
> message or attachment or disclose the contents to any other person.
>
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>


-- 
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to