Skip to content

fetches are saved to the wrong location #12

@hading

Description

@hading

According to the bagit spec (v 0.97 and at least later versions of 0.96 if not all) the path provided in a fetch.txt file is relative to the base directory of the bag, not the data directory. The gem fetches relative to the data directory, e.g. a line in the fetch file like:

http://example.com/file.txt 1234 data/file.txt

winds up in data/data/file.txt instead of data/file.txt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions