Merge pull request #77 from xsuchy/pull-req-obsolete

mark spacewalk.releng.* and build.py.props as obsolete
This commit is contained in:
Devan Goodwin 2013-04-26 11:18:56 -07:00
commit 8c34b497cf
4 changed files with 4 additions and 2 deletions

View file

@ -236,6 +236,7 @@ class BaseCliModule(object):
current_props_file = os.path.join(os.getcwd(),
"build.py.props")
if (os.path.exists(current_props_file)):
sys.stderr.write("Warning: build.py.props file is obsolete. Please rename it to 'tito.props'.\n")
properties_file = current_props_file
# Check for a build.py.props back when this tag was created and use it

View file

@ -543,6 +543,7 @@ def normalize_class_name(name):
"""
look_for = "spacewalk.releng."
if name.startswith(look_for):
sys.stderr.write("Warning: spacewalk.releng.* namespace in tito.props is obsolete. Use tito.* instead.\n")
name = "%s%s" % ("tito.", name[len(look_for):])
return name

View file

@ -15,7 +15,7 @@ class RHELTagger(ReleaseTagger):
Used for:
- Red Hat Enterprise Linux
If you want it put in tito.pros (global) or localy in build.py.props:
If you want it put in tito.pros:
[buildconfig]
tagger = tito.rheltagger.RHELTagger
"""

View file

@ -177,7 +177,7 @@ EXAMPLE
-------
[globalconfig]
default_builder = tito.builder.Builder
default_tagger = spacewalk.releng.tagger.VersionTagger
default_tagger = tito.tagger.VersionTagger
[koji]
autobuild_tags = dist-5E-sw-1.2-candidate dist-f12-sw-1.2-candidate dist-f13-sw-1.2-candidate