From 196599c1202b57ae81a5db8ab2acbb3226942dc4 Mon Sep 17 00:00:00 2001 From: "ybnd@c7eb8e2b23076d68c3e16230e1d7887d8af6c4f1" Date: Wed, 29 Jan 2020 16:52:22 +0000 Subject: [PATCH 1/5] Fix double ` around `Annex` --- doc/contribute.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/contribute.mdwn b/doc/contribute.mdwn index 6441f497d0..1a31a3e533 100644 --- a/doc/contribute.mdwn +++ b/doc/contribute.mdwn @@ -69,6 +69,6 @@ As Haskell programs go, git-annex does not use too many advanced features. [Learn You A Haskell](http://learnyouahaskell.com/) will teach you enough to get started. -Of course git-annex does use monads, and particularly the `Annex``monad +Of course git-annex does use monads, and particularly the `Annex` monad which gives access to its state about the git repository as well as lower-level IO. From 9be407d49aa0e30fa41aa3ba18154dbf5d86dbaf Mon Sep 17 00:00:00 2001 From: Ilya_Shlyakhter Date: Wed, 29 Jan 2020 17:48:43 +0000 Subject: [PATCH 2/5] Added a comment: use case to record chunked state --- ...mment_2_42e9309fff6a71c1a0a625dd2bc6aae2._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/todo/setpresentkey_option_to_record_chunked_state/comment_2_42e9309fff6a71c1a0a625dd2bc6aae2._comment diff --git a/doc/todo/setpresentkey_option_to_record_chunked_state/comment_2_42e9309fff6a71c1a0a625dd2bc6aae2._comment b/doc/todo/setpresentkey_option_to_record_chunked_state/comment_2_42e9309fff6a71c1a0a625dd2bc6aae2._comment new file mode 100644 index 0000000000..c53025642f --- /dev/null +++ b/doc/todo/setpresentkey_option_to_record_chunked_state/comment_2_42e9309fff6a71c1a0a625dd2bc6aae2._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="Ilya_Shlyakhter" + avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0" + subject="use case to record chunked state" + date="2020-01-29T17:48:40Z" + content=""" +\"What is the use case?\" -- to register with git-annex the presence of a file in a remote, that is already split into chunks, without downloading the file. +\"I would rather not complicate setpresentkey with things not related to presence information\" -- makes sense. +\"you may as well just write data to the branch yourself\" -- yes; just wasn't sure if that might break some invariant, e.g. between the branch and the SQL databases derived from it. + +Don't worry about this todo, I'll figure it out. +"""]] From e50b2298d36e7261c096ac668bbc7417cc89849a Mon Sep 17 00:00:00 2001 From: "joon.ch@e354453395d8e8c33990f849b7290777ce693984" Date: Wed, 29 Jan 2020 18:43:02 +0000 Subject: [PATCH 3/5] --- doc/bugs/brew_install_git-annex_failed.mdwn | 49 +++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 doc/bugs/brew_install_git-annex_failed.mdwn diff --git a/doc/bugs/brew_install_git-annex_failed.mdwn b/doc/bugs/brew_install_git-annex_failed.mdwn new file mode 100644 index 0000000000..48718b010b --- /dev/null +++ b/doc/bugs/brew_install_git-annex_failed.mdwn @@ -0,0 +1,49 @@ +### Please describe the problem. + +brew install git-annex failed. + +### What steps will reproduce the problem? + + +### What version of git-annex are you using? On what operating system? +Mac OS X 10.11 El Capitan + +### Please provide any additional information below. + +[[!format sh """ +95b3d57ce7--git-annex-7.20191230.tar.gz +==> cabal v1-sandbox init +==> cabal v1-update +==> cabal v1-install --jobs=4 --max-backjumps=100000 alex +==> cabal v1-install --jobs=4 --max-backjumps=100000 happy +==> cabal v1-install --jobs=4 --max-backjumps=100000 c2hs +==> cabal v1-install --jobs=4 --max-backjumps=100000 --only-dependencies --constraint http-conduit>=2.3 --constraint net +==> cabal v1-configure --flags=s3 webapp +==> cabal v1-install --jobs=4 --max-backjumps=100000 --prefix=/usr/local/Cellar/git-annex/7.20191230 --constraint http-c +Last 15 lines from /Users/choi/Library/Logs/Homebrew/git-annex/08.cabal: +StandaloneDeriving + +Please enable the extensions by copy/pasting these lines into the top of your file: + +{-# LANGUAGE DerivingStrategies #-} +{-# LANGUAGE StandaloneDeriving #-} + | +31 | share [mkPersist sqlSettings, mkMigrate "migrateKeysDb"] [persistLowerCase| + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... +cabal: Leaving directory '.' +cabal: Error: some packages failed to install: +git-annex-7.20191230-JGm7b2Gk5I8w0hi2BDCiw failed during the building phase. +The exception was: +ExitFailure 1 + + +Do not report this issue to Homebrew/brew or Homebrew/core! + +These open issues may also help: +git-annex-remote-rclone 0.6 (new formula) https://github.com/Homebrew/homebrew-core/pull/49468 +git-annex: add OBJC_DISABLE_INITIALIZE_FORK_SAFETY environment variable https://github.com/Homebrew/homebrew-core/pull/48411 +"""]] + +### 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 cec1db336ec84c39cbc8de5645c6695362b3a551 Mon Sep 17 00:00:00 2001 From: "breck7@4bbace32c18ebb98fc730d56c6ed76b7bcc0798e" Date: Thu, 30 Jan 2020 15:15:27 +0000 Subject: [PATCH 4/5] Added a comment: Thank you --- .../comment_7_f56f1ffeb5e1f382d3227b4ace7f84a1._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/tips/Repositories_with_large_number_of_files/comment_7_f56f1ffeb5e1f382d3227b4ace7f84a1._comment diff --git a/doc/tips/Repositories_with_large_number_of_files/comment_7_f56f1ffeb5e1f382d3227b4ace7f84a1._comment b/doc/tips/Repositories_with_large_number_of_files/comment_7_f56f1ffeb5e1f382d3227b4ace7f84a1._comment new file mode 100644 index 0000000000..56a7373957 --- /dev/null +++ b/doc/tips/Repositories_with_large_number_of_files/comment_7_f56f1ffeb5e1f382d3227b4ace7f84a1._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="breck7@4bbace32c18ebb98fc730d56c6ed76b7bcc0798e" + nickname="breck7" + avatar="http://cdn.libravatar.org/avatar/96a1ef57fee8349bd6f92faf153f9ec3" + subject="Thank you" + date="2020-01-30T15:15:24Z" + content=""" +I just ran into related git scaling issues while trying to make a repo in a folder with 6.5 million files. [Writeup](https://breckyunits.com/building-a-treebase-with-6-point-5-million-files.html). I did things the naive/wrong way on purpose, but now I'm curious if I could actually get this work fast, and your pointers are a good help. Thanks! +"""]] From d876c7e0cd53bcb21a91ddf2f226801443553a09 Mon Sep 17 00:00:00 2001 From: Ilya_Shlyakhter Date: Thu, 30 Jan 2020 15:52:53 +0000 Subject: [PATCH 5/5] added a hyperlink from scalability page to scalability tips page --- doc/scalability.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/scalability.mdwn b/doc/scalability.mdwn index cdc148e2f8..fd33fdf273 100644 --- a/doc/scalability.mdwn +++ b/doc/scalability.mdwn @@ -37,3 +37,5 @@ git-annex is designed for scalability. The key points are: becomes increasingly expensive. Consider adjusting the `annex.queuesize` to a higher value, at the expense of it using more memory. +* See also: [[tips/Repositories_with_large_number_of_files]] +