GithubHelp home page GithubHelp logo

Comments (6)

ericzolf avatar ericzolf commented on June 12, 2024

I would keep it as I did it until now (but of course in this repo, not mine), as release with tag meaning basically, at this stage the code / tests worked with those testfiles.

Not a nice alternative but I think the others are worse until we have a better solution:

  • packed or unpacked, the files are big and binaries, nothing I'd like to have in our main Git repo.
  • unpacked in a separate Git repo: the issue is that the files also contain ACLs, extended attributes, hard and soft links, root and user rights, device & other non regular files, etc i.e. nothing with which Git could cope, and writing a script that would fix all this isn't that easy. And the problem with big binary files and Git remains.
  • web page would be an alternative, but again it's a Git repo, etc...

My favoured approach would be to create a script/library which, based on a textual description e.g. YAML, could create any file structure so that we only need to describe which files with need with which characteristics and they would be created on the fly. Not an easy approach but the best IMHO, and the script itself would be small.

I had already started to think about it: ericzolf#20 - wanted also to check if nobody else had the same idea.

from rdiff-backup.

davekempe avatar davekempe commented on June 12, 2024

We could use ansible to abstract that away perhaps? or perhaps whole vagrant boxes setup with local/remote different OSes and filesystems? Sol1 is happy to help with hosting - we are just in the process of upgrading our own hosting facilities, so soon should be able to have plenty of resources we can spare.

from rdiff-backup.

ericzolf avatar ericzolf commented on June 12, 2024

I also thought about Ansible, I should it's my specialty in real life, but I just postponed the topic as it's a big one. It would be cool to have Windows, and MacOS, machines for testing.

But I'd split the topic:

  • short term: stay as is, just move release to the official repo
  • long term: introduce "test files as code"

from rdiff-backup.

ericzolf avatar ericzolf commented on June 12, 2024

I would suggest to create a (temporary) Git repo and put the tarball in there. Once we've found a better solution, we can remove the tarball, trim the repo, do whatever. But at least anybody from the project can work on the testfiles and not only me.

Without objections, I'll proceed accordingly.

from rdiff-backup.

ikus060 avatar ikus060 commented on June 12, 2024

I don't understand why you can't keep the targz in the same git repo ? What are your pro / cons ?

Pros to keep test file in rdiff-backup repo:

  • The code and the accompany test files are self contains in the same project. No external dependencies.
  • Changes done in the code and the test files are in sync.

from rdiff-backup.

ericzolf avatar ericzolf commented on June 12, 2024

The pros and cons have been listed already in the 3 first comments of the issue, but to answer your question more specifically: big and binary files make a Git repo slow and inefficient (that's why git LFS has been invented).

from rdiff-backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.