aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* Explicitely use tuples for except:•••This behaviour will change in Python 3.0, so we should make sure it's explicit right now. HEADmasterNirbheek Chauhan2009-02-243-3/+3
* Let people edit the current status of master-install manuallyNirbheek Chauhan2009-02-241-1/+1
* Minor bugfixes in setup-master.pyNirbheek Chauhan2009-02-241-4/+22
* Fix Gentoo Foundation Copyright dates•••* For files edited in 2009 as well Nirbheek Chauhan2009-02-248-8/+8
* Minor changes to follow Pythonesque idioms•••* try..finally instead of osp.exists() * Explicit relative imports Nirbheek Chauhan2009-02-243-27/+44
* Fix setup-master.py to not suck monkey balls•••* Reorganise the little shit. Now you just need to type `make` followed by `make DESTDIR=<somewhere> install`. * It's also much more readable now. Nirbheek Chauhan2009-02-232-81/+128
* Fix things broken by previous changes to setup-master.py•••* Paths appended were wrong * Use osp.join instead of +/ - I don't know what I was thinking when I did that Nirbheek Chauhan2009-02-211-20/+25
* Fix incorrect path for python site-packagesNirbheek Chauhan2009-02-213-5/+5
* Fix versioning -- 0.0.1.95•••Also fix Makefile to do dist in dist/ directory (similar to setup.py) Yes, this means there will be a 0.0.2 coming soon :p Nirbheek Chauhan2009-02-184-8/+11
* Use `make` for autotua-master•••* The main reason for this build-system is the absence of librsvg on most servers where autotua-master will be built. Hence, `make dist` will generate .pngs for the tarball * You need to specify the versions only in Makefile/setup.py now * Tarball creation support => we can have an ebuild for autotua-master based on the webapp eclass * New build systems -> 96x96 images are now suffixed with "-large" - Fix master/master/templates/frontpage.html for new images * `make dist` ftw! - Update scripts/do-release.sh for changes - Also fix a few bugs - And remove "scp" support (manual > automatic) Nirbheek Chauhan2009-02-176-49/+102
* Update autotua-slave with ~amd64 KEYWORDNirbheek Chauhan2009-02-103-4/+4
* Compatibility with *BSD systems•••`install` is different on non-GNU Nirbheek Chauhan2009-01-301-1/+1
* Use /usr/bin/env python instead of /usr/bin/pythonNirbheek Chauhan2009-01-301-1/+1
* Reorganise setup-master.py•••- Add support for sample slave on the same test machine * With slave gpg home (with .gitignore for it) - Add user and slave groups as well * Need to have proper Permission() stuff (added to TODO) - Reduce default sub key length to 1024 - Enable symlinking by default - Probably should have separate interactive setup (added to TODO) Nirbheek Chauhan2009-01-184-17/+63
* Add autotua.crypt to setup.py•••It won't get installed unless it's added to the list of modules to install. Nirbheek Chauhan2009-01-181-2/+2
* Add live ebuild for autotua-slaveNirbheek Chauhan2009-01-182-0/+34
* models.Job().status *can't* be unique=True•••That was a brain-fart :p Noticed by Anielkis Herrera González (p0w3r3d) Nirbheek Chauhan2008-10-151-6/+6
* [bugfix] Fix faulty detection of const.MASTER_DIR•••Another testing-dependant bug. * Remove the current directory from the import path; we _really_ don't need it. The current directory takes priority for imports over the install dir. This causes ./master/const.py to be imported if ./setup-master.py is done, which results in a faulty detection of MASTER_DIR. Nirbheek Chauhan2008-10-141-8/+16
* [bugfix] Don't check gpghome while init_gpghome()•••This is the kind of bug that is easy to miss without proper testing :) init_gpghome() would never work because it would check if self.gpghome was a valid gpghome before creating it :p Reported by Anielkis Herrera González (p0w3r3d) Nirbheek Chauhan2008-10-141-0/+6
* Make it a bit more obvious that AutotuA is a palindrome :pNirbheek Chauhan2008-10-131-0/+5
* Improve merging of autotua settings in Django•••* Instead of doing a circular import on "autotua_settings", manually do a merge from "master.settings" (and any other django apps in the dir) * Entries beginning with '_' and not all UPPERCASE are ignored. Nirbheek Chauhan2008-10-134-13/+32
* Update TODONirbheek Chauhan2008-10-132-3/+7
* Basic slave-master stateful encrypted interaction•••* Slave can "take" jobs from the master now - Asymmetrical encryption is used via GPG - models.Slave stores the gpg fingerprint in models.GPGFingerprintField - Slave imports the master's GPG key (/slave_api/autotua_master.asc) * Currently, Slave registration is manual (./manage.py shell) - Slave does fancy encrypted pickle talking (autotua.talk()) :) * "Take" jobs via autotua.Jobs().takejob(maintainer, job_name) - slave/autotua/crypt/__init__.py: * Implements the glue with `gpg` (maybe pygnupg later?) * Crypto() object. Has encrypt() and decrypt() - Also see autotua.decrypt_if_required() - GNUPGHOME for the slave is /var/tmp/autotua * => Job().fetch() requires root access (userpriv/sandbox later) * Phases store state to allow pausing/stopping and resuming of jobs - Future feature, not really used ATM - Job().everything() has prelim support for "resume" * Various small bug fixes and tweaks - Yes, I know I need to make this stuff more atomic :p Nirbheek Chauhan2008-10-1012-38/+294
* Changes to the release script (do-release.sh)•••* Add support for releasing specific parts of AutotuA instead of the whole thing at once. Nirbheek Chauhan2008-10-081-3/+15
* Extra Whitespace.Nirbheek Chauhan2008-10-083-3/+0
* Changes to Django db models (db re-init required)•••* The model structure is more logical now: - Release.provider (ForeignKey) - Release.archs (ManyToManyField) - Job.release (ForeignKey) - No Job.{arch,provider}; implicit in Job.release - Stage() no longer around; Job.stage = models.CharField instead - Arch() -> unique_together = ['specific', 'generic'] * The db's initialisation and db_defaults.py also reflect this * The Form filtering will now be done on the JS side. How is yet undecided. Nirbheek Chauhan2008-10-075-108/+131
* Fix runtime bugs in models.py w.r.t displaying•••* _damn_ I need to have a test suite for the master. Nirbheek Chauhan2008-10-041-3/+3
* Update TODONirbheek Chauhan2008-10-041-2/+1
* Prettify the webinterface•••* Official AutotuA icon! * Various prettifications; do I really need to list them? :p Nirbheek Chauhan2008-10-049-27/+712
* Add dev, at, user groups (dummies)Nirbheek Chauhan2008-10-043-3/+11
* Un-suck front page! Login support!•••* master/icons/Makefile: * master/icons/home.svg: * master/master/templates/basic.html - Replace login.svg with an edited version of logout.svg - Add a new icon (home.svg), and it's logged-out version: none.png - Use logout, login, home icons - Modify header to accomodate login/logout/home icons * master/master/templates/frontpage.html: * master/master/media/css/frontpage.css: - Fix the frontpage to not suck while displaying the "pieces" (the 4 large images) * master/master/templates/registration/login.html: * master/master/urls.py: * master/master/views.py: - Implement login! - Also, implement awesome login/logout image behaviour ;p * Using RequestContext() * none.png/home.png are implemented in the same way Nirbheek Chauhan2008-10-0414-1133/+871
* Add a frontpage for displaying the root webpage•••- Uses the images added in the previous commit - Link just one of the images for now (jobs), rest will be linked as the pages are created - .gitignore the generated images inside master/media/images Useful when setup-master.py is called with SYMLINKS = True Nirbheek Chauhan2008-10-025-7/+50
* Add icons! (and support for rendering+installing)•••* Taken from the Tango project and the GNOME project. LICENSE is the same as for them Nirbheek Chauhan2008-10-0210-0/+5609
* Use autotua settings by default for const.JOBTAGE (master)Nirbheek Chauhan2008-10-021-1/+3
* Make new release. Again.Nirbheek Chauhan2008-09-181-1/+1
* Errr. Use hard links for README-AUTOTUA.Nirbheek Chauhan2008-09-182-2/+102
* Slave is licensed under GPL-3•••- For compatibility with AGPL-3 - Include COPYING Nirbheek Chauhan2008-09-1812-12/+686
* Master is licensed under AGPL-3•••Fix headers and include COPYING Nirbheek Chauhan2008-09-1814-13/+674
* Make new release tarballs with the added READMEsNirbheek Chauhan2008-09-171-1/+1
* Symlink the root README into master/ and slave/•••Also, add it to MANIFEST.in so that setup.py puts it in the sdist tarball Nirbheek Chauhan2008-09-173-0/+3
* Add a script to do releasesNirbheek Chauhan2008-09-171-0/+67
* Add an ebuild for the 0.0.1 release of autotuaNirbheek Chauhan2008-09-173-0/+25
* Fix setup.py to include all required files•••- Need a MANIFEST.in to include package_data and data_files - Add .gitignore to ignore temporary setup.py files - chmod +x setup.py Nirbheek Chauhan2008-09-173-0/+4
* Notify the user if autotua_master is unsetNirbheek Chauhan2008-09-171-1/+3
* git mv master/autotua master/master•••This is to fix a bug where setup-master.py used to take up ./autotua instead of the slave autotua modules. Nirbheek Chauhan2008-09-1714-2/+2
* Add README and PURPOSENirbheek Chauhan2008-09-082-0/+67
* Bugfixes to master server.•••- Allow the master to run with a non-installed autotua-slave by not failing if /etc/autotua/slave.cfg doesn't exist - Use os.makedirs instead of os.mkdir in config.py for creating the autotua dirs - The user needs to manually enter the URL to the master server (temporary change) Nirbheek Chauhan2008-09-033-19/+24
* Add a README for the masterNirbheek Chauhan2008-09-031-0/+6
* Fix jobtage syncing during db init for remote repos•••If const.JOBTAGE is a remote repository (only possible during testing), clone the jobtage tree first, *then* export Nirbheek Chauhan2008-09-032-6/+10
* Setup a sample job while syncing db•••- master/custom/sample_data.py -- data for job intialisation - master/setup-master.py -- Implement sample job initialisation after syncdb - Fix a few bugs in models.py regarding self._get_deplist - Move master/autotua/process/const.py to master/autotua/const.py after removing stuff that's in the DB now Nirbheek Chauhan2008-09-027-45/+63