In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to export all the issue lists of github warehouses. The contents are concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
There is a github repository specially used to store its own knowledge management, through an issue to record specific knowledge points:
Https://github.com/i042416/KnowlegeRepository/issues
More than 2000 records have been accumulated so far.
I have a requirement in my job to give a keyword and quickly find all the issue in the title that contains that keyword. Github's search box can achieve this function, but anti-aircraft guns shoot mosquitoes, overkill, because the Github search box not only supports search by title, but also supports full-text search, so the speed is a little slow.
Since github doesn't provide the ability to quickly search by title, I wrote a tool myself, all of which is on my github: https://github.com/i042416/wechat/tree/master/unittest/github
Executing the tool, node launcher, will call Github Restful API to get the details of all the issue in the specified warehouse. Of course, I'm only interested in issue's id and title, and I've discarded all other attributes. Github's read API supports paging, so I need to call read API repeatedly, passing in the index of the current page each time:
Then request each page's data in turn with a loop on the outer layer:
Then execute node merge.js to merge the exported issue details of each page into a whole to form the final html file as shown in the following figure:
Https://jerrywang-sap.cn/study/2019/08/22/Jerry-github-issue-list.html
The above is how to export all the issue lists in github warehouse. have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.