changedetection

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move snapshotting files to own package

  1. … 134 more files in changeset.
Remove FileSystemSnapshotter.getContentHash

This changes the path sensitivity for artifact transforms to

relative.

  1. … 10 more files in changeset.
Rename snapshotAll

  1. … 11 more files in changeset.
Replace FileSystemSnapshotter.get{Type -> ContentHash}

All the users of the method want to have the content hash when they

encounter a regular file and don't really care about the type in the

other cases.

  1. … 11 more files in changeset.
Snapshot FileCollection in FileSystemSnapshotter

This allows us to expose fewer methods.

  1. … 3 more files in changeset.
Merge file and directory cache

Instead of using two different caches for file and directory snapshots,

there is only one. We now cache the metadata of individual files

separately.

  1. … 32 more files in changeset.
Remove type hierarchy for PhysicalDirectorySnapshot

We now have only one implementation.

  1. … 8 more files in changeset.
Use getContentHash instead of getTreeHash

  1. … 8 more files in changeset.
Rename Snapshot to Hashable

  1. … 16 more files in changeset.
Separate fingerprints and snapshots (#5927)

This de-tangles FileContentSnapshot (and removes it) from NormalizedFileSnapshots.

Also it makes clear that only PhysicalSnapshots can be used to check if a file changed the timestamp.

  1. … 87 more files in changeset.
Calculate Merkle hashes for PhysicalSnapshots

  1. … 21 more files in changeset.
Retain hierarchical structure in file system mirror (#5844)

The `FileSystemSnapshotter` now returns a root for each snapshotted file, possible containing all the children in hierarchy as the directory would no the file system.

This PR also contains some performance related changes:

- Stop interning path segments: That was only necessary when we stored the same path segments in many RelativePath objects. We don't do this any more, so interning should not be necessary and make things faster.

Actually, up-to-date assemble on largeMonolithicJavaProject (parallel false)

is about 40ms faster with this change (2.5 %).

- Don't use IndexedNormalizedFileSnapshots: It seems like there are no real performance gains by using IndexedNormalizedFileSnapshots.

  1. … 131 more files in changeset.
Replaced a direct usage of `FileSystemMirror` with a new method on `FileSystemSnapshotter`.

    • -0
    • +56
    ./state/TestFileSnapshotter.groovy
  1. … 6 more files in changeset.