license_finder 5.2.0 → 5.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/Dockerfile +19 -11
- data/bin/license_finder_pip.py +10 -2
- data/lib/license_finder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f1ff7dd73914dbae0d6c2537623a1586df2741eb946747d6cd6c5e98fd4cb67
|
4
|
+
data.tar.gz: 773689e4c2f2b3cfb5c0bdabdddf04eba999fada676e894f7798f4d145f0fa6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50f936f234b23501e24750a2fd73f2c036c2e013c222d0093263997830175d50cf0bf6c1e7a4ad2a7bca4b454bbf97b46b2d374de3e1cd96865fc78c7ea3ff43
|
7
|
+
data.tar.gz: a7e47a71954ee9605348fb71cb20f622dee8526336e8a3d3e7282b6a1efdd75502491f9c0c10af06515fabfc95a0cbd68d3da1dd04266e3f2dba3bf00a82bf9a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
|
+
# [5.2.0] / 2018-05-09
|
2
|
+
|
3
|
+
### Fixed
|
4
|
+
* Support for pip 10.0.1 - [286f679](https://github.com/pivotal-legacy/LicenseFinder/commit/286f6790dc71c97c0e93ecdfe0c6fddad75165cc)
|
5
|
+
|
1
6
|
# [5.1.1] / 2018-05-08
|
2
7
|
|
8
|
+
### Added
|
9
|
+
* CC License detection
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
* Yarn package manager now handles non-ASCII characters
|
13
|
+
* in_umbrella: true dependencies for Mix
|
14
|
+
* Pivotal Repo Renamed to Pivotal-legacy
|
15
|
+
|
3
16
|
# [5.1.0] / 2018-04-02
|
4
17
|
|
5
18
|
### Added
|
@@ -575,3 +588,4 @@ Bugfixes:
|
|
575
588
|
[5.1.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.0.3...v5.1.0
|
576
589
|
[5.1.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.1.0...v5.1.1
|
577
590
|
[5.1.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.1.0...v5.1.1
|
591
|
+
[5.2.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.1.1...v5.2.0
|
data/Dockerfile
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
FROM ubuntu:trusty
|
2
2
|
RUN apt-get update && apt-get install -y curl git-core build-essential wget unzip
|
3
3
|
|
4
|
+
# Versioning
|
5
|
+
ENV PIP_INSTALL_VERSION 10.0.1
|
6
|
+
ENV GO_LANG_VERSION 1.10.2
|
7
|
+
ENV MAVEN_VERSION 3.5.3
|
8
|
+
ENV SBT_VERSION 1.1.1
|
9
|
+
ENV GRADLE_VERSION 4.2
|
10
|
+
ENV RUBY_VERSION 2.5.1
|
11
|
+
ENV MIX_VERSION 1.0
|
12
|
+
|
4
13
|
# nodejs seems to be required for the one of the gems
|
5
14
|
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
|
6
15
|
apt-get -y install nodejs
|
@@ -37,16 +46,15 @@ RUN apt-get install -y python rebar
|
|
37
46
|
|
38
47
|
# install and update python-pip
|
39
48
|
RUN apt-get install -y python-pip && \
|
40
|
-
pip install --upgrade pip
|
49
|
+
pip install --upgrade pip==$PIP_INSTALL_VERSION
|
41
50
|
|
42
51
|
# install maven
|
43
|
-
RUN curl -O http://www-us.apache.org/dist/maven/maven-3/
|
44
|
-
tar -xf apache-maven-
|
45
|
-
mv apache-maven
|
52
|
+
RUN curl -O http://www-us.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz && \
|
53
|
+
tar -xf apache-maven-$MAVEN_VERSION-bin.tar.gz; rm -rf apache-maven-$MAVEN_VERSION-bin.tar.gz && \
|
54
|
+
mv apache-maven-$MAVEN_VERSION /usr/local/lib/maven && \
|
46
55
|
ln -s /usr/local/lib/maven/bin/mvn /usr/local/bin/mvn
|
47
56
|
|
48
57
|
# install sbt
|
49
|
-
ENV SBT_VERSION 1.1.1
|
50
58
|
RUN mkdir -p /usr/local/share/sbt-launcher-packaging && \
|
51
59
|
curl --progress \
|
52
60
|
--retry 3 \
|
@@ -59,15 +67,15 @@ RUN mkdir -p /usr/local/share/sbt-launcher-packaging && \
|
|
59
67
|
|
60
68
|
# install gradle
|
61
69
|
WORKDIR /tmp
|
62
|
-
RUN curl -L -o gradle.zip http://services.gradle.org/distributions/gradle-
|
70
|
+
RUN curl -L -o gradle.zip http://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip && \
|
63
71
|
unzip -q gradle.zip && \
|
64
72
|
rm gradle.zip && \
|
65
|
-
mv gradle
|
73
|
+
mv gradle-$GRADLE_VERSION /root/gradle
|
66
74
|
ENV PATH=/root/gradle/bin:$PATH
|
67
75
|
|
68
76
|
#install go
|
69
77
|
WORKDIR /go
|
70
|
-
RUN wget https://storage.googleapis.com/golang/
|
78
|
+
RUN wget https://storage.googleapis.com/golang/go$GO_LANG_VERSION.linux-amd64.tar.gz -O go.tar.gz && tar --strip-components=1 -xf go.tar.gz
|
71
79
|
ENV GOROOT /go
|
72
80
|
ENV PATH=$PATH:/go/bin
|
73
81
|
|
@@ -90,12 +98,12 @@ ENV LC_ALL=en_US.UTF-8
|
|
90
98
|
|
91
99
|
#install rvm
|
92
100
|
RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import && \
|
93
|
-
curl -sSL https://get.rvm.io | sudo bash -s stable --ruby
|
101
|
+
curl -sSL https://get.rvm.io | sudo bash -s stable --ruby=$RUBY_VERSION
|
94
102
|
ENV PATH=/usr/local/rvm/bin:$PATH
|
95
103
|
|
96
104
|
#install mix
|
97
|
-
RUN wget https://packages.erlang-solutions.com/erlang-
|
98
|
-
sudo dpkg -i erlang-
|
105
|
+
RUN wget https://packages.erlang-solutions.com/erlang-solutions_${MIX_VERSION}_all.deb && \
|
106
|
+
sudo dpkg -i erlang-solutions_${MIX_VERSION}_all.deb && \
|
99
107
|
sudo apt-get update && \
|
100
108
|
sudo apt-get install -y esl-erlang && \
|
101
109
|
sudo apt-get install -y elixir
|
data/bin/license_finder_pip.py
CHANGED
@@ -2,8 +2,16 @@
|
|
2
2
|
|
3
3
|
import json
|
4
4
|
import sys
|
5
|
-
|
6
|
-
|
5
|
+
|
6
|
+
try:
|
7
|
+
from pip._internal.req import parse_requirements
|
8
|
+
except ImportError:
|
9
|
+
from pip.req import parse_requirements
|
10
|
+
try:
|
11
|
+
from pip._internal.download import PipSession
|
12
|
+
except ImportError:
|
13
|
+
from pip.download import PipSession
|
14
|
+
|
7
15
|
from pip._vendor import pkg_resources
|
8
16
|
from pip._vendor.six import print_
|
9
17
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: license_finder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Collins
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-05-
|
30
|
+
date: 2018-05-14 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: bundler
|