archlinuxcn / lilac

Lilac is the build bot for archlinuxcn
GNU General Public License v3.0
114 stars 40 forks source link

fix deps detect issue #61

Closed petronny closed 6 years ago

petronny commented 6 years ago
  1. 首先是递归的依赖关系检测

    packages.update((not_built - examined) | deps)

    感觉可以检测出 a的depends是b, b的depends是c,现在a,c更新了,应当按c,a的顺序build 的问题,但实际未测试。

  2. 通过对排序后的结果

    packages = [package for package in packages if package in (building_packages - failed)]

    保证了不会有上述情况中b被一起build的问题

  3. build过程中KeyboardInterrupt直接退出就不会运行nvtake, git_push了 (上古bug)