Skip to content

Support remote file configuration#25

Open
kylef wants to merge 1 commit into
masterfrom
kylef/remote-config
Open

Support remote file configuration#25
kylef wants to merge 1 commit into
masterfrom
kylef/remote-config

Conversation

@kylef

@kylef kylef commented Sep 2, 2018

Copy link
Copy Markdown
Owner

This PR adds support for remotely referencing a configuration file. The justification is found in the documentation inside docs/config.rst, I recommend you read that part of the changeset first.

This is MVP for the feature, it could be improved upon in the future. Right now only references at root, and only one level deep is supported.

@kylef kylef requested a review from kattrali September 2, 2018 15:25

@kattrali kattrali left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can the printed response be tested somehow?

Comment thread maintain/config.py Outdated

response = requests.get(url)
response.raise_for_status()
print(response.text)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should this always print or only if there’s a problem?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Debugging... Fixed

@kylef kylef force-pushed the kylef/remote-config branch from b4db86a to af36ab6 Compare September 3, 2018 03:20
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