sagemath / sage_trac_plugin

Trac plugin used to support Sage development at trac.sagemath.org
5 stars 6 forks source link

Don't hard-code HTTP for the cgit host #4

Closed embray closed 8 years ago

embray commented 8 years ago

There's an option used by the plugin under [trac] called cgit_host which is the hostname for the cgit server. It's used in outputting URLs to the cgit site. Unfortunately this hard-codes 'http' as the protocol. It would be good to add a cgit_protocol option for this, as well as maybe just a cgit_url option that can combine both the protocol and the hostname (as well as any path under the hostname--for example right now, just for testing purposes, I have the cgit server under <ip address>/git which is of course not a hostname (but still works).