News for hackers. Stuff that matters.
Re:Repository redirects are here by olalonde on Monday May 20, 2013 @01:40AM (#5736095)
> There is one caveat with the new redirect support worth noting: GitHub Pages sites are not automatically redirected when their repositories are renamed at this time.

Surprising that they didn't implement this as it seems like the easiest thing to implement and pretty damn useful.

Re:Repository redirects are here by songgao on Monday May 20, 2013 @12:55AM (#5735973)
Cool. Glad it's finally here. Although I have some concerns here: Is this an option or not changeable? Does this mean you can't use [a previous name of an existing repo] as a new repo's name?
Re:Repository redirects are here by holman on Monday May 20, 2013 @06:33AM (#5736858)
Any new repo you create will trump any redirect that has been set up.
Re:Repository redirects are here by lgeek on Monday May 20, 2013 @11:14AM (#5738079)
What if I rename my account? Repository redirects are created, but would someone else be able to register with my previous username and take over repositories?
Re:Repository redirects are here by shurcooL on Monday May 20, 2013 @12:42PM (#5738531)
Good question.
Re:Repository redirects are here by shurcooL on Monday May 20, 2013 @02:15AM (#5736181)
What if you're in a situation where you have both the source and target repo already present, each with their separate issues (which you'd like to combine). I assume you'd have to combine everything in one repo, delete the other, and perform the rename. Does that sound right?
Re:Repository redirects are here by oms1005 on Monday May 20, 2013 @12:44AM (#5735935)
Would this affect a new repo I make if it's named after one I renamed before?
Re:Repository redirects are here by beefsack on Monday May 20, 2013 @02:44AM (#5736258)
My testing:

1. Create https://github.com/beefsack/test1

2. Rename to https://github.com/beefsack/test2, redirect works

3. Create new https://github.com/beefsack/test1, link from (1) points to this new repo

So yeah, it looks like it works.

Re:Repository redirects are here by sli on Monday May 20, 2013 @01:02AM (#5735998)
No, because it would still have a different owner, same as forks do.
Re:Repository redirects are here by nullsoldier on Monday May 20, 2013 @03:17AM (#5736341)
He's talking about if it's by the same owner (him). See beefsack's response which answers this question.
Re:Repository redirects are here by daGrevis on Monday May 20, 2013 @03:57AM (#5736468)
Why this wasn't implemented at the first time. Doesn't seem hard to do...
Re:Repository redirects are here by cjh_ on Monday May 20, 2013 @04:37AM (#5736589)
At least with username level redirects this decreases the number of available usernames, unless this is somehow taken into account.