# pygitlog-tools
git工具用于进行kernel相关的git log 可视化查看
目标:建立跟踪与关联知识库的建立,进行人力评估统计,对patch进行有效分类
主要适配社区:Kernel社区、Euler社区
# 示例
---
### kernel log summary
### upstream from 2c85ebc57b3e to 33dc9614dc20
| hash | time | editor | email | body | type | keywords | diff-files |
| :---- | :---- | :---- | :---- | :--- | :---- | :------- | :--------- |
| 2c85ebc57b3e | Sun Dec 13 14:41:30 2020 -0800 | Linus Torvalds | torvalds@linux-foundation.org | Linux 5.10
Linux 5.10
|
| [special](https://en.wikipedia.org/wiki/Special)
| Makefile |
| ec6f5e0e5ca0 | Sun Dec 13 11:31:19 2020 -0800 | Linus Torvalds | torvalds@linux-foundation.org | Merge tag 'x86-urgent-2020-12-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
|
| [special](https://en.wikipedia.org/wiki/Special)
| arch/x86/include/asm/pgtable_types.h
arch/x86/include/asm/sync_core.h
arch/x86/kernel/apic/vector.c
arch/x86/kernel/cpu/resctrl/monitor.c
arch/x86/kernel/kprobes/opt.c
arch/x86/mm/mem_encrypt_identity.c
arch/x86/mm/tlb.c
kernel/sched/membarrier.c
|
| d2360a398f0b | Sun Dec 13 10:36:23 2020 -0800 | Linus Torvalds | torvalds@linux-foundation.org | Merge tag 'block-5.10-2020-12-12' of git://git.kernel.dk/linux-block
Merge tag 'block-5.10-2020-12-12' of git://git.kernel.dk/linux-block
Pull block fixes from Jens Axboe:
"This should be it for 5.10.
Mike and Song looked into the warning case, and thankfully it appears
the fix was pretty trivial - we can just change the md device chunk
type to unsigned int to get rid of it. They cannot currently be < 0,
and nobody is checking for that either.
We're reverting the discard changes as the corruption reports came in
very late, and there's just no time to attempt to deal with it at this
point. Reverting the changes in question is the right call for 5.10"
* tag 'block-5.10-2020-12-12' of git://git.kernel.dk/linux-block:
md: change mddev 'chunk_sectors' from int to unsigned
Revert "md: add md_submit_discard_bio() for submitting discard bio"
Revert "md/raid10: extend r10bio devs to raid disks"
Revert "md/raid10: pull codes that wait for blocked dev into one function"
Revert "md/raid10: improve raid10 discard request"
Revert "md/raid10: improve discard request for far layout"
Revert "dm raid: remove unnecessary discard limits for raid10"
|
| [mdadm](https://en.wikipedia.org/wiki/Mdadm)
| drivers/md/dm-raid.c
drivers/md/md.c
drivers/md/md.h
drivers/md/raid0.c
drivers/md/raid10.c
drivers/md/raid10.h
|
| 6bff9bb8a292 | Sat Dec 12 12:57:12 2020 -0800 | Linus Torvalds | torvalds@linux-foundation.org | Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fixes from James Bottomley:
"Five small fixes. Four in drivers:
- hisi_sas: fix internal queue timeout
- be2iscsi: revert a prior fix causing problems
- bnx2i: add missing dependency
- storvsc: late arriving revert of a problem fix
and one in the core.
The core one is a minor change to stop paying attention to the busy
count when returning out of resources because there's a race window
where the queue might not restart due to missing returning I/O"
* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
Revert "scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()"
scsi: hisi_sas: Select a suitable queue for internal I/Os
scsi: core: Fix race between handling STS_RESOURCE and completion
scsi: be2iscsi: Revert "Fix a theoretical leak in beiscsi_create_eqs()"
scsi: bnx2i: Requires MMU
|
| [scsi](https://en.wikipedia.org/wiki/SCSI)
| drivers/scsi/be2iscsi/be_main.c
drivers/scsi/bnx2i/Kconfig
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
drivers/scsi/scsi_lib.c
drivers/scsi/storvsc_drv.c
|
| 5ee595d9079b | Sat Dec 12 12:47:46 2020 -0800 | Linus Torvalds | torvalds@linux-foundation.org | Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fix from Wolfram Sang:
"Bugfix for the AT24 EEPROM driver"
* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
misc: eeprom: at24: fix NVMEM name with custom AT24 device name
|
| [special](https://en.wikipedia.org/wiki/Special)
| drivers/misc/eeprom/at24.c |
***
---
# 学习链接
[How to create a Python library](https://medium.com/analytics-vidhya/how-to-create-a-python-library-7d5aea80cc3f)
[Wiki API](https://www.mediawiki.org/wiki/API:Search)
[Git book](https://git-scm.com/docs/)