New project: Patche — Single user easy repository — News
Turns out, according to SketchCow (IA) (Jason Scott, Free Range Archivist at the Internet Archive) (#internetarchive on EFNet, 2015-04-01), the Internet Archive doesn’t do well with more than about 500 files in a single item. So, git-annex putting my ~171,000 files into a single item really probably wouldn’t work. Hence,
A new project:
It’s not written yet.
patche init passphrase authkey secretkey — Create a new repository from the current directory. A .pch bundle will be created in the current directory, containing the .pconf configuration file containing the passphrase, authkey, and secretkey, an empty .ptub (patch URL bundle) directory, and a .pshadow bundle containing a copy of the files in the current directory (including the aforementioned bundle and its contents). The .pinite template (created using an rsync patch file (rsync --write-batch=FILE (according to the rsync manpage dated “22 Jun 2014”)) when copying to the .pshadow bundle) will be uploaded to the Internet Archive, and a .pinitu file will be created in the .ptub directory, containing the URL of the uploaded template.
patche clone foo/bar passphrase authkey secretkey — Create a new repository in the current folder using the template from https://archive.org/download/foo/bar.pinite, the encryption passphrase “passphrase”, the authorization key “authkey”, and the secret key “secretkey”.
patche commit message — Uploads the changes since the last commit to the Internet Archive as a .patche file, with the optional commit message “message”. Adds a .pchu file with the URL of the .patche file to the .ptub directory.
patche patch foo/bar — Merge the patch at https://archive.org/download/foo/bar.patche into the repository in the current directory.