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

Add support for dockerignore #392

Merged
merged 6 commits into from
Aug 27, 2018
Merged

Add support for dockerignore #392

merged 6 commits into from
Aug 27, 2018

Conversation

antho1404
Copy link
Member

When this is released, we need to update the javascript template to use the dockerignore file instead of mesgignore file

https://github.com/mesg-foundation/template-service-javascript/edit/master/template/.mesgignore

@antho1404 antho1404 requested review from ilgooz and a team August 26, 2018 05:09
if _, err := os.Stat(filepath.Join(path, ".mesgignore")); err == nil {
// TODO: remove for a future release
d.sendStatus(fmt.Sprintf("%s [DEPRECATION] please use .dockerignore instead of .mesgignore", aurora.Red("⨯")), DONE)
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove else? there will be warning about .mesgingore file, but there will be no info about build complete status (which will happen here). So display deprecation msg + build msg.

Todo: s/DEPRECATION/DEPRECATED/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree, requesting changes

Copy link
Contributor

@ilgooz ilgooz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

status message bug, also please add tests for this to deploy_test.go

@antho1404
Copy link
Member Author

modifications done

@NicolasMahe NicolasMahe merged commit 44b4330 into dev Aug 27, 2018
@NicolasMahe NicolasMahe deleted the feature/support-dockerignore branch August 27, 2018 04:53
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.

4 participants