summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Richard Hartmann <richih.mailinglist@gmail.com>2012-07-08 20:53:50 +0200
committerGravatar Joey Hess <joey@kitenet.net>2012-07-08 13:04:35 -0600
commit619297e1a7ba89f50fa5be9d7dfdfe5a9510129a (patch)
tree425a9931a9caa211ae24f9d8c05976757c2203a6
parentb64a489a07f5e5be5b722ec3b942f505756ce853 (diff)
Fix typos on blog
-rw-r--r--doc/design/assistant/blog/day_10__lsof.mdwn4
-rw-r--r--doc/design/assistant/blog/day_12__freebsd_redux.mdwn4
-rw-r--r--doc/design/assistant/blog/day_14__thinking_about_syncing.mdwn4
-rw-r--r--doc/design/assistant/blog/day_18__merging.mdwn6
-rw-r--r--doc/design/assistant/blog/day_19__random_improvements.mdwn2
-rw-r--r--doc/design/assistant/blog/day_22__horrible_option_parsing_hack.mdwn2
-rw-r--r--doc/design/assistant/blog/day_23__transfer_watching.mdwn2
-rw-r--r--doc/design/assistant/blog/day_25__transfer_queueing.mdwn6
-rw-r--r--doc/design/assistant/blog/day_2__races.mdwn2
-rw-r--r--doc/design/assistant/blog/day_4__speed.mdwn2
-rw-r--r--doc/design/assistant/blog/day_5__committing.mdwn4
-rw-r--r--doc/design/assistant/blog/day_6__polish.mdwn2
-rw-r--r--doc/design/assistant/blog/day_7__bugfixes.mdwn2
-rw-r--r--doc/design/assistant/blog/day_8__speed.mdwn2
14 files changed, 22 insertions, 22 deletions
diff --git a/doc/design/assistant/blog/day_10__lsof.mdwn b/doc/design/assistant/blog/day_10__lsof.mdwn
index 32b670571..d4217677f 100644
--- a/doc/design/assistant/blog/day_10__lsof.mdwn
+++ b/doc/design/assistant/blog/day_10__lsof.mdwn
@@ -23,7 +23,7 @@ In other words, I was lost in the weeds for a lot of those hours...
At one point, something glorious happened, and it was always making exactly
one commit for batch mode modifications of a lot of files (like untarring
-them). Unfortunatly, I had to lose that gloriousness due to another
+them). Unfortunately, I had to lose that gloriousness due to another
potential race, which, while unlikely, would have made the program deadlock
if it happened.
@@ -40,7 +40,7 @@ are still open for write.
This works great! Starting up `git annex watch` when processes have files
open is no longer a problem, and even if you're evil enough to try having
-muliple processes open the same file, it will complain and not annex it
+multiple processes open the same file, it will complain and not annex it
until all the writers close it.
(Well, someone really evil could turn the write bit back on after git annex
diff --git a/doc/design/assistant/blog/day_12__freebsd_redux.mdwn b/doc/design/assistant/blog/day_12__freebsd_redux.mdwn
index ba397788a..5ec446c9d 100644
--- a/doc/design/assistant/blog/day_12__freebsd_redux.mdwn
+++ b/doc/design/assistant/blog/day_12__freebsd_redux.mdwn
@@ -3,13 +3,13 @@ to `kqueue`, and Haskell code to use that library. By now I think I
understand kqueue fairly well -- there are some very tricky parts to the
interface.
-But... it still did't work. After building all this, my code was
+But... it still didn't work. After building all this, my code was
failing the same way that the
[haskell kqueue library failed](https://github.com/hesselink/kqueue/issues/1)
yesterday. I filed a [bug report with a testcase]().
Then I thought to ask on #haskell. Got sorted out in quick order! The
-problem turns out to be that haskell's runtime has a peridic SIGALARM,
+problem turns out to be that haskell's runtime has a periodic SIGALARM,
that is interrupting my kevent call. It can be worked around with `+RTS -V0`,
but I put in a fix to retry to kevent when it's interrupted.
diff --git a/doc/design/assistant/blog/day_14__thinking_about_syncing.mdwn b/doc/design/assistant/blog/day_14__thinking_about_syncing.mdwn
index c4a700d13..4173fbf77 100644
--- a/doc/design/assistant/blog/day_14__thinking_about_syncing.mdwn
+++ b/doc/design/assistant/blog/day_14__thinking_about_syncing.mdwn
@@ -10,13 +10,13 @@ But it's not all easy. Syncing should happen as fast as possible, so
changes show up without delay. Eventually it'll need to support syncing
between nodes that cannot directly contact one-another. Syncing needs to
deal with nodes coming and going; one example of that is a USB drive being
-plugged in, which should immediatly be synced, but network can also come
+plugged in, which should immediately be synced, but network can also come
and go, so it should periodically retry nodes it failed to sync with. To
start with, I'll be focusing on fast syncing between directly connected
nodes, but I have to keep this wider problem space in mind.
One problem with `git annex sync` is that it has to be run in both clones
-in order for changes to fully propigate. This is because git doesn't allow
+in order for changes to fully propagate. This is because git doesn't allow
pushing changes into a non-bare repository; so instead it drops off a new
branch in `.git/refs/remotes/$foo/synced/master`. Then when it's run locally
it merges that new branch into `master`.
diff --git a/doc/design/assistant/blog/day_18__merging.mdwn b/doc/design/assistant/blog/day_18__merging.mdwn
index 44a79e14f..f963cf85d 100644
--- a/doc/design/assistant/blog/day_18__merging.mdwn
+++ b/doc/design/assistant/blog/day_18__merging.mdwn
@@ -12,7 +12,7 @@ not sufficient. There are two problems with it:
So, instead, git-annex will use a regular `git merge`, and if it fails, it
will fix up the conflicts.
-That presented its own difficully, of finding which files in the tree
+That presented its own difficulty, of finding which files in the tree
conflict. `git ls-files --unmerged` is the way to do that, but its output
is a quite raw form:
@@ -21,9 +21,9 @@ is a quite raw form:
100644 1eabec834c255a127e2e835dadc2d7733742ed9a 2 bar
100644 36902d4d842a114e8b8912c02d239b2d7059c02b 3 bar
-I had to stare at the rather inpenetrable documentation for hours and
+I had to stare at the rather impenetrable documentation for hours and
write a lot of parsing and processing code to get from that to these mostly
-self expanatory data types:
+self explanatory data types:
data Conflicting v = Conflicting
{ valUs :: Maybe v
diff --git a/doc/design/assistant/blog/day_19__random_improvements.mdwn b/doc/design/assistant/blog/day_19__random_improvements.mdwn
index 93c1296ba..acb30bf93 100644
--- a/doc/design/assistant/blog/day_19__random_improvements.mdwn
+++ b/doc/design/assistant/blog/day_19__random_improvements.mdwn
@@ -35,7 +35,7 @@ more threads:
1. Uploads new data to every configured remote. Triggered by the watcher
thread when it adds content. Easy; just use a `TSet` of Keys to send.
-2. Downloads new data from the cheapest remote that has it. COuld be
+2. Downloads new data from the cheapest remote that has it. Could be
triggered by the
merger thread, after it merges in a git sync. Rather hard; how does it
work out what new keys are in the tree without scanning it all? Scan
diff --git a/doc/design/assistant/blog/day_22__horrible_option_parsing_hack.mdwn b/doc/design/assistant/blog/day_22__horrible_option_parsing_hack.mdwn
index 9f59d1af9..8f6708e59 100644
--- a/doc/design/assistant/blog/day_22__horrible_option_parsing_hack.mdwn
+++ b/doc/design/assistant/blog/day_22__horrible_option_parsing_hack.mdwn
@@ -1,6 +1,6 @@
Well, sometimes you just have to go for the hack. Trying to find a way
to add additional options to git-annex-shell without breaking backwards
-compatability, I noticed that it ignores all options after `--`, because
+compatibility, I noticed that it ignores all options after `--`, because
those tend to be random rsync options due to the way rsync runs it.
So, I've added a new class of options, that come in between, like
diff --git a/doc/design/assistant/blog/day_23__transfer_watching.mdwn b/doc/design/assistant/blog/day_23__transfer_watching.mdwn
index beaf75bc5..3e4e27d47 100644
--- a/doc/design/assistant/blog/day_23__transfer_watching.mdwn
+++ b/doc/design/assistant/blog/day_23__transfer_watching.mdwn
@@ -21,5 +21,5 @@ nontrivial features can be added easily.
--
-Next up: Enough nonsense with tracking tranfers... Time to start actually
+Next up: Enough nonsense with tracking transfers... Time to start actually
transferring content around!
diff --git a/doc/design/assistant/blog/day_25__transfer_queueing.mdwn b/doc/design/assistant/blog/day_25__transfer_queueing.mdwn
index 35922c0d1..b07e4592e 100644
--- a/doc/design/assistant/blog/day_25__transfer_queueing.mdwn
+++ b/doc/design/assistant/blog/day_25__transfer_queueing.mdwn
@@ -6,7 +6,7 @@ Details follow..
Made the committer thread queue Upload Transfers when new files
are added to the annex. Currently it tries to transfer the new content
-to *every* remote; this innefficiency needs to be addressed later.
+to *every* remote; this inefficiency needs to be addressed later.
Made the watcher thread queue Download Transfers when new symlinks
appear that point to content we don't have. Typically, that will happen
@@ -30,12 +30,12 @@ all the assistant's other threads from entering that monad while a transfer
is running. This is also necessary to allow multiple concurrent transfers
to run in the future.
-This is a very tricky peice of code, because that thread will modify the
+This is a very tricky piece of code, because that thread will modify the
git-annex branch, and its parent thread has to invalidate its cache in
order to see any changes the child thread made. Hopefully that's the extent
of the complication of doing this. The only reason this was possible at all
is that git-annex already support multiple concurrent processes running
-and all making independant changes to the git-annex branch, etc.
+and all making independent changes to the git-annex branch, etc.
After all my groundwork this week, file content transferring is now
fully working!
diff --git a/doc/design/assistant/blog/day_2__races.mdwn b/doc/design/assistant/blog/day_2__races.mdwn
index fadedb5fb..19f868a71 100644
--- a/doc/design/assistant/blog/day_2__races.mdwn
+++ b/doc/design/assistant/blog/day_2__races.mdwn
@@ -1,6 +1,6 @@
Last night I got `git annex watch` to also handle deletion of files.
This was not as tricky as feared; the key is using `git rm --ignore-unmatch`,
-which avoids most problimatic situations (such as a just deleted file
+which avoids most problematic situations (such as a just deleted file
being added back before git is run).
Also fixed some races when `git annex watch` is doing its startup scan of
diff --git a/doc/design/assistant/blog/day_4__speed.mdwn b/doc/design/assistant/blog/day_4__speed.mdwn
index badc6b7b1..085d9547b 100644
--- a/doc/design/assistant/blog/day_4__speed.mdwn
+++ b/doc/design/assistant/blog/day_4__speed.mdwn
@@ -16,7 +16,7 @@ thread that wakes up periodically, flushes the queue, and autocommits.
(This will, in fact, be the start of the [[syncing]] phase of my roadmap!)
There's lots of room here for smart behavior. Like, if a lot of changes are
being made close together, wait for them to die down before committing. Or,
-if it's been idle and a single file appears, commit it immediatly, since
+if it's been idle and a single file appears, commit it immediately, since
this is probably something the user wants synced out right away. I'll start
with something stupid and then add the smarts.
diff --git a/doc/design/assistant/blog/day_5__committing.mdwn b/doc/design/assistant/blog/day_5__committing.mdwn
index 7d6b52199..562387380 100644
--- a/doc/design/assistant/blog/day_5__committing.mdwn
+++ b/doc/design/assistant/blog/day_5__committing.mdwn
@@ -11,7 +11,7 @@ things slow and ugly. This was not unexpected.
So next, I added some smarts to it. First, I wanted to stop it waking up
every second when there was nothing to do, and instead blocking wait on a
-change occuring. Secondly, I wanted it to know when past changes happened,
+change occurring. Secondly, I wanted it to know when past changes happened,
so it could detect batch mode scenarios, and avoid committing too
frequently.
@@ -52,6 +52,6 @@ shouldCommit now changetimes
thisSecond t = now `diffUTCTime` t <= 1
"""]]
-Still some polishing to do to eliminate minor innefficiencies and deal
+Still some polishing to do to eliminate minor inefficiencies and deal
with more races, but this part of the git-annex assistant is now very usable,
and will be going out to my beta testers soon!
diff --git a/doc/design/assistant/blog/day_6__polish.mdwn b/doc/design/assistant/blog/day_6__polish.mdwn
index dd1239626..ebe8068c3 100644
--- a/doc/design/assistant/blog/day_6__polish.mdwn
+++ b/doc/design/assistant/blog/day_6__polish.mdwn
@@ -24,7 +24,7 @@ symlinks might have just been deleted and re-added, or changed, and
the index still have the old value.
Instead, I got creative. :) We can't trust what the index says about the
-symlink, but if the index happens to contian a symlink that looks right,
+symlink, but if the index happens to contain a symlink that looks right,
we can trust that the SHA1 of its blob is the right SHA1, and reuse it
when re-staging the symlink. Wham! Massive speedup!
diff --git a/doc/design/assistant/blog/day_7__bugfixes.mdwn b/doc/design/assistant/blog/day_7__bugfixes.mdwn
index 3704969e3..79f36fe98 100644
--- a/doc/design/assistant/blog/day_7__bugfixes.mdwn
+++ b/doc/design/assistant/blog/day_7__bugfixes.mdwn
@@ -10,7 +10,7 @@ own git index parser (or use one from Hackage), this check requires running
tree of files is being moved or unpacked into the watched directory.
Instead, I made it only do the check during `git annex watch`'s initial
-scan of the tree. This should be ok, because once it's running, you
+scan of the tree. This should be OK, because once it's running, you
won't be adding new files to git anyway, since it'll automatically annex
new files. This is good enough for now, but there are at least two problems
with it:
diff --git a/doc/design/assistant/blog/day_8__speed.mdwn b/doc/design/assistant/blog/day_8__speed.mdwn
index 56b1e9c07..d99add97a 100644
--- a/doc/design/assistant/blog/day_8__speed.mdwn
+++ b/doc/design/assistant/blog/day_8__speed.mdwn
@@ -16,7 +16,7 @@ quickly is really only important so people don't think it's a resource hog.
First impressions are important. :)
But what does "made recently" mean exactly? Well, my answer is possibly
-overengineered, but most of it is really groundwork for things I'll need
+over engineered, but most of it is really groundwork for things I'll need
later anyway. I added a new data structure for tracking the status of the
daemon, which is periodically written to disk by another thread (thread #6!)
to `.git/annex/daemon.status` Currently it looks like this; I anticipate