【问题标题】:Hygieia Github Collector is not fetching old commitsHygieia Github Collector 没有获取旧的提交
【发布时间】:2023-04-03 01:58:01
【问题描述】:

我的 github-scm-collector 没有获取过去 7 天的提交,而是仅显示最近的提交。如何解决这个问题?

【问题讨论】:

    标签: github hygieia


    【解决方案1】:

    转到类 com.capitalone.dashboard.collector.GitHubCollectorTask 第 193 行,

     boolean firstRun = true; // ((repo.getLastUpdated() == 0) || ((start - repo.getLastUpdated()) > FOURTEEN_DAYS_MILLISECONDS));
    

    进行此更改并再次运行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-02-03
      • 2022-09-28
      • 1970-01-01
      • 2022-08-19
      • 2020-12-16
      • 2020-12-31
      相关资源
      最近更新 更多