I don't understand why the git history has been pruned in this fork. According to the first commit in this fork: > Squashed as a single orphan commit — the original oven-sh/bun history isn't relevant to this stripped fork and its shallow clone doesn't push cleanly to a fresh remote. IMHO it's always a bad decision to do that. Here, all commit authors are lost. The original history is always relevant.
How is the history relevant? Honest question. 5 years in the field I never had a reason to check out the git history of any project I ever worked on.
Cruller: Bun's Zig Runtime, Continued on Zig 0.16
71–80 of 127 posts
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#72Earlier quoted context omitted.
Bug is uncovered. Where was it first introduced? Why was the code changed? What did it do before the bug was introduced?
Why would that matter if a bug is uncovered? If you know there's a bug just fix it? Like what use does the bugs history have?
In the worst/most paranoid case (xz) you might also want to know who planted a backdoor and where else they made commits to.
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#73Earlier quoted context omitted.
Bug is uncovered. Where was it first introduced? Why was the code changed? What did it do before the bug was introduced?
Why would that matter if a bug is uncovered? If you know there's a bug just fix it? Like what use does the bugs history have?
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#74Earlier quoted context omitted.
Because there will be a reason why the code was changed that introduced the bug. If you fix the bug you might inadvertently break a different piece of functionality. A git commit gives you the reason for the change and the context of what other files were changed at the same time. I’ve found that invaluable.
Guess I must be doing something wrong to never have encountered this issue in my 5 years.
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#75I don't understand why the git history has been pruned in this fork. According to the first commit in this fork: > Squashed as a single orphan commit — the original oven-sh/bun history isn't relevant to this stripped fork and its shallow clone doesn't push cleanly to a fresh remote. IMHO it's always a bad decision to do that. Here, all commit authors are lost. The original history is always relevant.
How is the history relevant? Honest question. 5 years in the field I never had a reason to check out the git history of any project I ever worked on.
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#76Earlier quoted context omitted.
Because there will be a reason why the code was changed that introduced the bug. If you fix the bug you might inadvertently break a different piece of functionality. A git commit gives you the reason for the change and the context of what other files were changed at the same time. I’ve found that invaluable.
Guess I must be doing something wrong to never have encountered this issue in my 5 years.
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#77Earlier quoted context omitted.
Because there will be a reason why the code was changed that introduced the bug. If you fix the bug you might inadvertently break a different piece of functionality. A git commit gives you the reason for the change and the context of what other files were changed at the same time. I’ve found that invaluable.
Guess I must be doing something wrong to never have encountered this issue in my 5 years.
Have you heard "have you played guitar for 20 years, or have you played guitar 20 times for a year?" Time only helps with accumulating wisdom if you let it.
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#78As usual, most forks created out of community rupture eventually die.
I think there are quite a few high profile examples where the fork was successful (egcs comes to mind which eventually became the official gcc, also all the BSD flavours). And even when the fork ultimately isn't successful, it sometimes at least forces the original project to adapt (e.g. ffmpeg vs libav). E.g. "it's difficult to make predicitions, especially about the future" ;) PS: of course for this specific projec…
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#79I don't understand why the git history has been pruned in this fork. According to the first commit in this fork: > Squashed as a single orphan commit — the original oven-sh/bun history isn't relevant to this stripped fork and its shallow clone doesn't push cleanly to a fresh remote. IMHO it's always a bad decision to do that. Here, all commit authors are lost. The original history is always relevant.
> in this fork Not a fork, but a new project that takes a subset of the old Bun code to create something new, meant to complement Bun. “Cruller is not intended to replace Bun for development. It is a minimal, specialized runtime for executing production code. In any case, I do not want to throw away such a large codebase that has taken several years to build. It makes more sense to turn it into a convenient embeddabl…
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#80Earlier quoted context omitted.
Simple but pretty common use case: If you're ever looking at some pre-existing code and thinking "I don't really get why it's written like this?", you can get a lot out of looking through the git blame/history. Often "weird design" is there for historic reasons around stuff like backwards compatibility. If your project has a well managed commit log, you can find the notes of whoever implemented it, possibly even with…
That actually is helpful, but it would require a git history that actually makes sense. I rarely encounter well thought out git histories. For me its often just dev ramblings or 10 word commit messages