[arch-releng] Iso tests

Dan McGee dpmcgee at gmail.com
Thu Mar 10 17:24:36 EST 2011


On Thu, Mar 10, 2011 at 4:14 PM, Dieter Plaetinck <dieter at plaetinck.be> wrote:
> On Thu, 10 Mar 2011 16:03:55 -0600
> Dan McGee <dpmcgee at gmail.com> wrote:
>
>> On Thu, Mar 10, 2011 at 3:59 PM, Dieter Plaetinck <dieter at plaetinck.be> wrote:
>> > on http://127.0.0.1:8000/isotests/add/
>> > -> list of iso's is empty (since it's required, you cannot currently add new entries). as we discussed, there should we a way (probably commandline based, so we can put it in a crontab) to add iso entries to the table based on the directories @ http://releng.archlinux.org/isos/
>> > I first thought we could shellscript this, but since django nicely abstracts the database, we should do it with a pyhon commandline program instead.
>> Django admin- there is no need to waste time on something that has a
>> built-in web interface that takes 3 seconds to add a new ISO name.
>
> okay, you want to spend those 3 seconds every 2/3 days to manually add a new iso name?
> Be my guest.  I surely don't.
> (remember we're talking about iso's that are being automatically generated every 2/3 days, sometimes daily)

Aha, then a Django management command works fine for this, we already
have several. You are still going to have some issues with that
dropdown being far too full of things if they are this continuous, or
do you plan on pruning old ISOs so we can just mark those inactive in
the list?

-Dan


More information about the arch-releng mailing list