SMTP_BUILD_ERROR = 'NOT SUCCESSFUL'
SMTP_FROM = '%s@profitbricks.com' %(pwd.getpwuid(os.geteuid()).pw_name)
-CRE_URI = re.compile(r'(?P<proto>\w+)\:\/\/(?P<url>[a-zA-Z0-9\-\_\.\+]+)\/(?P<dir>.*)$')
-DPUT_URI = CRE_URI.match(GIT_REPO_PATH)
-if not DPUT_URI:
- raise Exception(
- 'could not build DPUT_URI from "%s"'
- %(GIT_REPO_PATH)
- )
DPUT_OPTIONS = {
- 'fqdn': DPUT_URI.groupdict().get('url'),
+ 'fqdn': 'alexandria.profitbricks.localdomain',
'method': 'scp',
'login': 'reprepro',
'incoming': '/srv/profitbricks-repository/incoming/profitbricks',