summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2019-11-12 14:14:54 -0400
committerJoey Hess <joeyh@joeyh.name>2019-11-12 14:14:54 -0400
commit48748acc8779769958801b2e6c800d063bb020e4 (patch)
tree3875ab9deacc5cac8d49d68377d5bd0fbf0b9c6e
parent890330f0fe15ad81e3a1ad2ff92d6b8e51027e40 (diff)
parentb68d19238e48d6d59d28f0ad7cde1e6b1a6585d6 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r--doc/bugs/cygwin.mdwn406
-rw-r--r--doc/security/comment_3_0cc44e032fc94f4d374fb297ca9a8f2d._comment12
2 files changed, 418 insertions, 0 deletions
diff --git a/doc/bugs/cygwin.mdwn b/doc/bugs/cygwin.mdwn
new file mode 100644
index 0000000000..4d0bf07a62
--- /dev/null
+++ b/doc/bugs/cygwin.mdwn
@@ -0,0 +1,406 @@
+Cygwin do not work with git-annex windows installed version
+
+
+### What steps will reproduce the problem?
+* Install git-annex windows version
+* Try run git annex test under cygwin, and got 65 test failed out of 101.
+* Try run git annex test under git bash windows and got 101 test passed.
+* NOTE: git-lfs windows installed version working fine under cygwin and git bash windows.
+
+
+### What version of git-annex are you using? On what operating system?
+git-annex version: 7.20191106-ge486fd5e0
+build flags: Assistant Webapp Pairing S3 WebDAV TorrentParser Feeds Testsuite
+dependency versions: aws-0.21.1 bloomfilter-2.0.1.0 cryptonite-0.25 DAV-1.3.3 feed-1.0.1.0 ghc-8.6.5 http-client-0.5.14 persistent-sqlite-2.9.3 torrent-10000.1.1 uuid-1.3.13 yesod-1.6.0
+key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2BP512E BLAKE2BP512 BLAKE2S256E BLAKE2S256 BLAKE2S160E BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL
+remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs hook external
+operating system: mingw32 x86_64
+supported repository versions: 7
+upgrade supported from repository versions: 2 3 4 5 6
+
+### Please provide any additional information below.
+
+[[!format sh """
+# If you can, paste a complete transcript of the problem occurring here.
+# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
+Cygwin ~/git..t_tools/wget/cache (test)
+(506)$ git-annex test
+Tests
+ QuickCheck
+ prop_encode_decode_roundtrip: OK (0.04s)
+ +++ OK, passed 1000 tests.
+ prop_encode_c_decode_c_roundtrip: OK (0.03s)
+ +++ OK, passed 1000 tests.
+ prop_isomorphic_key_encode: OK
+ +++ OK, passed 1000 tests.
+ prop_isomorphic_shellEscape: OK (0.02s)
+ +++ OK, passed 1000 tests.
+ prop_isomorphic_shellEscape_multiword: OK (0.70s)
+ +++ OK, passed 1000 tests.
+ prop_isomorphic_configEscape: OK (0.02s)
+ +++ OK, passed 1000 tests.
+ prop_parse_show_Config: OK (0.04s)
+ +++ OK, passed 1000 tests.
+ prop_upFrom_basics: OK (0.02s)
+ +++ OK, passed 1000 tests.
+ prop_relPathDirToFile_basics: OK (0.03s)
+ +++ OK, passed 1000 tests.
+ prop_relPathDirToFile_regressionTest: OK
+ +++ OK, passed 1 test.
+ prop_cost_sane: OK
+ +++ OK, passed 1 test.
+ prop_matcher_sane: OK
+ +++ OK, passed 1 test.
+ prop_HmacSha1WithCipher_sane: OK
+ +++ OK, passed 1 test.
+ prop_VectorClock_sane: OK
+ +++ OK, passed 1 test.
+ prop_addMapLog_sane: OK
+ +++ OK, passed 1 test.
+ prop_verifiable_sane: OK (0.07s)
+ +++ OK, passed 1000 tests.
+ prop_segment_regressionTest: OK
+ +++ OK, passed 1 test.
+ prop_read_write_transferinfo: OK (0.04s)
+ +++ OK, passed 1000 tests.
+ prop_read_show_inodecache: OK (0.02s)
+ +++ OK, passed 1000 tests.
+ prop_parse_build_presence_log: OK (1.27s)
+ +++ OK, passed 1000 tests.
+ prop_parse_build_contentidentifier_log: OK (1.23s)
+ +++ OK, passed 1000 tests.
+ prop_read_show_TrustLevel: OK
+ +++ OK, passed 1 test.
+ prop_parse_build_TrustLevelLog: OK
+ +++ OK, passed 1 test.
+ prop_hashes_stable: OK
+ +++ OK, passed 1 test.
+ prop_mac_stable: OK
+ +++ OK, passed 1 test.
+ prop_schedule_roundtrips: OK (0.01s)
+ +++ OK, passed 1000 tests.
+ prop_past_sane: OK
+ +++ OK, passed 1 test.
+ prop_duration_roundtrips: OK
+ +++ OK, passed 1000 tests.
+ prop_metadata_sane: OK (0.86s)
+ +++ OK, passed 1000 tests.
+ prop_metadata_serialize: OK (0.84s)
+ +++ OK, passed 1000 tests.
+ prop_branchView_legal: OK (0.77s)
+ +++ OK, passed 1000 tests.
+ prop_viewPath_roundtrips: OK (0.03s)
+ +++ OK, passed 1000 tests.
+ prop_view_roundtrips: OK (0.52s)
+ +++ OK, passed 1000 tests.
+ prop_viewedFile_rountrips: OK (0.02s)
+ +++ OK, passed 1000 tests.
+ prop_b64_roundtrips: OK
+ +++ OK, passed 1000 tests.
+ prop_standardGroups_parse: OK
+ +++ OK, passed 1 test.
+ Unit Tests v7 adjusted unlocked branch
+ add dup: Init Tests
+ init: init test repo
+ Detected a filesystem without fifo support.
+
+ Disabling ssh connection caching.
+
+ Detected a crippled filesystem.
+
+ Disabling core.symlinks.
+(scanning for unlocked files...)
+
+ Entering an adjusted branch where files are unlocked as this filesystem does not support locked files.
+ not found .
+git-annex.exe: pre-commit: 1 failed
+
+ Failed to enter adjusted branch!
+ok
+(recording state in git...)
+ not found .
+git-annex.exe: pre-commit: 1 failed
+FAIL (6.92s)
+ .\\Test\\Framework.hs:469:
+ git commit failed
+ add: add foo
+ok
+(recording state in git...)
+add sha1foo
+ok
+(recording state in git...)
+ not found .
+git-annex.exe: pre-commit: 1 failed
+FAIL (8.10s)
+ Test.hs:303:
+ git commit failed
+
+2 out of 2 tests failed (15.02s)
+FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ add extras: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ export_import: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ export_import_subdir: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ shared clone: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ log: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ import: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ reinject: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ unannex (no copy): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ unannex (with copy): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ drop (no remote): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ drop (with remote): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ drop (untrusted remote): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ get: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ get (ssh remote): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ move: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ move (ssh remote): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ copy: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ lock: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ lock --force: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ edit (no pre-commit): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ edit (pre-commit): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ partial commit: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ fix: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ trust: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ fsck (basics): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ fsck (bare): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ fsck (local untrusted): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ fsck (remote untrusted): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ fsck --from remote: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ migrate: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ migrate (via gitattributes): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ unused: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ describe: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ find: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ merge: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ info: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ version: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ sync: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ union merge regression: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ adjusted branch merge regression: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ adjusted branch subtree regression: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution (adjusted branch): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution movein regression: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution (mixed directory and file): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution symlink bit: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution (uncommitted local file): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution (removed file): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution (nonannexed file): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution (nonannexed symlink): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ conflict resolution (mixed locked and unlocked file): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ map: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ uninit: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ uninit (in git-annex branch): FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ upgrade: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ whereis: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ hook remote: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ directory remote: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ rsync remote: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ bup remote: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ crypto: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ preferred content: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ add subdirs: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+ addurl: FAIL
+ Exception: init tests failed! cannot continue
+ CallStack (from HasCallStack):
+ error, called at .\\Test\\Framework.hs:427:33 in main:Test.Framework
+
+65 out of 101 tests failed (21.64s)
+ (Failures above could be due to a bug in git-annex, or an incompatibility
+ with utilities, such as git, installed on this system.)
+# End of transcript or log.
+"""]]
+
+
diff --git a/doc/security/comment_3_0cc44e032fc94f4d374fb297ca9a8f2d._comment b/doc/security/comment_3_0cc44e032fc94f4d374fb297ca9a8f2d._comment
new file mode 100644
index 0000000000..c94ab38953
--- /dev/null
+++ b/doc/security/comment_3_0cc44e032fc94f4d374fb297ca9a8f2d._comment
@@ -0,0 +1,12 @@
+[[!comment format=mdwn
+ username="yarikoptic"
+ avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
+ subject="Another use case -- http_proxy"
+ date="2019-11-12T17:51:25Z"
+ content="""
+On some institutional servers they mandate for all http traffic to go through proxy. In our case `http_proxy` looked like `http://ptn07-e0:3128`.
+`datalad install` worked out but an attempt to `datalad get` a bunch of files resulted in massive list of errors, and `annex-ignore` being set for \"origin\" which is otherwise available.
+We managed to fish out that warning about security schemes and http_proxy being ignored for that reason in one of the subsequent attempts (after unsetting annex-ignore).
+Upon attempts to set that variable we realized that we had to provide IP instead of `http_proxy` full value or just a name (`ptn07-e0`), netmasked address (e.g. 10.0.0.1/24) also didn't work. That makes it really inflexible. Actual IP could change, without http_proxy being changed. Even the value of http_proxy could change system wide. It would be painful to require our users to adjust for that every time, and it is infeasible to demand sysadmins to somehow tune up their configuration across HPC (we have no direct connection to them). If we could at least whitelist private network -- that would provide some remedy. Regular expression, though indeed not a really security-friendly solution, could have also provided remedy.
+Have we missed some already existing way to make our lives easy on that system?
+"""]]