Hi David,

I think Artifactory does support this for any repo, as long as it follows one 
of the repo layouts in your configuration.  You can only add non-standard 
layouts in the Pro version (not OSS), but you can assign any layout to a 
Generic repo, I think.  If your current set of files doesn't match one of the 
existing layouts, perhaps you could move them around with a one-off script?

https://www.jfrog.com/confluence/display/RTF/Repository+Layouts

Hope that helps,
Hugh.

________________________________
From: David Ward [[email protected]]
Sent: Friday, January 22, 2016 02:25
To: [email protected]
Subject: Re: [Artifactory-users] Snapshots for a generic repository

D:

I tried using a maven repository and it doesn’t know that the tarballs are 
snapshots so it lets you store as many as you want. I guess we could fudge a 
maven environment and generate the tarballs as snapshots, but that’s silly work.

I know I can do the versioning with a script. But, since artifactory already 
has a similar approach for maven/gradle/ivy, it would seem symmetrical to have 
a similar policy for generic repositories. Plus, we are actually deploying our 
artifacts from bamboo using the default artifactory plugin so we would have to 
reproduce that.

It just seems this is something that artifactory should support.

Thanks.

David

From: dave_p [via Artifactory] [mailto:ml-node+[hidden 
email]<UrlBlockedError.aspx>]
Sent: Thursday, January 21, 2016 7:17 PM
To: Ward, David (Proxy) <[hidden email]<UrlBlockedError.aspx>>
Subject: Re: Snapshots for a generic repository

I had a similar problem with these OVA appliances (versioned releases, not 
snapshots) one of our teams produces nightly - ended up “fixing” it by writing 
a python script that uses the artifactory API to list the contents of a 
repository, sort them by date, and delete the oldest ones. (We retain 7, but 
the idea is the same.) Then added it to crontab.

Interested in knowing if there’s a better way.

Theoretically, I suppose you could use a maven repository to store tarballs. 
For some reason, I’ve got a maven repo with a bunch of ISOs in it. :-D

-Dave P.

On Jan 21, 2016, at 1:49 PM, David Ward <[hidden email]<UrlBlockedError.aspx>> 
wrote:

> We currently store tarballs of our system in artifactory after each build. We
> do not use maven, gradle, etc., so we store them in a generic repository.
>
> The problem that we are having is that the repository keeps growing and
> growing because each build is a separate artifact; however, old versions of
> the build are not really useful.
>
> For maven/gradle repositories, we could configure the repository as a
> snapshot repository and limit versions to a small number.
>
> Is there some way to limit the number of artifacts in a generic repository
> in a similar manner? For example, only allow 5 artifacts (our build
> tarballs) in the repository. If you put in more than five, the oldest
> artifact will be deleted.
>
> Thanks.
>
> David
>
>
>
>
> --
> View this message in context: 
> http://forums.jfrog.org/Snapshots-for-a-generic-repository-tp7580751.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]<UrlBlockedError.aspx>
> https://lists.sourceforge.net/lists/listinfo/artifactory-users


---------------------------------------------------------------------------

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
---
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Artifactory-users mailing list
[hidden email]<UrlBlockedError.aspx>
https://lists.sourceforge.net/lists/listinfo/artifactory-users

________________________________
If you reply to this email, your message will be added to the discussion below:
http://forums.jfrog.org/Snapshots-for-a-generic-repository-tp7580751p7580753.html
To unsubscribe from Snapshots for a generic repository, click 
here<UrlBlockedError.aspx>.
NAML<http://forums.jfrog.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
CONFIDENTIALITY NOTICE: This e-mail and any attachments are for the exclusive 
and confidential use of the intended recipient. If you received this in error, 
please do not read, distribute, or take action in reliance upon this message. 
Instead, please notify us immediately by return e-mail and promptly delete this 
message and its attachments from your computer system. We do not waive 
attorney-client or work product privilege by the transmission of this message. 
Act 5.6.102a.c
________________________________
View this message in context: RE: Snapshots for a generic 
repository<http://forums.jfrog.org/Snapshots-for-a-generic-repository-tp7580751p7580754.html>
Sent from the Artifactory - Users mailing list 
archive<http://forums.jfrog.org/Artifactory-Users-f2377369.html> at Nabble.com.


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to