tito/rel-eng/custom/custom.py
Devan Goodwin 35c51ba7a3 Refactor to just one config object.
Instead of passing package specific and global config around separately, parse
them as one config object where package specific can override global should the
same sections and properties exist.

If you maintain custom builders/releasers, they will need to have their
constructors updated.
2014-01-14 11:50:39 -04:00

26 lines
988 B
Python

# Copyright (c) 2008-2011 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public License,
# version 2 (GPLv2). There is NO WARRANTY for this software, express or
# implied, including the implied warranties of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
# along with this software; if not, see
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
#
# Red Hat trademarks are not licensed under GPLv2. No permission is
# granted to use or replicate Red Hat trademarks that are incorporated
# in this software or its documentation.
from tito.release import *
class DummyReleaser(Releaser):
def __init__(self, name=None, version=None, tag=None, build_dir=None,
config=None, user_config=None):
Releaser.__init__(self, name, version, tag, build_dir,
config, user_config)
pass
def release(self, dry_run=False):
print("DUMMY RELEASE!!!!!!!!!!!!!!!!!")