Skip to content

Cannot use dst tag for single source file (git) #120

@ben-edna

Description

@ben-edna

Below scenario doesn't work:

        Given the manifest 'dfetch.yaml' in MyProject
            """
            manifest:
                version: 0.0
                projects:
                    - name: SomeProjectWithAnInterestingFile
                      url: some-remote-server/SomeProjectWithAnInterestingFile.git
                      dst: SomeFile.txt
                      src: SomeFolder/SomeFile.txt
                      tag: v1
            """
        And a git-repository "SomeProjectWithAnInterestingFile.git" with the files
            | path                                  |
            | SomeFolder/SomeFile.txt               |
            | SomeOtherFolder/SomeOtherFile.txt     |
        When I run "dfetch update"
        Then the output shows
            """
            Dfetch (0.0.6)
              SomeProjectWithAnInterestingFile: Fetched v1
            """
        Then 'MyProject' looks like:
            """
            MyProject/
                .dfetch_data-SomeFile.txt.yaml
                SomeFile.txt
                dfetch.yaml
            """

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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