Skip to content

Validator branch (issue #61) - #174

Closed
martijnbastiaan wants to merge 11 commits into
certbot:masterfrom
martijnbastiaan:validator
Closed

martijnbastiaan wants to merge 11 commits into
certbot:masterfrom
martijnbastiaan:validator

Conversation

@martijnbastiaan

Copy link
Copy Markdown
Contributor

See conversation at #61.

This branch breaks the pull request requirements in several ways:

  • It does not have full coverage due to the use of external binaries (openssl). Please see issue Finish Validator Class #61.
  • It does not fully comply with pylint. Most notably, it exceeds 80 characters per line in some cases. It does, however, stay within 100 characters at all times. I tried to reduce it to 80, but felt it reduced the readability of the code due to "code scattering" (if that's a proper term..).

Edit: I don't want to merge it into master, but I haven't got the permissions to create a branch on letsencrypt (doh).

@kuba

kuba commented Jan 22, 2015

Copy link
Copy Markdown
Contributor

Thanks for your work. Couple of notes (especially important before merging into master):

  1. https://packages.debian.org/search?keywords=python-responses -> only available starting jessie :( (also c.f. pythondialog is no longer available for Python 2 #139)
  2. responses should be added to setup.py
  3. Style.
    • Already mentioned line length.
    • import modules instead instead of objects (from requests.exceptions import ConnectionError or from subprocess import PIPE, Popen or from letsencrypt.client.errors import LetsEncryptValidationError etc.)

@jdkasten

Copy link
Copy Markdown
Contributor

Hi @martijnbastiaan. Thanks for your work on this. I have created a new validator branch for you.

@jdkasten

Copy link
Copy Markdown
Contributor

Thanks @kuba for the code review.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import requests.exceptions instead of object

@jdkasten

Copy link
Copy Markdown
Contributor

@martijnbastiaan FYI: I manually merged this into the validator branch that I created for it. I don't believe this PR will be resolved until it gets pushed into master.

@jdkasten

jdkasten commented Feb 3, 2015

Copy link
Copy Markdown
Contributor

As I understand it, it was only intended to be pulled into a separate branch. Thanks @martijnbastiaan we will get it incorporated here soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants