this post was submitted on 24 Aug 2024
107 points (86.9% liked)

Programmer Humor

19171 readers
1971 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] WIPocket@lemmy.world 37 points 3 weeks ago (2 children)

Is this post about Github seemingly detecting an incorrect licence? The project was relicenced in a later commit, so I dont think this behavior is entirely wrong.

[–] key@lemmy.keychat.org 22 points 3 weeks ago (1 children)

Plus, the license was only changed on a secondary branch. The default branch still has the MIT license. The text at the top isn't "this is the license file you have open" it's "the repo is licensed under this" so it's correct behavior but bad UX. It would be most user-friendly to show repo license and then also say "this branch has an invalid license, beware shenanigans"

[–] Aatube@kbin.melroy.org 5 points 3 weeks ago

I didn't even realize that! Their official distribution page links to the "secondary branch", which is actually an outdated tag branch. The license was changed a month ago.

[–] Aatube@kbin.melroy.org 7 points 3 weeks ago (1 children)
[–] WIPocket@lemmy.world 10 points 3 weeks ago (1 children)

What should it do instead? I think the only reasonable action would be not showing it if the licence file was changed.

[–] Aatube@kbin.melroy.org 9 points 3 weeks ago

IMO it should be re-recognizing it every time the license file is changed, but only showing a "click here to learn more about different licenses" would also be much better