MrDys / blacklight

Blacklight Plugin
http://projectblacklight.org/
Other
1 stars 1 forks source link

template install from github doesn't work in some situations #454

Closed MrDys closed 12 years ago

MrDys commented 12 years ago

CODEBASE-272: If I try to do a template install (for tagged version or for master) per the readme:

rails ./fix-master -m https://github.com/projectblacklight/blacklight/raw/master/template.rb then I get applying template: https://github.com/projectblacklight/blacklight/raw/master/template.rb

certificate verify failed

if I try it with http

rails ./fix-master -m http://github.com/projectblacklight/blacklight/raw/master/template.rb

applying template: http://github.com/projectblacklight/blacklight/raw/master/template.rb

redirection forbidden: http://github.com/projectblacklight/blacklight/raw/master/template.rb -> https://github.com/projectblacklight/blacklight/raw/master/template.rb

however, it DOES work if I create a local copy of the template file

rails ./fix-master -m template.rb

MrDys commented 12 years ago

Original reporter: ndushay

MrDys commented 12 years ago

cbeer: From my email to blacklight-development:

Looks like github has no plans to change anything to make this work (http://support.github.com/discussions/site/2213-github-https-redirect-breaks-rails-application-generator-templates). I've done some testing with the projectblacklight.org http://projectblacklight.org/ setup to see if that's an appropriate workaround. After some quick testing, it seems like it'll work just fine (see http://projectblacklight.org/templates/master.rb and https://github.com/projectblacklight/projectblacklight.github.com/tree/master/templates )

I propose to remove template.rb from the projectblacklight/blacklight repository and change all documentation to point at the projectblacklight.org-based templates. I plan to do this by Friday, unless anyone would like to discuss the changes further.

MrDys commented 12 years ago

cbeer: Migrated templates to Github Pages.