RE ST API for cleanin up snapshots

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

RE ST API for cleanin up snapshots

Evgeny Goldin

Hello,

I would like to cleanup all our Artifactory snapshots on a weekly basis (to
get rid of an outdated ones when gId:aId change and spot all those
<dependencies> that still rely on old names).

Can it be done via some authorized HTTP call ?
Or one needs to run
http://wiki.jfrog.org/confluence/display/RTF/The+artadmin+Command+Line+Tool
artadmin  ? Also, I see artadmin does not support a "remove" command - is it
on purpose ?

Thank you!

P.S
Just upgraded to 2.0.7 - works Ok.


-----
--
Best regards,
Evgeny
http://evgeny-goldin.com/

--
View this message in context: http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24987104.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Best regards,
Evgeny
http://evgeny-goldin.com/
Reply | Threaded
Open this post in threaded view
|

Re: RE ST API for cleanin up snapshots

Yossi Shaul
There is no REST support for snapshots cleanup. You can achieve something similar with the delete versions action from the ui, but this is a manual cleanup.
As for artadmin not supporting the remove command, this is not on purpose, just never asked for by the community.
Please jira tasks for those featured if you're interested.

Thanks,
Yossi


From: Evgeny Goldin <[hidden email]>
To: [hidden email]
Sent: Saturday, August 15, 2009 9:38:26 PM
Subject: [Artifactory-users] RE ST API for cleanin up snapshots


Hello,

I would like to cleanup all our Artifactory snapshots on a weekly basis (to
get rid of an outdated ones when gId:aId change and spot all those
<dependencies> that still rely on old names).

Can it be done via some authorized HTTP call ?
Or one needs to run
http://wiki.jfrog.org/confluence/display/RTF/The+artadmin+Command+Line+Tool
artadmin  ? Also, I see artadmin does not support a "remove" command - is it
on purpose ?

Thank you!

P.S
Just upgraded to 2.0.7 - works Ok.


-----
--
Best regards,
Evgeny
http://evgeny-goldin.com/

--
View this message in context: http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24987104.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: RE ST API for cleanin up snapshots

Evgeny Goldin


Hi Yossi.
Thank you!

Filed an issue:
http://issues.jfrog.org/jira/browse/RTFACT-2058 RTFACT-2058



Yossi Shaul-2 wrote:

>
> There is no REST support for snapshots cleanup. You can achieve something
> similar with the delete versions action from the ui, but this is a manual
> cleanup.
> As for artadmin not supporting the remove command, this is not on purpose,
> just never asked for by the community.
> Please jira tasks for those featured if you're interested.
>
> Thanks,
> Yossi
>
>
>
>
> ________________________________
> From: Evgeny Goldin <[hidden email]>
> To: [hidden email]
> Sent: Saturday, August 15, 2009 9:38:26 PM
> Subject: [Artifactory-users] RE ST API for cleanin up snapshots
>
>
> Hello,
>
> I would like to cleanup all our Artifactory snapshots on a weekly basis
> (to
> get rid of an outdated ones when gId:aId change and spot all those
> <dependencies> that still rely on old names).
>
> Can it be done via some authorized HTTP call ?
> Or one needs to run
> http://wiki.jfrog.org/confluence/display/RTF/The+artadmin+Command+Line+Tool
> artadmin  ? Also, I see artadmin does not support a "remove" command - is
> it
> on purpose ?
>
> Thank you!
>
> P.S
> Just upgraded to 2.0.7 - works Ok.
>
>
> -----
> --
> Best regards,
> Evgeny
> http://evgeny-goldin.com/
>
> --
> View this message in context:
> http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24987104.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
>      
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>


-----
--
Best regards,
Evgeny
http://evgeny-goldin.com/

--
View this message in context: http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24992119.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Best regards,
Evgeny
http://evgeny-goldin.com/
Reply | Threaded
Open this post in threaded view
|

Re: RE ST API for cleanin up snapshots

Yoav Landman
Administrator
You should also be able to issue a HTTP DELETE request on a URL you
wish to delete. It should work.

On 8/16/09, Evgeny Goldin <[hidden email]> wrote:

>
>
> Hi Yossi.
> Thank you!
>
> Filed an issue:
> http://issues.jfrog.org/jira/browse/RTFACT-2058 RTFACT-2058
>
>
>
> Yossi Shaul-2 wrote:
>>
>> There is no REST support for snapshots cleanup. You can achieve something
>> similar with the delete versions action from the ui, but this is a manual
>> cleanup.
>> As for artadmin not supporting the remove command, this is not on purpose,
>> just never asked for by the community.
>> Please jira tasks for those featured if you're interested.
>>
>> Thanks,
>> Yossi
>>
>>
>>
>>
>> ________________________________
>> From: Evgeny Goldin <[hidden email]>
>> To: [hidden email]
>> Sent: Saturday, August 15, 2009 9:38:26 PM
>> Subject: [Artifactory-users] RE ST API for cleanin up snapshots
>>
>>
>> Hello,
>>
>> I would like to cleanup all our Artifactory snapshots on a weekly basis
>> (to
>> get rid of an outdated ones when gId:aId change and spot all those
>> <dependencies> that still rely on old names).
>>
>> Can it be done via some authorized HTTP call ?
>> Or one needs to run
>> http://wiki.jfrog.org/confluence/display/RTF/The+artadmin+Command+Line+Tool
>> artadmin  ? Also, I see artadmin does not support a "remove" command - is
>> it
>> on purpose ?
>>
>> Thank you!
>>
>> P.S
>> Just upgraded to 2.0.7 - works Ok.
>>
>>
>> -----
>> --
>> Best regards,
>> Evgeny
>> http://evgeny-goldin.com/
>>
>> --
>> View this message in context:
>> http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24987104.html
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>
>
> -----
> --
> Best regards,
> Evgeny
> http://evgeny-goldin.com/
>
> --
> View this message in context:
> http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24992119.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>

--
Sent from my mobile device

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: RE ST API for cleanin up snapshots

Evgeny Goldin

Ok, thanks, I'll try it.


Yoav  Landman wrote:

>
> You should also be able to issue a HTTP DELETE request on a URL you
> wish to delete. It should work.
>
> On 8/16/09, Evgeny Goldin <[hidden email]> wrote:
>>
>>
>> Hi Yossi.
>> Thank you!
>>
>> Filed an issue:
>> http://issues.jfrog.org/jira/browse/RTFACT-2058 RTFACT-2058
>>
>>
>>
>> Yossi Shaul-2 wrote:
>>>
>>> There is no REST support for snapshots cleanup. You can achieve
>>> something
>>> similar with the delete versions action from the ui, but this is a
>>> manual
>>> cleanup.
>>> As for artadmin not supporting the remove command, this is not on
>>> purpose,
>>> just never asked for by the community.
>>> Please jira tasks for those featured if you're interested.
>>>
>>> Thanks,
>>> Yossi
>>>
>>>
>>>
>>>
>>> ________________________________
>>> From: Evgeny Goldin <[hidden email]>
>>> To: [hidden email]
>>> Sent: Saturday, August 15, 2009 9:38:26 PM
>>> Subject: [Artifactory-users] RE ST API for cleanin up snapshots
>>>
>>>
>>> Hello,
>>>
>>> I would like to cleanup all our Artifactory snapshots on a weekly basis
>>> (to
>>> get rid of an outdated ones when gId:aId change and spot all those
>>> <dependencies> that still rely on old names).
>>>
>>> Can it be done via some authorized HTTP call ?
>>> Or one needs to run
>>> http://wiki.jfrog.org/confluence/display/RTF/The+artadmin+Command+Line+Tool
>>> artadmin  ? Also, I see artadmin does not support a "remove" command -
>>> is
>>> it
>>> on purpose ?
>>>
>>> Thank you!
>>>
>>> P.S
>>> Just upgraded to 2.0.7 - works Ok.
>>>
>>>
>>> -----
>>> --
>>> Best regards,
>>> Evgeny
>>> http://evgeny-goldin.com/
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24987104.html
>>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus
>>> on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus
>>> on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>>
>>>
>>
>>
>> -----
>> --
>> Best regards,
>> Evgeny
>> http://evgeny-goldin.com/
>>
>> --
>> View this message in context:
>> http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24992119.html
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> --
> Sent from my mobile device
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>


-----
--
Best regards,
Evgeny
http://evgeny-goldin.com/

--
View this message in context: http://www.nabble.com/REST-API-for-cleanin-up-snapshots-tp24987104p24995870.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Best regards,
Evgeny
http://evgeny-goldin.com/