A file can removed using a simple DELETE query to its URL (the same way you
send a GET query to download it). You will need to basic-authenticate the
request with a user that has delete privileges on the file's path.
On Mon, Aug 2, 2010 at 6:30 PM, Jay Colson <[email protected]> wrote:
> Thanks --- on to my next question ... I don't see a 'remove artifact
> version' or 'remove file' function in the api ... am I just missing it?
>
> Thanks,
> j
>
> On Aug 1, 2010, at 2:31 PM, Noam Tenne wrote:
>
> Just plain millisecond from the epoch (as in System.currentTimeMillis()).
>
> On Sun, Aug 1, 2010 at 9:09 PM, Jay Colson <[email protected]> wrote:
>
>> what format is 'from' and 'to' supposed to be in?
>>
>> All Artifacts Created in Date Range
>>
>> *Description*: Get All Artifacts Created in Date Range
>> If 'to' is not specified use now().
>> *Since*: 2.2.0
>> *Security*: Requires a privileged non-anonymous user.
>> *Usage*: GET /api/search/creation?from=long[&to=long][&repos=x[,y]]
>> *Produces*:
>> application/vnd.org.jfrog.artifactory.search.ArtifactCreationResult+json
>>
>> thanks,
>> j
>>
>> On Aug 1, 2010, at 11:48 AM, Noam Y. Tenne wrote:
>>
>> I see what you mean...
>> There are plans to automate this, but in the meanwhile you might take want
>> to take a look at Artifactory's REST API (
>> http://wiki.jfrog.org/confluence/display/RTF/Artifactory's+REST+API<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API>)
>> which might help clean the versions up by combining the different search
>> functions and the delete query.
>>
>> On 08/01/2010 06:33 PM, Jay Colson wrote:
>>
>> see image for reasoning ...
>>
>> http://dl.dropbox.com/u/116849/twitter/snapshot%20versions.png
>>
>> 19 PAGES of snapshot versions ... :-/
>>
>> On Aug 1, 2010, at 11:29 AM, Jay Colson wrote:
>>
>> Is there a plan to automate this for snapshot versions for a specific
>> repo for instance? I've got a repo, client-snapshots, that I would like to
>> only keep 2 snapshot _versions_ total for each artifact ....
>>
>> thanks,
>> j
>>
>> On Aug 1, 2010, at 11:29 AM, Noam Y. Tenne wrote:
>>
>> Yes, it is a snapshot cleanup per single version.
>> Currently, we do not automate the cleanup per number of individual
>> versions, but you can achieve this manually with the "Delete Versions"
>> action (
>> http://wiki.jfrog.org/confluence/display/RTF20/Cleaning+Up+Versions).
>>
>> On 08/01/2010 06:17 PM, Jay Colson wrote:
>>
>> Oh, I was under the impression that was for the max unique snapshots of a
>> SINGLE VERSION. Is that not true?
>>
>> Thanks,
>> j
>>
>> On Aug 1, 2010, at 11:16 AM, Noam Y. Tenne wrote:
>>
>> This can be set in the "Max Unique Snapshots" field in the advanced
>> section of the local and remote repository configuration window.
>> Also see http://wiki.jfrog.org/confluence/display/RTF/Local+Repositoriesand
>> http://wiki.jfrog.org/confluence/display/RTF/Advanced.
>>
>> On 08/01/2010 06:05 PM, Jay Colson wrote:
>>
>> Is there a way to configure artifactory to keep a maximum of the last 'n'
>> SNAPSHOT versions? It's really _not_ easy to maintain 30+ multipom projects
>> snapshot versions manually.
>>
>> Thanks,
>> j
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more
>> details:http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Artifactory-users mailing
>> [email protected]https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>>
>> http://p.sf.net/sfu/dev2dev-palm_______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more
>> details:http://p.sf.net/sfu/dev2dev-palm
>>
>>
>> _______________________________________________
>> Artifactory-users mailing
>> [email protected]https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>>
>> http://p.sf.net/sfu/dev2dev-palm_______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more
>> details:http://p.sf.net/sfu/dev2dev-palm
>>
>>
>> _______________________________________________
>> Artifactory-users mailing
>> [email protected]https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>>
>> http://p.sf.net/sfu/dev2dev-palm_______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
>
> http://p.sf.net/sfu/dev2dev-palm_______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users