Skip to content

Move data files out of repo #20

@ruestefa

Description

@ruestefa
  • PyFlexPlot version: v1.0.9
  • Python version: any
  • Operating System: any

Description

NetCDF files used in tests/slow are stored in the repo (tests/data), both in original and reduced form. This is not ideal as they make the repo unnecessarily big, and git doesn't handle binary files very well (AFAIK). They should instead be stored somewhere and fetched before running the tests (e.g., with a get_test_data.sh script).

As only the reduced files are used in the tests, as a first step only the original files could be moved out of the repo, which would not necessitate any changes to the tests.

Once moved out, the repo could be cleansed of the binary files still in it's history in order to reduce the size of the repo. However, this should be done with care, as it would break the tests for old revisions (the data would have to be fetched manually or by checking out the get_test_data.sh script from a new revision. Alternatively, a new repo could be created that starts w/o test data and the current repo could be archived.

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