3 ms·
> if you want to be sure of you get the latest version, rename the file. This is a beyond ridiculous statement. It is a BUG that you do not get the latest vers
by iLoveOncall 4y ago
> if you want to be sure of you get the latest version, rename the file.
This is a beyond ridiculous statement. It is a BUG that you do not get the latest version of the file when viewing raw, not an error you made that you should address by having a filename driven versioning system.
If I'm using Git and GitHub, it's specifically to NOT have to deal with v1, v1.1, final, final_for_real, final_of_the_finalest, this_time_its_really_final.
Your suggestion to work around this GitHub bug is to essentially not use Git. Ridiculous.
- IanCal 4y agoNo, using git works just fine, as does specifically referencing the version want.
- EdwardDiego 4y agoRidiculous is expecting a service you're not paying for to serve files in a way that fits your use case when you've never entered into a contract that guarantees the behaviour you're relying on. You can use Git just fine without GitHub.
- ahepp 4y agoWell, I think it’s probably fair for users to expect a site advertising itself as a great web host for git to not serve stale files over web protocols. It’s kinda the entire point of the website. Maybe it’s a bit questionable to use the raw feature as a content host, but GitHub has intentionally moved pretty fair from plain old git (I believe people call this a “moat”) I’m sure there are plenty of other players competing for users that would be happy to solve the problem for free.
- iLoveOncall 4y agoSo expecting that a raw file isn't outdated is a special usecase now? And I don't see where you see that I'm not a paying user? This issue affects every repository, including ones where the user pays.
- EdwardDiego 4y agoWelp, is it in your SLA?
- 8note 4y agoThe CAP theorem certainly isn't new, and it's unreasonable to think GitHub has solved it
- deleted 4y ago[deleted]
- throwanem 4y agoWho says I'm not paying for Github? But a Git porcelain that fails to show the version of a file it claims it's showing is a Git porcelain with a bug in it, regardless. You don't have to take my word for it! https://github.com/orgs/community/discussions/46691#discussioncomment-4948308 https://github.com/orgs/community/discussions/46691#discussi...
- KptMarchewa 4y agoIf you're using GitHub for this reason, you also have protocol that specifically works for that use case.
- iLoveOncall 4y agoBut the fact is you can face the problem for literally any GitHub usecase. I will often open a file in raw just to copy-paste a few lines for example, which is not any specific use case.