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

update process fail when github in maintenance #399

Closed
hasslerf opened this issue Aug 16, 2012 · 4 comments
Closed

update process fail when github in maintenance #399

hasslerf opened this issue Aug 16, 2012 · 4 comments
Labels

Comments

@hasslerf
Copy link

@hasslerf hasslerf commented Aug 16, 2012

The -U Flag would normally overwrite the youtube-dl-Script by the latest version from github. When github is in maintenance it sends a 404-page which overwrites the youtube-dl-Script.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Aug 19, 2012

Adding HTTP status check

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Aug 19, 2012

Umh... I can't replicate: If the update function hits a 404 (like http://github.com/sdcsckdjn) I get a ERROR: unable to download latest version and the script gets unaffected.

Suggestions on how to simulate the behavior?

@gcmalloc
Copy link
Contributor

@gcmalloc gcmalloc commented Oct 24, 2012

Add a rule to your host file that redirect http://github.com to your own webserver, then create a little webserver that only serv 500 error for any request.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jan 2, 2013

We changed our release system, and this should not happen anymore.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.