summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-10 16:40:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-10 16:40:15 -0400
commit4d484681630200671c389ece0549ea3185ed2d0d (patch)
treed4acb3da8b693950446a7f74128a161caf7cc0b5
parentfde7c97ffd0ad175918f270571febfc893defd55 (diff)
blog for the day
-rw-r--r--doc/assistant/repogroups.pngbin0 -> 18490 bytes
-rw-r--r--doc/design/assistant/blog/day_102__very_high_level_programming.mdwn37
2 files changed, 37 insertions, 0 deletions
diff --git a/doc/assistant/repogroups.png b/doc/assistant/repogroups.png
new file mode 100644
index 000000000..441a75084
--- /dev/null
+++ b/doc/assistant/repogroups.png
Binary files differ
diff --git a/doc/design/assistant/blog/day_102__very_high_level_programming.mdwn b/doc/design/assistant/blog/day_102__very_high_level_programming.mdwn
new file mode 100644
index 000000000..4e29cc65d
--- /dev/null
+++ b/doc/design/assistant/blog/day_102__very_high_level_programming.mdwn
@@ -0,0 +1,37 @@
+## today
+
+Came up with four groups of repositories that it makes sense to
+define standard preferred content expressions for.
+
+[[!format haskell """
+ preferredContent :: StandardGroup -> String
+ preferredContent ClientGroup = "exclude=*/archive/*"
+ preferredContent TransferGroup = "not inallgroup=client and " ++ preferredContent ClientGroup
+ preferredContent ArchiveGroup = "not copies=archive:1"
+ preferredContent BackupGroup = "" -- all content is preferred
+"""]]
+
+[[preferred_content]] has the details about these groups, but
+as I was writing those three preferred content expressions,
+I realized they are some of the highest level programming I've ever done,
+in a way.
+
+Anyway, these make for a very simple repository configuration UI:
+
+[[!img /assistant/repogroups.png alt="form with simple select box"]]
+
+## yesterday (forgot to post this)
+
+Got the assistant honoring preferred content settings. Although so far that
+only determines what it transfers. Additional work will be needed to make
+content be dropped when it stops being preferred.
+
+----
+
+Added a "configure" link next to each repository on the repository config
+page. This will go to a form to allow setting things like repository
+descriptions, groups, and preferred content settings.
+
+----
+
+Cut a release.