Skip to content

ScriptHeader auto-generation #116

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

Merged
merged 2 commits into from
Aug 25, 2014
Merged

ScriptHeader auto-generation #116

merged 2 commits into from
Aug 25, 2014

Conversation

hinerm
Copy link
Member

@hinerm hinerm commented Aug 20, 2014

Adds a new service and plugin type for language-specific automatic populate of script headers.

@hinerm
Copy link
Member Author

hinerm commented Aug 20, 2014

@ctrueden @dscho if you get a chance could you take a quick look?

See also:

for my current planned implementation.

@ctrueden
Copy link
Member

Thanks for doing that, Mark. I wrote some comments. We can merge tomorrow after those are addressed.

@dscho
Copy link
Contributor

dscho commented Aug 21, 2014

I really like the general direction!

Create a new ScriptHeaderService, a handler of a new ScriptHeader plugin
type.

The purpose of this new framework is to allow flexible addition of
header text to scripts, specified by language.
@hinerm hinerm force-pushed the script-header-service branch from 54bc7fc to b00d3ba Compare August 25, 2014 16:25
@hinerm
Copy link
Member Author

hinerm commented Aug 25, 2014

@ctrueden I believe I addressed all your comments, except the newline use because of @dscho's comment.
Anything else?

Pointed out by ctrueden: string concatenation has been showed to have
significant overhead in time and space, thus we should be using
StringBuilder.

This also removes the potential for a null header value.
@hinerm
Copy link
Member Author

hinerm commented Aug 25, 2014

@ctrueden this time I think I actually addressed all your points..

ctrueden added a commit that referenced this pull request Aug 25, 2014
@ctrueden ctrueden merged commit a3fb591 into master Aug 25, 2014
@ctrueden ctrueden deleted the script-header-service branch August 25, 2014 17:34
@ctrueden
Copy link
Member

👍

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.

3 participants