REST API for cleanin up snapshots

View: New views
5 Messages — Rating Filter:   Alert me  

REST API for cleanin up snapshots

by Evgeny Goldin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 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/

Re: RE ST API for cleanin up snapshots

by Yossi Shaul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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 <evgenyg@...>
To: artifactory-users@...
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
Artifactory-users@...
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
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: RE ST API for cleanin up snapshots

by Evgeny Goldin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Yossi.
Thank you!

Filed an issue: 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 <evgenyg@gmail.com>
To: artifactory-users@lists.sourceforge.net
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
Artifactory-users@lists.sourceforge.net
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
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users
--
Best regards,
Evgeny
http://evgeny-goldin.com/

Re: RE ST API for cleanin up snapshots

by Yoav Landman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <evgenyg@...> 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 <evgenyg@...>
>> To: artifactory-users@...
>> 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
>> Artifactory-users@...
>> 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
>> Artifactory-users@...
>> 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
> Artifactory-users@...
> 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
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: RE ST API for cleanin up snapshots

by Evgeny Goldin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <evgenyg@gmail.com> 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 <evgenyg@gmail.com>
>> To: artifactory-users@lists.sourceforge.net
>> 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
>> Artifactory-users@lists.sourceforge.net
>> 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
>> Artifactory-users@lists.sourceforge.net
>> 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
> Artifactory-users@lists.sourceforge.net
> 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
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users
--
Best regards,
Evgeny
http://evgeny-goldin.com/