Skip to content

sources without path: do not produce one snapshot per path #140

@celogeek

Description

@celogeek

The doc said that simply listing the directories should produces one snapshot per row:

repositories:
  - url: ./backup

sources:
  - "a"
  - "b"

encryption:
  passphrase: "secret"

The result is:

 ID        Date              Host             Label    Source  Files  Size
 31f94f1f  2026-05-10 17:06  MyHost           default  a           2  74 B
                                                       b

When I fix the config with:

repositories:
  - url: ./backup

sources:
  - path: "a"
  - path: "b"

encryption:
  passphrase: "secret"

Then I've got the expected result:

 ID        Date              Host             Label  Source  Files  Size
 706b9931  2026-05-10 17:10  MyHost            a      a           1  37 B
 447c7e1d  2026-05-10 17:10  MyHost            b      b           1  37 B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions