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

Should I add a server reset on the post-receive hook. #4

Open
IanHung opened this issue Aug 31, 2013 · 3 comments
Open

Should I add a server reset on the post-receive hook. #4

IanHung opened this issue Aug 31, 2013 · 3 comments
Labels

Comments

@IanHung
Copy link
Collaborator

IanHung commented Aug 31, 2013

The post-receive hook executes whenever it receives a git push. The question is should the server reset upon receiving a post-receive hook?

Pros: No need to ssh into the server ever. All updates are automated via git pushes.
Cons: Without proper testing server restarts may serve bad code crashing site. Need proper testing before trying to go live.

@Tingish
Copy link
Owner

Tingish commented Aug 31, 2013

I think it sounds like a useful feature. How bad can bad code be? If it can
get disastrously bad I'm okay with the site crashing because of a bad
update. As long as it's easy to revert.
On Aug 31, 2013 12:51 AM, "IanHung" notifications@github.com wrote:

The post-receive hook executes whenever it receives a git push. The
question is should the server reset upon receiving a post-receive hook?

Pros: No need to ssh into the server ever. All updates are automated via
git pushes.
Cons: Without proper testing server restarts may serve bad code crashing
site. Need proper testing before trying to go live.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4
.

@Tingish
Copy link
Owner

Tingish commented Aug 31, 2013

Oops, that should say "...unless if it can get disa..."
On Aug 31, 2013 1:05 AM, "Ting Wang" tingish@gmail.com wrote:

I think it sounds like a useful feature. How bad can bad code be? If it
can get disastrously bad I'm okay with the site crashing because of a bad
update. As long as it's easy to revert.
On Aug 31, 2013 12:51 AM, "IanHung" notifications@github.com wrote:

The post-receive hook executes whenever it receives a git push. The
question is should the server reset upon receiving a post-receive hook?

Pros: No need to ssh into the server ever. All updates are automated via
git pushes.
Cons: Without proper testing server restarts may serve bad code crashing
site. Need proper testing before trying to go live.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4
.

@IanHung
Copy link
Collaborator Author

IanHung commented Aug 31, 2013

To fix we would need to push a working version.
On Aug 31, 2013 1:05 AM, "Ting Wang" notifications@github.com wrote:

I think it sounds like a useful feature. How bad can bad code be? If it
can
get disastrously bad I'm okay with the site crashing because of a bad
update. As long as it's easy to revert.
On Aug 31, 2013 12:51 AM, "IanHung" notifications@github.com wrote:

The post-receive hook executes whenever it receives a git push. The
question is should the server reset upon receiving a post-receive hook?

Pros: No need to ssh into the server ever. All updates are automated via
git pushes.
Cons: Without proper testing server restarts may serve bad code crashing
site. Need proper testing before trying to go live.


Reply to this email directly or view it on GitHub<
https://github.com/Tingish/_science/issues/4>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-23600728
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants