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

Acmev2 #73

Merged
merged 53 commits into from
Mar 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
a5017e3
acmev2
komuw Feb 27, 2018
f2f1ae6
use py3 image
komuw Feb 27, 2018
f37a451
python3 only (#72)
komuw Feb 27, 2018
18932bc
use bytes
komuw Feb 27, 2018
93fcd30
add v2 stuff
komuw Feb 27, 2018
cd92c9b
add v2 stuff
komuw Feb 27, 2018
35500b0
registration works
komuw Feb 27, 2018
5efa178
beacon
komuw Feb 27, 2018
0e5ff33
pit stop
komuw Mar 1, 2018
31a0fb7
pit stop
komuw Mar 1, 2018
f1da4b8
pit stop
komuw Mar 1, 2018
990e8a0
add milestone
komuw Mar 1, 2018
f9381ce
base64 before send
komuw Mar 2, 2018
0e4c486
get order right
komuw Mar 2, 2018
e10416a
milestone
komuw Mar 2, 2018
47b907b
milestone
komuw Mar 2, 2018
bc5c698
milestone
komuw Mar 2, 2018
db0d999
respond, send csr, poll
komuw Mar 2, 2018
e760407
milestone
komuw Mar 2, 2018
06f7774
final touches
komuw Mar 2, 2018
8a2c748
final touches
komuw Mar 2, 2018
3aa829a
rename
komuw Mar 2, 2018
cf97c43
handle existing accnts
komuw Mar 2, 2018
eea94b4
test wildcard
komuw Mar 2, 2018
4cb942f
test wildcard
komuw Mar 2, 2018
e243667
fix pylint
komuw Mar 2, 2018
cacf975
accept more certs
komuw Mar 2, 2018
b213fd8
accept more codes
komuw Mar 2, 2018
a639746
fix tests
komuw Mar 2, 2018
52e91af
fix tests
komuw Mar 2, 2018
0e7d33f
Update README.md
komuw Mar 2, 2018
ced4270
Update README.md
komuw Mar 2, 2018
0e55a31
Update README.md
komuw Mar 2, 2018
fabfd36
Update README.md
komuw Mar 2, 2018
24f698c
Update README.md
komuw Mar 2, 2018
a8b3fed
rename
komuw Mar 4, 2018
8dd3d31
cool
komuw Mar 4, 2018
7b1cddb
Acmev2 san (#75)
komuw Mar 5, 2018
972ae0e
V2 san (#76)
komuw Mar 5, 2018
0b91b65
Simpler cloudflare (#77)
komuw Mar 5, 2018
7dd48bf
Update README.md
komuw Mar 6, 2018
913dcc8
use better names
komuw Mar 6, 2018
d7d6930
update docs
komuw Mar 6, 2018
6b15c4f
update docs
komuw Mar 6, 2018
cae205b
update docs
komuw Mar 6, 2018
e651cda
update docs
komuw Mar 6, 2018
529a530
use stdlib logging (#80)
komuw Mar 9, 2018
fc81ad7
Update README.md
komuw Mar 12, 2018
cf7393b
Update README.md
komuw Mar 12, 2018
129ac59
Update README.md
komuw Mar 12, 2018
1d1fa21
rename base64_of_acme_keyauthorization gave it a proper meaningful na…
komuw Mar 12, 2018
dfda933
use prod url
komuw Mar 13, 2018
5c18b08
use prod url
komuw Mar 13, 2018
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
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:2.7
- image: circleci/python:3.6
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
Expand All @@ -22,17 +22,18 @@ jobs:
- run:
name: install dependencies
command: |
sudo pip install twine wheel pypandoc coverage yapf flake8 sewer mock tldextract apache-libcloud
sudo pip3 install twine wheel pypandoc coverage autopep8 pylint flake8 sewer mock tldextract apache-libcloud

# run tests!
- run:
name: run tests
command: |
find . -type f -name \*.pyc -delete | echo
find . -type f -name *.pyc -delete | echo
coverage erase
coverage run --omit="*tests*,*.virtualenvs/*,*__init__*,*/usr/local/lib/python2.7/dist-packages*" -m unittest discover && bash <(curl -s https://codecov.io/bash)
coverage run --omit="*tests*,*.virtualenvs/*,*.venv/*,*__init__*,*/usr/local/lib/python2.7/dist-packages*" -m unittest discover && bash <(curl -s https://codecov.io/bash)
coverage report --show-missing --fail-under=85
flake8 .
pylint --enable=E --disable=W,R,C sewer/

# run make upload

Expand Down
10 changes: 7 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,24 @@ derivative works of any Contribution, under the MIT License.
- open an issue on this repo. In your issue, outline what it is you want to add and why.
- install pre-requiste software:
```shell
apt-get -y install pandoc && pip install twine wheel pypandoc coverage yapf flake8 mock
apt-get -y install pandoc && pip3 install -e .[dev,test]
```
- make the changes you want on your fork.
- your changes should have backward compatibility in mind unless it is impossible to do so.
- add your name and contact(optional) to CONTRIBUTORS.md
- add tests
- format your code using [yapf](https://github.com/google/yapf):
- format your code using [autopep8](https://pypi.python.org/pypi/autopep8):
```shell
yapf --in-place --recursive --parallel --style "google" .
autopep8 --experimental --in-place -r -aaaaaaaaaaa .
```
- run [flake8](https://pypi.python.org/pypi/flake8) on the code and fix any issues:
```shell
flake8 .
```
- run [pylint](https://pypi.python.org/pypi/pylint) on the code and fix any issues:
```shell
pylint --enable=E --disable=W,R,C sewer/
```
- run tests and make sure everything is passing:
```shell
make test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ README.html

#Coverage
.coverage
htmlcov/

# Setuptools distribution folder.
/dist/
Expand Down
15 changes: 8 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ upload:
@python setup.py sdist
@python setup.py bdist_wheel
@twine upload dist/* -r testpypi
@sudo pip install -U -i https://testpypi.python.org/pypi sewer
@pip3 install -U -i https://testpypi.python.org/pypi sewer

uploadprod:
@rm -rf build
Expand All @@ -14,11 +14,12 @@ uploadprod:
@python setup.py sdist
@python setup.py bdist_wheel
@twine upload dist/*
@sudo pip install -U sewer
@pip3 install -U sewer

test:
@find . -type f -name \*.pyc -delete | echo
@coverage erase
@coverage run --omit="*tests*,*.virtualenvs/*,*__init__*,*/usr/local/lib/python2.7/dist-packages*" -m unittest discover
@coverage report --show-missing --fail-under=85
@flake8 .
@printf "\n removing pyc files::\n" && find . -type f -name *.pyc -delete | echo
@printf "\n coverage erase::\n" && coverage erase
@printf "\n coverage run::\n" && coverage run --omit="*tests*,*.virtualenvs/*,*.venv/*,*__init__*,*/usr/local/lib/python2.7/dist-packages*" -m unittest discover
@printf "\n coverage report::\n" &&coverage report --show-missing --fail-under=85
@printf "\n run flake8::\n" && flake8 .
@printf "\n run pylint::\n" && pylint --enable=E --disable=W,R,C sewer/
Loading