openzim / zim-testing-suite

This repository contains testing zim files for libzim and other openzim repositories.
3 stars 3 forks source link

Properly handle test zim files with git-lfs #2

Open mgautierfr opened 3 years ago

mgautierfr commented 3 years ago

For now we have a bunch of test/reference zim file directly in the libzim repository. All those files represent around 33Mb and ~1,4Mb is updated time to time.

We don't want that :

I'm open to idea here, but I propose :

Tests would be designed to be extensible (add/change zim files) without having to change the tests itself (auto-discover test files, from filename or metadata information)

kelson42 commented 3 years ago

@mgautierfr git-lfs seems to be a good solution, but the free storage on Github is limited to 1GB and the bandwidth to 1GB /month. Any channce we could stay within the free plan limit?

mgautierfr commented 3 years ago

We can store the generated data using git-lfs instead using a archive yes.

The data is not intended to change. If we want to test a new point, we will add data, not change it. Except if we put big zim file we should stay under 1GB for a (long) time. About the bandwidth, depends of several things:

kelson42 commented 3 years ago

@mgautierfr OK, I think we should carry on.

Deburama1 commented 3 years ago

Hello, I am new to open source contribution, how can I contribute to this code as a first issue.

kelson42 commented 3 years ago

@Deburama1 Hi and welcome, unfortunately there is nothing much we can do if you don't know how to fix the issue.

kelson42 commented 3 years ago

@mgautierfr What should we do with this ticket? Close it? Move it to zim/zim-test-suite?

mgautierfr commented 3 years ago

We can move it to zim-test-suite yes.