There was an error while loading. Please reload this page.
2 parents c9e5d88 + df8096c commit a87ebdcCopy full SHA for a87ebdc
19 files changed
.travis.yml
@@ -1,13 +1,26 @@
1
language: python
2
+
3
python:
-- '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
14
install:
15
- ./configure
-script: bin/py.test -n 2
16
17
+script:
18
+ - $TEST_SUITE
19
20
notifications:
21
slack:
22
on_success: always
23
on_failure: always
24
rooms:
- - 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=
26
email: false
NOTICE
@@ -1,7 +1,7 @@
Software license
================
-Copyright (c) 2017 nexB Inc. and others. All rights reserved.
+Copyright (c) 2017-2018 nexB Inc. and others. All rights reserved.
http://nexb.com and https://github.com/nexB/deltacode/
The DeltaCode software is licensed under the Apache License version 2.0.
Data generated with DeltaCode require an acknowledgment.
README.rst
@@ -30,10 +30,9 @@ For example::
30
31
32
33
-Once you have the two codebase scans, simply install/configure
34
-deltacode, and run it on the two scans::
+Once you have the two codebase scans, simply run deltacode on the two scans::
35
36
- (deltacode) $ deltacode --help
+ $ ./deltacode --help
37
Usage: deltacode [OPTIONS]
38
39
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::
54
53
files in the .json or .csv output. If not
55
selected, only changed files are included.
56
57
- (deltacode) $ deltacode -n ~/psql-10.0-fileinfo.json -o ~/psql-9.6-fileinfo.json -j ~/psql-10.0-psql-9.6-delta.json
+ $ ./deltacode -n ~/psql-10.0-fileinfo.json -o ~/psql-9.6-fileinfo.json -j ~/psql-10.0-psql-9.6-delta.json
58
59
=========
60
Problems?
configure
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Copyright (c) 2017 nexB Inc. http://www.nexb.com/ - All rights reserved.
+# Copyright (c) 2017-2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
################################
# change these variables to customize this script locally
configure.bat
@echo OFF
-@rem Copyright (c) 2015 nexB Inc. http://www.nexb.com/ - All rights reserved.
+@rem Copyright (c) 2015-2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
@rem ################################
@rem # change these variables to customize this script locally
deltacode.ABOUT
@@ -16,4 +16,4 @@ license: apache-2.0
license_text_file: apache-2.0.LICENSE
notice_file: NOTICE
-copyright: Copyright (c) 2017 nexB Inc. and others
+copyright: Copyright (c) 2017-2018 nexB Inc. and others
etc/conf/base.py
@@ -8,8 +8,8 @@
def unsupported():
print('Unsupported OS/platform.')
- print('See https://github.com/nexB/scancode-toolkit/ for supported OS/platforms.')
- print('Enter a ticket https://github.com/nexB/scancode-toolkit/issues asking for support of your OS/platform combo.')
+ print('See https://github.com/nexB/deltacode/ for supported OS/platforms.')
+ print('Enter a ticket https://github.com/nexB/deltacode/issues asking for support of your OS/platform combo.')
sys.exit(1)
if sys.maxsize > 2 ** 32:
@@ -36,4 +36,4 @@ def unsupported():
arches = supported_combos[os]
if arch not in arches:
- unsupported()
+ unsupported()
etc/configure.py
#!/usr/bin/python
-# Copyright (c) 2015 nexB Inc. http://www.nexb.com/ - All rights reserved.
+# Copyright (c) 2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
"""
This script a configuration helper to select pip requirement files to install
etc/release/release.sh
# ScanCode release script
setup.py
@@ -75,8 +75,8 @@ def read(*names, **kwargs):
75
name='deltacode',
76
version=get_version(),
77
license='Apache-2.0',
78
- description='Delta-related utilities.',
79
- long_description='Delta-related utilities.',
+ description='Utility for comparing codebases using scancode-toolkit',
+ long_description=read('README.rst'),
80
author='nexB Inc.',
81
author_email='info@nexb.com',
82
url='https://github.com/nexb/deltacode',
@@ -89,9 +89,7 @@ def read(*names, **kwargs):
89
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
90
'Development Status :: 4 - Beta',
91
'Intended Audience :: Developers',
92
- 'Operating System :: POSIX :: Linux',
93
- 'Operating System :: MacOS :: MacOS X',
94
- 'Operating System :: Microsoft :: Windows',
+ 'License :: OSI Approved :: Apache Software License',
95
'Programming Language :: Python',
96
'Programming Language :: Python :: 2.7',
97
'Topic :: Utilities',
0 commit comments