Git.io (the "GitHub URL Shortener") was only ever for GitHub-hosted projects to use, which had the effect of further conflating GitHub and Git to an even worse degree. It always struck me as borderline scummy, since GitHub was of course aware of this, but then again they've knowingly benefited from misconceptions about the Git/GitHub relationship for a long time, so it's not out of line with the established MO.
Several companies have their own URL shorteners (Amazon, Youtube...); this is nothing new or wrong.
It's actually reassuring to know that one can it in the code (comments) knowing that the service provider doesn't do anything dodgy and that the links are reasonably long-lived (as a matter of fact, Github is not discontinuing already existing URLs).
If GitHub had wanted a GitHub specific URL shortener and did not want to further perpetuate confusion about the relationship between git and GitHub, they could have gone with gh.io, ghub.io, hub.io, or any other domain name that isn't 'git.io'. 'git.io' sounds like it would probably be an official domain of 'git'. But, 'git.io' is (was) actually a URL shortener for a specific hosted service whose only relationship to 'git' is that GitHub uses the 'git' software for version control. GitHub is not maintained by the git team nor is it a project of the git team. Git can be (and is widely) used outside of GitHub.
GP is not complaining about a GitHub specific url shortener.
That's not what the other comment was complaining about. If it were GitHub.io that would be fine.
They are saying that GitHub has had a long interest in people thinking that Git is something you only do with GitHub, reducing people from thinking about using Git without GitHub. Of course, to be clear, Git is a 100% independent project that existed before GitHub and GitHub has ZERO claim to anything about Git, it just uses it.
They're not discontinuing them for now. You already can't create new URLs, but they will be deprecating the service "in the future". What does that entail?
"deprecate" and "remove" are not synonymous and I don't see any indication they are being conflated here. Deprecation often precedes removal but that's the extent of it.
Deprecation generally means continued use of tool/API/etc. is actively discouraged. Users of a deprecated tool/API/etc. should find a suitable alternative for all their remaining use cases. In this case, once this shortener is officially deprecated, anyone using a git.io URL for any purpose should replace it with an alternative.
Deprecation is usually a precursor to removal. Once the tool/API/etc. has been deprecated long enough (relatively speaking), it's generally consider as safe as practical to remove the tool/API/etc. from service. That lead time can range anywhere from months to years.
Yes that's the way I use the word as well, it is a pet peeve of mine when that is not the case.
> "deprecate" and "remove" are not synonymous and I don't see any indication they are being conflated here. Deprecation often precedes removal but that's the extent of it.
The reason I'm equating "deprecate" and "remove" in this case is because they have already said there will be no more git.io links created -- so how can you "deprecate" it further? I suppose they could say "Hey, this is deprecated now and we're going to shut it down in six months", and in this case, the user behavior that is discouraged is "relying on the links".
It seems like it was built by some Github employees back during the URL shortening phase as just a fun hack project to learn a new database, although a few services implemented it to shorten Github URLs.
No, no, no. Didn't you read the rest of this thread! This was all part of a well coordinated, thought out, grand conspiracy to place github.com as the de-facto git repository. Not some late night, quick turnaround, "hey, this would be cool" project created by two people for lulz. After all, it would be impossible to create an effective URL shortener with one developer and a late night with a case of beer (no...don't look at me, it took me a day and a half).
I would say your comment (which is currently the top comment on this post) thread is not far off from what cwbrandsma is somewhat hyperbolically saying.
> It always struck me as borderline scummy, since GitHub was of course aware of this, but then again they've knowingly benefited from misconceptions about the Git/GitHub relationship for a long time
To me that very much implies the thought out plan to place github as the defacto git repo that cwbrandsma was describing.
It's not that there was some evil master plan from the beginning, it's that GitHub benefits from git/GitHub confusion (such as hosting git.io), knows this (at least nowadays), and passively encourages this by doing nothing about it.
I wish there was more background on what/why git.io was a thing, as well as why it's now being discontinued in this announcement. First time hearing of this service.
Most relevant sites provide their own short urls now. All 3rd party shorteners are monetized by tracking and selling the data, so I wouldn’t be surprised nobody uses them.
I think it's bad for comments in code. If you have the full URL you could at least try to find an archived version for it on archive.org if the link shortener went away.
The archive.org link should be used in code comments imho. This ensures that the content in question has been archived, and points to the temporal snapshot.
Couldn't archive.org go away some day though? It could disappear before the original site. This seems unlikely but it's possible.
I'd rather link to the original but save it on archive.org as a backup. Of course whoever uses the broken link would have to know to go look it up on archive.org.
Well that's always a possibility. The archive.org URL usually contains the full original URL so there's no downside of using it.
In this case though, it's still just code documentation so ideally it should be somewhat possible to figure out what's going on without a link to an external site. It's just about minimizing the risk.
They are useful for transactional SMS messages when you want to remind someone of an appointment or an event. There is a character limit in SMS if you want to keep it to one message and not annoy your customers.
NSW Police need to keep making Facebook posts stating "our last SMS was not a scam" because people keep questioning them. Maybe not use bit.ly links in broadcast messages.
That’s just Twitter’s redirection proxy. It’s not people using it as a URL shortener. It is Twitter automatically linking all URLs in tweets to go via t.co for tracking.
No doubt that it's used for tracking but "clicks" on the URL could probably be measured in other on-page ways too. One additional reason is probably that if there's a spam URL detected they can just block the short URL and the problem goes away instantly.
“.. but we encourage using one of the many URL shortening services that are available, instead of git.io, as we will be deprecating the tool in the future.”
This is a sad day for me. The obscurity of git.io, along with its nested obscurity of the ability to create vanity links, let me grab https://git.io/8. It looks like that'll go away one day, I wonder what will become of the domain itself; it's certainly a six figure property.
I remember there being a form to create a URL (which would get you a random git.io/xxx) but picking your short URL had to go through an API. At least that's how I created mine.
This post was my first introduction to it too. Searching for "git.io" on github.com, including the quotes, returns a number of repositories using git.io links -- "2M+" if their search is to be believed.
I do wish any time there was a service deprecation notice, the service providers would give some detail as to why it's going offline. Lack of use, difficulty to maintain, expense, etc. With that said, I don't think we're owed any explanation, especially for free-to-use services.
Specific to this service, I never personally used it, but I wonder how many project links will break when the service does finally go offline.
Sounds like that would be an excellent resource for me to learn about services that - now that they're being retired - I could wish I knew about a few years earlier...
It was a URL-shortening service for GitHub URLs. Nothing more, nothing less. You would put in a URL, and get a new, short URL git.io/... that would redirect to what you put in.