go-gitea:main
← realaravinth:forgefriends-mr-30
opened 03:02PM - 29 Dec 21 UTC
integrations: basic test for Gitea {dump,restore}-repo
This is a first step f…or integration testing of DumpRepository and
RestoreRepository. It:
runs a Gitea server,
dumps a repo via DumpRepository to the filesystem,
restores the repo via RestoreRepository from the filesystem,
dumps the restored repository to the filesystem,
compares the first and second dump and expects them to be identical
The verification is trivial and the goal is to add more tests for each
topic of the dump.
Signed-off-by: Loïc Dachary <loic@dachary.org>
---
This PR is on behalf of Loïc Dachary from the [forgefriends](forgefriends.org) project. Please see [the GitLab merge request](https://lab.forgefriends.org/forgefriends/forgefriends/-/merge_requests/30) for source.