[travis] Fail when documentation is outdated#7280
Conversation
|
concept ACK |
|
Nice! IMO, this is something we should do. utACK fa0f5100493572ea7abd2b0a9d98c697adc31014. |
qa/pull-tester/check-doc.py
Outdated
There was a problem hiding this comment.
nit: add copyright header (https://github.com/MarcoFalke/bitcoin/blob/MarcoFalke-2015-travisDoc/qa/pull-tester/rpc-tests.py#L2)
There was a problem hiding this comment.
Concept ACK
On Monday, 4 January 2016, Jonas Schnelli [email protected] wrote:
In qa/pull-tester/check-doc.py
#7280 (comment):@@ -0,0 +1,39 @@
+#!/usr/bin/env python
+'''nit: add copyright header (
https://github.com/MarcoFalke/bitcoin/blob/MarcoFalke-2015-travisDoc/qa/pull-tester/rpc-tests.py#L2
)—
Reply to this email directly or view it on GitHub
https://github.com/bitcoin/bitcoin/pull/7280/files#r48710140.
qa/pull-tester/check-doc.py
Outdated
There was a problem hiding this comment.
I'd prefer to never use any of the subprocess commands with shell=True, using a shell can easily lead to security issues.
There was a problem hiding this comment.
I agree that shell=True should never be used. But I am just too lazy to translate the pipe into python. The CMD_s are hardcoded, so shell injection is rather unlikely to happen.
|
Concept ACK |
fa0f510 to
7497b86
Compare
7497b86 to
fada0c9
Compare
|
Moved |
|
Travis: |
128e7f0 to
a1c905c
Compare
a1c905c to
faeda0e
Compare
|
Documentation was added in |
This checks if all command line args are documented in the help message.
Example output: