{"id":20850427,"url":"https://github.com/noteed/try-bup","last_synced_at":"2026-04-26T14:31:17.092Z","repository":{"id":16949762,"uuid":"19711926","full_name":"noteed/try-bup","owner":"noteed","description":"Docker image to play with Bup","archived":false,"fork":false,"pushed_at":"2015-10-20T22:25:11.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T06:11:31.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noteed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-12T19:19:29.000Z","updated_at":"2015-10-20T22:25:12.000Z","dependencies_parsed_at":"2022-09-08T01:51:09.867Z","dependency_job_id":null,"html_url":"https://github.com/noteed/try-bup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noteed%2Ftry-bup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noteed%2Ftry-bup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noteed%2Ftry-bup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noteed%2Ftry-bup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noteed","download_url":"https://codeload.github.com/noteed/try-bup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243216087,"owners_count":20255313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T03:09:28.733Z","updated_at":"2025-12-25T14:32:37.465Z","avatar_url":"https://github.com/noteed.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exploring Bup\n\nThis is a Docker image to play with [Bup](https://github.com/bup/bup). The idea\nis to\n\n    \u003e make run\n\nin this repository to see how Bup compares to Git. See `RUN.md` for the output.\n\nThere also notes about Git.\n\n## Notes\n\nThe command\n\n    \u003e echo hello | git hash-object --stdin -w\n    ce013625030ba8dba906f756967f9e9ca394464a\n\ncreates the file (and nothing else) in the git object store:\n\n    .git/objects/ce/013625030ba8dba906f756967f9e9ca394464a\n\nThe result of these two commands is the same:\n\n    \u003e cat .git/objects/ce/013625030ba8dba906f756967f9e9ca394464a | openssl zlib -d\n    # Or, if your version of openssl doesn't have a zlib subcommand:\n    \u003e cat .git/objects/ce/013625030ba8dba906f756967f9e9ca394464a | zlib-flate -uncompress\n    \u003e printf 'blob 6\\x00hello\\n'\n\nThus `git hash-object -w` can be replaced by\n\n    \u003e printf 'blob 6\\x00hello\\n' | sha1sum\n    ce013625030ba8dba906f756967f9e9ca394464a\n    # Not exactly...\n    \u003e printf 'blob 6\\x00hello\\n' | openssl zlib \u003e .git/objects/ce/013625030ba8dba906f756967f9e9ca394464a\n\nbut (using the original object):\n\n    \u003e cat .git/objects/ce/013625030ba8dba906f756967f9e9ca394464a | openssl zlib -d | openssl zlib \u003e a\n    \u003e printf 'blob 6\\x00hello\\n' | openssl zlib \u003e b\n    \u003e diff a b\n\n    \u003e cat .git/objects/ce/013625030ba8dba906f756967f9e9ca394464a \u003e a\n    \u003e diff a b\n    Binary files a and b differ\n\nand\n\n    \u003e file a\n    a: VAX COFF executable not stripped\n    \u003e file b\n    b: data\n\nThe reason is that it seems Git and `openssl zlib` don't use the same\ncompression level (hence the two-byte headers are different).\n\n    \u003e printf 'blob 6\\x00hello\\n' | zlib-flate -compress \u003e a\n    \u003e hexdump a\n    0000000 9c78 ca4b 4fc9 3052 c863 cd48 c9c9 02e7\n    0000010 1d00 04c5 0014\n    0000015\n    \u003e hexdump .git/objects/ce/013625030ba8dba906f756967f9e9ca394464a\n    0000000 0178 ca4b 4fc9 3052 c863 cd48 c9c9 02e7\n    0000010 1d00 04c5 0014\n    0000015\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoteed%2Ftry-bup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoteed%2Ftry-bup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoteed%2Ftry-bup/lists"}