Commit graph

1154 commits

Author SHA1 Message Date
Devan Goodwin
a393dfbfda Create a multi-project git repository for testing. 2009-08-02 12:33:36 -03:00
Devan Goodwin
6dd00ae3bc Test additions and improvements.
And a rename to something more appropriate.
2009-07-29 21:00:35 -03:00
James Bowes
5b5f53afe5 Move README to README.mkd to github will format the markdown
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-27 00:08:22 +08:00
James Bowes
515815dcbc pyflakes cleanup
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-27 00:08:21 +08:00
James Bowes
83aba138ec Allow get_class_by_name to do all the importing itself
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-27 00:08:20 +08:00
James Bowes
5640436684 Add Devan back to AUTHORS
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-27 00:08:19 +08:00
Devan Goodwin
47f7bbfb78 Add support for offline (standalone) git repos.
Essentially always specifies --offline when calling tito, useful for
projects that are entirely local and do not consider any remote
reference authoritative.
2009-07-25 18:43:23 -03:00
Devan Goodwin
6bf8478a4d Fix reports for single project git repos. 2009-07-25 18:33:07 -03:00
Devan Goodwin
aaf6139e61 Add README documentation. 2009-07-25 13:29:53 -03:00
Devan Goodwin
0de5290258 Expand tagging tests. 2009-07-25 12:39:22 -03:00
Devan Goodwin
69a108dfad Update HACKING with test running instructions. 2009-07-25 11:55:45 -03:00
Devan Goodwin
1f587f0f3c Kinda support running nosetests manually.
Will fail unless you have tito installed on your system. In this case
only the bare tito script in bin and seldom modified perl scripts will
be used from the installed version, the code should still run against
the source.
2009-07-25 11:54:06 -03:00
Devan Goodwin
9912d0e868 Make runtests.py executable. 2009-07-25 11:51:11 -03:00
Devan Goodwin
6ea3f432bc Re-enable functional tests, add top level runtests.py.
Path hacks currently requiring this, though we still use python-nose
once it's time to actually call the tests. Still probably a solution to
get rid of the test script...
2009-07-25 11:50:02 -03:00
Devan Goodwin
e5e98bc098 Big test refactor.
Introduce unit test framework, disable functional test framework for
now, but getting closer to something that's sensible.
2009-07-24 23:00:45 -03:00
Devan Goodwin
698d9962ba Namespace rename, spacewalk.releng -> tito. 2009-07-24 22:18:05 -03:00
Devan Goodwin
af72fd5572 Prep for namespace change spacewalk.releng -> tito. 2009-07-24 22:11:25 -03:00
Devan Goodwin
5090335175 Touchups in tito init.
Tito.props wasn't actually being committed due to missing git add.
2009-07-24 21:38:06 -03:00
Devan Goodwin
5e2fd63496 Automatic commit of package [tito] release [0.0.1-1]. 2009-07-22 23:24:00 -03:00
Devan Goodwin
3edfdff68f More spec file touchups. 2009-07-22 23:21:59 -03:00
Devan Goodwin
0d42212dc0 Attempting to manage tito, with tito... 2009-07-22 23:13:42 -03:00
Devan Goodwin
b4dce2ce3d Fix python package name in spec. 2009-07-22 23:13:22 -03:00
Devan Goodwin
1afaa526c5 Initial draft of a spec file. 2009-07-22 23:05:28 -03:00
Devan Goodwin
ac25bdb852 Typo. 2009-07-21 23:16:06 -03:00
Devan Goodwin
40c193b79d Exclude rel-eng/ from tarballs.
Only relevant for single-repo projects. I think this is valid and
doesn't seem to break md5sums on multi-repo project tarballs.
2009-07-21 23:01:50 -03:00
Devan Goodwin
74008890c3 Fix build --tgz for single project repos. 2009-07-21 22:19:53 -03:00
Devan Goodwin
e785c77f0c Fix path to aux Perl scripts.
For now we'll expect these to be on PATH, though in the long term they
will hopefully be ported to pure Python code and folded right into the
library.
2009-07-21 21:59:38 -03:00
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