-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
20191106 postgres dbapi #432
Conversation
07fad76
to
d032650
Compare
d032650
to
cacb7ec
Compare
cacb7ec
to
65e91ec
Compare
65e91ec
to
5c4b999
Compare
Migration instructions (tested on sandbox):
|
Migration instructions: #432 (comment)
5c4b999
to
1adbf73
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but some minor changes are requested
README.md
Outdated
@@ -135,10 +135,10 @@ While there are certainly many ways to get started hacking desec-stack, here is | |||
For desec-stack, [docker](https://docs.docker.com/install/linux/docker-ce/ubuntu/) and [docker-compose](https://docs.docker.com/compose/install/) are required. | |||
Further tools that are required to start hacking are git and curl. | |||
Recommended, but not strictly required for desec-stack development is to use certbot along with Let's Encrypt and PyCharm. | |||
jq, httpie, libmariadbclient-dev, python3-dev (>= 3.8) and python3-venv (>= 3.8) are useful if you want to follow this guide. | |||
jq, httpie, libpq-dev, python3-dev (>= 3.8) and python3-venv (>= 3.8) are useful if you want to follow this guide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install both clients, mariadb and pq
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
The webapp requires nodejs. To install everything you need for this guide except docker and docker-compose, use | ||
|
||
sudo apt install certbot curl git httpie jq libmariadbclient-dev nodejs npm python3-dev python3-venv libmemcached-dev | ||
sudo apt install certbot curl git httpie jq libpq-dev nodejs npm python3-dev python3-venv libmemcached-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install both clients, mariadb and pq
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
'TEST': { | ||
'CHARSET': 'utf8mb4', | ||
'COLLATION': 'utf8mb4_bin', | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's make a test to see if the migration works correctly for utf8 content
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked
api/desecapi/serializers.py
Outdated
@@ -494,12 +494,6 @@ def is_empty(data_item): | |||
# so for parallel requests, we can get integrity errors due to duplicate keys. | |||
# This will be considered a 429-error, even though re-sending the request will be successful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjust comment according to change below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
#host replication all 127.0.0.1/32 scram-sha-256 | ||
#host replication all ::1/128 scram-sha-256 | ||
|
||
host desec desec all scram-sha-256 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's test the permissions on sandbox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done (locally)
Migration instructions: #432 (comment)
3f91b13
to
50b7bae
Compare
No description provided.