Hi,

I was trying to diagnose this issue.Here's what I found.

*1. To prevent indexing of incubator-impala repo*
    Github's robots.txt prevents indexing of all branches except the
default master branch.
    So to prevent indexing we can just delete the default branch.I found
this[1] answer on StackOverflow useful.

*2. To redirect all web traffic from the old repo*
    Github redirects all webtraffic if we rename a repo. Currently we have
two separate repos named incubator-impala and impala.
    Instead what we wanted after graduation was to just rename the
incubator repo to impala.This would redirect all requests directly.
    I have tried doing this on a test repo I created specifically for this
purpose git clone,git fetch and git push commands work just fine.
    Also when we try and access any link with the previous name it
automatically redirects to the correct page.
    Github documentation for the same is avaliable here[2].



References:

[1] https://stackoverflow.com/a/15987482
[2] https://help.github.com/articles/renaming-a-repository/


On Fri, Dec 8, 2017 at 3:53 AM, John Russell <[email protected]> wrote:

> I was Googling and ran across a github URL that still exists.  I thought
> it would redirect to a non-incubator URL, but instead it shows a “repo
> empty” message.  I guess that’s why it hasn’t dropped out of the Google
> search index:
>
> https://github.com/apache/incubator-impala/blob/master/docs/README.md
>
> Is there some github configuration needed to hide /incubator-impala/ pages
> or make them redirect to the corresponding /impala/ ones?
>
> Thanks,
> John




-- 
Thanks

Yash Jain

Reply via email to