-
Notifications
You must be signed in to change notification settings - Fork 7
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
Issue/279 code upload #545
Conversation
CHANGELOG.md
Outdated
@@ -3,6 +3,7 @@ Changes in this release: | |||
- Ubuntu 14.04 mongo (2.4) is no longer supported. Version 2.6 or higher is required. | |||
- The inmanta API endpoint is now versioned and available under /api/v1. The old API methods | |||
still work, but are deprecated and will be removed in the next release. | |||
- Internal storage format for code is optimized, this release support both storage versions, but old version will be removed in the next release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Internal storage format for code is optimized. This introduces API and schema changes. This release supports both storage versions. The old version will be removed in the next release.
src/inmanta/server/config.py
Outdated
@@ -98,6 +98,9 @@ def validate_fact_renew(value): | |||
agent_timeout = Option("server", "agent-timeout", 30, | |||
"Time before an agent is considered to be offline", is_time) | |||
|
|||
server_delete_currupt_files = Option("server", "delete_currupt_files", True, | |||
""" When the server finds corrupt files, delete them automatically""", is_bool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sounds a bit scary. I would prefer a help text like this:
The server logs an error when it detects a file got corrupted. When set to true, the server will also delete the file, so on subsequent compiles the missing file will be recreated.
new mechanism for code upload
fixes #279