This patch for http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site.git will allow us to use mynewt.apache.org as a vanity import domain. It redirects the go build tools to the Apache git repo, and it redirects browsers to /.
Note that this depends on the proposed build.sh script that copies files from the extras directory into the mkdocs generated site directory. Thanks, -Todd diff --git a/extras/newt/index.html b/extras/newt/index.html new file mode 100644 index 0000000..012c4eb --- /dev/null +++ b/extras/newt/index.html @@ -0,0 +1,6 @@ +<html> + <head> + <meta name="go-import" content="mynewt.apache.org/newt git https://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git"> + <meta http-equiv="refresh" content="0; url=/"> + </head> +</html> On Thu, Feb 4, 2016 at 11:19 PM, Greg Stein <[email protected]> wrote: > On Thu, Feb 4, 2016 at 11:51 PM, todd mitton <[email protected]> wrote: > >... > > > 2.) I already mentioned this, but a vanity domain decouples the code from > > the hosting location. We're going to work very hard to remove the > > "incubator", so lets make an easy change now instead of a potentially > > painful change later. > > > > Right. I would not have recommended mynewt.INCUBATOR.apache.org .. but > since mynewt.a.o works... woot! No change needed if/when mynewt graduates. > > > > 3.) There's precedent for using vanity import domains. For example, > > https://github.com/kubernetes/kubernetes, a successful open source > > project, > > uses k8s.io. > > > > IMO, I'd rather see that .apache.org in the branding of the project, than > to save people 10 keystrokes they enter every couple months. I might also > suggest that kubernetes' success is *not* due to their short domain name. > > Cheers, > -g >
