jesus m. rodriguez
847762d2ae
better error messages
2010-05-11 13:07:38 -04:00
Devan Goodwin
1ba3f546f6
Remove check for changelog with today's date.
...
Most everyone uses auto-changelog now so this was just causing problems
for anyone tagging twice in one day. If you use --no-auto-changelog,
we'll assume you know what you're doing.
2010-05-04 09:34:00 -03:00
jesus m. rodriguez
47c32403e6
allow user to specify an changelog string for new packages.
2010-04-29 15:42:12 -04:00
jesus m. rodriguez
d2174be438
need to shorten the commit id for NoTgzBuilder
2010-04-29 13:52:24 -04:00
jesus m. rodriguez
967bf8b0ba
use latest commit instead of HEAD for --test.
2010-04-29 12:55:39 -04:00
jesus m. rodriguez
37a4f53182
allow tito to understand pkg names with macros.
...
This change fixes the problem with rpms which use macros as part of the
Name definition. For example, 'Name: rubygem-%{gemname}' would normally
result in a tag called 'rubygem-%{gemname}-1.0.0-1' which is clearly
not what the developer intended.
I switched the get_project_name method to use rpm instead of a
cat | grep | awk combo.
This wonderful rpm command takes care of expanding the macros for us.
rpm -q --qf '%%{name}\n' --specfile %s 2> /dev/null |
head -1" % spec_file_path)
2010-04-28 11:29:51 -04:00
jesus m. rodriguez
e49768cdf1
use short sha1 when generating filenames.
2010-04-26 23:00:08 +08:00
jesus m. rodriguez
11e0090257
add support for passing in the commit count
2010-04-26 23:00:08 +08:00
jesus m. rodriguez
1c93f43c11
init should commit packages dir.
...
Reworked InitModule to create a readme file under the
rel-eng/packages directory so that we can commit the directory to
git, since empty dirs are ignored. Plus the readme helps explain
what the directory is for.
2010-04-05 15:37:56 -04:00
Devan Goodwin
9575e82411
Port minor config changes from spacewalk.git.
...
Taken from spacewalk.git commits:
e443533d5aa9f98d01f3152bd5ebaac3ee0f2e52
8da139a7b75f380cd1af1c1f748ff4c23c67dfa7
2010-03-16 10:47:52 -03:00
Mike McCune
55fa1bccd1
more detailed error message to remind user
2010-03-09 08:48:19 -04:00
Devan Goodwin
20bcc3b829
Adding TODO.
2010-01-04 12:04:34 -04:00
Devan Goodwin
2665cd6e4e
Spec cleanup.
2009-10-19 21:03:08 -03:00
Devan Goodwin
6b37722767
Automatic commit of package [tito] release [0.1.1-2].
2009-10-19 20:58:58 -03:00
Devan Goodwin
a2b17e93c0
Automatic commit of package [tito] release [0.1.1-1].
2009-08-25 23:18:17 -03:00
Devan Goodwin
7eee4dd004
Complete AUTHORS file.
2009-08-25 23:15:52 -03:00
Devan Goodwin
5a5d4d253c
Automatic commit of package [tito] release [0.1.0-1].
2009-08-25 11:40:32 -03:00
Devan Goodwin
ed94e170e9
Automatic commit of package [tito] release [0.0.4-1].
2009-08-24 12:17:44 -03:00
Devan Goodwin
7acf61af13
Hack to fix import of tagger/builder on Python 2.4.
2009-08-24 11:35:30 -03:00
Devan Goodwin
fc40bdf1c8
Revert "Allow get_class_by_name to do all the importing itself"
...
This reverts commit 83aba138ec
.
__import__ takes no arguments with Python 2.4, which we need to support
for the time being.
2009-08-10 22:27:00 -03:00
Devan Goodwin
e369fba4f9
Automatic commit of package [tito] release [0.0.3-1].
2009-08-06 15:53:36 -03:00
Devan Goodwin
ad2767d976
Fix README.mkd filename in spec.
2009-08-06 15:53:18 -03:00
Devan Goodwin
3173be11a0
Automatic commit of package [tito] release [0.0.2-1].
2009-08-06 15:51:45 -03:00
Devan Goodwin
f6eedc27bb
Introduce --output option for destination/tmp directory.
2009-08-02 14:53:41 -03:00
Devan Goodwin
b0843d6b66
Use tito.props for project specific config filename.
...
Aparently we were still using legacy build.py.props from before the tito
rename.
2009-08-02 14:22:06 -03:00
Devan Goodwin
3461d47cc9
Add multi-project repo tagging tests.
2009-08-02 13:46:03 -03:00
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