Skip to content

Retain order of domains#80

Open
zx2c4 wants to merge 1 commit into
kuba:masterfrom
zx2c4:domain-order-cn
Open

Retain order of domains#80
zx2c4 wants to merge 1 commit into
kuba:masterfrom
zx2c4:domain-order-cn

Conversation

@zx2c4

@zx2c4 zx2c4 commented Feb 28, 2016

Copy link
Copy Markdown

This ensures that the first domain specified on the command line will be the domain that winds up in the CN field. Otherwise, users have no way of controlling this.

This also supports Python 2.6, which is an improvement over the prior pull request. It also correctly tames pylint for an extremely widespread conditional import pattern.

It should pass all tests on Travis.

Fixes: #72
Signed-off-by: Jason A. Donenfeld Jason@zx2c4.com

@zx2c4 zx2c4 mentioned this pull request Feb 28, 2016
Comment thread tox.ini Outdated
pip install -e .[tests]
pep8 simp_le.py
pylint --disable=locally-disabled,fixme simp_le
pylint --disable=locally-disabled,fixme,import-error simp_le

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

can you please do a local disable instead of updating tox.ini?

@kuba

kuba commented Feb 28, 2016

Copy link
Copy Markdown
Owner

This is missing any kind of tests.

@zx2c4

zx2c4 commented Feb 28, 2016

Copy link
Copy Markdown
Author

Okay, now it locally disables for the linter. Good thinking.

I just took a look at how you're implementing the test suite. I can struggle and grunt to add the tests to the test suite here, and in the end I'm sure it won't fit your criteria for inclusion. Would you rather we do some iterations of me struggling, or could you just add this in five minutes yourself?

This ensures that the first domain specified on the command line will be
the domain that winds up in the CN field. Otherwise, users have no way
of controlling this.

Fixes: #72
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
@kuba

kuba commented Feb 28, 2016

Copy link
Copy Markdown
Owner

I could try to write tests, but not in foreseeable future - unfortunately I'm extremely busy atm. If you're fine with waiting a couple of weeks before this get merged, then OK...

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.

2 participants