Commit graph

35099 commits

Author SHA1 Message Date
Joey Hess
03a765909c
move IO code out
Let's keep this entirely pure.

git-annex has its own facilities for running a ssh command, that make it
respect various config settings, and cache connections, etc. So better
not to have the library run ssh itself.
2019-08-02 10:57:40 -04:00
Joey Hess
2533acc7a2
note about ssh hostname sanitization 2019-08-02 10:40:55 -04:00
Joey Hess
1cef791cf3
skeleton git-lfs special remote
This is a special remote and a git remote at the same time; git can pull
and push to it and git-annex can use it as a special remote.

Remote.Git has to check if it's configured as a git-lfs special remote
and sets it up as one if so.

Object methods not implemented yet.
2019-08-01 15:30:12 -04:00
Joey Hess
9c20a8792d
fix names of per-remote git config keys
These are all prefixed by annex- and always have been, the docs were just
wrong.
2019-08-01 14:24:59 -04:00
Joey Hess
bd6c508334
finalizing lfs module
It may eventually move to its own package.
2019-08-01 14:04:56 -04:00
Joey Hess
74a36b8262
comment 2019-08-01 12:36:06 -04:00
Joey Hess
3d301dfb9f
comment 2019-08-01 12:26:28 -04:00
Joey Hess
404824594c
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-01 00:30:37 -04:00
Joey Hess
d1a0c7b16f
make --in=here fast
Use the same optimisation for --in=here as has always been used for --in=.
rather than the slow code path that unncessarily queries the git-annex
branch.

It looks like when "here" got added as an alias for "." back in 2012, I
forgot about this place.

Also sped up some very unlikely ways of referring to the current
repository.

Note that, this could in some rare corner case cause a behavior
change, if the git-annex branch and inAnnex disagree about whether content
is present in the local repository. But --in=. already behaved
that way, and the truth on the ground should win also.
2019-08-01 00:29:47 -04:00
Joey Hess
4ad33e7524
link to contact 2019-07-31 16:37:21 -04:00
Joey Hess
435287db15
LFS endpoint guessing from remote url 2019-07-31 16:25:13 -04:00
Joey Hess
b4a416b996
cleaner endpoint type 2019-07-31 16:06:59 -04:00
Joey Hess
426a74265d
ssh discovery of LFS endpoint
At this point, I'm able to discover an endpoint, and requesting an
upload also worked, though I didn't try actually uploading content.
2019-07-31 15:51:40 -04:00
Joey Hess
78983d1e33
rename reorg 2019-07-31 15:04:37 -04:00
Joey Hess
f4e8ab969e
improve protocol support
support verification after upload

support for errors embedded in json
2019-07-31 14:55:15 -04:00
Ilya_Shlyakhter
922778004d added bug report about test suite failures on Windows 2019-07-31 17:59:22 +00:00
Joey Hess
9040fea09e
add uploadRequests 2019-07-31 13:22:33 -04:00
Joey Hess
b4d2fc6219
add downloadRequests 2019-07-31 12:28:03 -04:00
Joey Hess
909952d8e5
got transfer response part of protocol working
Testing against github, I was able to request an unauthenticated
download of an oid and parse the response that contains the url of the
object.
2019-07-31 12:06:56 -04:00
andrew7278
a63bf35dc3 Added a comment: SnapChat Error 2019-07-31 11:04:58 +00:00
Joey Hess
8e102e3608
add news item for git-annex 7.20190730 2019-07-30 16:21:59 -04:00
Joey Hess
b509f6f73d
releasing package git-annex version 7.20190730 2019-07-30 16:21:26 -04:00
Joey Hess
018b5b8173
Support building with socks-0.6 and persistant-template-2.7
persistent-template now needs UndecidableInstances.

socks changed defaultSocksConf to take a SockAddr.
2019-07-30 12:50:48 -04:00
Joey Hess
9fd37e65d0
prep release 2019-07-30 12:47:33 -04:00
Joey Hess
8ba4de2d9c
remove unused import 2019-07-30 12:16:41 -04:00
Joey Hess
15a972dd3e
remove spam 2019-07-30 12:14:38 -04:00
Joey Hess
7f7175dd97
Merge branch 'master' of ssh://git-annex.branchable.com 2019-07-30 12:13:07 -04:00
Joey Hess
c634dae66b
wacky ideas 2019-07-30 12:13:00 -04:00
yarikoptic
8106da9df8 Added a comment 2019-07-30 15:18:57 +00:00
Joey Hess
ee3885d152
git-lfs branch 2019-07-29 15:48:52 -04:00
Joey Hess
6eb3a56daa
git-lfs protocol json instances
Have only tested that the ToJSON instances look like what's documented
for the git-lfs API.

Have not tested the FromJSON instances at all.
2019-07-29 15:47:17 -04:00
Joey Hess
5080a7be1e
fix build 2019-07-29 12:41:45 -04:00
Joey Hess
8826d52eea
Merge branch 'master' of ssh://git-annex.branchable.com 2019-07-29 12:29:00 -04:00
Joey Hess
724ebec3f0
lfs deep dive 2019-07-29 12:28:07 -04:00
geonemax67@f507d88f591246c5ff7de3b1f7fb2823684a789b
6ca7412390 Added a comment: SAMSUNG TV Repair Dubai 2019-07-29 11:14:48 +00:00
geonemax67@f507d88f591246c5ff7de3b1f7fb2823684a789b
05ff42834f removed 2019-07-29 10:02:36 +00:00
geonemax67@f507d88f591246c5ff7de3b1f7fb2823684a789b
a9725df299 removed 2019-07-29 09:56:09 +00:00
geonemax67@f507d88f591246c5ff7de3b1f7fb2823684a789b
29714ab4f0 Added a comment: SAMSUNG TV Repair Dubai 2019-07-29 09:55:47 +00:00
geonemax67@f507d88f591246c5ff7de3b1f7fb2823684a789b
80b389caed Added a comment: SAMSUNG TV Repair Dubai 2019-07-29 09:44:27 +00:00
felix.hagemann@b76e9ea0928cf33dacffc37ec3dbecf33171a8a5
4b6a893b4c 2019-07-29 06:05:05 +00:00
felix.hagemann@b76e9ea0928cf33dacffc37ec3dbecf33171a8a5
66de7ebe6d 2019-07-28 21:29:00 +00:00
Joey Hess
be417883a1
Merge branch 'master' of ssh://git-annex.branchable.com 2019-07-28 14:28:29 -04:00
Joey Hess
426053cb6c
Corrected some license statements
In 40ecf58d4b I changed the license of code I
wrote from GPL to AGPL. But, two files containing code I wrote combined
with code by others were updated to say their license is AGPL, while in
fact part of it was (the code I wrote) but part remained under the original
license (the code written by others).

Remote/Ddar.hs is now changed entirely back to GPL 3.

Annex/DirHashes.hs stays AGPL, but I broke out Utility/MD5.hs with the code
not written by me, and corrected its license statement to GPL-2, which
is the actual version of the GPL included with the code in its original
distribution at http://www.cs.ox.ac.uk/people/ian.lynagh/md5/
2019-07-28 14:27:33 -04:00
ahmadabi787@4794191381bef93a2daa0515a85ff953cba9b3e0
8b492a5c88 Added a comment: Technical support 2019-07-26 07:13:07 +00:00
ahmadabi787@4794191381bef93a2daa0515a85ff953cba9b3e0
ff1d11adf9 removed 2019-07-26 07:11:27 +00:00
ahmadabi787@4794191381bef93a2daa0515a85ff953cba9b3e0
198472d88c Added a comment 2019-07-26 07:07:29 +00:00
ahmadabi787@4794191381bef93a2daa0515a85ff953cba9b3e0
8bbc2ae976 removed 2019-07-26 07:05:28 +00:00
ahmadabi787@4794191381bef93a2daa0515a85ff953cba9b3e0
be1573e2e2 Added a comment: Technical support 2019-07-26 07:02:10 +00:00
Ilya_Shlyakhter
5759065e18 added suggestion to let git-annex-export export non-annexed files 2019-07-26 00:36:18 +00:00
Ilya_Shlyakhter
1b77164c83 question about git-annex interaction with git sparse checkout 2019-07-25 22:44:04 +00:00