# $SnapHashLicense:
#
# SnapLogic - Open source data services
#
# Copyright (C) 2009, SnapLogic, Inc. All rights reserved.
#
# See http://www.snaplogic.org for more information about
# the SnapLogic project.
#
# This program is free software, distributed under the terms of
# the GNU General Public License Version 2. See the LEGAL file
# at the top of the source tree.
#
# "SnapLogic" is a trademark of SnapLogic, Inc.
#
#
# $
# $Id: version_info.py 10203 2009-12-17 20:21:48Z pamor $
"""
SnapLogic Version Information. This module contains version and release information.
"""
# XXX The values of the variables defined here used as replacement values for the template in the
# XXX flex/designer/org/snaplogic/client/SnapVersion.as file for the Designer. If you add fields
# XXX or remove fields you will need to modify the build script and the file above.
__COMMUNITY_EDITION_STR = "Core"
__PROFESSIONAL_EDITION_STR = "Professional"
server_version = "2.2.0"
'''Version of SnapServer'''
release = "Divisadero"
'''Codename of the release'''
server_build = "Build 10366"
'''Server build number (SVN revision)'''
server_product = "SnapLogic"
'''Server product name'''
server_stability = "Production"
'''Server stability string (Alpha, Beta, Production, etc)'''
server_edition = __COMMUNITY_EDITION_STR
'''Server edition string'''
server_copyright = "Copyright (c) 2007 - 2010, SnapLogic Inc. All rights reserved."
'''Server copyright notice'''
server_banner = "%s %s Edition Version %s %s (%s)" % (server_product, server_edition, server_version,
server_stability, server_build)
resdef_version = "1.0"
'''Version of ResDef'''
doc_uri_version = "2.2"
'''Version number embedded in documentation URIs used by SnapLogic.'''
etype = ''
edate = ''
# This constant indicates the repository version this API provides. Every repository DB contains its
# own version. If these version numbers do not match, an exception is thrown and the repository store is closed.
# See the snaplogic.repository.migration module for migrating an older DB to the current revision.
repository_version = 4
# The current version used to package resdefs for import/export.
repository_packaging_version = 1
def is_pe():
"""
Return True if this is the professional edition.
"""
return server_edition == __PROFESSIONAL_EDITION_STR
|