Live data from Hacker News

GitHub Broken Download URLs

github.com

51–60 of 101 posts

Re: GitHub Broken Download URLs

#51

Earlier quoted context omitted.

Breaking changes aren’t only an issue with centralization. A breaking change with git itself would mess up your decentralized scenario as well.

Maybe for one or two minutes, but if it costs more time, I'd just rollback my git installation. Good Luck rolling back GitHub.

But what about rolling back someone else’s installation? What if you’re depending on a different user that has a buggy installation?

Re: GitHub Broken Download URLs

#52
post #19

Earlier quoted context omitted.

I signed up to GitHub almost 11 years ago, and someone else already registered the username I used for everything. So 11-years-ago-me tacked on a hyphen as I had seen a few other people do it, too.

> I signed up to GitHub almost 11 years ago, and someone else already registered the username I used for everything. So 11-years-ago-me tacked on a hyphen "I purposefully chose to create a nearly identical username to an existing user" isn't a great defense to someone saying the problem is between the chair and keyboard. At best you didn't think of the possible confusion you'd cause.

Both the other account and myself are quite active on GitHub. There has been a mistype maybe 5 times in 11 years.

So sorry, but no. Things have been fine. In places where the hyphen is ambiguous, I always make a point to mention it. It's never really been an issue, and the other individual has always been quite nice when the hyphen is omitted, kindly pinging me instead.

I'm not trying to defend against anything except poor attempts to paint me as somehow malicious...

Re: GitHub Broken Download URLs

#53
post #16

This has also broken a bunch of packages in the arch user repository, for example https://aur.archlinux.org/packages/dendrite/ :(

This sounds for the better. Not having code mirrors (as other distribution channels) sounds not just insecure, but borderly malicious.

Re: GitHub Broken Download URLs

#54
post #53
post #16

This has also broken a bunch of packages in the arch user repository, for example https://aur.archlinux.org/packages/dendrite/ :(

This sounds for the better. Not having code mirrors (as other distribution channels) sounds not just insecure, but borderly malicious.

Using github, period, is not just insecure, but actively malicious.

Stop using NSA/Microsoft.

Re: GitHub Broken Download URLs

#55
post #7

At least now I know why my nix builds are failing... Odd for something like this to slip through and not be rolled back immediately. Unless it was intentional, in which case it would be even more odd to not communicate this widely beforehand.

Yep. A bug is something that happens (although too many can be judged).

But I don't understand how github didn't already know about the regression, from automated testing or error monitoring. I have high expectations for github, because they have met them.

Re: GitHub Broken Download URLs

#56
post #23

Whether this specific problem is intentional or not, these kinds of problems show the issue with using a single centralized service for distribution of third-party dependencies. But it's just so much more darned convenient than hosting your own Git server! It would be super cool if there was a decentralized alternative to GitHub, that used Git under the hood. Perhaps one would upload their repositories to a node, whi…

Do many packaging systems do something different than a single centralized download point?

I think rubygems has a single centralized download point.

I am not very familiar with other platforms, including OS distro packages. Do some of them use decentralized systems?

Re: GitHub Broken Download URLs

#57
post #4

Another gripe; unrelated, but since we're piling on... My username ends in a hyphen. Apparently, that's no longer allowed, though my username appears to be grandfathered in. Trying to give feedback about new experimental features lands me on the GitHub communities site, which is treated as a standalone app and thus requires you to log in via GitHub (it doesn't re-use the existing session token). However, Communities…

Github does let you change your username.

I imagine if support got back to you, they'd say "Yes, that was grandfathered in for backwards compatibilty, but that username is no longer allowed and won't always work with new services or functions, as you discovered. We recommend changing your username."

However, not getting a response is not encouraging, it's true.

Re: GitHub Broken Download URLs

#58
post #27

Earlier quoted context omitted.

Hyphens and underscores are often permitted characters in usernames, more so than exclamation marks or other special characters. I don't really see what problem using a hyphen in a username could pose, unless there's some kind of filter being applied that doesn't take into account the previously permitted characters. I'd guess someone applied an [A-z0-9]+ without thinking too much about it because that's what the cur…

Fun ASCII gotcha: [A-z] includes [ ] \ ^ _ and `

I think this is why I usually see `[A-Za-z]` for ascii. My previous employer decidedly ignored "non-english" text.

`[A-z]` -> https://regex101.com/r/IlhPiD/1 `[A-Za-z]` -> https://regex101.com/r/iWjwf2/1

After looking it up, `\p{L}` looks like it matches letters https://regex101.com/r/1UiG9S/1.

Re: GitHub Broken Download URLs

#59
Ran into this issue when was updating package. But then, I did not find anywhere mentioned this url documented anywhere. I.e currently broken link to archives https://github.com/USER/REPO/archive/TAG/REPO-TAG.tar.gz vs currently working and documented URL https://github.com/USER/REPO/archive/refs/tags/TAG.tar.gz

Is there a list of pre-defined URLs supported by GitHub?

Re: GitHub Broken Download URLs

#60
post #43

Earlier quoted context omitted.

If you are trying to make the point that Github.com is the only "non-pet-rock" web-based project managament and bug tracking system available (for selfhosting or not), well, that is just false. The alternatives have at least as many features, if not more. Some of them even predating Github.com by decades. If you are again trying to make the point that they have a bazillion times the load, I will say again that it is…

Comparing uptime between comparable services is reasonable. (Though I will say that having used some GitHub competitors, counting the number of features really overlooks the actual user experience between them.) Comparing uptime between a production service and a single personal server however isn’t reasonable. You haven’t even said what your server actually does , only that it rarely goes down!

His point is that if everyone had their own server, everyone would have better uptime than they currently get using github.

The complexity and load of github is the problem.

Post reply on HN