Skip to content
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

Merged
merged 7 commits into from
Feb 9, 2018
Merged

Issue/279 code upload #545

merged 7 commits into from
Feb 9, 2018

Conversation

wouterdb
Copy link
Contributor

@wouterdb wouterdb commented Jan 24, 2018

new mechanism for code upload

fixes #279

@wouterdb wouterdb requested a review from bartv January 24, 2018 16:46
@bartv bartv modified the milestone: 2018.2 Feb 8, 2018
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
Copy link
Contributor

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.

@@ -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)
Copy link
Contributor

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.

@bartv bartv merged commit 35559fc into master Feb 9, 2018
@bartv bartv deleted the issue/279-code-upload branch February 9, 2018 12:19
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.

Optimize code upload
2 participants