mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
Merge pull request #77 from xsuchy/pull-req-obsolete
mark spacewalk.releng.* and build.py.props as obsolete
This commit is contained in:
commit
8c34b497cf
4 changed files with 4 additions and 2 deletions
|
@ -236,6 +236,7 @@ class BaseCliModule(object):
|
||||||
current_props_file = os.path.join(os.getcwd(),
|
current_props_file = os.path.join(os.getcwd(),
|
||||||
"build.py.props")
|
"build.py.props")
|
||||||
if (os.path.exists(current_props_file)):
|
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
|
properties_file = current_props_file
|
||||||
|
|
||||||
# Check for a build.py.props back when this tag was created and use it
|
# Check for a build.py.props back when this tag was created and use it
|
||||||
|
|
|
@ -543,6 +543,7 @@ def normalize_class_name(name):
|
||||||
"""
|
"""
|
||||||
look_for = "spacewalk.releng."
|
look_for = "spacewalk.releng."
|
||||||
if name.startswith(look_for):
|
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):])
|
name = "%s%s" % ("tito.", name[len(look_for):])
|
||||||
return name
|
return name
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ class RHELTagger(ReleaseTagger):
|
||||||
Used for:
|
Used for:
|
||||||
- Red Hat Enterprise Linux
|
- 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]
|
[buildconfig]
|
||||||
tagger = tito.rheltagger.RHELTagger
|
tagger = tito.rheltagger.RHELTagger
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -177,7 +177,7 @@ EXAMPLE
|
||||||
-------
|
-------
|
||||||
[globalconfig]
|
[globalconfig]
|
||||||
default_builder = tito.builder.Builder
|
default_builder = tito.builder.Builder
|
||||||
default_tagger = spacewalk.releng.tagger.VersionTagger
|
default_tagger = tito.tagger.VersionTagger
|
||||||
|
|
||||||
[koji]
|
[koji]
|
||||||
autobuild_tags = dist-5E-sw-1.2-candidate dist-f12-sw-1.2-candidate dist-f13-sw-1.2-candidate
|
autobuild_tags = dist-5E-sw-1.2-candidate dist-f12-sw-1.2-candidate dist-f13-sw-1.2-candidate
|
||||||
|
|
Loading…
Add table
Reference in a new issue