Skip to content

Commit

Permalink
: removed GPLv2 dependency and added license check
Browse files Browse the repository at this point in the history
@donbobka kindly let us know we were including his GPL V2 library, which is not
compatible with the Apache-2.0 license Addressr is published under.

We've removed the dependecy and added a license checker into our CI pipeline

Fixes #356
  • Loading branch information
tompahoward committed Aug 2, 2021
1 parent 828199d commit 682ff35
Show file tree
Hide file tree
Showing 7 changed files with 224 additions and 185 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
./node_modules/.bin/wait-port -t 600000 http://localhost:9200/_cluster/health?wait_for_status=green
export ES_STARTED=1
npm run genversion
npm run check-licenses
npm run cover:nodejs:nogeo
npm run cover:rest:nogeo
- store_test_results:
Expand Down
15 changes: 3 additions & 12 deletions loader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import CFonts from 'cfonts'
import debug from 'debug'
import { esConnect } from './client/elasticsearch'
import { loadGnaf } from './service/address-service'
Expand All @@ -16,17 +15,9 @@ esConnect()
logger('es client connected')
})
.then(() => {
const bannerOptions = {
font: '3d',
align: 'center',
colors: ['yellowBright', 'cyan'],
background: 'transparent',
letterSpacing: 1,
lineHeight: 1,
space: true,
maxLength: '0'
}
CFonts.say('Addressr|Data|Loader', bannerOptions)
console.log('======================')
console.log('Addressr - Data Loader')
console.log('======================')
printVersion()
})
.then(loadGnaf)
Expand Down
Loading

0 comments on commit 682ff35

Please sign in to comment.