diff --git a/src/tito/cli.py b/src/tito/cli.py index 705b00a..5c42ffc 100644 --- a/src/tito/cli.py +++ b/src/tito/cli.py @@ -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 diff --git a/src/tito/common.py b/src/tito/common.py index 76809e7..ed17f1a 100644 --- a/src/tito/common.py +++ b/src/tito/common.py @@ -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 diff --git a/src/tito/rheltagger.py b/src/tito/rheltagger.py index dfcafd9..fb49fab 100644 --- a/src/tito/rheltagger.py +++ b/src/tito/rheltagger.py @@ -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 """ diff --git a/tito.props.5.asciidoc b/tito.props.5.asciidoc index 5989568..82f37a7 100644 --- a/tito.props.5.asciidoc +++ b/tito.props.5.asciidoc @@ -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