Commit graph

577 commits

Author SHA1 Message Date
Devan Goodwin
0ea74fdc6c More tests work.
Still not much here and not positive this is the best route to go.
2009-07-21 21:48:32 -03:00
Devan Goodwin
78eebada69 Test "tito init". 2009-07-21 18:10:34 -03:00
Devan Goodwin
1e5d6351dc Dropping main in cli.py, we're sticking to executable script to launch. 2009-07-21 17:40:46 -03:00
Kenny MacDermid
5a43c51ae0 Project is currently Pre-Alpha, not Stable.
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 04:39:52 +08:00
Kenny MacDermid
8c0b647e31 Remove deprecated string functions.
Also small indent fix.

Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 04:39:51 +08:00
Kenny MacDermid
95d12ccb54 Likely typo.
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 04:39:48 +08:00
Kenny MacDermid
b3ea7cb50e Refactor OptionParser into the Base class.
Also remove those calls to the _add_common_options() from subclasses.

Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 04:39:46 +08:00
Kenny MacDermid
7cc8bcee63 Add __main__ code, so cli is easily started.
May also want to #!/usr/bin/env python at the top as well.

Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 04:39:44 +08:00
Kenny MacDermid
ce27b66e08 Move SCRIPT_DIR to common, to avoid cyclic imports.
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 04:39:42 +08:00
Kenny MacDermid
d489a0a139 Pythonify unrequired len()'s.
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 03:02:21 +08:00
Kenny MacDermid
dae0e015e9 Remove keys(), as they're not required.
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 03:02:19 +08:00
Kenny MacDermid
a30b1f4211 Syntax error.
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 03:02:17 +08:00
Steve 'Ashcrow' Milner
cbd2a68b96 updated all source to match base requirements for pep8
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 01:56:11 +08:00
Steve 'Ashcrow' Milner
8936db2874 added gitignore and manifest files
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 01:55:52 +08:00
James Bowes
5b87596e33 Add myself to AUTHORS 2009-07-21 09:34:21 -03:00
James Bowes
a25384556b Resurrect accidentally removed bin/tito file 2009-07-21 09:17:57 -03:00
Steve 'Ashcrow' Milner
e8929afb54 moved all prints to 3.0 style
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-21 20:08:23 +08:00
Steve 'Ashcrow' Milner
ab3459570a added basic doc files
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-21 20:08:21 +08:00
Steve 'Ashcrow' Milner
0668e526b4 updated license in all source files
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-21 20:08:18 +08:00
Devan Goodwin
f7ed5d3e1e More work on test script. 2009-07-20 23:59:28 -03:00
Devan Goodwin
333b28663b Start a runtests.py script to setup a faux git repo for testing.
We'll soon be running 'unit' tests inside this git repo to ensure tito
does what it's supposed to do.
2009-07-20 23:44:56 -03:00
Steve 'Ashcrow' Milner
a791b8a8c4 moved to use setuptools
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-21 10:34:21 +08:00
Devan Goodwin
d0e1caf74d Add setup.py. 2009-07-20 23:12:10 -03:00
Devan Goodwin
27f3597664 Make auxiliary perl scripts executable. 2009-07-20 23:11:57 -03:00
Devan Goodwin
907b2a1c85 Remove unecessary Python path adjustment. 2009-07-20 22:47:44 -03:00
Devan Goodwin
b90c23e133 Add md5 macros for new stronger hash support. 2009-07-20 21:00:46 -03:00
Devan Goodwin
e87345d7b7 Initial commit.
Importing tito code from Spacewalk as is.
2009-07-18 15:17:14 -03:00