Comments (6)
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.
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.
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.
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.
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.
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)
- Warning SpecialFileError: [Errno 95] Operation not supported HOT 2
- Backup files not saved with original user HOT 2
- [BUG] "OSError: [Errno 36] File name too long" HOT 3
- [?] rdiff-backup 1.2.8 freezes while restoring files from backup HOT 3
- [?] rdiff-backup doc and remote HOT 2
- [BUG] CVE-2023-49797 pyinstaller: unauthorized deletion of files HOT 2
- [ENH] allow flexible usage of better hashing algorithm than SHA1
- [BUG] rdiff-backup fails on too long filenames under Windows HOT 1
- What are the errors in statistics? HOT 4
- [ENH] populate no_compression_regexp with _something_ so it matches the documentation HOT 4
- [BUG] read-only commands should return 2 as warning if last back-up failed HOT 6
- [BUG] Removal of setup.py usage in debian/autobuild.sh regressed it HOT 2
- [BUG] crash on date beyond 2038 (last 32 bits date) HOT 3
- test action fails with empty error message when using API 201 HOT 1
- [ENH] Suppress output line-wrapping when using --parsable-output HOT 3
- [?] MacOS with Python Universal2, using pip to install rdiff-backup is working, but the resulting installation is broken HOT 2
- [ENH] Efficient restore to a populated destination HOT 7
- [BUG] Recurring Failure to "find the path specified: b'I:/'" HOT 2
- backup to a pCloud mounted drive[?] HOT 8
- problem [Errno 11] Resource temporarily unavailable, when running backup HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdiff-backup.