代码语言:javascript 代码运行次数:0 运行 AI代码解释 conf={'max_domains':10,'max_ext_length':10,'style':'gitstats.css','max_authors':20,'authors_top':5,'commit_begin':'','commit_end':'HEAD','linear_linestats':1,'project_name'
我们可以通过修改 gitstats 脚本的内容,设置仓库统计数据的范围(开始日期是2020年1月1日, 'start_date': 'Wed Jan 1 00:00:00 2020 +0800') conf = { 'max_domains': 10, 'max_ext_length': 10, 'style': 'gitstats.css', 'max_authors': 20, 'authors_top': 5, 'commit_begin': '', 'c...
gitstats -c max_authors=200 -c start_date=2020-8-8 . ~/output/dpdk/20.11 更多命令参见 gitstats --help Usage: gitstats [options] <gitpath..> Options: -c key=value Override configuration value Default config values: {'project_name': '', 'processes': 8, 'max_domains': 10, 'commi...
yyw = date.strftime('%Y-%W') self.activity_by_year_week[yyw] = self.activity_by_year_week.get(yyw, 0) + 1 if self.activity_by_year_week_peak < self.activity_by_year_week[yyw]: self.activity_by_year_week_peak = self.activity_by_year_week[yyw] #...
gitstats apt-get install gitstats DPDK代码可以从github.com/DPDK/dpdk.git获取(tag v20.11)执行以下统计命令:gitstats -c max_authors=200 -c start_date=2020-8-8 . ~/output/dpdk/20.11 更多命令请参阅:在~/output/dpdk/20.11目录中生成的统计网页,用浏览器打开index.html ...
Revert "Add files/lines by extension by date" Nov 28, 2017 .gitignore Ignore rvm or rbenv related dotfiles. Aug 15, 2013 .gitmodules Implement git statistics on git trees (directories) Mar 30, 2014 .rspec lazy loading and firsts tests ...
./gitstat -c start_date='1 January, 2017' project_dir report_dir multiple git repository support. ./gitstat project_dir1 project_di2 project_di3 ... report_dir Notes All MR commit will be Ignored in the line calculation. When include extensions was setted, exclude_extensions will be...
Start processing commits from the specified commit.--until Analyze commits until the given date.--author Only analyze commits from authors matching the given pattern.--exclude Exclude commits matching the given pattern.--ignore-space-change Ignore changes in amount of white space. This option ...
hour = date.hour self.activity_by_hour_of_day[hour] = self.activity_by_hour_of_day.get(hour, 0) + 1 # most active hour?if self.activity_by_hour_of_day[hour] > self.activity_by_hour_of_day_busiest: self.activity_by_hour_of_day_busiest = self.activity_by_hour_of_day[hour...
conf = { 'max_domains': 1000, 'max_ext_length': 1000, 'style': 'gitstats.css', 'max_authors': 2000, 'authors_top': 5, 'commit_begin': '', 'commit_end': 'HEAD', 'linear_linestats': 1, 'project_name': '', 'processes': 8, 'start_date': '', 'anonymize':0 } About...