4 ms·
I tried finding the pr they referenced, but wasn't able to in a minute of looking, but I did find https://github.com/spectreconsole/spectre.console/pull/1403 ht
by unsnap_biceps 2y ago
I tried finding the pr they referenced, but wasn't able to in a minute of looking, but I did find https://github.com/spectreconsole/spectre.console/pull/1403 https://github.com/spectreconsole/spectre.console/pull/1403 which is a null fix.
Presuming the PR in question is similar, one would likely be able to successfully argue that the code in the PR is trivial enough to not be covered by copyright.
https://en.wikipedia.org/wiki/Copyright_law_of_the_United_States#Useful_articles https://en.wikipedia.org/wiki/Copyright_law_of_the_United_St...
I think it's an entirely valid argument given the variables names are defined by the original code and the style is defined by a style guide, the only addition here is a intrinsic utilitarian function without any artistic expression.
That said, I am not a lawyer, so who knows how it would actually play out in court if it went that far.
- stavros 2y agoYou're right, for something that small it probably wouldn't be an issue, but something larger or non-obvious would be risky. I'm cautioning people against thinking "if I rewrite it, it's fine".