git-annex/doc
Joey Hess 35739a74c2
make file2key reject E* backend keys with a long extension
I am not happy that I had to put backend-specific code in file2key. But
it would be very difficult to avoid this layering violation.

Most of the time, when parsing a Key from a symlink target, git-annex
never looks up its Backend at all, so adding this check to a method of
the Backend object would not work.

The Key could be made to contain the appropriate
Backend, but since Backend is parameterized on an "a" that is fixed to
the Annex monad later, that would need Key to change to "Key a".

The only way to clean this up that I can see would be to have the Key
contain a LowlevelBackend, and put the validation in LowlevelBackend.
Perhaps later, but that would be an extensive change, so let's not do
it in this commit which may want to cherry-pick to backports.

This commit was sponsored by Ethan Aubin.
2017-02-24 11:22:15 -04:00
..
Android Added a comment: Assistant doesn't launch in Android N 2016-10-25 01:43:58 +00:00
android
assistant wording 2016-12-28 12:38:34 -04:00
automatic_conflict_resolution
backends Added a comment: Lower-case extension backends: +1 2016-10-22 17:55:13 +00:00
bare_repositories comment 2016-10-26 13:49:32 -04:00
bugs Added a comment 2017-02-22 16:48:04 +00:00
coding_style
contact
contribute comment 2016-05-27 11:46:24 -04:00
copies
design correct spelling mistakes 2017-02-12 17:30:23 -04:00
devblog updates 2017-02-24 00:28:15 -04:00
direct_mode
download remove spam 2016-06-08 13:29:46 -04:00
ekg
encryption
footer
forum Added a comment 2017-02-23 23:05:10 +00:00
future_proofing
git-annex-copy removed 2016-10-23 18:17:01 +00:00
git-annex-direct
git-annex-drop response 2016-05-04 13:29:37 -04:00
git-annex-enableremote Added a comment 2017-02-14 20:21:41 +00:00
git-annex-importfeed
git-annex-preferred-content
git-annex-reinject Added a comment: Like it's written: annex only 2016-10-28 20:40:54 +00:00
git-annex-unannex Added a comment: Ok, v6 not mature yet (as of 2016-10). 2016-10-29 10:02:06 +00:00
git-annex-undo Added a comment: git-annex-undo: 3 issues and fix suggestions 2016-10-21 09:21:16 +00:00
git-annex-unused
how_it_works
install remove page for Homebrew-cask 2017-02-02 16:39:47 -04:00
internals correct spelling mistakes 2017-02-12 17:30:23 -04:00
license
links add some links to new workflow page 2016-12-20 15:13:44 -04:00
metadata
news add news item for git-annex 6.20170214 2017-02-14 14:56:57 -04:00
not Added a comment: Can git-annex be used to quasi-realtime replication? 2017-01-16 17:41:07 +00:00
polls
preferred_content
required_content
scalability
special_remotes 2017-02-14 18:14:24 +00:00
stickers
sync bug 2016-09-21 14:57:20 -04:00
templates
testimonials
thanks update 2017-02-02 12:38:36 -04:00
tips linkify 2017-02-17 15:58:32 -04:00
todo make file2key reject E* backend keys with a long extension 2017-02-24 11:22:15 -04:00
trust
tuning
upgrades
use_case
users 2017-02-18 16:28:45 +00:00
videos add back share_with_a_friend_walkthrough, adapted for tor pairing 2016-12-24 15:46:02 -04:00
walkthrough remove recent addition of receive.denyNonFastForwards to walkthrough 2017-02-13 16:02:53 -04:00
Android.mdwn
assistant.mdwn fix markup 2016-12-28 12:34:42 -04:00
automatic_conflict_resolution.mdwn
backends.mdwn
bare_repositories.mdwn mention --branch 2016-07-20 13:39:13 -04:00
bugs.mdwn 2017-01-22 18:07:51 +00:00
builds.mdwn add the new armel-ancient build 2017-02-15 14:43:19 -04:00
chunking.mdwn
coding_style.mdwn
comments.mdwn
contact.mdwn
contribute.mdwn expand haskell section of contribute page 2016-11-02 11:04:26 -04:00
copies.mdwn
design.mdwn
devblog.mdwn
direct_mode.mdwn
distributed_version_control.mdwn
download.mdwn Updated cabal file explictly lists source files. 2016-05-24 01:28:07 -04:00
ekg.mdwn update instructions to work better 2016-12-08 16:55:40 -04:00
encryption.mdwn Change git annex info remote encryption description to use wording closer to what's used in initremote. 2016-05-11 16:09:39 -04:00
favicon.ico
forum.mdwn
future_proofing.mdwn Support using v3 repositories without upgrading them to v5. 2016-10-05 16:53:09 -04:00
git-annex-add.mdwn fix formatting 2016-12-05 13:52:40 -04:00
git-annex-addunused.mdwn
git-annex-addurl.mdwn addurl, get: Added --json-progress option, which adds progress objects to the json output. 2016-09-09 15:06:54 -04:00
git-annex-adjust.mdwn correct spelling mistake 2017-02-11 09:16:26 +00:00
git-annex-assistant.mdwn
git-annex-calckey.mdwn
git-annex-checkpresentkey.mdwn
git-annex-config.mdwn New annex.synccontent config setting 2017-02-03 14:31:17 -04:00
git-annex-contentlocation.mdwn
git-annex-copy.mdwn copy, move, mirror: Support --json and --json-progress. 2016-09-09 16:24:26 -04:00
git-annex-dead.mdwn
git-annex-describe.mdwn
git-annex-diffdriver.mdwn
git-annex-direct.mdwn
git-annex-drop.mdwn --branch, stage 1 2016-07-20 12:05:26 -04:00
git-annex-dropkey.mdwn
git-annex-dropunused.mdwn
git-annex-edit.mdwn
git-annex-enable-tor.mdwn enable-tor: No longer needs to be run as root. 2016-12-20 17:40:36 -04:00
git-annex-enableremote.mdwn enableremote: Remove annex-ignore configuration from a remote. 2016-05-24 15:58:27 -04:00
git-annex-examinekey.mdwn
git-annex-expire.mdwn
git-annex-find.mdwn
git-annex-findref.mdwn
git-annex-fix.mdwn
git-annex-forget.mdwn
git-annex-fromkey.mdwn git-annex fromkey now takes multiple pairs of keys and filenames 2016-12-05 09:59:20 -05:00
git-annex-fsck.mdwn --branch, stage 1 2016-07-20 12:05:26 -04:00
git-annex-fuzztest.mdwn
git-annex-get.mdwn addurl, get: Added --json-progress option, which adds progress objects to the json output. 2016-09-09 15:06:54 -04:00
git-annex-group.mdwn
git-annex-groupwanted.mdwn
git-annex-import.mdwn import --reinject-duplicates 2017-02-09 15:41:00 -04:00
git-annex-importfeed.mdwn
git-annex-indirect.mdwn
git-annex-info.mdwn info: Support being passed a treeish, and show info about the annexed files in it similar to how a directory is handled. 2016-09-15 12:51:00 -04:00
git-annex-init.mdwn
git-annex-initremote.mdwn initremote: When a uuid= parameter is passed, use the specified UUID for the new special remote, instead of generating a UUID. 2017-02-07 15:10:41 -04:00
git-annex-list.mdwn
git-annex-lock.mdwn
git-annex-log.mdwn log: Added --all option. 2016-07-17 15:15:08 -04:00
git-annex-lookupkey.mdwn
git-annex-map.mdwn prefer xdot over dot 2016-11-30 12:50:49 -04:00
git-annex-matchexpression.mdwn
git-annex-matching-options.mdwn
git-annex-merge.mdwn documentation updates for new receive.denyCurrentBranch=updateInstead support 2017-02-17 15:43:16 -04:00
git-annex-metadata.mdwn Added metadata --batch option, which allows getting, setting, deleting, and modifying metadata for multiple files/keys. 2016-07-27 10:46:25 -04:00
git-annex-migrate.mdwn
git-annex-mirror.mdwn copy, move, mirror: Support --json and --json-progress. 2016-09-09 16:24:26 -04:00
git-annex-move.mdwn copy, move, mirror: Support --json and --json-progress. 2016-09-09 16:24:26 -04:00
git-annex-numcopies.mdwn vicfg: Include the numcopies configuation. 2017-01-30 15:27:25 -04:00
git-annex-p2p.mdwn p2p --pair with magic wormhole (untested) 2016-12-18 16:51:41 -04:00
git-annex-post-receive.mdwn post-recive hook to make updateInstead work in direct mode and adjusted branches 2017-02-17 14:04:43 -04:00
git-annex-pre-commit.mdwn
git-annex-preferred-content.mdwn
git-annex-proxy.mdwn
git-annex-readpresentkey.mdwn
git-annex-registerurl.mdwn
git-annex-reinit.mdwn reusing repository uuid cannot result in data loss AFAIK 2017-01-30 13:18:50 -04:00
git-annex-reinject.mdwn
git-annex-rekey.mdwn rekey: Added --batch mode. 2016-12-05 12:55:50 -04:00
git-annex-remotedaemon.mdwn remotedaemon: git change detection over tor hidden service 2016-12-09 16:02:43 -04:00
git-annex-repair.mdwn
git-annex-required.mdwn
git-annex-resolvemerge.mdwn
git-annex-rmurl.mdwn cleanup 2016-12-05 12:13:25 -04:00
git-annex-schedule.mdwn
git-annex-semitrust.mdwn
git-annex-setkey.mdwn
git-annex-setpresentkey.mdwn
git-annex-shell.mdwn correct spelling mistake 2017-02-11 09:14:27 +00:00
git-annex-smudge.mdwn Fix path in git-annex-smudge(1) 2016-08-16 11:50:19 -04:00
git-annex-status.mdwn status: Pass --ignore-submodules=when option on to git status. 2017-02-20 17:01:24 -04:00
git-annex-sync.mdwn New annex.synccontent config setting 2017-02-03 14:31:17 -04:00
git-annex-test.mdwn
git-annex-testremote.mdwn
git-annex-transferkey.mdwn
git-annex-transferkeys.mdwn
git-annex-trust.mdwn
git-annex-unannex.mdwn comment 2016-10-26 13:57:20 -04:00
git-annex-undo.mdwn
git-annex-ungroup.mdwn
git-annex-uninit.mdwn
git-annex-unlock.mdwn
git-annex-untrust.mdwn
git-annex-unused.mdwn
git-annex-upgrade.mdwn
git-annex-vadd.mdwn
git-annex-vcycle.mdwn
git-annex-version.mdwn
git-annex-vfilter.mdwn
git-annex-vicfg.mdwn vicfg: Include the numcopies configuation. 2017-01-30 15:27:25 -04:00
git-annex-view.mdwn
git-annex-vpop.mdwn
git-annex-wanted.mdwn
git-annex-watch.mdwn
git-annex-webapp.mdwn
git-annex-whereis.mdwn --branch, stage 1 2016-07-20 12:05:26 -04:00
git-annex.mdwn post-recive hook to make updateInstead work in direct mode and adjusted branches 2017-02-17 14:04:43 -04:00
git-remote-tor-annex.mdwn use P2P auth for git-remote-tor-annex 2016-11-30 15:26:55 -04:00
git-union-merge.mdwn
how_it_works.mdwn add some links to new workflow page 2016-12-20 15:13:44 -04:00
index.mdwn
install.mdwn Revert "Added link to Windows installation instructions. The page was not easy to find." 2016-11-29 13:32:20 -04:00
internals.mdwn config: New command for storing configuration in the git-annex branch. 2017-01-30 16:46:38 -04:00
license.mdwn
location_tracking.mdwn
logo-old-bw.svg
logo-old.png
logo-old.svg
logo-old_small.png
logo.mdwn
logo.svg
logo_16x16.png
logo_32x32.png
logo_small.png
meta.mdwn
metadata.mdwn link to git-annex-metadata-gui 2016-12-07 16:09:30 -04:00
news.mdwn
not.mdwn
polls.mdwn
preferred_content.mdwn
privacy.mdwn
publicrepos.mdwn
related_software.mdwn add git-annex-adaptor 2016-12-07 16:06:56 -04:00
repomap.png
required_content.mdwn
scalability.mdwn
shortcuts.mdwn
sidebar.mdwn remove flattr link, add patreon link 2016-08-03 17:40:26 -04:00
sitemap.mdwn
special_remotes.mdwn add page for tor special remote 2016-12-07 15:44:52 -04:00
stickers.mdwn
submodules.mdwn
summary.mdwn
sync.mdwn add some links to new workflow page 2016-12-20 15:13:44 -04:00
testimonials.mdwn
thanks.mdwn use list 2016-12-03 16:52:18 -04:00
tips.mdwn
todo.mdwn
transferring_data.mdwn
trust.mdwn
tuning.mdwn
upgrades.mdwn Support using v3 repositories without upgrading them to v5. 2016-10-05 16:53:09 -04:00
users.mdwn
videos.mdwn
Void.mdwn
walkthrough.mdwn remove recent addition of receive.denyNonFastForwards to walkthrough 2017-02-13 16:02:53 -04:00
workflow.mdwn oops, manual reflow 2016-12-25 01:36:30 +00:00