This commit is contained in:
parent
dad57b67c4
commit
db91f38f8f
1 changed files with 86 additions and 0 deletions
|
@ -0,0 +1,86 @@
|
|||
As per topic, `git annex forget --drop-dead --force` does not behave as expected. Instead of getting rid of dead repositories, it actually revives them.
|
||||
|
||||
I messed up the initial setup of the S3 special remote and instead of risking manual intervention, I figured it would be cleanest to nuke the old special remotes, using a new one instead.
|
||||
And yes, I should have used a test repo :(
|
||||
|
||||
As this is apu.debconf.org, you could get access to the repo if that helps.
|
||||
|
||||
|
||||
[[!format sh """
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % git annex info
|
||||
repository mode: indirect
|
||||
trusted repositories: 0
|
||||
semitrusted repositories: 4
|
||||
00000000-0000-0000-0000-000000000001 -- web
|
||||
070cff8a-6302-4aa7-a63c-3fdd34e598a2 -- amazon_s3_us_east--SHA512E
|
||||
0bae683f-bede-43dd-a815-c4f8fb6db32d -- aws_s3_us_east--SHA512E
|
||||
92e9fac9-97ec-401f-a421-33f6b4f43e47 -- here (apu.debconf.org/srv/video/conference_videos.annex)
|
||||
untrusted repositories: 0
|
||||
transfers in progress: none
|
||||
available local disk space: 136.3 gigabytes (+1 megabyte reserved)
|
||||
local annex keys: 4392
|
||||
local annex size: 884.64 gigabytes
|
||||
annexed files in working tree: 4628
|
||||
size of annexed files in working tree: 885.68 gigabytes
|
||||
bloom filter size: 16 mebibytes (0.9% full)
|
||||
backend usage:
|
||||
SHA512E: 9020
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % git annex dead 070cff8a-6302-4aa7-a63c-3fdd34e598a2
|
||||
dead 070cff8a-6302-4aa7-a63c-3fdd34e598a2 ok
|
||||
(Recording state in git...)
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % git annex dead 0bae683f-bede-43dd-a815-c4f8fb6db32d
|
||||
dead 0bae683f-bede-43dd-a815-c4f8fb6db32d ok
|
||||
(Recording state in git...)
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % git annex initremote amazon_aws_s3-us_east_1--SHA512E type=S3 encryption='none' embedcreds='no' fileprefix='SHA512E/' bucket='debian-video'
|
||||
initremote amazon_aws_s3-us_east_1--SHA512E (checking bucket...) git-annex: This bucket is already in use by a different S3 special remote, with UUID: 0bae683f-bede-43dd-a815-c4f8fb6db32d
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % git annex info
|
||||
repository mode: indirect
|
||||
trusted repositories: 0
|
||||
semitrusted repositories: 2
|
||||
00000000-0000-0000-0000-000000000001 -- web
|
||||
92e9fac9-97ec-401f-a421-33f6b4f43e47 -- here (apu.debconf.org/srv/video/conference_videos.annex)
|
||||
untrusted repositories: 0
|
||||
transfers in progress: none
|
||||
available local disk space: 136.3 gigabytes (+1 megabyte reserved)
|
||||
local annex keys: 4392
|
||||
local annex size: 884.64 gigabytes
|
||||
annexed files in working tree: 4628
|
||||
size of annexed files in working tree: 885.68 gigabytes
|
||||
bloom filter size: 16 mebibytes (0.9% full)
|
||||
backend usage:
|
||||
SHA512E: 9020
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % git annex forget --drop-dead --force
|
||||
forget git-annex (Recording state in git...)
|
||||
ok
|
||||
(Recording state in git...)
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % git annex info
|
||||
repository mode: indirect
|
||||
trusted repositories: 0
|
||||
semitrusted repositories: 4
|
||||
00000000-0000-0000-0000-000000000001 -- web
|
||||
070cff8a-6302-4aa7-a63c-3fdd34e598a2 -- amazon_s3_us_east--SHA512E
|
||||
0bae683f-bede-43dd-a815-c4f8fb6db32d -- aws_s3_us_east--SHA512E
|
||||
92e9fac9-97ec-401f-a421-33f6b4f43e47 -- here (apu.debconf.org/srv/video/conference_videos.annex)
|
||||
untrusted repositories: 0
|
||||
transfers in progress: none
|
||||
available local disk space: 136.3 gigabytes (+1 megabyte reserved)
|
||||
local annex keys: 4392
|
||||
local annex size: 884.64 gigabytes
|
||||
annexed files in working tree: 4628
|
||||
size of annexed files in working tree: 885.68 gigabytes
|
||||
bloom filter size: 16 mebibytes (0.9% full)
|
||||
backend usage:
|
||||
SHA512E: 9020
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % git annex version
|
||||
git-annex version: 5.20140117~bpo70+2
|
||||
build flags: Assistant Webapp Pairing S3 Inotify DBus XMPP Feeds Quvi TDFA
|
||||
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL
|
||||
remote types: git gcrypt S3 bup directory rsync web tahoe glacier hook external
|
||||
local repository version: 5
|
||||
supported repository version: 5
|
||||
upgrade supported from repository versions: 0 1 2 4
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net % cat /etc/issue
|
||||
Debian GNU/Linux 7 \n \l
|
||||
|
||||
richih@apu (git)-[master] /srv/video/video.debian.net %
|
||||
"""]]
|
Loading…
Reference in a new issue