Recent comments posted to this site:

comment 23 70dcb7e7ffdd14351adaf4c40ee7fdd0
[[!comment Error: unsupported page format hs]]
Thu Jul 19 17:53:59 2018
comment 3 e6ce9bb92c973350852c9498b7ffb50f
[[!comment Error: unsupported page format sh]]
Thu Jul 19 17:53:59 2018

rsync is still used for some things, the rsync special remote and communication with servers using older versions of git-annex.

Comment by joey Tue Jul 3 16:32:22 2018

It seems to me that you need to tell git-annex the publicurl to use to download files from this S3 remote. That's the url to the top of the S3 bucket. Run `git annex enableremote publics3 publicurl=...' and push, and it should then become available in every clone.

The documentation for publicurl says it's enabled by default when public=yes, but AFAICS it's never actually done that. And I'm not sure I want to hardcode those urls into git-annex. I've updated the documentation instead.

Comment by joey Mon Jul 2 16:18:37 2018

@liori, see copies for how git-annex assures safety when dropping content.

Comment by joey Mon Jul 2 16:08:27 2018
What does "safe" mean? Does drop just check if there are enough copies in other repositories in its local cache, does it contact remote repositories to check its own cache, or maybe even checks if the physical file in the remote repository has the right checksum?
Comment by https://launchpad.net/~liori Thu Jun 28 23:27:05 2018

Running

termux-fix-shebang git-annex.linux/bin/*

actually seems to have fixed my installation. runshell and webapp both execute now, with webapp bringing up the browser.

Comment by CandyAngel Tue Jun 26 10:38:21 2018

As I mentioned in Package request: git-annex · Issue #420 · termux/termux-packages just now, I also get:

% ./git-annex.linux/runshell
proot info: vpid 1: terminated with signal 11

Some further digging suggests that this is due to the architecture mismatch between my OnePlus 5T which is aarch64, and the linker which is 32-bit:

% PROOT_VERBOSE=9 ./git-annex.linux/runshell |& tail -n3
proot info: vpid 1: translate("/" + "/data/data/com.termux/files/home/git-annex.linux/lib/ld-linux.so.3")
proot info: vpid 1:          -> "/data/data/com.termux/files/home/git-annex.linux/lib/ld-linux.so.3"
proot info: vpid 1: terminated with signal 11
% file /data/data/com.termux/files/home/git-annex.linux/lib/ld-linux.so.3
/data/data/com.termux/files/home/git-annex.linux/lib/ld-linux.so.3: ELF 32-bit LSB pie executable ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=59819e8e8c922b822204d3778cd4d6c843422462, stripped
% termux-info
Updatable packages:
All packages up to date
System information:
Linux localhost 4.4.78-perf+ #1 SMP PREEMPT Wed Jun 13 17:23:58 CST 2018 aarch64 Android
Termux-packages arch:
aarch64
Android version:
8.1.0
Device manufacturer:
OnePlus
Device model:
ONEPLUS A5010
Comment by branchable Tue Jun 26 10:32:09 2018

I copied and pasted the instructions, here is my output:

https://pastebin.com/ZVJ7uSeU

Almoços for including my entire session, the relevant error is at the bottom.

I'm fairly certain this device has ARM64 arch.

Comment by bqone Mon Jun 25 15:57:13 2018

I'm setting up a repository using the following commands:

git annex init
export AWS_ACCESS_KEY_ID="[MY KEY]"
export AWS_SECRET_ACCESS_KEY="[MY SECRET]"
git annex initremote publics3 type=S3 encryption=none bucket=[BUCKET] exporttree=yes public=yes encryption=none
git annex export --tracking master --to publics3

I then add something and export it to s3 using:

git annex sync --content

I then go on to a different computer and clone the repository and run:

git annex init
git annex enableremote publics3
git annex get .

and receive this message:

# git annex get .
get IMG_2714.MOV (from publics3...) 
Set both AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to use S3

No S3 credentials configured

Unable to access these remotes: publics3

Try making some of these repositories available:
     6bc91baa-5250-41e2-8195-d3c1ef3c86e3 -- .
     7f84dcff-5a74-42b0-b422-5b74490e4aa7 -- [publics3]

 (Note that these git remotes have annex-ignore set: origin)

failed git-annex: get: 1 failed

It is my understanding that setting the remote to "public=yes" should allow me to download the files from the remote repository without entering the credentials again. Am I missing something?

Thanks!

Comment by jared Thu Jun 21 13:47:27 2018