Skip to content

Commit 67b246c

Browse files
authored
Merge pull request #9 from cbrainerd/feat_build_rebased
Prepare for automated builds
2 parents 08bd982 + fa7b329 commit 67b246c

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ PYLINT=`which pylint`
44
HEXAPARSE=./hexaparse.py
55

66
DIST_DIR=dist
7+
BROWSER_VERS_STRING=`git describe --tags --exact-match --abbrev=0 || git rev-parse --short HEAD`
8+
79

810
clean:
911
-rm -rf $(DIST_DIR)
@@ -44,4 +46,4 @@ dist: check_cluster clean unittests tags
4446
cp README.md $(DIST_DIR)
4547
cp -r stat_key_browser $(DIST_DIR)
4648
cp -r web_app $(DIST_DIR)
47-
zip -r isilon_stat_browser_$$(git describe --exact-match --abbrev=0).zip dist/*
49+
zip -r isilon_stat_browser_$(BROWSER_VERS_STRING).zip dist/*

stat_key_browser/cluster_config.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
import sys
22
try:
3-
import isi_sdk
3+
import isi_sdk_7_2 as isi_sdk
44
except ImportError as err:
5-
print('Unable to import isi_sdk. Please install the Isilon SDK.')
6-
print('See https://github.com/isilon')
7-
print(err)
8-
sys.exit(1)
5+
try:
6+
# Try the original SDK library name
7+
import isi_sdk
8+
except ImportError as err:
9+
print('Unable to import isi_sdk_7_2. Please install the Isilon SDK.')
10+
print('See https://github.com/isilon')
11+
print(err)
12+
sys.exit(1)
913

1014

1115
class ApiException(Exception):

stat_key_browser/key_collector.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@
99
import logging
1010
import sys
1111
try:
12-
import isi_sdk
12+
import isi_sdk_7_2 as isi_sdk
1313
except ImportError as err:
14-
print('Unable to import isi_sdk. Please install the Isilon SDK.')
15-
print('See https://github.com/isilon')
16-
print(err)
17-
sys.exit(1)
14+
try:
15+
# Try the original SDK library name
16+
import isi_sdk
17+
except ImportError as err:
18+
print('Unable to import isi_sdk_7_2. Please install the Isilon SDK.')
19+
print('See https://github.com/isilon')
20+
print(err)
21+
sys.exit(1)
1822

1923
PRIMARY = 0
2024

test1

Whitespace-only changes.

tests/functional/test_functional.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
pass
1+
class TestBrowserBuilderFunctional(object):
2+
def test_001_stub(self):
3+
pass

0 commit comments

Comments
 (0)