Skip to content

Commit a87ebdc

Browse files
authored
Merge pull request #76 from nexB/69-cleanup
69 cleanup for release
2 parents c9e5d88 + df8096c commit a87ebdc

19 files changed

Lines changed: 42 additions & 32 deletions

.travis.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
language: python
2+
23
python:
3-
- '2.7'
4+
- '2.7'
5+
6+
env:
7+
global:
8+
- PYTEST="bin/py.test -n 2 -vvs"
9+
10+
matrix:
11+
- TEST_SUITE="$PYTEST"
12+
- TEST_SUITE="./etc/release/release.sh"
13+
414
install:
515
- ./configure
6-
script: bin/py.test -n 2
16+
17+
script:
18+
- $TEST_SUITE
19+
720
notifications:
821
slack:
922
on_success: always
1023
on_failure: always
1124
rooms:
12-
- secure: VODG+P5REBhL7psD3XydwJBbEpB+3HBKsmEIHEgxrdPDvY/KDP35JTpJdkzhb+nc7EvIPdgVbVcpbiacDtXOskk4Si7X9sAXnQt+P0LTol5Pk0/qbC5BlS+HebPB5LUmUv4gYBhyLHbWvxOrBOJ9K7fNuH2I1+NWRUzHUWmlNwqwVvWZwuFNISVEqVvVP/+a9NUYJLYKR9h6TOXjCCVUdOfho4RW/0MPG5+R337QgaAFzoi90Ug3vR/IU29e1PMWbAxgxMVcDt+cSdqcu7mkn6esPIglxFW4rW2qWZFLRfOdJqvq0QTvx/zK2BYl1U5fHxyslb5eO1UhzfQjpSQcgy/Ex7K62YB7B6hVaOWg7j7/3+hbVARe0MKOFwDYEeQkLA5PQcquk7rAvnr2QfAesENXDIzxL/ghXzB94JAqm4pcElMfZIV/H9+5FSsW1OmOEF2g+HnytyCYGyRFZIgKahVHt+QUFXny9D53UujqqZe4Za223D4tRCToHkKpHvRkbPP66XRSxHDuoLRzO3hJLHAxHfoV+1rIkFq+ymryaobUX1kojHx8ihRDZn/ptNGIIm+GGDBQQwXcjf0oQW4keeKnA9bvi5MtHIjpGEZimW0UK1EvgtP0cN/xBEr2EHJDinFYpWoF1zX61P/S34z6OOAlt8NARLyZy/R+9ck8lRQ=
25+
- secure: VODG+P5REBhL7psD3XydwJBbEpB+3HBKsmEIHEgxrdPDvY/KDP35JTpJdkzhb+nc7EvIPdgVbVcpbiacDtXOskk4Si7X9sAXnQt+P0LTol5Pk0/qbC5BlS+HebPB5LUmUv4gYBhyLHbWvxOrBOJ9K7fNuH2I1+NWRUzHUWmlNwqwVvWZwuFNISVEqVvVP/+a9NUYJLYKR9h6TOXjCCVUdOfho4RW/0MPG5+R337QgaAFzoi90Ug3vR/IU29e1PMWbAxgxMVcDt+cSdqcu7mkn6esPIglxFW4rW2qWZFLRfOdJqvq0QTvx/zK2BYl1U5fHxyslb5eO1UhzfQjpSQcgy/Ex7K62YB7B6hVaOWg7j7/3+hbVARe0MKOFwDYEeQkLA5PQcquk7rAvnr2QfAesENXDIzxL/ghXzB94JAqm4pcElMfZIV/H9+5FSsW1OmOEF2g+HnytyCYGyRFZIgKahVHt+QUFXny9D53UujqqZe4Za223D4tRCToHkKpHvRkbPP66XRSxHDuoLRzO3hJLHAxHfoV+1rIkFq+ymryaobUX1kojHx8ihRDZn/ptNGIIm+GGDBQQwXcjf0oQW4keeKnA9bvi5MtHIjpGEZimW0UK1EvgtP0cN/xBEr2EHJDinFYpWoF1zX61P/S34z6OOAlt8NARLyZy/R+9ck8lRQ=
1326
email: false

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Software license
22
================
33

4-
Copyright (c) 2017 nexB Inc. and others. All rights reserved.
4+
Copyright (c) 2017-2018 nexB Inc. and others. All rights reserved.
55
http://nexb.com and https://github.com/nexB/deltacode/
66
The DeltaCode software is licensed under the Apache License version 2.0.
77
Data generated with DeltaCode require an acknowledgment.

README.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ For example::
3030

3131

3232

33-
Once you have the two codebase scans, simply install/configure
34-
deltacode, and run it on the two scans::
33+
Once you have the two codebase scans, simply run deltacode on the two scans::
3534

36-
(deltacode) $ deltacode --help
35+
$ ./deltacode --help
3736
Usage: deltacode [OPTIONS]
3837

3938
Identify the changes that need to be made to the 'old' scan file (-o or
@@ -54,7 +53,7 @@ deltacode, and run it on the two scans::
5453
files in the .json or .csv output. If not
5554
selected, only changed files are included.
5655
57-
(deltacode) $ deltacode -n ~/psql-10.0-fileinfo.json -o ~/psql-9.6-fileinfo.json -j ~/psql-10.0-psql-9.6-delta.json
56+
$ ./deltacode -n ~/psql-10.0-fileinfo.json -o ~/psql-9.6-fileinfo.json -j ~/psql-10.0-psql-9.6-delta.json
5857

5958
=========
6059
Problems?

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2017 nexB Inc. http://www.nexb.com/ - All rights reserved.
3+
# Copyright (c) 2017-2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
44
#
55
################################
66
# change these variables to customize this script locally

configure.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo OFF
22

3-
@rem Copyright (c) 2015 nexB Inc. http://www.nexb.com/ - All rights reserved.
3+
@rem Copyright (c) 2015-2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
44

55
@rem ################################
66
@rem # change these variables to customize this script locally

deltacode.ABOUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ license: apache-2.0
1616
license_text_file: apache-2.0.LICENSE
1717
notice_file: NOTICE
1818

19-
copyright: Copyright (c) 2017 nexB Inc. and others
19+
copyright: Copyright (c) 2017-2018 nexB Inc. and others

etc/conf/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
def unsupported():
1010
print('Unsupported OS/platform.')
11-
print('See https://github.com/nexB/scancode-toolkit/ for supported OS/platforms.')
12-
print('Enter a ticket https://github.com/nexB/scancode-toolkit/issues asking for support of your OS/platform combo.')
11+
print('See https://github.com/nexB/deltacode/ for supported OS/platforms.')
12+
print('Enter a ticket https://github.com/nexB/deltacode/issues asking for support of your OS/platform combo.')
1313
sys.exit(1)
1414

1515
if sys.maxsize > 2 ** 32:
@@ -36,4 +36,4 @@ def unsupported():
3636

3737
arches = supported_combos[os]
3838
if arch not in arches:
39-
unsupported()
39+
unsupported()

etc/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22

3-
# Copyright (c) 2015 nexB Inc. http://www.nexb.com/ - All rights reserved.
3+
# Copyright (c) 2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
44

55
"""
66
This script a configuration helper to select pip requirement files to install

etc/release/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2017 nexB Inc. http://www.nexb.com/ - All rights reserved.
3+
# Copyright (c) 2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
44
#
55

66
# ScanCode release script

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ def read(*names, **kwargs):
7575
name='deltacode',
7676
version=get_version(),
7777
license='Apache-2.0',
78-
description='Delta-related utilities.',
79-
long_description='Delta-related utilities.',
78+
description='Utility for comparing codebases using scancode-toolkit',
79+
long_description=read('README.rst'),
8080
author='nexB Inc.',
8181
author_email='info@nexb.com',
8282
url='https://github.com/nexb/deltacode',
@@ -89,9 +89,7 @@ def read(*names, **kwargs):
8989
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
9090
'Development Status :: 4 - Beta',
9191
'Intended Audience :: Developers',
92-
'Operating System :: POSIX :: Linux',
93-
'Operating System :: MacOS :: MacOS X',
94-
'Operating System :: Microsoft :: Windows',
92+
'License :: OSI Approved :: Apache Software License',
9593
'Programming Language :: Python',
9694
'Programming Language :: Python :: 2.7',
9795
'Topic :: Utilities',

0 commit comments

Comments
 (0)