Commit graph

934 commits

Author SHA1 Message Date
http://svario.it/gioele
a22428a437 Fix formatting and grammar 2014-04-25 10:15:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU
e88e1d5c87 2014-04-25 01:26:51 +00:00
http://svario.it/gioele
8ea2f07ab2 2014-04-24 13:29:12 +00:00
https://id.koumbit.net/anarcat
dc77e192dc link to the tip 2014-04-23 17:51:06 +00:00
http://joeyh.name/
3fd08f8ac3 Added a comment 2014-04-20 21:01:50 +00:00
Joey Hess
c70a762e81 add 2014-04-20 13:55:13 -04:00
Joey Hess
405d9183aa retitle 2014-04-20 13:42:15 -04:00
Joey Hess
9724667a3d webapp: Fix UI for removing XMPP connection. 2014-04-20 12:46:33 -04:00
https://id.koumbit.net/anarcat
1056ae44f6 i hope i'm not being too noisy here :) 2014-04-19 22:57:01 +00:00
https://id.koumbit.net/anarcat
a77393d6bd 2014-04-19 15:23:12 +00:00
https://id.koumbit.net/anarcat
c894a4331c sign and point to the more general issueq 2014-04-19 13:28:13 +00:00
https://id.koumbit.net/anarcat
791be6e2d7 how about a more complete manual, even? 2014-04-19 13:26:38 +00:00
https://id.koumbit.net/anarcat
2c92297046 some UX ideas 2014-04-19 12:31:03 +00:00
https://adamspiers.myopenid.com/
ab2547a6eb add hyperlinks 2014-04-18 01:45:43 +00:00
Joey Hess
1043f47961 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-17 18:41:47 -04:00
http://joeyh.name/
0ea7a10321 Added a comment 2014-04-17 20:54:18 +00:00
Joey Hess
40676abfa1 close dup 2014-04-17 16:50:26 -04:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
107dc6bde4 2014-04-17 11:42:25 +00:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
66692efed9 2014-04-10 09:34:36 +00:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
9f98234657 2014-04-10 09:23:25 +00:00
Joey Hess
71aae05d39 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-07 16:58:33 -04:00
Joey Hess
836f2cc816 importfeed: Filename template can now contain an itempubdate variable. Needs feed 0.3.9.2. 2014-04-07 16:55:04 -04:00
http://joeyh.name/
242d26b3e5 Added a comment 2014-04-07 20:10:52 +00:00
http://joeyh.name/
c70d63077b Added a comment 2014-04-07 19:51:27 +00:00
madduck
29943bc54e Added a comment: Ubuntu One to be discontinued 2014-04-07 05:11:52 +00:00
https://id.koumbit.net/anarcat
7df61cf4a5 Added a comment 2014-04-07 04:35:44 +00:00
http://grossmeier.net/
35565d8afb Added a comment: Without knowing Haskell 2014-04-06 04:55:32 +00:00
http://grossmeier.net/
23b8fc422d 2014-04-05 23:38:21 +00:00
http://grossmeier.net/
e9d34ed7df 2014-04-03 16:43:21 +00:00
http://grossmeier.net/
7b2e82e34e A suggestion 2014-04-03 00:06:28 +00:00
http://mildred.fr/
5bb475411f 2014-04-02 15:58:23 +00:00
https://id.koumbit.net/anarcat
6be93e3f25 Added a comment 2014-04-01 04:43:20 +00:00
https://id.koumbit.net/anarcat
96f291d6b1 2014-04-01 04:27:37 +00:00
Joey Hess
ec3ebcf2ae
update 2014-03-31 20:53:16 -04:00
Joey Hess
065248f3d2 Added required content configuration.
This includes checking when dropping files that any required content
configuration is satisfied. However, it does not yet include an active
check on the required content; the location log is trusted when checking
the required content expression.
2014-03-29 16:03:33 -04:00
Joey Hess
7ee9657000 Merge branch 'master' of ssh://git-annex.branchable.com 2014-03-27 14:32:05 -04:00
Joey Hess
9561279f0b close 2014-03-27 13:50:32 -04:00
Joey Hess
e1fcb9e307 close the my little pony bugs 2014-03-27 13:49:51 -04:00
http://joeyh.name/
32d51fc0dd Added a comment 2014-03-27 17:44:46 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
c94002c410 Added a comment 2014-03-26 22:32:19 +00:00
http://joeyh.name/
c1197e607c Added a comment 2014-03-26 17:26:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
01753fba7e 2014-03-26 16:52:38 +00:00
Joey Hess
a5411590df http://hackage.haskell.org/package/pontarius-xmpp 2014-03-20 12:51:47 -04:00
Xyem
ee68734b97 Added a comment 2014-03-20 08:14:21 +00:00
http://joeyh.name/
18612d8235 Added a comment 2014-03-19 23:14:25 +00:00
Joey Hess
624190618f Merge branch 'master' of ssh://git-annex.branchable.com 2014-03-19 16:13:14 -04:00
Joey Hess
1052eeface Windows: Fix some filename encoding bugs.
http://git-annex.branchable.com/bugs/Unicode_file_names_ignored_on_Windows/

Not a complete fix yet.
2014-03-19 15:57:56 -04:00
http://joeyh.name/
84f894bc3c Added a comment: partial implementation plan 2014-03-19 16:37:09 +00:00
Xyem
f6edc9ed2c Added a comment 2014-03-19 11:18:20 +00:00
Joey Hess
caa97d1271 Each for each metadata field, there's now an automatically maintained "$field-lastchanged" that gives the timestamp of the last change to that field.
Note that this is a nearly entirely free feature. The data was already
stored in the metadata log in an easily accessible way, and already was
parsed to a time when parsing the log. The generation of the metadata
fields may even be done lazily, although probably not entirely (the map
has to be evaulated to when queried).
2014-03-18 18:55:43 -04:00
Joey Hess
fa641dad2d Merge branch 'master' of ssh://git-annex.branchable.com 2014-03-18 16:15:46 -04:00
http://joeyh.name/
3dff9c561d Added a comment 2014-03-18 20:08:13 +00:00
Joey Hess
1b62d44da9 close as dup of required content 2014-03-18 16:04:16 -04:00
http://joeyh.name/
ee012639f5 Added a comment 2014-03-18 20:02:14 +00:00
http://joeyh.name/
8031cddb2e Added a comment 2014-03-18 20:00:17 +00:00
Joey Hess
1d56effb39 move from forum and close 2014-03-18 15:57:08 -04:00
http://joeyh.name/
92e2ed90f7 Added a comment 2014-03-18 19:49:09 +00:00
Joey Hess
07314d0ff7 close 2014-03-18 15:47:15 -04:00
Joey Hess
4e89f56572 should be fully supported for some time now.. 2014-03-18 15:45:39 -04:00
Joey Hess
34862adf67 done long ago 2014-03-18 15:43:20 -04:00
Joey Hess
9f3991a27f close; git annex sync --content basically covers this use case 2014-03-18 15:42:44 -04:00
http://joeyh.name/
cfae5e8b66 Added a comment 2014-03-18 19:38:19 +00:00
http://joeyh.name/
fcb5819c83 Added a comment 2014-03-18 19:36:08 +00:00
Joey Hess
bcfc531974 closing; wontfix 2014-03-18 15:33:50 -04:00
http://joeyh.name/
2439ef4399 Added a comment 2014-03-18 17:09:56 +00:00
Xyem
5ffd6302ac 2014-03-18 11:25:45 +00:00
http://joeyh.name/
0b3f392171 Added a comment 2014-03-17 19:48:57 +00:00
Joey Hess
a9d03533d1 rename 2014-03-17 14:06:35 -04:00
bremner
132930b30b 2014-03-15 17:58:25 +00:00
http://ypid.wordpress.com/
1360c88688 Added a comment: Please add this ;) 2014-03-13 19:10:17 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
0c595a42ae Added a comment 2014-03-10 17:15:54 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmLB39PC89rfGaA8SwrsnB6tbumezj-aC0
309a73c301 Added a comment 2014-03-06 22:49:22 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnR6E5iUghMWdUGlbA9CCs8DKaoigMjJXw
6e2e0216d2 Added a comment 2014-03-06 10:06:04 +00:00
http://joeyh.name/
7acaa8389a Added a comment 2014-03-05 20:45:32 +00:00
Joey Hess
c30cc4a119 update with user feedback 2014-03-05 13:52:23 -04:00
Joey Hess
33aae51175
idea 2014-03-04 15:19:19 -04:00
gueux
238f1995c8 2014-03-01 10:06:16 +00:00
Joey Hess
1ba60ac3e9 update 2014-02-27 17:29:03 -04:00
Joey Hess
15f0afd874 update 2014-02-27 13:37:57 -04:00
Joey Hess
07ec352f9c much less hacky windows XMPP library deps install method 2014-02-27 11:34:06 -04:00
Joey Hess
ce82fe1915 another pkg-config 2014-02-26 21:11:40 -04:00
Joey Hess
f95b4f6d88 progress on XMPP for windows, but not linking yet 2014-02-26 21:10:32 -04:00
Joey Hess
6c105ab6c3 tiny process on XMPP 2014-02-26 18:31:18 -04:00
Joey Hess
2dc336b1b8 remove todo item about gcywin git, seems no longer a problem! 2014-02-25 17:12:21 -04:00
Joey Hess
326aa6c604
webdav and S3 tested and working on windows, for real now 2014-02-25 16:41:44 -04:00
Joey Hess
2b66aaa763 Windows webdav: Fix DOS path separator bug.
Use posix </> etc for urls.
2014-02-25 15:26:33 -04:00
http://joeyh.name/
e7252cf192 Added a comment 2014-02-24 18:17:04 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk6I980MaZ8Xm0giW9VYpms1_vG13xurdw
ef7f485ecd 2014-02-23 19:08:39 +00:00
http://joeyh.name/
4047c52ee1 Added a comment 2014-02-21 22:34:14 +00:00
http://grossmeier.net/
3e680aea9a Added a comment: very remote specific 2014-02-21 22:11:16 +00:00
http://joeyh.name/
3585596b6f Added a comment 2014-02-21 21:36:14 +00:00
Greg Grossmeier
2d17759be6 clarification 2014-02-21 13:30:11 -08:00
Greg Grossmeier
d124228f1d Added todo for handling ctrl c in transfers 2014-02-21 13:28:17 -08:00
Joey Hess
638ee732b4 close 2014-02-20 16:02:00 -04:00
Joey Hess
fe5f7b9a48 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-20 13:57:06 -04:00
Joey Hess
5ef4f1d603 close 2014-02-20 13:42:28 -04:00
http://joeyh.name/
200ee83848 Added a comment 2014-02-20 17:42:10 +00:00
Helmut Grohne
8fdade6819 there is nothing for git-annex to do to support ASIC hashing 2014-02-20 13:39:49 +01:00
https://www.google.com/accounts/o8/id?id=AItOawmPTL3pk1gDt1-zQJY2Qv0K8VzPbTYUmPQ
680bd465a7 2014-02-20 11:32:49 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk9nck8WX8-ADF3Fdh5vFo4Qrw1I_bJcR8
32ecaad586 2014-02-18 18:28:27 +00:00
Helmut Grohne
008b4ca27e comment on descriptive git-annex commit messages 2014-02-17 08:45:43 +01:00
Joey Hess
fd09798e40 windows webapp: fix rsync.net support 2014-02-14 15:47:54 -04:00
Joey Hess
8613f226b3 reorg 2014-02-14 14:39:54 -04:00
Joey Hess
37cb65a99f remote ssh server testing and working on windows 2014-02-14 14:27:11 -04:00
Joey Hess
01b07a9ca6 update 2014-02-14 14:06:51 -04:00
Joey Hess
d007d1ac0c windows: hack to ensure HOME is always set 2014-02-14 14:03:24 -04:00
Joey Hess
c60f0b57d2 windows: Fix daemon pid file locking.
Well, as much as it can be fixed on windows. Not atomic; not entirely
guarded against the wrong process having the pid file locked.
2014-02-13 17:02:28 -04:00
Joey Hess
f11f7520b5 windows: Fix process termination code.
The ctrl-c hack used before didn't actually seem to work.

No haskell libraries expose TerminateProcess. I tried just calling it via
FFI, but got segfaults, probably to do with the wacky process handle not
being managed correctly. Moving it all into one C function worked.

This was hell. The EvilLinker hack was just final icing on the cake.
We all know what the cake was made of.
2014-02-13 15:53:10 -04:00
Joey Hess
84083ecdd3 Windows: Crazy hack to make file manager not start hidden underneath web browser window
I can't even..
2014-02-13 13:16:28 -04:00
Joey Hess
36e66997c6 Windows: Fix startAssistant to not wait for ever for a non-daemonizing process
Seemed to fix several problems.
2014-02-13 13:05:07 -04:00
Joey Hess
8952ccec1b windows: fix fsck --incremental to not crash
Although it is still not incremental.
2014-02-13 12:40:10 -04:00
http://joeyh.name/
13d44a32ce removed 2014-02-11 21:40:27 +00:00
http://joeyh.name/
9668a29a80 Added a comment 2014-02-11 21:39:46 +00:00
http://joeyh.name/
192e6805b3 Added a comment 2014-02-11 21:39:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkNE-H4vEcbcGndxq5daT8qUb7yIf7r1OE
d6dfdca98f Added a comment 2014-02-11 21:05:01 +00:00
Joey Hess
029a1c431a
remove windows --git-dir unix style path hack
This is no longer necessary, at least with msysgit 1.8.5.2.msysgit.0.
Its root cause may have been fixed by other recent git path fixes.
It was causing the webapp to fail to make repos on other drives.
2014-02-11 16:12:22 -04:00
Joey Hess
2ed728e7e6
note 2014-02-11 14:16:15 -04:00
Joey Hess
fa24ba2520 plumb creds from webapp to initremote
Avoids abusing setting environment variables, which was always a hack
and won't work on windows.
2014-02-11 14:07:56 -04:00
http://schnouki.net/
4ae8685477 Added a comment 2014-02-11 13:38:54 +00:00
Joey Hess
66c9cb6e39
tried everything in webapp on windows. add list of TODOs 2014-02-10 18:24:36 -04:00
http://joeyh.name/
eb266ace3c Added a comment 2014-02-06 17:26:59 +00:00
Joey Hess
5d7777cbe2 set up git email config in clone repos too when running test
This fixes the problem of the environment variables apparently not being
seen on Windows. I could probably remove the setting of the env vars from
Test.hs now as this covers it better.

Note that outside the test suite, git-annex on windows seems to manage to
configure the repo so commits work on its own.
2014-02-04 14:31:52 -04:00
Joey Hess
2287c88bfd update 2014-02-03 21:24:23 -04:00
Joey Hess
1c997fd08c fix test suite to pass on windows
On windows, the sync of the second cloned repo to origin failed, because
synced/master was a non-fast-forward. This may be a bug of its own, but
it's not the issue that this test was intended to test, so disconnect
the repos from origin before syncing.
2014-02-03 12:12:50 -04:00
Joey Hess
08afe3a1f6 fix failing test case on Windows
ensure file being modified is all read before it's opened for write
2014-02-03 10:20:18 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkNE-H4vEcbcGndxq5daT8qUb7yIf7r1OE
c6ee7f143a openwrt packages. multiplle architectures 2014-02-02 22:35:55 +00:00
Joey Hess
089c0109a2 Added ways to configure rsync options to be used only when uploading or downloading from a remote. Useful to eg limit upload bandwidth. 2014-02-02 16:06:34 -04:00
Joey Hess
ee164ccbbb windows test suite down to only 2 failures 2014-01-30 15:57:41 -04:00
Joey Hess
721cc0cd22 rework annexed object locking in direct mode & support Windows
Seems that locking of annexed objects when they're being dropped was broken
in direct mode:

* When taking the lock before dropping, it created the .git/annex/objects
  file, as an empty file. It seems that the dropping code deleted that,
  but that is not right, and for all I know could in some situation cause
  a corrupted object to leak out.
* When the lock was checked, it actually tried to open each direct mode
  file, and checked if it was locked. Not the same lock used above, and
  could also fail if some consumer of the file locked it.

Fixed this, and added windows support by switching direct mode to lock a
.lck file.
2014-01-28 16:43:11 -04:00
Joey Hess
4d0223e962 Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-26 15:08:10 -04:00
Joey Hess
a3f61ea75d close 2014-01-26 15:00:57 -04:00
https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog
9f790028bd 2014-01-26 18:51:55 +00:00
Joey Hess
605fb7075b move to todo 2014-01-26 14:08:36 -04:00
Joey Hess
5fc2d760ea Optimise non-bare http remotes; no longer does a 404 to the wrong url every time before trying the right url. Needs annex-bare to be set to false, which is done when initially probing the uuid of a http remote. 2014-01-26 13:03:25 -04:00
Joey Hess
c0b6d9b343 close 2014-01-23 16:58:44 -04:00
Joey Hess
3da0064657 assistant unused file handling
Make sanity checker run git annex unused daily, and queue up transfers
of unused files to any remotes that will have them. The transfer retrying
code works for us here, so eg when a backup disk remote is plugged in,
any transfers to it are done. Once the unused files reach a remote,
they'll be removed locally as unwanted.

If the setup does not cause unused files to go to a remote, they'll pile
up, and the sanity checker detects this using some heuristics that are
pretty good -- 1000 unused files, or 10% of disk used by unused files,
or more disk wasted by unused files than is left free. Once it detects
this, it pops up an alert in the webapp, with a button to take action.

TODO: Webapp UI to configure this, and also the ability to launch an
immediate cleanup of all unused files.

This commit was sponsored by Simon Michael.
2014-01-22 22:53:18 -04:00
Joey Hess
4b55afe9e9 add "unused" preferred content expression
With a really nice optimisation that keeps it from having any overhead
in normal operation!

This commit was sponsored by Ulises Vitulli.
2014-01-22 16:35:32 -04:00
Joey Hess
02896ee15d preferred content stability analysis 2014-01-22 15:55:44 -04:00
Joey Hess
5f6ebfcd07 Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-22 14:37:32 -04:00
Joey Hess
05ead99cc2 promote forum post to feature request; add design 2014-01-22 14:35:38 -04:00
http://olivier.mehani.name/
4207564827 Added a comment 2014-01-22 13:08:21 +00:00
Joey Hess
f2713a3bb9 benchmarked numcopies .gitattributes in preferred content
Checking .gitattributes adds a full minute to a git annex find looking for
files that don't have enough copies. 2:25 increasts to 3:27. I feel this is
too much of a slowdown to justify making it the default. So, exposed two
versions of the preferred content expression, a slow one and a fast but
approximate one.

I'm using the approximate one in the default preferred content expressions
to avoid slowing down the assistant.
2014-01-21 18:49:25 -04:00
Joey Hess
3159da2693 Add and use numcopiesneeded preferred content expression.
* Add numcopiesneeded preferred content expression.
* Client, transfer, incremental backup, and archive repositories
  now want to get content that does not yet have enough copies.

This means the asssistant will make copies of files that don't yet
meet the configured numcopies, even to places that would not normally want
the file.

For example, if numcopies is 4, and there are 2 client repos and
2 transfer repos, and 2 removable backup drives, the file will be sent
to both transfer repos in order to make 4 copies. Once a removable drive
get a copy of the file, it will be dropped from one transfer repo or the
other (but not both).

Another example, numcopies is 3 and there is a client that has a backup
removable drive and two small archive repos. Normally once one of the small
archives has a file, it will not be put into the other one. But, to satisfy
numcopies, the assistant will duplicate it into the other small archive
too, if the backup repo is not available to receive the file.

I notice that these examples are fairly unlikely setups .. the old behavior
was not too bad, but it's nice to finally have it really correct.

.. Almost. I have skipped checking the annex.numcopies .gitattributes
out of fear it will be too slow.

This commit was sponsored by Florian Schlegel.
2014-01-20 17:35:29 -04:00
Joey Hess
5ddbd24a1c stability analysis 2014-01-20 17:11:02 -04:00
Joey Hess
d66535f065 global numcopies setting
* numcopies: New command, sets global numcopies value that is seen by all
  clones of a repository.
* The annex.numcopies git config setting is deprecated. Once the numcopies
  command is used to set the global number of copies, any annex.numcopies
  git configs will be ignored.
* assistant: Make the prefs page set the global numcopies.

This global numcopies setting is needed to let preferred content
expressions operate on numcopies.

It's also convenient, because typically if you want git-annex to preserve N
copies of files in a repo, you want it to do that no matter which repo it's
running in. Making it global avoids needing to warn the user about gotchas
involving inconsistent annex.numcopies settings.
(See changes to doc/numcopies.mdwn.)

Added a new variety of git-annex branch log file, that holds only 1 value.
Will probably be useful for other stuff later.

This commit was sponsored by Nicolas Pouillard.
2014-01-20 16:47:56 -04:00
Joey Hess
e7f8c1911a design for preferred content numcopies check 2014-01-20 14:28:33 -04:00
Joey Hess
cfa6865056 wontfix 2014-01-20 12:36:19 -04:00
Joey Hess
7e6e018408 followups and closures 2014-01-19 17:56:24 -04:00
http://olivier.mehani.name/
9c23012b5a 2014-01-16 02:27:25 +00:00
http://olivier.mehani.name/
895f4584f3 Added a comment 2014-01-16 02:22:19 +00:00