Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from restic:master #175

Merged
merged 17 commits into from
Apr 25, 2023
Merged

[pull] master from restic:master #175

merged 17 commits into from
Apr 25, 2023

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    21ad357 View commit details
    Browse the repository at this point in the history
  2. Make help for --verbose less confusing

    The output is now
    ```
    -v, --verbose                    be verbose (specify multiple times or a level using --verbose=n, max level/times is 2)
    ```
    instead of
    ```
    -v, --verbose n                  be verbose (specify multiple times or a level using --verbose=n, max level/times is 2)
    ```
    MichaelEischer committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    74f7dd0 View commit details
    Browse the repository at this point in the history
  3. cmd, restic: Refactor and fix snapshot filtering

    This turns snapshotFilterOptions from cmd into a restic.SnapshotFilter
    type and makes restic.FindFilteredSnapshot and FindFilteredSnapshots
    methods on that type. This fixes #4211 by ensuring that hosts and paths
    are named struct fields instead of unnamed function arguments in long
    lists of such.
    
    Timestamp limits are also included in the new type. To avoid too much
    pointer handling, the convention is that time zero means no limit.
    That's January 1st, year 1, 00:00 UTC, which is so unlikely a date that
    we can sacrifice it for simpler code.
    greatroar authored and MichaelEischer committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    97274ec View commit details
    Browse the repository at this point in the history
  4. added changelog

    ianmuge authored and MichaelEischer committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    593eb71 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. fuse: Report fuse.Attr.Blocks correctly

    Fixes #4239.
    greatroar authored and MichaelEischer committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    4304e01 View commit details
    Browse the repository at this point in the history
  2. fuse: Mix inode hashes in a non-symmetric way

    Since 0.15 (#4020), inodes are generated as hashes of names, xor'd with
    the parent inode. That means that the inode of a/b/b is
    
    	h(a/b/b) = h(a) ^ h(b) ^ h(b) = h(a).
    
    I.e., the grandchild has the same inode as the grandparent. GNU find
    trips over this because it thinks it has encountered a loop in the
    filesystem, and fails to search a/b/b. This happens more generally when
    the same name occurs an even number of times.
    
    Fix this by multiplying the parent by a large prime, so the combining
    operation is not longer symmetric in its arguments. This is what the FNV
    hash does, which we used prior to 0.15. The hash is now
    
    	h(a/b/b) = h(b) ^ p*(h(b) ^ p*h(a))
    
    Note that we already ensure that h(x) is never zero.
    
    Collisions can still occur, but they should be much less likely to occur
    within a single path.
    
    Fixes #4253.
    greatroar authored and MichaelEischer committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    3b24c15 View commit details
    Browse the repository at this point in the history
  3. Sync dependency upgrades from master

    github.com/Azure/azure-sdk-for-go/sdk/storage/azblob still uses v0.5.1
    as upgrading it would increase the minimum Go version on Solaris to
    1.20.
    MichaelEischer committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    48e065d View commit details
    Browse the repository at this point in the history
  4. Fix snapshot filtering for relative paths in the backup command

    The snapshot filtering internally converts relative paths to absolute
    ones to ensure that the parent snapshots selection works for backups of
    relative paths.
    MichaelEischer committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    07a44a8 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2023

  1. ui/termstatus: Quote funny filenames

    Fixes #2260, #4191.
    greatroar authored and MichaelEischer committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    f342db7 View commit details
    Browse the repository at this point in the history
  2. tweak changelogs

    MichaelEischer committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    1e6e9f9 View commit details
    Browse the repository at this point in the history
  3. doc: Polish changelogs

    rawtaz committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    0bac935 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Prepare changelog for 0.15.2

    fd0 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    0aaa4e6 View commit details
    Browse the repository at this point in the history
  2. Generate CHANGELOG.md for 0.15.2

    fd0 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    1f3f042 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db6b4f8 View commit details
    Browse the repository at this point in the history
  4. Add version for 0.15.2

    fd0 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    be8be33 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac7ac0c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c8641f4 View commit details
    Browse the repository at this point in the history