summaryrefslogtreecommitdiff
path: root/devel/monotone-server
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-08-09 22:02:30 +0000
committerjmmv <jmmv@pkgsrc.org>2005-08-09 22:02:30 +0000
commitd7f7d9454d677bdf14fc1b6bda57203df5e30c6f (patch)
tree86c9a880c3ecb644edf74583a8bbb9104b3b81ac /devel/monotone-server
parent6669dfdc6759b1d4907e77f742a48ec9b4b7d12c (diff)
downloadpkgsrc-d7f7d9454d677bdf14fc1b6bda57203df5e30c6f.tar.gz
Update monotone and monotone-server to 0.22 (from 0.19):
Mon Aug 8 23:23:53 PDT 2005 0.22 release. new crypto library, bug fixes, ui improvements - switch from crypto++ to botan as underlying crypto library. this should not cause any user-visible changes; let us know if it does. special thanks to Matt Johnston <matt@ucc.asn.au>, Kaushik Veeraraghavan <kaushikv@gmail.com>, Matthew Gregan <kinetik@orcon.net.nz>. - incompatible change to netsync permission hooks: the get_netsync_anonymous_read_permitted hook has been removed; instead, get_netsync_read_permitted will be called with a key name of nil. server administrators should update/review their configuration - new option for merge and propagate: --lca. Until we get a long-term solution to the various 3-way merge problems, this should be more convenient than using explicit_merge. - many small improvements to error messages, fixes of minor annoyances, netsync tickers more accurate, etc. Sun Jul 17 16:48:26 PDT 2005 0.21 release. bug fixes, performance improvements, and ui improvements. - fixes a number of major performance bugs in 0.20's netsync implementation. special thanks to Matt Johnston <matt@ucc.asn.au>. - fixes a number of major bugs in 0.20's (rewritten) cvs_import command. - configury kluges to work around g++ 4.0/boost 1.32 incompatibilities. special thanks to Christof Petig <christof@petig-baender.de>, Matthew Gregan <kinetik@orcon.net.nz>, Jordan Breeding <jordan.breeding@mac.com>. - ui enhancements: - new netsync option "--exclude": branches are included if they match any of the given globs, unless they match any of the given --exclude globs. special thanks to Timothy Brownawell <tbrownaw@gmail.com>. - new netsync option client "--set-default": makes it easy to change default server/branches. - "diff" now takes options "--context" and "--external", to output context diffs and to invoke an external diff program for full control over output formatting. new option "--diff-args" pass arguments to external diff program; new hook "external_diff" allows further configuration. special thanks to Vladimir Vukicevic <vladimirv@gmail.com>. - b: and t: selectors now match exactly, instead of matching as substrings. globbing is supported for inexact matching. special thanks to Brian Downing <bdowning@lavos.net>, Jordan Breeding <jordan.breeding@mac.com>. - new command 'db kill_tag_locally'. special thanks to Jordan Breeding <jordan.breeding@mac.com>. - now uses sqlite3 prepared statements. special thanks to Derek Scherger <derek@echologic.com>. - 'db migrate' is now a complete no-op if there is no migration to do; automated scripts can now call it optimistically and cheaply to guarantee up-to-dateness. - new hash correctness tests. special thanks to Kaushik Veeraraghavan <kaushikv@gmail.com>. - upgrading from 0.20: you must run 'monotone db migrate' once against each of your databases, to add new sql indexes. Tue Jul 5 23:57:10 PDT 2005 0.20 release. features, ui improvements, performance improvements, and bug fixes. - major changes in netsync UI: serve/sync/push/pull now take a list of globs; clients can request arbitrary sets of branches, not just predefined "collections". write permissions are now granted on a per-db level (they were before anyway). - where you used to say, e.g., "monotone pull net.venge.monotone", you should instead say "monotone pull net.venge.monotone*". This may require shell-quoting. - 'get_netsync_write_permitted' hooks must be changed to take only one argument, the 'identity'. 'get_netsync_{read,anonymous_read}_permitted' hooks now take a branch argument instead of a collection, and will be called for each branch that a client requests. - 0.19 clients cannot talk to 0.20 servers, and vice-versa. - special thanks to Timothy Brownawell <tbrownaw@gmail.com>, Richard Levitte <richard@levitte.org>. - other major changes: - cvs_import re-written; many bugs fixed. now supports tags. - many minor netsync changes: - netsync traffic is now cryptographically authenticated against corruption and man-in-the-middle attacks. special thanks to Ethan Blanton <elb@elitists.net>, Matt Johnston <matt@ucc.asn.au>. - new hooks that are called when server receives data: note_netsync_*_received. special thanks to Timothy Brownawell <tbrownaw@gmail.com>. - ancestry graphs that pass outside the given branch are now synchronized correctly. special thanks to Timothy Brownawell <tbrownaw@gmail.com>. - UI improvements: - 'log' options changed: --depth has become --last; new options --no-merges, --diffs, --brief. - 'status' has new option --brief. special thanks to Derek Scherger <derek@echologic.com>. - 'serve' has new option --pid-file. special thanks to Matthew Gregan <kinetik@orcon.net.nz>. - all commands taking restrictions now take option --depth, to limit recursion through subdirectories. special thanks to Joel Reed <joelwreed@comcast.com>. - merge command all take --author, --date now. - 'checkout', 'update' take --revision, instead of using positional arguments. special thanks to Derek Scherger <derek@echologic.com>, Richard Levitte <richard@levitte.org>. - 'commit' takes new --message-file option. - new features: - new commands: "db kill_branch_locally", "db kill_revision_locally", useful for correcting some mistakes. special thanks to Brian Campbell <brian.p.campbell@dartmouth.edu>, Sebastian Spaeth <Sebastian@sspaeth.de>. - new file attribute 'manual_merge', to prevent invocation of merger on binary files. hook added to guess correct value at 'add' time. special thanks to Riccardo Ghetta <birrachiara@tin.it>. - new 'earlier than', 'later than' selectors. special thanks to Riccardo Ghetta <birrachiara@tin.it>. - new automate commands: - 'stdio', for efficient use by front-ends. special thanks to Timothy Brownawell <tbrownaw@gmail.com>. - 'certs', for fetching certs on a revision in a parseable (basic io-based) format. special thanks to Grahame Bowland <grahame@angrygoats.net>. - 'inventory' output changed incompatibly; should be much more usable now, and stable. special thanks to Derek Scherger <derek@echologic.com>. - better memory/performance when handling large files. special thanks to Eric Anderson <anderse-monotone@cello.hpl.hp.com>, Timothy Brownawell <tbrownaw@gmail.com>, Matt Johnston <matt@ucc.asn.au>, Matthew Gregan <kinetik@orcon.net.nz>. - new text mode browser in contrib/mtbrowse.sh, by Henry Nestler <Henry@BigFoot.de>. - improved zsh completion in contrib/monotone.zsh_completion, by Joel Reed <joelwreed@comcast.com>. - upgrading from 0.19: database and working copies are fully compatible. netsync clients and servers need to be upgraded together, as described above. the many ui changes may require script updates.
Diffstat (limited to 'devel/monotone-server')
-rw-r--r--devel/monotone-server/Makefile6
-rw-r--r--devel/monotone-server/files/branches.conf7
-rw-r--r--devel/monotone-server/files/hooks.conf21
3 files changed, 15 insertions, 19 deletions
diff --git a/devel/monotone-server/Makefile b/devel/monotone-server/Makefile
index 8985709d66c..f6431c16f14 100644
--- a/devel/monotone-server/Makefile
+++ b/devel/monotone-server/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2005/05/21 04:10:17 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2005/08/09 22:02:31 jmmv Exp $
#
-DISTNAME= monotone-server-0.19
+DISTNAME= monotone-server-0.22
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
@@ -10,7 +10,7 @@ MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.venge.net/monotone/
COMMENT= Simplifies the configuration of a dedicated Monotone server
-DEPENDS+= monotone>=0.19:../../devel/monotone
+DEPENDS+= monotone>=0.22:../../devel/monotone
EXTRACT_ONLY= # empty
NO_BUILD= yes
diff --git a/devel/monotone-server/files/branches.conf b/devel/monotone-server/files/branches.conf
index acb7ab3ef0f..8dadd9fc7e2 100644
--- a/devel/monotone-server/files/branches.conf
+++ b/devel/monotone-server/files/branches.conf
@@ -1,8 +1,9 @@
-# $NetBSD: branches.conf,v 1.1.1.1 2005/01/12 12:52:50 jmmv Exp $
+# $NetBSD: branches.conf,v 1.2 2005/08/09 22:02:31 jmmv Exp $
#
# This file belongs to the monotone-server package. It lists all branches
-# that will be served by Monotone, each one in its own line.
+# that will be served by Monotone, each one in its own line. Shell globs
+# are allowed.
#
-#net.example.project1
+#net.example.project1*
#net.example.project2.subbranch
diff --git a/devel/monotone-server/files/hooks.conf b/devel/monotone-server/files/hooks.conf
index 9befecfaf8f..8c1dbaa8079 100644
--- a/devel/monotone-server/files/hooks.conf
+++ b/devel/monotone-server/files/hooks.conf
@@ -1,4 +1,4 @@
--- $NetBSD: hooks.conf,v 1.1.1.1 2005/01/12 12:52:50 jmmv Exp $
+-- $NetBSD: hooks.conf,v 1.2 2005/08/09 22:02:31 jmmv Exp $
--
-- This file belongs to the monotone-server package. This is the typical
-- ~/.monotonerc configuration file, but is system-wide.
@@ -11,30 +11,25 @@ function get_passphrase(identity)
return false
end
-function get_netsync_read_permitted (collection, identity)
--- if (collection == "net.example.project1") then
+function get_netsync_read_permitted (branch, identity)
+-- if (branch == "net.example.project1") then
+-- if (identity == nil) then return true end
-- if (identity == "user1@example.org") then return true end
-- end
--- if (collection == "net.example.project2.subbranch") then
+-- if (branch == "net.example.project2.subbranch") then
-- if (identity == "user1@example.org") then return true end
-- if (identity == "user2@example.org") then return true end
-- end
return false
end
-function get_netsync_write_permitted (collection, identity)
--- if (collection == "net.example.project1") then
+function get_netsync_write_permitted (branch, identity)
+-- if (branch == "net.example.project1") then
-- if (identity == "user1@example.org") then return true end
-- end
--- if (collection == "net.example.project2.subbranch") then
+-- if (branch == "net.example.project2.subbranch") then
-- if (identity == "user1@example.org") then return true end
-- if (identity == "user2@example.org") then return true end
-- end
return false
end
-
-function get_netsync_anonymous_read_permitted (collection)
--- if (collection == "net.example.project1") then return true end
--- if (collection == "net.example.project2.branch2") then return true end
- return false
-end