This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from fecgov/release/sprint-4
Release/sprint 4
- Loading branch information
Showing
32 changed files
with
6,379 additions
and
2,777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
max-line-length = 160 | ||
ignore = | ||
W503 # line break before binary operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: bin/run.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gunicorn --bind 0.0.0.0:8080 wsgi:APP -w 5 -t 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
CURRENT_DIR=${PWD##*/} | ||
OUTFILE="./docs/license_report.md" | ||
|
||
echo "Saving report as a markdown formatted file in ${OUTFILE}" | ||
|
||
if [ "$CURRENT_DIR" != "fecfile-image-generator" ]; then | ||
echo "Run this script from the root directory of the fecfile-image-generator repository:" | ||
fi; | ||
|
||
mkdir -p docs | ||
|
||
echo "The following dependencies are used by this application:" > "$OUTFILE" | ||
echo "" >> "$OUTFILE" | ||
echo "" >> "$OUTFILE" | ||
echo "| Package | Version | License |" >> "$OUTFILE" | ||
echo "| --- | --- | --- |" >> "$OUTFILE" | ||
|
||
liccheck | | ||
grep ": " | | ||
sed "s/://" | | ||
sed "s/\[//" | | ||
sed "s/\]//" | | ||
sed "s/'//g" | | ||
awk '{ | ||
gsub(/\(/, "", $2) | ||
gsub(/\)/, "", $2) | ||
printf "| %s | %s | ", $1, $2 | ||
for (i=3; i <= NF; i++) printf "%s ", $i | ||
printf "|\n" | ||
}' >> "$OUTFILE" | ||
|
||
echo "" >> "$OUTFILE" | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Authorized and unauthorized licenses in LOWER CASE | ||
[Licenses] | ||
authorized_licenses: | ||
|
||
unauthorized_licenses: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
applications: | ||
- name: fecfile-image-generator | ||
routes: | ||
- route: fecfile-image-generator-dev.app.cloud.gov | ||
stack: cflinuxfs3 | ||
buildpacks: | ||
- python_buildpack | ||
memory: 512M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
applications: | ||
- name: fecfile-image-generator | ||
routes: | ||
- route: fecfile-image-generator-prod.app.cloud.gov | ||
stack: cflinuxfs3 | ||
buildpacks: | ||
- python_buildpack | ||
memory: 512M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
applications: | ||
- name: fecfile-image-generator | ||
routes: | ||
- route: fecfile-image-generator-stage.app.cloud.gov | ||
stack: cflinuxfs3 | ||
buildpacks: | ||
- python_buildpack | ||
memory: 512M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
pytest==6.2.5 | ||
pytest-cov==3.0.0 | ||
safety==1.10.3 | ||
safety==1.10.3 | ||
flake8==4.0.1 | ||
liccheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
BeautifulSoup4==4.7.1 | ||
beautifulsoup4==4.7.1 | ||
boto3==1.21.2 | ||
certifi==2018.10.15 | ||
cfenv==0.5.2 | ||
chardet==3.0.4 | ||
Click==7.0 | ||
cx-Oracle==7.0.0 | ||
Flask==1.0.2 | ||
Flask==2.0.2 | ||
Flask-API==3.0.post1 | ||
Flask-Cors==3.0.9 | ||
Flask-HTTPAuth==3.2.4 | ||
Flask==2.0.2 | ||
GitPython==3.1.0 | ||
gunicorn==19.10.0 | ||
idna==2.7 | ||
itsdangerous==0.24 | ||
Jinja2==2.11.3 | ||
MarkupSafe==1.1.1 | ||
invoke==0.15.0 | ||
ipdb==0.12.3 | ||
itsdangerous==2.1.0 | ||
Jinja2==3.0 | ||
MarkupSafe==2.0.1 | ||
passlib==1.7.1 | ||
pdfkit==0.6.1 | ||
PyPDF2==1.26.0 | ||
pypdftk==0.4 | ||
python-json-logger==0.1.9 | ||
requests==2.22.0 | ||
requests==2.27.1 | ||
six==1.11.0 | ||
urllib3==1.25.3 | ||
Werkzeug==2.0.2 | ||
urllib3==1.26.8 | ||
WeasyPrint==47 | ||
ipdb==0.12.3 | ||
pypdftk==0.4 | ||
boto3==1.14.60 | ||
botocore==1.17.60 | ||
Flask-API==1.1 | ||
PyPDF2==1.26.0 | ||
pdfkit==0.6.1 | ||
beautifulsoup4==4.7.1 | ||
|
||
gunicorn==19.10.0 | ||
flake8==3.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.