summaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAge
...
* add missing build-dep on network-conduit for webappGravatar Joey Hess2014-07-02
|
* Run standalone install process when the assistant is started (was only being ↵Gravatar Joey Hess2014-06-30
| | | | | | | | | | run when the webapp was opened). I had thought that this was already done, but apparently not. There may have been a reversion around version 5.20140606. Anna's laptop had its desktop menu file etc having that version despite having upgraded git-annex to a newer version. However, I could not find any commits that removed a call to ensureInstalled.
* Fix bug in annex.queuesize calculation that caused much more queue flushing ↵Gravatar Joey Hess2014-06-18
| | | | | | | | than necessary. The bug caused the size of the queue to be miscalculted; it was doubled each time an item was added. Commands run after approx 140 items rather than the intended 10240!
* Windows: Assistant now logs to daemon.log.Gravatar Joey Hess2014-06-17
| | | | | | | Yes, this means that git annex webapp on windows execs git-annex, which execs itself to set env, and the execs itself again to redirect logs. This is disgusting. This is Windows(TM).
* Windows: Fix opening file browser from webapp when repo is in a directory ↵Gravatar Joey Hess2014-06-17
| | | | with spaces.
* windows no-DOS-box and autostart, at lastGravatar Joey Hess2014-06-17
| | | | | | | | | Using the crazy but apparently best approach of a VB Script that runs git-annex, in a hidden DOS window. Note that currently the git-annex messages are not directed to daemon.log. Would probably need another layer of script. Also problimatic since the repository may not exist yet.
* assistant: Fix one-way assistant->assistant sync in direct mode.Gravatar Joey Hess2014-06-16
| | | | | | | | | | | | | | When in direct mode, update the master branch after committing to the annex/direct/master branch. Also, update the synced/master branch. This fixes a topology A->B where both A and B are in direct mode and running the assistant, and a change is made to B. Before this fix, A pulled the changes from B, but since they were only on the annex/direct/master branch, it did not merge them. Note that I considered making the assistant merge the remotes/B/annex/direct/master, but decided to keep it simple and only merge the sync branches as before.
* prep release5.20140613Gravatar Joey Hess2014-06-13
|
* changelog updateGravatar Joey Hess2014-06-12
|
* merge in windows loststamp branchGravatar Joey Hess2014-06-12
|\
* | finish fixing windows timezone madnessGravatar Joey Hess2014-06-12
|/ | | | | | | | | | | | | | | | | | | | | Rather than calculating the TSDelta once, and caching it, this now reads the inode sential file's InodeCache file once, and then each time a new InodeCache is generated, looks at the sentinal file to get the current delta. This way, if the time zone changes while git-annex is running, it will adapt. This adds some inneffiency, but only on Windows, and only 1 stat per new file added. The worst innefficiency is that `git annex status` and `git annex sync` will now (on Windows) stat the inode sentinal file once per file in the repo. It would be more efficient to use getCurrentTimeZone, rather than needing to stat the sentinal file. This should be easy to do, once the time package gets my bugfix patch. This commit was sponsored by Jürgen Lüters.
* deal with FAT on Linux timestamp issueGravatar Joey Hess2014-06-11
| | | | | | | | | Deal with FAT's low resolution timestamps, which in combination with Linux's caching of higher res timestamps while a FAT is mounted, caused direct mode repositories on FAT to seem to have modified files after they were unmounted and remounted. This commit was sponsored by Fabrice Rossi.
* Fix build with wai 0.3.0.Gravatar Joey Hess2014-06-11
| | | | | | | | | | This version of wai changed the type of Middleware, so I cannot seem to liftIO inside it. So, got rid of a lot of not really needed complexity to use System.Log.Logger's logging stuff, and just use the standard wai stdout logger when debug logging is enabled. Format may change some, and it logs http to stdout instead of stderr now. Doesn't matter for the webapp since both go to the same log anyway.
* Windows: Fix opening webapp when repository is in a directory with spaces in ↵Gravatar Joey Hess2014-06-10
| | | | the path.
* devblogGravatar Joey Hess2014-06-09
|
* avoid bad commits after interrupted direct mode sync (or merge)Gravatar Joey Hess2014-06-09
| | | | | | | | | | | | | | | It was possible for a interrupted sync or merge in direct mode to leave the work tree out of sync with the last recorded commit. This would result in the next commit seeing files missing from the work tree, and committing their removal. Now, a direct mode merge happens not only in a throwaway work tree, but using a temporary index file, and without any commits or index changes being made until the real work tree has been updated. If the merge is interrupted, the work tree may have some updated files, but worst case a commit will redundantly commit changes that come from the merge. This commit was sponsored by Tony Cantor.
* Avoid leaving behind .tmp files when failing in some cases, including ↵Gravatar Joey Hess2014-06-09
| | | | importing files to a disk that is full.
* Ignore setsid failures.Gravatar Joey Hess2014-06-09
|
* prep release5.20140606Gravatar Joey Hess2014-06-06
|
* wipGravatar Joey Hess2014-06-05
|
* Windows: Fix bug introduced in last release that caused files in the ↵Gravatar Joey Hess2014-06-05
| | | | git-annex branch to have lines teminated with \r.
* webapp: Include ssh port in mangled hostname.Gravatar Joey Hess2014-06-05
| | | | | | | | | This avoids a collision if different ssh ports are used on the same host for some reason. Note that it's ok to change the format of the mangled hostname; unmangling only extracts the hostname from it, and once ssh is configured for a mangled hostname, that config is not changed.
* unused: Avoid checking view branches for unused files.Gravatar Joey Hess2014-06-04
| | | | | | | | | | This avoids a potential slowdown when using lots of views. I think that it makes sense for unused to ignore (local) view branches, since these are by definition supposed to be views of an existing branch, so looking at the branch should be sufficient (and if the view is out of date and has files that have since been deleted from the branch, the user's intent is not to preserve those from unused reaping).
* assistant: Make sanity checker tmp dir cleanup code more robust.Gravatar Joey Hess2014-05-30
|
* avoid stomping on existing description when enabling a special remoteGravatar Joey Hess2014-05-30
| | | | Happened with eg, gcrypt remotes.
* webapp: avoid overwriting remote configs when enabling itGravatar Joey Hess2014-05-30
| | | | | | | | | | | | | | | | | Avoid stomping on existing group and preferred content settings when enabling or combining with an already existing remote. Two level fix. First, use defaultStandardGroup rather than setStandardGroup, so if there is an existing configuration in the git-annex branch, it's not overwritten. To handle pre-existing ssh remotes (including gcrypt), a second level is needed, because before syncing with the remote, it's configuration won't be available locally. (And syncing could take a long time.) So, in this case, keep track of whether the remote is being created or enabled, and only set configs when creating it. This commit was sponsored by Anders Lannerback.
* webapp: Avoid stomping on existing group and preferred content settings when ↵Gravatar Joey Hess2014-05-30
| | | | | | | | | | adding a local repository (or removable drive repository) that already exists. This does mean that if the webapp is asked to add a git repository on a removable drive that already exists, but is not yet a git-annex repository, it will avoid putting it in any group. That unlikely edge case is ok; the next step is the edit repository screen, which will show it's not in any group and the user can pick one.
* webapp: When adding a new local repository, fix bug that caused its group ↵Gravatar Joey Hess2014-05-29
| | | | | | | | | and preferred content to be set in the current repository, even when not combining. There was a tricky bit here, when it does combine, the edit form is shown, and so the info needs to be committed to the new repository, but then pulled into the current one. And caches need to be invalidated for it to be visible in the edit form.
* prep releaseGravatar Joey Hess2014-05-29
|
* remove newlines from static js and cssGravatar Joey Hess2014-05-28
| | | | | This works around a bug in the EvilSplicer; see http://git-annex.branchable.com/bugs/Bootstrap3_icons_missing_on_Android/
* update for change to exceptionsGravatar Joey Hess2014-05-28
|
* webapp: When setting up a ssh remote, if the user inputs ~/foo, normalize ↵Gravatar Joey Hess2014-05-27
| | | | that to foo, since it's in the home directory by default.
* Fix encoding of data written to git-annex branch. Avoid truncating unicode ↵Gravatar Joey Hess2014-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | characters to 8 bits. Allow any encoding to be used, as with filenames (but utf8 is the sane choice). Affects metadata and repository descriptions, and preferred content expressions. The question of what's the right encoding for the git-annex branch is a vexing one. utf-8 would be a nice choice, but this leaves the possibility of bad data getting into a git-annex branch somehow, and this resulting in git-annex crashing with encoding errors, which is a failure mode I want to avoid. (Also, preferred content expressions can refer to filenames, and filenames can have any encoding, so limiting to utf-8 would not be ideal.) The union merge code already took care to not assume any encoding for a file. Except it assumes that any \n is a literal newline, and not part of some encoding of a character that happens to contain a newline. (At least utf-8 avoids using newline for anything except liternal newlines.) Adapted the git-annex branch code to use this same approach. Note that there is a potential interop problem with Windows, since FileSystemEncoding doesn't work there, and instead things are always decoded as utf-8. If someone uses non-utf8 encoding for data on the git-annex branch, this can lead to an encoding error on windows. However, this commit doesn't actually make that any worse, because the union merge code would similarly fail with an encoding error on windows in that situation. This commit was sponsored by Kyle Meyer.
* android: Run busybox install with -s, since some versions of Android ↵Gravatar Joey Hess2014-05-23
| | | | prohibit making hard links.
* webapp: When setting up a ssh remote, record it using initremote, so that it ↵Gravatar Joey Hess2014-05-22
| | | | | | | | | | | | can be easily enabled elsewhere. This is the capstone in making the webapp remember ssh remotes so they can be easily enabled in other clones of the repository. Currently, the user will need to enter a password to enable the ssh remote, but everything else is filled in automatically. This commit was sponsored by Peter Lloyd.
* webapp: Support for enabling known git repositories on ssh servers.Gravatar Joey Hess2014-05-22
| | | | | | | | | | | The repository must have been added using initremote. Turned out to be much much simpler than expected, because I was able to reuse the existing code for enabling rsync and gcrypt remotes, which was already sufficiently general that it will also work for ssh remotes. Total win! This commit was sponsored by an unknown bitcoin contributor.
* initremote/enableremote: Basic support for using with regular git remotesGravatar Joey Hess2014-05-22
| | | | | initremote stores the location of an already existing git remote, and enableremote setups up a remote using its stored location.
* webapp: More robust startup when annex directory is not a git repo or not ↵Gravatar Joey Hess2014-05-21
| | | | intialized by git-annex.
* assistant: When there are multiple remotes giving different ways to access ↵Gravatar Joey Hess2014-05-19
| | | | | | | | | | | | the same repository, honor remote cost settings and use the cheapest available. Note that TransferInfo does not always contain the Remote, although any transfer added to the TransferQueue does have a Remote in its TransferInfo. The transferkeys command still accepts a UUID, which is useful to handle upgrades, where an old assistant version runs the new transferkeys. This commit was sponsored by Kalle Svensson.
* prep releaseGravatar Joey Hess2014-05-17
|
* Support symlinking git-annex and git-annex-shell from the Linux standalone ↵Gravatar Joey Hess2014-05-16
| | | | | | | | | bundle into PATH. Unless busybox doesn't support readlink -f, then it just uses readlink and symlinking won't work. Also, OSX has no readlink -f so not done there. Thanks, jlebar.
* changelogGravatar Joey Hess2014-05-16
|
* group: When no groups are specified to set, lists the current groups of a ↵Gravatar Joey Hess2014-05-16
| | | | repository.
* webapp: Fixed drag and drop to reorder the list of remotes.Gravatar Joey Hess2014-05-15
| | | | | | | Broken by cffc5e74129be798801086c612efd099fe7148ac, in November! I missed this because there's no strong type checking across the AJAX call. :( Need to switch to Fay to avoid such bugs..
* update for ddar special remoteGravatar Joey Hess2014-05-15
|
* add git-remote-gcrypt to build dependsGravatar Joey Hess2014-05-15
| | | | This ensures it's pulled in when building the standalone tarball
* remove ssh-askpass recommends; close bugs obsoleted by sshpassword branchGravatar Joey Hess2014-05-15
|
* changelogGravatar Joey Hess2014-05-15
|
* gcrypt needs a new version, which I am releaseingGravatar Joey Hess2014-05-15
|
* webapp: Better ssh password prompting.Gravatar Joey Hess2014-05-14
| | | | | | | | | | | | | | | | | | | | | When setting up a remote on a ssh server, prompt for a password inside the webapp, rather than relying on ssh's own password prompting in the terminal the webapp was started from, or ssh-askpass. Avoids double prompting for the ssh password (and triple-prompting on windows for rsync.net), since the entered password is cached for 10 minutes and this cached password is reused when setting up the repository, after the initial probe. When the user has an existing ssh key set up, they can choose to use it, rather than entering a password. The webapp used to probe for this case automatically, so this is a little harder, but it's an advanced user thing. Note that this commit is known to break enabling existing rsync repositories. It hs not been tested with gcrypt repositories. It's not been successfully tested yet on Windows. This commit was sponsored by Ralph Mayer.