Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-scire
Navigation:
Lists: gentoo-scire: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-scire@g.o, "Rodrigo Lazo" <rlazo.paz@...>
From: "Preston Cody" <codeman@g.o>
Subject: scire status update for the weekend.
Date: Mon, 23 Jul 2007 00:37:38 -0400
Hi all,
I just wanted to note the changes I've made this weekend to keep
everyone on the same page (especially Rodrigo since he seems to be the
only other one actively hacking at the code now).
Most of my changes relate to dynamic tags and sequences.  Sequences
allow for greater choice in the number of DB types available, and are
necessary for some things here.  Unfortunately there is not any clean
python ADOdb code for the client addition sequence, so I had to hack
the sequel together.  I will test that as soon as I can get vmware to
behave again, because I bet there are issues.

To summarize for those who don't troll -commits with a gimli
highlight, i'll paste my commit messages below.
Rodrigo, let me know if anything I've done conflicts with things
you're working on.

Enjoy,
-Codeman

revision 234:
phpgacl_seed.sql and scire.sql and client.py
adding back in the sequences DB code
adding in some code that will hopefully allow clients to
once-again be inserted.

235:
scire.sql and script.tpl
changing the dyn_tags table to use scriptid instead of jobid
fixing up the script creation section.  still a work in progress.

236:
scire.sql
added sequences for jobs and scripts.
make jobs and scripts not auto_increment anymore.
this will require those who have the tables made to drop and rebuild.

237:
scire2.sql
adding seed data for the jobs and scripts sequences.

238:
in DB.php:
  added get_next_id to grab the next id from a sequence
  added now to insert the timestamp in whatever DB format.
in DB_functions.php:
  added get_client_statuses() for clients pages
  modified add_client and add_job to use $db->now()
  fixed add_job to use the sequence. made the code simpler.
  fixed clients and clientgroups addition.
  heavily modified the script addition. uses sequence
  also adds tags passed to it now.

239:
client.tpl and script.tpl
small changes.  for script, use the id and name of scripts, now passed in.
previously the id wasn't there.
for client.tpl, use the statuses gathered.

240:
script.php
lots of changes here.
adding dynamic tags submission to the script.

implemented the continue button which parses the script
looking for tags, and when the page reloads it shows the tags
so you can set default values.
add the perm id

241:
client.php
add the statuses as a var for the template to use.

242:
add_job.php
commented out the parser for the time being so the job will commit.
rlazo, feel free to uncomment for your use.
added exception.
-- 
gentoo-scire@g.o mailing list


Navigation:
Lists: gentoo-scire: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
making a little progress.
Next by thread:
Event framework proposal
Previous by date:
making a little progress.
Next by date:
Event framework proposal


Updated Jun 17, 2009

Summary: Archive of the gentoo-scire mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.