Commit graph

34873 commits

Author SHA1 Message Date
Joey Hess
67c06f5121
add back support for ftp urls
Add back support for ftp urls, which was disabled as part of the fix for
security hole CVE-2018-10857 (except for configurations which enabled curl
and bypassed public IP address restrictions). Now it will work if allowed
by annex.security.allowed-ip-addresses.
2019-05-30 14:51:34 -04:00
Joey Hess
1871295765
rename annex.security.allowed-http-addresses
Renamed annex.security.allowed-http-addresses to
annex.security.allowed-ip-addresses because it is not really specific to
the http protocol, also limiting eg, git-annex's use of ftp and via
youtube-dl, several other protocols.

The old name for the config will still work.

If both old and new name are set, the new name will win.
2019-05-30 12:43:40 -04:00
Joey Hess
135404b33e
update 2019-05-30 12:28:05 -04:00
Joey Hess
af5246cf04
thoughts 2019-05-30 12:00:45 -04:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
23daba2e99 Added a comment 2019-05-29 17:36:06 +00:00
Joey Hess
b993d26dff
plan 2019-05-29 10:29:20 -04:00
Joey Hess
b114a90fae
comment 2019-05-29 09:59:34 -04:00
Joey Hess
9831d366a0
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-29 09:24:52 -04:00
Joey Hess
1dde73dd98
comment 2019-05-29 09:24:25 -04:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
a3bef03fae Added a comment: Misconfiguration in GHC 2019-05-28 20:38:07 +00:00
Joey Hess
39ab026bab
devblog 2019-05-28 16:25:11 -04:00
Joey Hess
b6dfcf529e
indent 2019-05-28 16:21:35 -04:00
Joey Hess
a5c5ce5e48
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-28 16:17:00 -04:00
Joey Hess
08aa8e2010
break out export and import appending
The import protocol is WiP
2019-05-28 16:16:17 -04:00
Joey Hess
4818e3606c
reorg special remote docs
Made responses to git-annex requests be listed under each request.

This did lead to a little duplication since some replies are used for 2
requests, but it also makes it much clearer and easier to see how the
protocol works.

And, it makes each request self-contained, so they can be split out into
separate pages.
2019-05-28 14:01:19 -04:00
Ilya_Shlyakhter
afb1be754a Added a comment: readonly special remotes] 2019-05-28 17:25:19 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
89abda9efd Added a comment: git-annex not working on arm at all? 2019-05-28 17:23:57 +00:00
root@99e0a30209b856a064fa7d3e42d26b562bdf991c
a03a9cedf1 2019-05-28 16:53:35 +00:00
Joey Hess
63fa6b4a44
fix wrong statement 2019-05-28 12:05:49 -04:00
Joey Hess
bb635fffa2
reorg page 2019-05-28 11:53:49 -04:00
Joey Hess
94cba37f68
fix build 2019-05-28 11:18:05 -04:00
Joey Hess
c1ed0293b0
improve docs about removeExportDirectory 2019-05-28 11:16:01 -04:00
Joey Hess
8960f259b8
make readonly export remotes really be readonly
When a remote is configured to be readonly, don't allow changing what's
exported to it.

This was missed in the original export remote implementation, but it makes
sense for a readonly export remote to not be allowed to change.
2019-05-28 11:04:28 -04:00
Joey Hess
4c48efeb35
comment 2019-05-28 10:41:25 -04:00
Joey Hess
ca5ee26858
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-28 10:28:30 -04:00
ndj
4cb8eec696 Added a comment 2019-05-28 03:36:53 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
182943ed60 2019-05-26 11:05:38 +00:00
Ilya_Shlyakhter
bf3c032a31 strange interaction of checkpresentkey and annex-readonly=true 2019-05-24 03:05:32 +00:00
emmet.obrien@e4a3124a9cf70a33bd02e6cab55d0db0352ce9e1
82dfd2d9e7 2019-05-23 20:39:29 +00:00
yarikoptic
8fe962dba5 Added a comment: configuration variable 2019-05-23 19:31:46 +00:00
Joey Hess
2353d80906
remove done item 2019-05-23 14:24:25 -04:00
Joey Hess
e678d0d0ed
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-23 14:15:04 -04:00
Joey Hess
c877af6192
comment 2019-05-23 14:12:59 -04:00
Joey Hess
87c70c278d
comment 2019-05-23 14:00:20 -04:00
Joey Hess
1a315a8704
comment 2019-05-23 13:37:47 -04:00
Joey Hess
cd5e8be2dc
comment 2019-05-23 13:36:59 -04:00
Joey Hess
c0907909c8
comment 2019-05-23 13:33:53 -04:00
Ilya_Shlyakhter
8ba2109395 Added a comment 2019-05-23 17:07:40 +00:00
Joey Hess
f2a54e3401
Android: Improve installation process when the user's login shell is not bash.
~/.profile works for bash, but not all other login shells.

This setting PATH is a minor convenience for users, particuarly since
typing on android is so much harder. The usual linux standalone bundle
just expects the user to know how to add it to PATH. I don't want this
code to grow special cases for every possible login shell. So displaying a
message to the presumably minority who don't use bash seems like the best
choice.

Longer term, I'd hope termux gets some way to set an environment variable
for all login shells. Systems using PAM can, via ~/.pam_environment. Or
alternatively, add a git-annex package to termux, even if just an installer
package. I'd rather spend time on either of those than on making this minor
thing support more login shells.

This commit was sponsored by mo on Patreon.
2019-05-23 13:06:31 -04:00
Joey Hess
a14f6ce758
fix repo description setting bugs
* init: When the repository already has a description, don't change it.
* describe: When run with no description parameter it used to set
  the description to "", now it will error out.
2019-05-23 12:51:01 -04:00
Joey Hess
b646a85c4a
oops, fixed wrong change 2019-05-23 12:44:27 -04:00
Joey Hess
d5582865b6
comment 2019-05-23 12:25:51 -04:00
Joey Hess
e1aa8b9001
avoid build failure with older base 2019-05-23 12:16:57 -04:00
Joey Hess
16a2bed710
avoid build warning on Windows about unused import 2019-05-23 12:15:33 -04:00
Joey Hess
1e00f861ab
comment 2019-05-23 12:12:44 -04:00
andrew
66b1f2bd15 Added a comment 2019-05-21 23:33:57 +00:00
Joey Hess
52df1b2015
devblog 2019-05-21 15:05:57 -04:00
Joey Hess
d98dc13345
update for preferred content 2019-05-21 14:56:45 -04:00
Joey Hess
e06feb7316
honor preferred content when importing
Importing from a special remote honors its preferred content too; unwanted
files are not imported. But, some preferred content expressions can't be
checked before files are imported, and trying to import with such an
expression will fail.

Tested this with scenarios including changing the preferred content
expression and making sure merging the import didn't delete files that were
no longer wanted.

There was one minor inefficiency mentioned in the todo that I punted on.
2019-05-21 14:38:06 -04:00
Joey Hess
ec11575d17
hairyness 2019-05-21 12:54:57 -04:00