Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.22.0 #1540

Merged
merged 52 commits into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
e9f9723
Merge pull request #1537 from chaoss/main
sgoggins Dec 14, 2021
1536de9
clear browser cache first.
sgoggins Dec 14, 2021
cf863fe
experiment.
sgoggins Dec 14, 2021
28f04cf
events
sgoggins Dec 14, 2021
3bc8a0a
Well, that didn't work!
sgoggins Dec 14, 2021
936bb13
nan
sgoggins Dec 14, 2021
5e513eb
fixer?
sgoggins Dec 14, 2021
f43fb6c
neener neener nanner.
sgoggins Dec 14, 2021
6e4f379
ug
sgoggins Dec 14, 2021
8249de3
dd
sgoggins Dec 14, 2021
ffb14ac
dfdsf
sgoggins Dec 14, 2021
6a2e010
nanner
sgoggins Dec 15, 2021
8b03eca
test
sgoggins Dec 15, 2021
61146fa
schema update
sgoggins Dec 15, 2021
2581aea
s
sgoggins Dec 15, 2021
9e377ff
test
sgoggins Dec 15, 2021
4246e5d
teast
sgoggins Dec 15, 2021
34bf070
syntax
sgoggins Dec 15, 2021
c4dc155
waiting with baited breath.
sgoggins Dec 15, 2021
f588ff9
dfsd
sgoggins Dec 15, 2021
1b0627e
ok ... backwards.
sgoggins Dec 16, 2021
eef5fb3
going back to paginate endpoint on PRs
sgoggins Dec 16, 2021
9f5feed
changing back
sgoggins Dec 16, 2021
890c34b
test
sgoggins Dec 16, 2021
f70c697
Possible source of issue with pull_request_REVIEW_msg_ref:
sgoggins Dec 16, 2021
f2b5a80
hmmm
sgoggins Dec 16, 2021
acb9ee6
mistune update is creating bugs across all of open source.
sgoggins Dec 17, 2021
432e971
Work on fixing enrich_cntrb_id
ABrain7710 Dec 17, 2021
1a0a1af
Make changes to logs
ABrain7710 Dec 17, 2021
f5ce0a5
Fix
ABrain7710 Dec 18, 2021
e1427bb
Hopefully fix nan user
ABrain7710 Dec 18, 2021
8f8f19c
Fix
ABrain7710 Dec 18, 2021
d052e98
Add missing and
ABrain7710 Dec 20, 2021
aba1a74
factored pull_request_reviews_model out for now because it is SO slow.
sgoggins Dec 20, 2021
96eb597
Fix syntax error
ABrain7710 Dec 20, 2021
c0cfae2
Merge branch 'sean-patch-aah-2' of github.com:chaoss/augur into sean-…
ABrain7710 Dec 20, 2021
c09d60f
check if login is nan
ABrain7710 Dec 20, 2021
0b02809
added SSL variable to installation.
sgoggins Dec 20, 2021
47a5581
Merge remote-tracking branch 'origin/sean-patch-aah-2' into sean-patc…
sgoggins Dec 20, 2021
fbceef2
Merge branch 'sean-patch-aai' into sean-patch-aah-2
sgoggins Dec 20, 2021
acdd239
Work on nan contributor
ABrain7710 Dec 20, 2021
7b24887
SSL Configuration info.
sgoggins Dec 20, 2021
0c3d651
Adding updates from sean-patch-aah-2 that include changes from the `m…
sgoggins Dec 20, 2021
520b379
Merge branch 'fix-nan-user-andrew-spg-update' into sean-patch-aah-2-ssl
sgoggins Dec 20, 2021
23ace3b
test
sgoggins Dec 20, 2021
ec2a799
added platform ID into issue_events.
sgoggins Dec 20, 2021
cfb1993
Merge branch 'sean-patch-aah-2-ssl' into sean-patch-aah-3
sgoggins Dec 20, 2021
9d19603
history seeds.
sgoggins Dec 20, 2021
0ee2d0a
schema install version update.
sgoggins Dec 20, 2021
998771c
issue_assignees bug fix?
sgoggins Dec 20, 2021
ba4bc3e
frontend fix
sgoggins Dec 20, 2021
7ef26df
remove package-lock
sgoggins Dec 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 30 additions & 7 deletions augur/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,36 @@ def __init__(self, given_config={}, disable_logs=False, offline_mode=False):
self.housekeeper = None
self.manager = None

self.gunicorn_options = {
'bind': '%s:%s' % (self.config.get_value("Server", "host"), self.config.get_value("Server", "port")),
'workers': int(self.config.get_value('Server', 'workers')),
'timeout': int(self.config.get_value('Server', 'timeout'))
### Group 10 -- put gunicorn options additions here with root certificate.
## curl -ksSL https://team10.guillotine.io:5099
}
# SSL is a little convoluted because old installations will not have any value
# for the 'Server', 'ssl' variable. So, if it doesn't exist that's one condition,
# and if it exists and is false, that's the same result, but another condition.
# Only if it exists and is true are the pem keys loaded.
# They should be copied from certbot into augur's ssl directory.

if self.config.get_value('Server', 'ssl'):

if self.config.get_value('Server', 'ssl') is True:

self.gunicorn_options = {
'bind': '%s:%s' % (self.config.get_value("Server", "host"), self.config.get_value("Server", "port")),
'workers': int(self.config.get_value('Server', 'workers')),
'timeout': int(self.config.get_value('Server', 'timeout')),
'certfile': str(self.config.get_value('Server', 'ssl_cert_file')),
'keyfile': str(self.config.get_value('Server', 'ssl_key_file'))
}
else:
self.gunicorn_options = {
'bind': '%s:%s' % (self.config.get_value("Server", "host"), self.config.get_value("Server", "port")),
'workers': int(self.config.get_value('Server', 'workers')),
'timeout': int(self.config.get_value('Server', 'timeout'))
}
else:
self.gunicorn_options = {
'bind': '%s:%s' % (self.config.get_value("Server", "host"), self.config.get_value("Server", "port")),
'workers': int(self.config.get_value('Server', 'workers')),
'timeout': int(self.config.get_value('Server', 'timeout'))
}

self.logging.configure_logging(self.config)
self.gunicorn_options.update(self.logging.gunicorn_logging_options)

Expand Down
8 changes: 6 additions & 2 deletions augur/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,15 @@
"host": "0.0.0.0",
"port": main_port,
"workers": 6,
"timeout": 6000
"timeout": 6000,
"ssl": False,
"ssl_cert_file": None,
"ssl_key_file": None
},
"Frontend": {
"host": "0.0.0.0",
"port": main_port
"port": main_port,
"ssl": False
},
"Logging": {
"logs_directory": "logs/",
Expand Down
1 change: 1 addition & 0 deletions augur/routes/contributor_reports.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import psycopg2
import psycopg2
import sqlalchemy as salc
import numpy as np
import warnings
Expand Down
29 changes: 29 additions & 0 deletions docs/fedora-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Some notes on installing Augur on Fedora

```
sudo dnf groupinstall "Development Tools" "Development Libraries"

sudo dnf install postgresql-contrib

sudo yum install gcc openssl-devel bzip2-devel libffi-devel zlib-devel

cd /opt

sudo wget https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz

sudo tar xzf Python-3.8.12.tgz

cd Python-3.8.12

sudo ./configure --enable-optimizations

sudo make altinstall

python3.8 -V

python3.8 -m venv augur_env

```

## Known Issue:
1. `augur backend kill` does not seem to kill the backend processes on Fedora right now.
Loading