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

move project compilation to server #322

Merged
merged 7 commits into from
Jan 17, 2017

Conversation

danielnorberg
Copy link
Contributor

@danielnorberg danielnorberg commented Sep 30, 2016

Moving the project archive metadata compilation to the server makes it easier for the console to implement workflow editing.

@frsyuki
Copy link
Member

frsyuki commented Sep 30, 2016

nice improvements. gogo

@danielnorberg danielnorberg changed the title WIP: move project compilation to server move project compilation to server Jan 16, 2017
Copy link
Member

@frsyuki frsyuki left a 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);
Copy link
Member

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;
Copy link
Member

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)
Copy link
Member

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?

@danielnorberg danielnorberg merged commit 3658542 into master Jan 17, 2017
@danielnorberg danielnorberg deleted the dano/move-archiving-to-server branch January 17, 2017 02:39
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