aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Explicitely use tuples for except:HEADmasterNirbheek Chauhan2009-02-243-3/+3
| | | | | This behaviour will change in Python 3.0, so we should make sure it's explicit right now.
* 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 datesNirbheek Chauhan2009-02-248-8/+8
| | | | * For files edited in 2009 as well
* Minor changes to follow Pythonesque idiomsNirbheek Chauhan2009-02-243-27/+44
| | | | | * try..finally instead of osp.exists() * Explicit relative imports
* Fix setup-master.py to not suck monkey ballsNirbheek Chauhan2009-02-232-81/+128
| | | | | | * Reorganise the little shit. Now you just need to type `make` followed by `make DESTDIR=<somewhere> install`. * It's also much more readable now.
* Fix things broken by previous changes to setup-master.pyNirbheek Chauhan2009-02-211-20/+25
| | | | | | * Paths appended were wrong * Use osp.join instead of +/ - I don't know what I was thinking when I did that
* Fix incorrect path for python site-packagesNirbheek Chauhan2009-02-213-5/+5
|
* Fix versioning -- 0.0.1.95Nirbheek Chauhan2009-02-184-8/+11
| | | | | | 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
* Use `make` for autotua-masterNirbheek Chauhan2009-02-176-49/+102
| | | | | | | | | | | | | | | * 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)
* Update autotua-slave with ~amd64 KEYWORDNirbheek Chauhan2009-02-103-4/+4
|
* Compatibility with *BSD systemsNirbheek Chauhan2009-01-301-1/+1
| | | | `install` is different on non-GNU
* Use /usr/bin/env python instead of /usr/bin/pythonNirbheek Chauhan2009-01-301-1/+1
|
* Reorganise setup-master.pyNirbheek Chauhan2009-01-184-17/+63
| | | | | | | | | | - 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)
* Add autotua.crypt to setup.pyNirbheek Chauhan2009-01-181-2/+2
| | | | | It won't get installed unless it's added to the list of modules to install.
* Add live ebuild for autotua-slaveNirbheek Chauhan2009-01-182-0/+34
|
* models.Job().status *can't* be unique=TrueNirbheek Chauhan2008-10-151-6/+6
| | | | | | That was a brain-fart :p Noticed by Anielkis Herrera González (p0w3r3d)
* [bugfix] Fix faulty detection of const.MASTER_DIRNirbheek Chauhan2008-10-141-8/+16
| | | | | | | | | | 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.
* [bugfix] Don't check gpghome while init_gpghome()Nirbheek Chauhan2008-10-141-0/+6
| | | | | | | | | 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)
* Make it a bit more obvious that AutotuA is a palindrome :pNirbheek Chauhan2008-10-131-0/+5
|
* Improve merging of autotua settings in DjangoNirbheek Chauhan2008-10-134-13/+32
| | | | | | * 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.
* Update TODONirbheek Chauhan2008-10-132-3/+7
|
* Basic slave-master stateful encrypted interactionNirbheek Chauhan2008-10-1012-38/+294
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Changes to the release script (do-release.sh)Nirbheek Chauhan2008-10-081-3/+15
| | | | | * Add support for releasing specific parts of AutotuA instead of the whole thing at once.
* Extra Whitespace.Nirbheek Chauhan2008-10-083-3/+0
|
* Changes to Django db models (db re-init required)Nirbheek Chauhan2008-10-075-108/+131
| | | | | | | | | | | | | * 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.
* Fix runtime bugs in models.py w.r.t displayingNirbheek Chauhan2008-10-041-3/+3
| | | | * _damn_ I need to have a test suite for the master.
* Update TODONirbheek Chauhan2008-10-041-2/+1
|
* Prettify the webinterfaceNirbheek Chauhan2008-10-049-27/+712
| | | | | * Official AutotuA icon! * Various prettifications; do I really need to list them? :p
* Add dev, at, user groups (dummies)Nirbheek Chauhan2008-10-043-3/+11
|
* Un-suck front page! Login support!Nirbheek Chauhan2008-10-0414-1133/+871
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Add a frontpage for displaying the root webpageNirbheek Chauhan2008-10-025-7/+50
| | | | | | | | - 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
* Add icons! (and support for rendering+installing)Nirbheek Chauhan2008-10-0210-0/+5609
| | | | | * Taken from the Tango project and the GNOME project. LICENSE is the same as for them
* 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-3Nirbheek Chauhan2008-09-1812-12/+686
| | | | | - For compatibility with AGPL-3 - Include COPYING
* Master is licensed under AGPL-3Nirbheek Chauhan2008-09-1814-13/+674
| | | | Fix headers and include COPYING
* Make new release tarballs with the added READMEsNirbheek Chauhan2008-09-171-1/+1
|
* Symlink the root README into master/ and slave/Nirbheek Chauhan2008-09-173-0/+3
| | | | Also, add it to MANIFEST.in so that setup.py puts it in the sdist tarball
* 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 filesNirbheek Chauhan2008-09-173-0/+4
| | | | | | - Need a MANIFEST.in to include package_data and data_files - Add .gitignore to ignore temporary setup.py files - chmod +x setup.py
* Notify the user if autotua_master is unsetNirbheek Chauhan2008-09-171-1/+3
|
* git mv master/autotua master/masterNirbheek Chauhan2008-09-1714-2/+2
| | | | | This is to fix a bug where setup-master.py used to take up ./autotua instead of the slave autotua modules.
* Add README and PURPOSENirbheek Chauhan2008-09-082-0/+67
|
* Bugfixes to master server.Nirbheek Chauhan2008-09-033-19/+24
| | | | | | | | | - 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)
* Add a README for the masterNirbheek Chauhan2008-09-031-0/+6
|
* Fix jobtage syncing during db init for remote reposNirbheek Chauhan2008-09-032-6/+10
| | | | | If const.JOBTAGE is a remote repository (only possible during testing), clone the jobtage tree first, *then* export
* Setup a sample job while syncing dbNirbheek Chauhan2008-09-027-45/+63
| | | | | | | | | - 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