Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
4a12831d7c
10 changed files with 114 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="Ilya_Shlyakhter"
|
||||
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
|
||||
subject="clarifying preferred content expressions"
|
||||
date="2021-05-30T19:40:50Z"
|
||||
content="""
|
||||
Thanks Joey for clarifying. \"Preferred content only relates to the currently checked out branch\" -- what about repos with no \"currently checked out branch\", e.g. bare repos or special remotes, or those with more than one checked out branch (using [[git-worktree|tips/Using_git-worktree_with_annex]])? I had thought that e.g. setting the required content setting of an S3 special remote to `anything` would ensure that it gets a copy of every file ever annexed, but sounds like that might not be true.
|
||||
"""]]
|
1
doc/forum/browse_files_on_server.mdwn
Normal file
1
doc/forum/browse_files_on_server.mdwn
Normal file
|
@ -0,0 +1 @@
|
|||
Hi. I have a local repository on my computer and a transfer repository on my server. When I ssh into the server, I see the git repo, but none of the files. Is there a way to browse my files in the transfer repository?
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="Lukey"
|
||||
avatar="http://cdn.libravatar.org/avatar/c7c08e2efd29c692cc017c4a4ca3406b"
|
||||
subject="comment 1"
|
||||
date="2021-05-29T13:40:04Z"
|
||||
content="""
|
||||
You have to run `git annex sync` on the server too.
|
||||
"""]]
|
|
@ -0,0 +1,15 @@
|
|||
[[!comment format=mdwn
|
||||
username="frodo"
|
||||
avatar="http://cdn.libravatar.org/avatar/a647438d8bd49248b7e2cfe0ce3ecd4e"
|
||||
subject="comment 2"
|
||||
date="2021-05-29T13:51:50Z"
|
||||
content="""
|
||||
I tried running that, and got the following output:
|
||||
|
||||
% git annex sync
|
||||
commit
|
||||
fatal: this operation must be run in a work tree
|
||||
ok
|
||||
|
||||
I can see through the web interface that the clients have uploaded the files to the server. I just can't browse them.
|
||||
"""]]
|
|
@ -0,0 +1,14 @@
|
|||
[[!comment format=mdwn
|
||||
username="Lukey"
|
||||
avatar="http://cdn.libravatar.org/avatar/c7c08e2efd29c692cc017c4a4ca3406b"
|
||||
subject="comment 3"
|
||||
date="2021-05-29T17:22:40Z"
|
||||
content="""
|
||||
Then you have a bare git repo. You can convert it to a normal one like this:
|
||||
|
||||
mkdir bla
|
||||
mv bla.git bla/.git
|
||||
cd bla
|
||||
git config core.bare false
|
||||
git checkout master
|
||||
"""]]
|
33
doc/forum/git-annex_s3_failure.mdwn
Normal file
33
doc/forum/git-annex_s3_failure.mdwn
Normal file
|
@ -0,0 +1,33 @@
|
|||
Hello,
|
||||
|
||||
I have a repository that is set up to upload files to S3.
|
||||
|
||||
I am testing the idea of fetching files by doing the following
|
||||
|
||||
```
|
||||
mkdir tmp
|
||||
|
||||
cd tmp
|
||||
|
||||
git clone git@github.com:MyUserName/MyRepo.git
|
||||
|
||||
git annex enableremote mys3
|
||||
|
||||
git annex get .
|
||||
|
||||
```
|
||||
|
||||
I get error messages such as:
|
||||
|
||||
```
|
||||
get files/a-tutorial-on-the-universality-and-expressiveness-of-fold.pdf (not available)
|
||||
Maybe add some of these git remotes (git remote add ...):
|
||||
942f7e73-262b-4850-8a2b-ccb7c0e5666d -- <ommitted>
|
||||
|
||||
(Note that these git remotes have annex-ignore set: origin)
|
||||
failed
|
||||
```
|
||||
|
||||
This happens even though the S3 environmental variables are properly set.
|
||||
|
||||
Thank you for your help! This program seems awesome - I just need to figure out how to use it.
|
|
@ -0,0 +1,16 @@
|
|||
[[!comment format=mdwn
|
||||
username="Steven"
|
||||
avatar="http://cdn.libravatar.org/avatar/bc0cef8062401f1b84db320cb56c28bd"
|
||||
subject="Using the --content flag"
|
||||
date="2021-05-29T00:14:30Z"
|
||||
content="""
|
||||
It seems like I had to use the following command:
|
||||
|
||||
```
|
||||
git annex sync --content
|
||||
```
|
||||
|
||||
After this, I saw all the files available.
|
||||
|
||||
I expected `git annex get .` to do that, but I might simply have the wrong mental model of all of this.
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="Lukey"
|
||||
avatar="http://cdn.libravatar.org/avatar/c7c08e2efd29c692cc017c4a4ca3406b"
|
||||
subject="comment 2"
|
||||
date="2021-05-29T12:40:56Z"
|
||||
content="""
|
||||
It could be that you have files that are not actually present in the mys3 remote. `git annex sync --content` only gets files that are present in connected repos, so it doesn't report a error if it can't get a particular file. `git annex get .` want's to actually get all files and reports errors for the files it can't get.
|
||||
"""]]
|
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="Steven"
|
||||
avatar="http://cdn.libravatar.org/avatar/bc0cef8062401f1b84db320cb56c28bd"
|
||||
subject="comment 3"
|
||||
date="2021-05-29T14:06:25Z"
|
||||
content="""
|
||||
Interesting explanation. I am not sure what files it was trying to get that were not on s3. Everything I have done is with an eye towards having all of the files in s3, but it is always possible I got something wrong.
|
||||
|
||||
Thank you.
|
||||
"""]]
|
1
doc/forum/slow_ikiwiki_server__63__.mdwn
Normal file
1
doc/forum/slow_ikiwiki_server__63__.mdwn
Normal file
|
@ -0,0 +1 @@
|
|||
The ikiwiki server hosting this forum seems to take much longer to finish posting a message/comment than it used to. Not a big deal, but wondering if anyone else has noticed this?
|
Loading…
Add table
Add a link
Reference in a new issue