[Spacewalk-list] Antwort: Keep Last 2 Version in Spacewalk Repo

Dimitri Yioulos dyioulos at netatlantic.com
Mon Oct 22 14:12:11 UTC 2018


Sorry, the script is actually named spacewalk-clean-old-packages.py.

From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Dimitri Yioulos
Sent: Monday, October 22, 2018 9:55 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Antwort: Keep Last 2 Version in Spacewalk Repo

Some time ago, I found a script named swalk-clean-old-packages.py (and you can still find it out there).  I don’t recall if I had to tweak it slightly, but I’ve been using it successfully, in conjunction with cron, for some time.  I run it after each scheduled channel update.  Keeps the last couple of updates for each package.  You might want to give it a try.

Dimitri

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> On Behalf Of Matthias Gruber
Sent: Monday, October 22, 2018 9:23 AM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: [Spacewalk-list] Antwort: Keep Last 2 Version in Spacewalk Repo

Hi!

Nearly the same Problem here... my repo has 56 Files and my SpaceWalk-Channel, even after a /usr/bin/spacewalk-repo-sync  tells me 68, I also has no clue why and how to fix

cheers
Matthias




Von:        "Ananda Arifianto" <ananda.arifianto at danamon.co.id<mailto:ananda.arifianto at danamon.co.id>>
An:        "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Datum:        22.10.2018 12:06
Betreff:        [Spacewalk-list] Keep Last 2 Version in Spacewalk Repo
Gesendet von:        spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>
________________________________



Hi All,

When we sync repository, it will add the new package that available in the internet repo.
It caused the size of repo bigger and bigger, is it possible to clean up the old packages and keep last 2 or 3 newer version?
Please advice, thank you..


Best Regards,
Ananda Arifianto

The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk._______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list



Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von Metzler, Emmerich Müller, Gerhard Wiesheu
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine Haftung hierfür wird ausgeschlossen.
This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept any liability for their contents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20181022/c17fdab1/attachment.htm>


More information about the Spacewalk-list mailing list