| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This behaviour will change in Python 3.0, so we should make sure it's explicit
right now.
|
| |
|
| |
|
|
|
|
| |
* For files edited in 2009 as well
|
|
|
|
|
| |
* try..finally instead of osp.exists()
* Explicit relative imports
|
|
|
|
|
|
| |
* Reorganise the little shit. Now you just need to type `make` followed by
`make DESTDIR=<somewhere> install`.
* It's also much more readable now.
|
|
|
|
|
|
| |
* Paths appended were wrong
* Use osp.join instead of +/
- I don't know what I was thinking when I did that
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
| |
|
|
|
|
| |
`install` is different on non-GNU
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
| |
It won't get installed unless it's added to the list of modules to
install.
|
| |
|
|
|
|
|
|
| |
That was a brain-fart :p
Noticed by Anielkis Herrera González (p0w3r3d)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Add support for releasing specific parts of AutotuA instead of the
whole thing at once.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* _damn_ I need to have a test suite for the master.
|
| |
|
|
|
|
|
| |
* Official AutotuA icon!
* Various prettifications; do I really need to list them? :p
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
* Taken from the Tango project and the GNOME project. LICENSE is the
same as for them
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- For compatibility with AGPL-3
- Include COPYING
|
|
|
|
| |
Fix headers and include COPYING
|
| |
|
|
|
|
| |
Also, add it to MANIFEST.in so that setup.py puts it in the sdist tarball
|
| |
|
| |
|
|
|
|
|
|
| |
- Need a MANIFEST.in to include package_data and data_files
- Add .gitignore to ignore temporary setup.py files
- chmod +x setup.py
|
| |
|
|
|
|
|
| |
This is to fix a bug where setup-master.py used to take up ./autotua
instead of the slave autotua modules.
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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)
|
| |
|
|
|
|
|
| |
If const.JOBTAGE is a remote repository (only possible during testing),
clone the jobtage tree first, *then* export
|
|
|
|
|
|
|
|
|
| |
- 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
|