Joey Hess
909f67443f
Fix transferring files to special remotes in direct mode.
2013-01-06 14:29:01 -04:00
Joey Hess
e457be7631
direct: Avoid hardlinking symlinks that point to the same content when the content is not present.
2013-01-06 13:57:53 -04:00
Joey Hess
13d2fffb2d
assistant: Detect when system is not configured with a user name, and set environment to prevent git from failing.
2013-01-06 13:34:08 -04:00
Joey Hess
b68eee625f
More commands work in direct mode repositories: find, whereis, move, copy, drop, log.
...
These started working, for free, once lookupFile supported direct mode.
yay!!
2013-01-05 17:17:04 -04:00
Joey Hess
1cdf2b923d
assistant: Make expensive transfer scan work fully in direct mode.
...
The expensive scan uses lookupFile, but in direct mode, that doesn't work
for files that are present. So the scan was not finding things that are
present that need to be uploaded. (It did find things not present that
needed to be downloaded.)
Now lookupFile also works in direct mode. Note that it still prefers
symlinks on disk to info committed to git, in direct mode. This is
necessary to make things like Assistant.Threads.Watcher.onAddSymlink
work correctly, when given a new symlink not yet checked into git (or
replacing a file checked into git).
2013-01-05 15:57:53 -04:00
Joey Hess
bf1981f60e
committer: Fix a file handle leak.
2013-01-05 13:42:31 -04:00
Joey Hess
bad9b6761d
restart UI
...
Browser behavior is not ideal; a new tab is opened on restart.
Browsers won't let me redirect to a file:// so I cannot use the old tab.
2013-01-03 18:50:30 -04:00
Joey Hess
de2e287133
webapp: Add UI to stop assistant.
...
Would like to also have restart UI, but that's rather harder to do,
seems it'd need to start another copy of the webapp, and redirect the
browser to its new url, but running two assistants in the same repo at
the same time isn't good.
2013-01-03 15:24:21 -04:00
Joey Hess
c3ae2d2e30
releasing version 3.20130102
2013-01-02 15:25:06 -04:00
Joey Hess
47994ce5cd
direct mode by default in repositories created by assistant
2013-01-01 15:30:54 -04:00
Joey Hess
2ce736ac50
block all commands that don't work in direct mode
...
I left status working in direct mode, although it doesn't show correct
stats for known annex keys.
2012-12-29 14:28:19 -04:00
Joey Hess
c0f9810f0b
OSX assistant: Uses direct mode by default when setting up a new local repository.
2012-12-28 16:42:11 -04:00
Joey Hess
7af958d92c
OSX FSEvents support
...
Needs work to deal with directory renames better; otherwise seems to
basically work.
2012-12-27 15:22:29 -04:00
Joey Hess
dde219dc95
update
2012-12-25 16:19:03 -04:00
Joey Hess
bd0d06be23
SHA*E backends: Exclude non-alphanumeric characters from extensions.
...
* SHA*E backends: Exclude non-alphanumeric characters from extensions.
* migrate: Remove leading \ in SHA* checksums, and non-alphanumerics
from extensions of SHA*E keys.
2012-12-20 17:16:55 -04:00
Joey Hess
e71f85645e
handle sha*sum's leading \ in checksum with certian unsual filenames
...
* Bugfix: Remove leading \ from checksums output by sha*sum commands,
when the filename contains \ or a newline. Closes : #696384
* fsck: Still accept checksums with a leading \ as valid, now that
above bug is fixed.
* migrate: Remove leading \ in checksums
2012-12-20 17:07:10 -04:00
Joey Hess
7da2e27293
Bugfix: Fixed bug parsing transfer info files
...
The newline after the filename was included in it.
This was generally benign -- mostly these filenames are just displayed,
and the newline didn't matter.
But in the assistant, it caused unexpected dropping of preferred
content.
A characteristic of this bug is that the drop was displayed like this:
drop some_file
ok
2012-12-19 14:17:01 -04:00
Joey Hess
d62a58b9c8
Merge branch 'master' into desymlink
2012-12-18 12:36:29 -04:00
Joey Hess
77931c1e92
vicfg: Quote filename. Closes : #696193
2012-12-18 12:19:24 -04:00
Joey Hess
40fa6936e4
Merge branch 'master' into desymlink
...
Conflicts:
debian/changelog
doc/design/assistant/desymlink.mdwn
2012-12-17 13:29:10 -04:00
Joey Hess
3b54c1d3e4
kqueue: Fix bug that made broken symlinks not be noticed.
2012-12-14 16:28:27 -04:00
Joey Hess
5df3c66a85
added direct and indirect commands
2012-12-13 15:44:56 -04:00
Joey Hess
c0bf569417
releasing version 3.20121211
2012-12-11 12:28:23 -04:00
Joey Hess
dd299ce8d3
minor reorg
2012-12-11 12:22:33 -04:00
Joey Hess
033577b661
Enable WebDAV support in Debian package. Closes : #695532
2012-12-10 11:12:55 -04:00
Joey Hess
501ec95a27
assistant: Fix syncing to just created ssh remotes.
...
This got broken when I optimised reconnecting with remotes, to not do a
full scan if the remote was not diverged.
2012-12-06 17:15:50 -04:00
Joey Hess
551924e6be
webapp: Allow user to specify the ssh port when setting up a remote.
2012-12-06 17:09:38 -04:00
Joey Hess
99a8a5297c
--auto fixes
...
* get/copy --auto: Transfer data even if it would exceed numcopies,
when preferred content settings want it.
* drop --auto: Fix dropping content when there are no preferred content
settings.
2012-12-06 13:22:16 -04:00
Joey Hess
3fdb78a51e
assistant: Allow periods in ssh key comments.
2012-12-06 10:39:51 -04:00
Joey Hess
c59783a549
assistant: Avoid trying to drop content from remotes that don't have it.
2012-12-05 12:44:08 -04:00
Joey Hess
c9fd389fbf
webapp: Encryption can be disabled when setting up remotes.
2012-12-04 13:28:22 -04:00
Joey Hess
4f4209b833
webapp: Added help buttons and links next to fields that require explanations.
2012-12-02 22:33:30 -04:00
Joey Hess
7b032dbbc8
webapp: Fix bad interaction between required fields and modals.
2012-12-02 17:32:54 -04:00
Joey Hess
c941523b63
webapp: Prettify error display.
2012-12-02 15:02:49 -04:00
Joey Hess
5460414486
webdav: Avoid trying to set props, avoiding incompatability with livedrive.com. Needs DAV version 0.3.
2012-12-01 17:12:41 -04:00
Joey Hess
0b6c889012
webapp: S3 and Glacier forms now have a select list of all currently-supported AWS regions.
2012-12-01 14:11:37 -04:00
Joey Hess
ea5d7292e6
dropping from web
2012-11-29 17:01:07 -04:00
Joey Hess
d2df2e52b4
remove hard link when sanity check failed
...
See http://git-annex.branchable.com/forum/dot_git_slash_annex_slash_tmp/
2012-11-29 16:54:51 -04:00
Joey Hess
dc337e29de
Include ssh in standalone builds.
...
There are two reasons to to so. First, it allows not building with
WITH_OLD_SSH, and using ssh connection caching.
Second, per
http://git-annex.branchable.com/bugs/OSX_app_issues/#comment-3bdbc400a7c87c5cbc16e5aab5a52ac3
ssh can fail when run from the standalone build, due to library
incompatabilities. Building in ssh will avoid this.
2012-11-29 15:51:21 -04:00
Joey Hess
3b35cde0e8
assistant: Retrival from glacier now handled.
2012-11-29 15:23:33 -04:00
Joey Hess
51aa988a9f
Fix broken .config/git-annex/program installed by standalone tarball.
...
It was doubly broken; both missing a slash, and containing
"runshell git-annex", while some parts of the code expected it to be a
simple path to a program. This appears to include the transfer queue
runner, and the code that starts a new assistant process when switching to
another repository in the webapp.
2012-11-28 16:09:38 -04:00
Joey Hess
8dd1d9aaf9
webapp: Defaults to sharing box.com account info with friends, allowing one-click enabling of the repository.
2012-11-28 13:31:49 -04:00
Joey Hess
76ca972112
releasing version 3.20121127
2012-11-27 17:55:06 -04:00
Joey Hess
2525fefbb9
The standalone builds now unset their special path and library path variables before running the system web browser.
...
Should fix a crash reported on OSX.
2012-11-27 17:05:29 -04:00
Joey Hess
5ff666ec99
rsync: Fix bug introduced in last release that broke encrypted rsync special remotes.
2012-11-27 16:29:31 -04:00
Joey Hess
44a7387eba
Fix dirContentsRecursive, which had missed some files in deeply nested subdirectories. Could affect various parts of git-annex.
2012-11-26 16:45:55 -04:00
Joey Hess
9fe8bb5280
only build-depend on wait and warp on Debian arches that have yesod
2012-11-26 12:59:14 -04:00
Joey Hess
6d775b704b
releasing version 3.20121126
2012-11-26 12:35:39 -04:00
Joey Hess
135dec91de
reorder
2012-11-25 17:57:40 -04:00
Joey Hess
5f3661238d
Display a warning when a non-existing file or directory is specified.
2012-11-25 17:54:08 -04:00
Joey Hess
66c0da1fa9
build-depend on a recent mtl
...
Old versions have an insufficiently generic definition of reader,
which only works on ReaderT and not on newtypes made of it, or something
like that.
2012-11-25 16:24:05 -04:00
Joey Hess
463cf58140
webapp and assistant glacier support
2012-11-24 16:30:15 -04:00
Joey Hess
a5111a6d85
Amazon Glacier special remote; 100% working
2012-11-20 16:43:58 -04:00
Joey Hess
9221e62d87
Allow controlling whether login credentials for S3 and webdav are committed to the repository, by setting embedcreds=yes|no when running initremote.
2012-11-19 17:32:58 -04:00
Joey Hess
7b71685a93
Bugfix: directory special remote could loop forever storing a key when a too small chunksize was configured.
...
Ensure that each file has something written to it, even if the bytestring
chunk size is greater than the configured chunksize.
This means we may write a bit larger than the configured value, but only
when the configured value is very small; ie, < 8 kb.
2012-11-19 13:30:58 -04:00
Joey Hess
5f977cc725
directory special remote: Made more efficient and robust.
...
Files are now written to a tmp directory in the remote, and once all
chunks are written, etc, it's moved into the final place atomically.
For now, checkpresent still checks every single chunk of a file, because
the old method could leave partially transferred files with some chunks
present and others not.
2012-11-19 13:18:23 -04:00
Joey Hess
7df1e71fe3
S3: Added progress display for uploading and downloading.
2012-11-18 22:49:07 -04:00
Joey Hess
81379bb29c
better streaming while encrypting/decrypting
...
Both the directory and webdav special remotes used to have to buffer
the whole file contents before it could be decrypted, as they read
from chunks. Now the chunks are streamed through gpg with no buffering.
2012-11-18 15:27:44 -04:00
Joey Hess
da40668038
blog for the day
2012-11-16 23:23:04 -04:00
Joey Hess
a4b86c63d6
webdav is fully working in non-enctypted mode
2012-11-16 00:09:22 -04:00
Joey Hess
3c039d329c
update to dav 0.1, and basic uploading is working!
2012-11-15 13:46:16 -04:00
Joey Hess
aea3a65864
Merge branch 'master' into webdav
2012-11-15 12:58:06 -04:00
Joey Hess
d3766803b4
OSX: Fix RunAtLoad value in plist file.
2012-11-15 01:01:54 -04:00
Joey Hess
0cba0cb2dd
skeltal webdav special remote
...
Doesn't actually store anything yet, but initremote works and tests the
server.
2012-11-14 20:25:31 -04:00
Joey Hess
cf565c0098
remove async build dep
...
Not needed.. At least for now..
2012-11-14 11:53:59 -04:00
Joey Hess
d468e37f46
automatic repolist updating
2012-11-13 17:50:54 -04:00
Joey Hess
c9d58a6590
Fix build of assistant without yesod.
2012-11-13 15:36:34 -04:00
Joey Hess
75dbce69e6
Show error message to user when testing XMPP creds.
2012-11-13 13:21:09 -04:00
Joey Hess
7389a9bd84
looses xmpp build dep slightly
...
My upload of -2 seems to have gotten lost, but there is a +b1 binNMU
that rebuilds against the new gnutls.
2012-11-12 14:14:57 -04:00
Joey Hess
4371d0b8c0
releasing version 3.20121112
2012-11-12 11:04:26 -04:00
Joey Hess
a1d58959e4
release notes for tomorrow's release
2012-11-12 01:23:42 -04:00
Joey Hess
b312e54ba7
added a runTimeout function
...
This adds a dep on haskell's async library, but since that's been
added to the recent haskell platform release, it should not be
much hardship to my poor long-suffering library chasing users.
2012-11-11 13:38:08 -04:00
Joey Hess
2a88845c28
changelog
2012-11-10 14:04:43 -04:00
Joey Hess
9d18e9b916
changelog
2012-11-10 14:02:25 -04:00
Joey Hess
dedd2a407e
version gnutls d-b to avoid segfault
...
debian testing still has the buggy version..
2012-11-10 11:49:02 -04:00
Joey Hess
1178840032
Bugfix: Fix hang in webapp when setting up a ssh remote with an absolute path.
2012-11-05 12:35:11 -04:00
Joey Hess
0b8027e527
webapp: When setting up authorized_keys, use GIT_ANNEX_SHELL_DIRECTORY.
2012-11-05 12:35:05 -04:00
Joey Hess
bd230efa56
git-annex-shell: GIT_ANNEX_SHELL_DIRECTORY can be set to limit it to operating on a specified directory.
2012-11-05 11:29:12 -04:00
Joey Hess
359f386ad6
switch to new URI version by default, -DWITH_OLD_URI for old
2012-11-03 12:10:01 -04:00
Joey Hess
33dbb19d99
webapp: Ensure that rsync special remotes are enabled using the same name they were originally created using.
...
It was creating a new special remote with a different name, unless
the stars perfectly aligned and the names matched.
2012-10-31 16:14:52 -04:00
Joey Hess
39e82b1af8
webapp: Generate better git remote names.
...
Wrote a better git remote name sanitizer. Git blows up on lots of weird
stuff, especially if it starts the remote name, but I managed to get
some common punctuation working.
2012-10-31 15:26:19 -04:00
Joey Hess
c03d9b2310
webapp: Fix renaming of special remotes.
...
Working around what seems to me to be a git bug. Surely there are valid
setups of real git remotes that don't have fetch set?
2012-10-31 14:39:05 -04:00
Joey Hess
7fe077ec24
webapp: Fix creation of rsync.net repositories.
2012-10-31 13:58:31 -04:00
Joey Hess
a4c6b30e2c
avoid using Blaze directly
...
New 0.5 changes the api, rather gratuitously, so run away. I can juse use
Hamlet here.
2012-10-31 13:27:56 -04:00
Joey Hess
4757bd3728
added a missing build-dep
2012-10-31 11:50:43 -04:00
Joey Hess
7fe1baf3f1
assistant: Fix syncing local drives.
...
Amoung other things, this makes it immediately sync files from a removable
drive when it's added.
2012-10-30 19:33:27 -04:00
Joey Hess
0cf152b88b
webapp: Make an initial, empty commit so there is a master branch
...
Several things only happen when on a branch, so make sure we're on one.
2012-10-30 19:12:05 -04:00
Joey Hess
87ebdc8f90
add build-dep on blaze-markup
...
which blaze-html depends on, so not a significant new dep
2012-10-30 12:59:05 -04:00
Joey Hess
f89d6dd33e
The standalone tarball's runshell now takes care of installing a ~/.ssh/git-annex-shell wrapper the first time it's run.
2012-10-29 14:40:28 -04:00
Joey Hess
9767562f65
rsync special remote: Include annex-rsync-options when running rsync to test a key's presence.
...
Also, use the new withQuietOutput function to avoid running the shell to
/dev/null stderr in two other places.
2012-10-28 13:51:14 -04:00
Joey Hess
4db379bca3
recommend bind9-host
2012-10-27 20:54:53 -04:00
Joey Hess
6633a5158d
update
2012-10-27 00:57:53 -04:00
Joey Hess
fc06ccf355
Merge branch 'xmpp'
2012-10-27 00:55:13 -04:00
Joey Hess
0c0ef99341
gnutls segfault fixed
...
Adjust build deps to ensure that only a fixed version of the library will
be used.
Also, removed the bound thread stuff, which I now think was (probably)
a red herring.
2012-10-26 23:07:30 -04:00
Joey Hess
c57edb4381
fix syntax
2012-10-26 20:47:44 -04:00
Joey Hess
d1e5f2d596
Merge branch 'master' into xmpp
...
Conflicts:
Assistant/Threads/NetWatcher.hs
2012-10-26 19:42:24 -04:00
Joey Hess
8e4620a6c7
NetWatcher: When dbus connection is lost, try to reconnect.
...
MountWatcher can't do this, because it uses the session dbus,
and won't have access to the new DBUS_SESSION_BUS_ADDRESS if a new session
is started.
Bumped dbus library version, FD leak in it is fixed.
2012-10-26 19:38:27 -04:00
Joey Hess
0b1cf3a766
Merge branch 'master' into xmpp
...
Conflicts:
Assistant/Threads/MountWatcher.hs
Assistant/Threads/NetWatcher.hs
2012-10-26 00:10:41 -04:00
Joey Hess
7ee0ffaeb9
Use USER and HOME environment when set, and only fall back to getpwent, which doesn't work with LDAP or NIS.
2012-10-25 18:17:54 -04:00
Joey Hess
52a48d1a78
Merge branch 'master' into xmpp
2012-10-25 14:43:55 -04:00