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

Deploys using local conf/ to deploy github branches is unchecked #112

Open
ironfroggy opened this issue Jul 16, 2014 · 2 comments
Open

Deploys using local conf/ to deploy github branches is unchecked #112

ironfroggy opened this issue Jul 16, 2014 · 2 comments

Comments

@ironfroggy
Copy link
Contributor

The nature of deploying from GitHub checkouts makes it confusing when changes in conf/ unintentionally are rsync'ed to production as part of a deploy. Ran into an issue where we did a deploy to prod from a machine with an old version of master. Took a while to figure out the conf/ was stale, because normally all changes come from GitHub ignoring the local machine. The difference in deploy conf/ versus everything else is confusing.

In this case, it just broke the deploy. In a worse case, it would deploy something broken.

@vrocha
Copy link
Contributor

vrocha commented Jul 16, 2014

IMO, this is an user error. It is convenient to deploy small changes to your conf/ without having to commit them to github. Sometimes, it takes a couple of attempts before you get something to work and committing those changes would not be great.

@ironfroggy
Copy link
Contributor Author

user errors are still errors we can fix.

We could add a warning if you have local changes or a non-pulled local copy. That warning could be an error unless you explicitly give a flag to allow it. Especially on production.

@mlavin mlavin mentioned this issue Dec 29, 2014
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

No branches or pull requests

2 participants