Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • scripts
  • run_code_generation.py
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    run_code_generation: Compare hashes instead of mtime. · a72f400c
    Jamie Madill authored Jun 29, 2018
    Using mtime is fundamentally flawed when working with git. Replace
    these flaky checks with hash comparisons. The hashes are stored in an
    autogenerated json file that will be stored in the repository.
    
    This makes the run_code_generation script robust against any and all
    input changes. It also removes the need to track script outputs as
    dependencies.
    
    Bug: angleproject:2697
    Change-Id: I60f2a87a8680b1f775ad678b05112f5b16c7dde7
    Reviewed-on: https://chromium-review.googlesource.com/1120159
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    a72f400c
run_code_generation.py 6.54 KB
EditWeb IDE
×

Replace run_code_generation.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.