Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
c22c07bbed
4 changed files with 64 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
|||
# Best way to extract git-annex object files (with correct names) in absence of git log?
|
||||
|
||||
**Issue**:
|
||||
|
||||
* any git log is missing, so restore not viable
|
||||
* annex directory is empty, i.e. no symlinks (.git/annex present, though)
|
||||
* annex A: .git/annex/transfer/download/failed contains files
|
||||
* annex B: .git/annex/objects contains files
|
||||
* git-annex fsck -A: checksums files present
|
||||
* git-annex fix: no change
|
||||
* git-annex sync [--content]: on B fetched objects, fails on A (iirc)
|
||||
* git-annex find: nothing
|
||||
* git-annex unused shows couple of files on annex A and B
|
||||
* git-annex addunused && git-annex unlock makes them available but filename is missing: "unused.SHA256E-[...].pdf"
|
||||
|
||||
**Question**: any chance of restoring those files with their correct names?
|
||||
|
||||
Thanks i.a. for any recommendations.
|
27
doc/forum/Updating_a_podcast_episode_checksum.mdwn
Normal file
27
doc/forum/Updating_a_podcast_episode_checksum.mdwn
Normal file
|
@ -0,0 +1,27 @@
|
|||
I've been experimenting with `git-annex` as a podcatcher and really loving it so far. I've just hit one small snag I'm unclear on how best to resolve.
|
||||
|
||||
I initially added a feed with a command like the following
|
||||
|
||||
```
|
||||
git annex importfeed --fast --template='example-podcast/${itempubdate}-${itemtitle}${extension}' https://example.org/example.rss
|
||||
git annex get example-podcast/*
|
||||
```
|
||||
|
||||
This downloaded nearly all of the episodes of the podcast. Several episodes, however, failed with errors like the following:
|
||||
|
||||
```
|
||||
get 2020_03_12-The_Covenanters.mp3 (from web...)
|
||||
|
||||
verification of content failed
|
||||
|
||||
Unable to access these remotes: web
|
||||
|
||||
Try making some of these repositories available:
|
||||
00000000-0000-0000-0000-000000000001 -- web
|
||||
failed
|
||||
git-annex: get: 1 failed
|
||||
```
|
||||
|
||||
Based on [this thread](https://git-annex.branchable.com/forum/Simple_question_about_web_remote/) I gather that the problem is that one file size was returned when I ran `importfeed` and another was returned on the subsequent `get`. What I'd like to download all of the episodes that failed to download (i.e. all of those that are not present in the annex right now) and update their checksums to match the file size currently returned by their respective URLs.
|
||||
|
||||
I would prefer not to switch to a URL backend, because as I understand it this would mean that at some time in the future the file could be updated on the webserver and my local copy could be overwritten. For that reason, I would like to update the checksums for all podcast episodes this one time, so I can finish downloading the series and be assured that these versions of the episodes will be preserved.
|
11
doc/forum/get_fails.mdwn
Normal file
11
doc/forum/get_fails.mdwn
Normal file
|
@ -0,0 +1,11 @@
|
|||
Running
|
||||
|
||||
```git annex get . --from=remote```
|
||||
|
||||
on a repository fails for particular annexed files despite the files being in the remote.
|
||||
|
||||
I tried running `git annex fsck` in the repository but that did not seem to help.
|
||||
|
||||
Any idea what the issue could be?
|
||||
|
||||
Thanks
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="Ilya_Shlyakhter"
|
||||
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
|
||||
subject="comment 1"
|
||||
date="2020-04-13T00:53:59Z"
|
||||
content="""
|
||||
Running with `--verbose --debug` might give more info on the cause.
|
||||
"""]]
|
Loading…
Reference in a new issue