Linux内核“历史”具有完整历史的git存储库 [英] Linux kernel "historical" git repository with full history
问题描述
我想很多开发者喜欢在 git gui blame
的帮助下调查资源。正如为Linux- 2.6.12-rc2 (也可以在Github上镜像),它需要有特殊的历史Linux存储库用于此目的。
Linux-2.6.12-rc2
初始的git存储库构建。即使我们拥有它,我也不打扰完整的历史,
。如果我们愿意,我们可以创建一个单独的历史git
归档文件,同时,当导入到git空间时,它将大约
3.2GB,这只会使早期的
git days不必要的复杂,当我们没有很多良好的
基础设施时。
让它撕裂!
我查看了很多准备好的历史版本库,但是我没有发现其中包含回到版本0的更改,所以我放弃了并提出了这个问题在这里。
这是我的设置。存储库,包含以下遥控器的副本: 以下移植物(
ul>
info / grafts
):
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 e7e173af42dbf37b1d946f9ee00219cb3b2bea6a
7a2deb32924142696b8174cdf9b38cd72a11fc96 379a6be1eedb84ae0d476afbc4b4070383681178
使用这些移植物,自从0.01以来,我对内核历史有一个完整的看法。第一个移植将Linus仓库中的第一个版本与相应版本的 tglx / history.git
粘合在一起。第二个嫁接粘在一起 tglx / history.git
和 davej / history.git
。
缺少一些旧版本,旧版本的版本粒度而不是补丁粒度,但这是我所知道的最好的设置。
编辑: Dave Jones指出我 http://www.archive.org/details/git-history-of-linux ,这看起来正是你想要的。
I think many developers like to investigate sources with the help of git gui blame
. As explained in the commit for Linux-2.6.12-rc2 (also mirrored at Github), it needs to have special historical Linux repository for this purpose.
Linux-2.6.12-rc2
Initial git repository build. I’m not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it’s about 3.2GB when imported into git — space that would just make the early git days unnecessarily complicated, when we don’t have a lot of good infrastructure for it.
Let it rip!
I have looked at a lot of the prepared historical repositories but I didn’t find one containing changes going back to version zero, so I gave up and am asking this question here.
Here is my setup.
I have a repository with a clone of the following remotes:
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
- https://git.kernel.org/pub/scm/linux/kernel/git/davej/history.git
And the following grafts (info/grafts
):
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 e7e173af42dbf37b1d946f9ee00219cb3b2bea6a
7a2deb32924142696b8174cdf9b38cd72a11fc96 379a6be1eedb84ae0d476afbc4b4070383681178
With these grafts, I have an unbroken view of the kernel history since 0.01. The first graft glues together the very first release in Linus' repository with the corresponding release of tglx/history.git
. The second graft glues together tglx/history.git
and davej/history.git
.
There are a few older versions missing, and the older versions have release granularity instead of patch granularity, but this is the best setup I know of.
Edit: Dave Jones pointed me to http://www.archive.org/details/git-history-of-linux, which seems to be exactly what you want.
这篇关于Linux内核“历史”具有完整历史的git存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!