[webkit-changes] [WebKit/WebKit] f07efe: [buildbot] Add de-duper script for results

Jonathan Bedard noreply at github.com
Thu Oct 17 15:36:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f07efecdac0917ed92543b28e9af8c2e0305ba10
      https://github.com/WebKit/WebKit/commit/f07efecdac0917ed92543b28e9af8c2e0305ba10
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    A Tools/CISupport/Shared/de-duper

  Log Message:
  -----------
  [buildbot] Add de-duper script for results
https://bugs.webkit.org/show_bug.cgi?id=281334
rdar://137770187

Reviewed by Sam Sneddon.

Attempt to hard-link identical PNG files to a shared "storage" directory.

* Tools/CISupport/Shared/de-duper: Added.
(parse_args): Caller can specify root directory and storage directory.
(sha1): Compute the sha1 hash of the specified file.
(main): Iterate through all PNG files in the root directory, if those files
are already hard-links, skip them. Otherwise, compute the sha1 hash of the source
PNG files and move the file content to the storage directory and hard-link to that.

Canonical link: https://commits.webkit.org/285362@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list