-
Notifications
You must be signed in to change notification settings - Fork 221
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
move project compilation to server #322
Conversation
nice improvements. gogo |
3a2fbe9
to
78e4c40
Compare
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.
I added some comments. Everything else looks very good 👍
@@ -86,14 +86,11 @@ private void archive(Injector injector) | |||
ConfigFactory cf = injector.getInstance(ConfigFactory.class); | |||
ConfigLoaderManager loader = injector.getInstance(ConfigLoaderManager.class); | |||
|
|||
// read parameters | |||
Config overrideParams = loadParams(cf, loader, loadSystemProperties(), paramsFile, params); |
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.
Two fields (params
and paramsFile
) should be removed now?
Map<String, String> params = new HashMap<>(); | ||
|
||
@Parameter(names = {"-P", "--params-file"}) | ||
String paramsFile = null; |
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.
please also update usage() method
@@ -60,7 +60,7 @@ public void listFiles(PathConsumer consumer) | |||
} | |||
|
|||
// reused by ProjectArchiveLoader.load | |||
static void listFiles(Path projectPath, PathConsumer consumer) | |||
public static void listFiles(Path projectPath, PathConsumer consumer) |
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.
should this method be public?
Moving the project archive metadata compilation to the server makes it easier for the console to implement workflow editing.