From 874dd3febfe9041a43a029e63f4d378f72cab82d Mon Sep 17 00:00:00 2001 From: duncan_bayne Date: Sun, 12 Aug 2018 06:17:56 +0000 Subject: [PATCH 1/8] --- ...t-annex_can__39__t_compile_on_FreeBSD.mdwn | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn diff --git a/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn b/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn new file mode 100644 index 0000000000..7fe915359b --- /dev/null +++ b/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn @@ -0,0 +1,35 @@ +### Please describe the problem. + +git-annex can't compile on FreeBSD; specifically, the build fails while satisfying dependencies. + +### What steps will reproduce the problem? + +1. git clone git://git-annex.branchable.com/ git-annex +2. cd git-annex +3. cabal install -j -f-assistant -webapp -webdav -pairing -xmpp -dns -dbus -magicmime --only-dependencies + +### What version of git-annex are you using? On what operating system? + +git-annex HEAD. +FreeBSD 11.1-RELEASE r321309 GENERIC amd64 + +### Please provide any additional information below. + +The full log is available at https://gitlab.com/snippets/1743708. Summary below: + +[[!format sh """ +cabal: Error: some packages failed to install: +esqueleto-2.5.3-J2ccnERt7unG9UdXfc7jAa depends on esqueleto-2.5.3 which failed +to install. +persistent-2.7.0-IWtmEvQAI3yHscMZvQrE6P failed during the building phase. The +exception was: +ExitFailure 1 +persistent-sqlite-2.6.4-3aF88LYjPwqbsHGVQ1VUp depends on +persistent-sqlite-2.6.4 which failed to install. +persistent-template-2.5.4-2tn9hCQqx2e2mAPIKgHBFO depends on +persistent-template-2.5.4 which failed to install. +"""]] + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + +No, I'm afraid. But it looks really good! I'm trying to use it to add a bunch of high-res images to my Jeykll website, all managed through Git, with the images stored in S3. From b5910dac687e320235f5c0b6f939b046f2ac9bb0 Mon Sep 17 00:00:00 2001 From: duncan_bayne Date: Sun, 12 Aug 2018 06:18:36 +0000 Subject: [PATCH 2/8] --- doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn b/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn index 7fe915359b..949ab8745c 100644 --- a/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn +++ b/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn @@ -15,7 +15,7 @@ FreeBSD 11.1-RELEASE r321309 GENERIC amd64 ### Please provide any additional information below. -The full log is available at https://gitlab.com/snippets/1743708. Summary below: +The full log is available at [https://gitlab.com/snippets/1743708](https://gitlab.com/snippets/1743708). Summary below: [[!format sh """ cabal: Error: some packages failed to install: From 6ce59ccfe51a67f70005daa5df4e23606b9b4701 Mon Sep 17 00:00:00 2001 From: duncan_bayne Date: Sun, 12 Aug 2018 06:19:36 +0000 Subject: [PATCH 3/8] --- ...t-annex_can__39__t_compile_on_FreeBSD.mdwn | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn b/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn index 949ab8745c..d8e9fd8f63 100644 --- a/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn +++ b/doc/bugs/git-annex_can__39__t_compile_on_FreeBSD.mdwn @@ -11,24 +11,20 @@ git-annex can't compile on FreeBSD; specifically, the build fails while satisfyi ### What version of git-annex are you using? On what operating system? git-annex HEAD. + FreeBSD 11.1-RELEASE r321309 GENERIC amd64 ### Please provide any additional information below. The full log is available at [https://gitlab.com/snippets/1743708](https://gitlab.com/snippets/1743708). Summary below: -[[!format sh """ -cabal: Error: some packages failed to install: -esqueleto-2.5.3-J2ccnERt7unG9UdXfc7jAa depends on esqueleto-2.5.3 which failed -to install. -persistent-2.7.0-IWtmEvQAI3yHscMZvQrE6P failed during the building phase. The -exception was: -ExitFailure 1 -persistent-sqlite-2.6.4-3aF88LYjPwqbsHGVQ1VUp depends on -persistent-sqlite-2.6.4 which failed to install. -persistent-template-2.5.4-2tn9hCQqx2e2mAPIKgHBFO depends on -persistent-template-2.5.4 which failed to install. -"""]] + cabal: Error: some packages failed to install: + esqueleto-2.5.3-J2ccnERt7unG9UdXfc7jAa depends on esqueleto-2.5.3 which failed to install. + persistent-2.7.0-IWtmEvQAI3yHscMZvQrE6P failed during the building phase. The exception was: ExitFailure 1 + persistent-sqlite-2.6.4-3aF88LYjPwqbsHGVQ1VUp depends on + persistent-sqlite-2.6.4 which failed to install. + persistent-template-2.5.4-2tn9hCQqx2e2mAPIKgHBFO depends on + persistent-template-2.5.4 which failed to install. ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) From 3e8eadade479e814d6ebdb4d0a962acd2fcfe382 Mon Sep 17 00:00:00 2001 From: Mara Date: Mon, 13 Aug 2018 10:46:08 +0000 Subject: [PATCH 4/8] --- doc/forum/Change_or_add_S3_credentials.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/forum/Change_or_add_S3_credentials.mdwn diff --git a/doc/forum/Change_or_add_S3_credentials.mdwn b/doc/forum/Change_or_add_S3_credentials.mdwn new file mode 100644 index 0000000000..736f9e4e1b --- /dev/null +++ b/doc/forum/Change_or_add_S3_credentials.mdwn @@ -0,0 +1,6 @@ +How do I change or add S3 credentials, when a S3 special remote is already initialised/enabled? + +I have a repository with a `public=yes` S3 remote, such that people can read the data without credentials. +But then when they need to upload files, how do they add their credentials? + +Setting the `AWS_*` environment variables when running `git annex copy --to=s3` works, but then the credentials are not stored. From a2bb955467b3232d545d5b48a4d79d7926ac7711 Mon Sep 17 00:00:00 2001 From: Mara Date: Mon, 13 Aug 2018 12:28:10 +0000 Subject: [PATCH 5/8] Added a comment: Also with embedcreds=yes --- ...comment_1_864932114dcc7aaf1d88edb0673f1d86._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Change_or_add_S3_credentials/comment_1_864932114dcc7aaf1d88edb0673f1d86._comment diff --git a/doc/forum/Change_or_add_S3_credentials/comment_1_864932114dcc7aaf1d88edb0673f1d86._comment b/doc/forum/Change_or_add_S3_credentials/comment_1_864932114dcc7aaf1d88edb0673f1d86._comment new file mode 100644 index 0000000000..bd9f92c8ad --- /dev/null +++ b/doc/forum/Change_or_add_S3_credentials/comment_1_864932114dcc7aaf1d88edb0673f1d86._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="Mara" + avatar="http://cdn.libravatar.org/avatar/9b8abe5a5b0a41b88fc9970a88c2e317" + subject="Also with embedcreds=yes" + date="2018-08-13T12:28:09Z" + content=""" +Also with `public=no` but `embedcreds=yes`. + +It can be useful to embed read-only credentials, but allow users to easily add/store their own credentials (locally) with write-access. +"""]] From 3829f2de169a12f6fc526fe3de4b17a634e40734 Mon Sep 17 00:00:00 2001 From: webanck Date: Mon, 13 Aug 2018 14:11:48 +0000 Subject: [PATCH 6/8] Added a comment: Similar issue again --- ...ment_4_854add3cc6b737b752c16269e1e06f45._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_854add3cc6b737b752c16269e1e06f45._comment diff --git a/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_854add3cc6b737b752c16269e1e06f45._comment b/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_854add3cc6b737b752c16269e1e06f45._comment new file mode 100644 index 0000000000..f81ed5ef22 --- /dev/null +++ b/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_854add3cc6b737b752c16269e1e06f45._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="webanck" + avatar="http://cdn.libravatar.org/avatar/cd273f76ef8c4218510b4f50ef7e1f3d" + subject="Similar issue again" + date="2018-08-13T14:11:48Z" + content=""" +This issue with sqlite keeps following me! +I randomly get errors while trying to lock files: +```sqlite worker thread crashed: SQLite3 returned ErrorIO while attempting to perform prepare \"SELECT null from content limit 1\": disk I/O error``` + +Should I worry about the state of my hard drive? +And I don't know if it is intended, but when this happens, the process doesn't stop with a failure code, it just freezes. +"""]] From 55d7660576b0053eb299020cf6afb1b63b7984fe Mon Sep 17 00:00:00 2001 From: webanck Date: Mon, 13 Aug 2018 14:16:09 +0000 Subject: [PATCH 7/8] removed --- ...ment_4_854add3cc6b737b752c16269e1e06f45._comment | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_854add3cc6b737b752c16269e1e06f45._comment diff --git a/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_854add3cc6b737b752c16269e1e06f45._comment b/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_854add3cc6b737b752c16269e1e06f45._comment deleted file mode 100644 index f81ed5ef22..0000000000 --- a/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_854add3cc6b737b752c16269e1e06f45._comment +++ /dev/null @@ -1,13 +0,0 @@ -[[!comment format=mdwn - username="webanck" - avatar="http://cdn.libravatar.org/avatar/cd273f76ef8c4218510b4f50ef7e1f3d" - subject="Similar issue again" - date="2018-08-13T14:11:48Z" - content=""" -This issue with sqlite keeps following me! -I randomly get errors while trying to lock files: -```sqlite worker thread crashed: SQLite3 returned ErrorIO while attempting to perform prepare \"SELECT null from content limit 1\": disk I/O error``` - -Should I worry about the state of my hard drive? -And I don't know if it is intended, but when this happens, the process doesn't stop with a failure code, it just freezes. -"""]] From cd62ab20a30bce8f5fdd6922625bbdf9976b8dac Mon Sep 17 00:00:00 2001 From: webanck Date: Mon, 13 Aug 2018 14:18:17 +0000 Subject: [PATCH 8/8] Added a comment: Similar issue again --- ...mment_4_3f44cf6a9251f664cd0e00d168232696._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_3f44cf6a9251f664cd0e00d168232696._comment diff --git a/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_3f44cf6a9251f664cd0e00d168232696._comment b/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_3f44cf6a9251f664cd0e00d168232696._comment new file mode 100644 index 0000000000..7c5d61e968 --- /dev/null +++ b/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_4_3f44cf6a9251f664cd0e00d168232696._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="webanck" + avatar="http://cdn.libravatar.org/avatar/cd273f76ef8c4218510b4f50ef7e1f3d" + subject="Similar issue again" + date="2018-08-13T14:18:17Z" + content=""" +Hello, it has been a while since I posted here about this issue with sqlite but it keeps following me! I randomly get errors while trying to lock files: +```sqlite worker thread crashed: SQLite3 returned ErrorIO while attempting to perform prepare \"SELECT null from content limit 1\": disk I/O error``` + +Should I worry about the state of my hard drive? And I don't know if it is intended, but when this happens, the process doesn't stop with a failure code, it just freezes. +I checked with top, and git-annex seems to continue doing stuff as it is still using a full core. +"""]]