Commit graph

1878 commits

Author SHA1 Message Date
Joey Hess
7a0d6d81a0
make curl show http errors to stderr
* Run curl with -S, so HTTP errors are displayed, even when
  it's otherwise silent.
* When downloading in --json or --quiet mode, use curl in preference
  to wget, since curl is able to display only errors to stderr, unlike
  wget.

This does mean that downloadQuiet is only silent on stdout, not necessarily
on stderr, which affects a couple other calls of it. For example,
downloading the .git/config of a http remote may show an error message now,
perhaps with slightly suboptimal formatting due to other output.
2017-02-20 16:09:32 -04:00
Joey Hess
07de7c2c76
update 2017-02-20 15:44:43 -04:00
Joey Hess
4a397b5313
Run wget with -nv instead of -q, so it will display HTTP errors.
This adds one extra line of output when a download is successful,
after the progress bar. I don't much like that, but wget does not provide a
way to show HTTP errors without it.
2017-02-20 15:25:02 -04:00
Joey Hess
6ba8b557e8
remove
I've seen this thing, whatever it is, mentioned in spam links before,
so even if it's valid for some OS (probably not the one being asked
about), it's verboten here.
2017-02-20 12:24:15 -04:00
Joey Hess
d80cf5b9e9
comment 2017-02-20 12:23:22 -04:00
Joey Hess
a700fdf5cf
documentation updates for new receive.denyCurrentBranch=updateInstead support
This commit was sponsored by andrea rota.
2017-02-17 15:43:16 -04:00
Joey Hess
de4d50e9d0
thoughts 2017-02-17 12:57:55 -04:00
yarikoptic
2f601791bf 2017-02-17 01:57:11 +00:00
Joey Hess
d0651bb567
make query commands not output extraneous messages
config group groupwanted numcopies schedule wanted required:  Avoid
displaying extraneous messages about repository auto-init, git-annex branch
merging, etc, when being used to get information.
2017-02-16 13:24:35 -04:00
yarikoptic
baa2ab2c7d Added a comment 2017-02-16 15:54:18 +00:00
CandyAngel
bb262be6f0 Added a comment 2017-02-16 14:10:56 +00:00
yarikoptic
9cdb0125c7 2017-02-16 03:49:46 +00:00
Joey Hess
de671658ee
devblog 2017-02-15 16:44:10 -04:00
Joey Hess
a73c8ce4a1
sync: Improve integration with receive.denyCurrentBranch=updateInstead
By displaying error messages from the remote then it fails to update
its checked out branch.

Error messages in the default receive.denyCurrentBranch are still
suppressed, which matches user expectations.

This commit was sponsored by Nick Daly on Patreon.
2017-02-15 16:13:30 -04:00
Joey Hess
e8b9565b6f
thoughts 2017-02-14 17:39:37 -04:00
Edward Betts
0750913136
correct spelling mistakes 2017-02-12 17:30:23 -04:00
Joey Hess
0e7cbadf25
close 2017-02-09 18:59:45 -04:00
Joey Hess
ba61229c77
update 2017-02-09 18:58:13 -04:00
Joey Hess
2e92648383
comment 2017-02-09 16:13:02 -04:00
Joey Hess
c1ece47ea0
import --reinject-duplicates
This is the same as running git annex reinject --known, followed by
git-annex import. The advantage to having it in one command is that it
only has to hash each file once; the two commands have to
hash the imported files a second time.

This commit was sponsored by Shane-o on Patreon.
2017-02-09 15:41:00 -04:00
CandyAngel
278f9f0454 Added a comment 2017-02-07 22:51:15 +00:00
Joey Hess
30ab4ecc4b
response 2017-02-07 18:07:47 -04:00
Joey Hess
a8e64d4148
response 2017-02-07 17:23:41 -04:00
Joey Hess
27e89aeffc
initremote: When a uuid= parameter is passed, use the specified UUID for the new special remote, instead of generating a UUID.
This can be useful in some situations, eg when the same data can be
accessed via two different special remote backends.
2017-02-07 15:10:41 -04:00
Joey Hess
a89d98af6d
comment 2017-02-07 13:08:33 -04:00
Joey Hess
fe6936e065
comment 2017-02-07 12:48:12 -04:00
Joey Hess
2e246cb5d6
comment 2017-02-07 12:38:31 -04:00
yarikoptic
54bae5df37 initial thoughts 2017-02-06 15:32:45 +00:00
yarikoptic
03658010c7 initial thoughts 2017-02-06 00:49:28 +00:00
CandyAngel
e075032068 Added a comment 2017-02-05 02:20:31 +00:00
Joey Hess
424c4c2911
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-04 13:01:50 -04:00
Joey Hess
ff1ba8fdc6
update 2017-02-04 13:01:20 -04:00
joshfindit
a2d8c4120f Added a comment 2017-02-04 16:24:32 +00:00
Joey Hess
dbc0b032b8
comment 2017-02-03 15:43:34 -04:00
Joey Hess
b5e6d23242
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-03 14:37:49 -04:00
Joey Hess
ed56dba868
annex.autocommit can be configured via git-annex config
... to control the default behavior in all clones of a repository.

This includes a new Configurable data type, so the GitConfig type indicates
which values can be configured this way.

The implementation should be quite efficient; the config log is only read
once, and only when a Configurable value has not already been set by
git-config.

Indeed, it would be nice in the future to extend this, so that git-config
is itself only read on demand. Some commands may not need to look at the
git configuration at all.

This commit was sponsored by Trenton Cronholm on Patreon.
2017-02-03 13:58:53 -04:00
http://schnouki.net/
a57c21a968 Added a comment 2017-02-02 22:05:23 +00:00
Joey Hess
ed60f60e9b
unused: Improved memory use significantly when there are a lot of differences between branches.
Argh, didn't need an accumulator here!

I think I use accumulators a lot more than I need to when recusively
processing lists..

This commit was sponsored by Jeff Goeke-Smith on Patreon.
2017-01-31 19:42:00 -04:00
Joey Hess
dbaea98836
fix lack of laziness streaming large diffs
A commit last year that made a partial function use Maybe unfortunately
caused the whole input to need to be consumed, breaking streaming. So,
revert it.

This commit was sponsored by Nick Daly on Patreon.
2017-01-31 17:43:11 -04:00
Joey Hess
a1842d387b
comment
This commit was sponsored by Ole-Morten on Patreon.
2017-01-31 13:01:55 -04:00
Joey Hess
5798013fb2
reproduced bug; started analysis
This commit was sponsored by Peter Hogg on Patreon.
2017-01-31 12:30:44 -04:00
Joey Hess
eeb227aeb8
Merge branch 'master' of ssh://git-annex.branchable.com 2017-01-30 17:34:48 -04:00
Joey Hess
339464e847
config: New command for storing configuration in the git-annex branch.
Any config names can be set using this; git-annex commands will only look
at specific ones that make sense and are worth the overhead of querying the
branch.

This might also be useful for storing whatever other config-type stuff the
user might want to shove into the git-annex branch.

This commit was sponsored by Jochen Bartl on Patreon.
2017-01-30 16:46:38 -04:00
https://anarc.at/openid/
aa24a7347b Added a comment: usability... 2017-01-30 18:06:22 +00:00
Joey Hess
6689dfae11
comment 2017-01-30 13:32:28 -04:00
Edward Betts
93cbed539f fix typo 2017-01-27 18:18:09 +00:00
git-annex@31849d241f10c295b30a9707352ae5c7d743adb7
6ce01ca9e5 2017-01-24 17:15:32 +00:00
Edward Betts
bc58a9402b fix typo 2017-01-24 10:43:33 +00:00
https://christian.amsuess.com/chrysn
a33cfd0488 add wishlist item 2017-01-20 09:49:23 +00:00
https://anarc.at/openid/
5ac99e6b5c link to the workflow page 2017-01-17 16:59:15 +00:00
https://anarc.at/openid/
bb6e123e8b Added a comment: answers 2017-01-17 16:56:39 +00:00
https://anarc.at/openid/
804e84b26e Added a comment: re dataloss and point 2017-01-17 01:34:43 +00:00
CandyAngel
85c0c22376 Added a comment 2017-01-16 10:30:55 +00:00
CandyAngel
b5cc28f56c 2017-01-16 10:26:06 +00:00
rivera15071976@36a85c6f19ac15f9202999a3e3b15b27cc8a750a
4b6226bf31 Added a comment: Long Path Tool 2017-01-16 08:02:53 +00:00
sunny256
6cbdb6b150 Added a comment: Oh yes 2017-01-16 07:56:59 +00:00
rustikus@9db90d0c115a1825e2f1e5f15257ec1298a6c7b6
b7e5856b1f Added a comment: Any update or help needed? 2017-01-12 13:40:38 +00:00
CandyAngel
f007a27d20 Added a comment 2017-01-11 22:29:55 +00:00
ghen1
5b110d5ff0 2017-01-11 01:27:24 +00:00
https://anarc.at/openid/
8197b09525 add describe step 2017-01-10 23:01:05 +00:00
https://anarc.at/openid/
278c072d6b a stumbling block i found while replacing a drive 2017-01-10 22:52:20 +00:00
Joey Hess
f04a7af39a
update 2017-01-08 17:37:56 -04:00
Joey Hess
856ca7f553
update 2017-01-08 17:27:14 -04:00
Joey Hess
ba1213c49e
add 2017-01-08 17:00:25 -04:00
db48x
93d69b1792 2017-01-01 14:41:07 +00:00
Joey Hess
0bbef83570
remove old item 2016-12-31 00:20:08 -04:00
Joey Hess
6b30079218
todo 2016-12-31 00:19:01 -04:00
Joey Hess
b2834db613
Merge branch 'master' of ssh://git-annex.branchable.com 2016-12-30 10:48:56 -04:00
Joey Hess
a03c51988f
idea 2016-12-29 14:57:13 -04:00
mhauru
c2325c2640 Added a comment 2016-12-29 18:00:10 +00:00
mhauru
a702917848 2016-12-29 17:49:14 +00:00
Joey Hess
cf6545198b
a few last changes post xmpp removal 2016-12-28 12:29:21 -04:00
Joey Hess
b21ffe62f5
update 2016-12-28 12:26:48 -04:00
Joey Hess
ab66bbfeb6
Merge branch 'master' into no-xmpp 2016-12-24 15:01:55 -04:00
Joey Hess
d6b401c458
todo 2016-12-24 13:10:51 -04:00
Joey Hess
993f30ac92
update 2016-12-24 12:53:57 -04:00
Joey Hess
e08691b393
enable-tor: When run as a regular user, test a connection back to the hidden service over tor.
This way we know that after enable-tor, the tor hidden service is fully
published and working, and so there should be no problems with it at
pairing time.

It has to start up its own temporary listener on the hidden service. It
would be nice to have it start the remotedaemon running, so that extra
step is not needed afterwards. But, there may already be a remotedaemon
running, in communication with the assistant and we don't want to start
another one. I thought about trying to HUP any running remotedaemon, but
Windows does not make it easy to do that. In any case, having the user
start the remotedaemon themselves lets them know it needs to be running
to serve the hidden service.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2016-12-24 12:50:23 -04:00
Joey Hess
22252e8e4c
Revert "close"
This reverts commit 3aaabc906b.

Commit contained incomplete work.
2016-12-24 12:07:15 -04:00
Joey Hess
3aaabc906b
close 2016-12-22 13:59:21 -04:00
Joey Hess
942ea305a2
todo 2016-12-21 15:11:10 -04:00
Joey Hess
872064e4a6
comment 2016-12-21 14:21:05 -04:00
Joey Hess
f3972999ae
update 2016-12-20 15:15:01 -04:00
Joey Hess
9bdb617484
add some links to new workflow page 2016-12-20 15:13:44 -04:00
Joey Hess
ccde0932a5
p2p --pair with magic wormhole (untested)
It builds. I have not tried to run it yet. :)

This commit was sponsored by Jake Vosloo on Patreon.
2016-12-18 16:51:41 -04:00
marekj
1d7aabdda0 Added a comment: I took the liberty to do it 2016-12-14 07:49:26 +00:00
Joey Hess
a12eac060c
updates 2016-12-13 14:35:58 -04:00
Joey Hess
d87abe61f6
comment 2016-12-13 11:57:32 -04:00
Joey Hess
6f502c859b
todo 2016-12-12 17:21:32 -04:00
Joey Hess
b65780778a
update 2016-12-09 17:07:32 -04:00
Joey Hess
2c907fff51
remotedaemon: git change detection over tor hidden service 2016-12-09 16:02:43 -04:00
Joey Hess
596e1685a6
update 2016-12-09 13:38:50 -04:00
Joey Hess
71e8cd408e
content removal is supposed to succed if the content was already not present 2016-12-09 12:48:22 -04:00
Joey Hess
9c5c24aa0a
todo 2016-12-08 20:55:46 -04:00
Joey Hess
e84165dc5e
more todo 2016-12-08 20:15:12 -04:00
Joey Hess
38516b2fca
update progress logs in remotedaemon send/receive 2016-12-08 19:56:02 -04:00
Joey Hess
0f4ee4f298
fix memory leak
I'm unsure why this fixed it, but it did. Seems to suggest that the
memory leak is not due to a bug in my code, but that ghc didn't manage
to take full advantage of laziness, or was failing to gc something it
could have.
2016-12-08 18:42:52 -04:00
Joey Hess
095593a9af
correction 2016-12-08 18:25:51 -04:00
Joey Hess
3b9f6c1b2b
analysis 2016-12-08 17:50:59 -04:00
Joey Hess
5654085e7a
profiling 2016-12-08 17:34:26 -04:00
Joey Hess
b8fea9f08d
we have a memory leak 2016-12-08 16:35:33 -04:00