linux-insides icon indicating copy to clipboard operation
linux-insides copied to clipboard

URL to Linux Kernel on Github change to LXR

Open mudongliang opened this issue 9 years ago • 8 comments
trafficstars

@0xAX When I checked Chinese edition of linux-insides, I found one link to linux kernel on github is broken. It is char/rtc.c in linux-mm-2.md. Because linux kernel mainline is developing very fast. Maybe one link like the above will be broken several months later. So I advise we change all the links to linux kernel on Github to lxr source code link in one version. This is stable and we don't need to change links all the time.

mudongliang avatar Jun 16 '16 02:06 mudongliang

I will try to update links which points the source code of github kernel repo with links which points to LXR 3.18.

mudongliang avatar Aug 30 '16 03:08 mudongliang

But there are many place for which 3.18 is outdated. I will make review soon and update all currently outdated links in linux-insides to mainline kernel.

0xAX avatar Aug 30 '16 06:08 0xAX

I think we could use all links from LXR with different version. For example, boot.txt in v4.0 boot.txt in v4.6 boot.txt v4.6 L106

mudongliang avatar Aug 30 '16 14:08 mudongliang

I have tested this kind of links in our Chinese version. In the second line of BSS Segment, there is one link : setup_sig. It is convenient to change the kernel with this link. If you want to change the version of kernel to 4.0, just change the v=4.0 in this link.

mudongliang avatar Aug 30 '16 14:08 mudongliang

What about using stable/linux-stable of the official kernel repo? https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/?h=v3.18

mytbk avatar Mar 16 '18 03:03 mytbk

I check the current version of linux-insides. I find that @0xAX mostly uses "the comment id in the master branch of linux kernel git repo". That's a good idea.

mudongliang avatar Mar 16 '18 20:03 mudongliang

How do you think @mytbk @0xAX ?

mudongliang avatar Mar 16 '18 20:03 mudongliang

I'd prefer to follow kernel master branch, its pretty difficult because of huge set of changes in the kernel, but this provides yet another source to follow changes. The book can be fixed in any time

0xAX avatar Apr 02 '18 11:04 0xAX