[ARVADOS] updated: 1.1.0-68-g54e8da5
Git user
git at public.curoverse.com
Mon Oct 16 13:53:42 EDT 2017
Summary of changes:
sdk/cwl/gittaggers.py | 9 +++++++--
sdk/cwl/setup.py | 3 +--
sdk/python/gittaggers.py | 4 ++--
3 files changed, 10 insertions(+), 6 deletions(-)
via 54e8da57251023d4d7976c49f3481da5e1ce63e4 (commit)
from 10946106c5c2a838a60c2c46229c645b27a3abeb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 54e8da57251023d4d7976c49f3481da5e1ce63e4
Author: Fernando Monserrat <fernando.monserrat at gmail.com>
Date: Mon Oct 16 14:53:31 2017 -0300
12389: try --exclude opt/rh/python33
Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat <fmonserrat at veritasgenetics.com>
diff --git a/sdk/cwl/gittaggers.py b/sdk/cwl/gittaggers.py
index 6a177b3..764d0f1 100644
--- a/sdk/cwl/gittaggers.py
+++ b/sdk/cwl/gittaggers.py
@@ -29,12 +29,17 @@ class EggInfoFromGit(egg_info):
from source package), leave it alone.
"""
- def git_timestamp_tag(self):
+ """def git_timestamp_tag(self):
gitinfo = subprocess.check_output(
['git', 'log', '--first-parent', '--max-count=1',
'--format=format:%ct', choose_version_from()]).strip()
return time.strftime('.%Y%m%d%H%M%S', time.gmtime(int(gitinfo)))
-
+ """
+ def git_latest_tag(self):
+ gitinfo = subprocess.check_output(
+ ['git', 'describe', '--abbrev=0'])
+ return str(gitinfo)
+
def tags(self):
if self.tag_build is None:
self.tag_build = self.git_latest_tag()
diff --git a/sdk/cwl/setup.py b/sdk/cwl/setup.py
index 762c6fd..ab3442b 100644
--- a/sdk/cwl/setup.py
+++ b/sdk/cwl/setup.py
@@ -22,8 +22,7 @@ except ImportError:
versionfile = os.path.join(SETUP_DIR, "arvados_cwl/_version.py")
try:
gitinfo = subprocess.check_output(
- ['git', 'log', '--first-parent', '--max-count=1',
- '--format=format:%H', gittaggers.choose_version_from()]).strip()
+ ['git', 'describe', '--abbrev=0'])
with open(versionfile, "w") as f:
f.write("__version__ = '%s'\n" % gitinfo)
except Exception as e:
diff --git a/sdk/python/gittaggers.py b/sdk/python/gittaggers.py
index 3065cf9..8acbe27 100644
--- a/sdk/python/gittaggers.py
+++ b/sdk/python/gittaggers.py
@@ -12,7 +12,7 @@ class EggInfoFromGit(egg_info):
If a build tag has already been set (e.g., "egg_info -b", building
from source package), leave it alone.
"""
- def git_timestamp_tag(self):
+ """def git_timestamp_tag(self):
gitinfo = subprocess.check_output(
['git', 'log', '--first-parent', '--max-count=1',
'--format=format:%ct', '.']).strip()
@@ -22,7 +22,7 @@ class EggInfoFromGit(egg_info):
if self.tag_build is None:
self.tag_build = self.git_timestamp_tag()
return egg_info.tags(self)
-
+ """
def git_latest_tag(self):
gitinfo = subprocess.check_output(
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list