# # patch "ChangeLog" # from [95c02174701d3536590fd1fe491af66703b9e112] # to [b88da3de37b221d6d764a02d302f1774a9bc6a82] # # patch "netsync.cc" # from [e84864cf7c21fe27115481a4c465f2df78dcf1b8] # to [689952c3bc271d9e74e548ebdc7dddecdc012ff6] # ======================================================================== --- ChangeLog 95c02174701d3536590fd1fe491af66703b9e112 +++ ChangeLog b88da3de37b221d6d764a02d302f1774a9bc6a82 @@ -1,5 +1,10 @@ 2005-08-11 Nathaniel Smith + * netsync.cc: Add a list of ideas for improvement that will break + network compatibility and thus perhaps should go together. + +2005-08-11 Nathaniel Smith + * tests/t_commit_message_file.at: Un-double file contents. 2005-08-11 Nathaniel Smith ======================================================================== --- netsync.cc e84864cf7c21fe27115481a4c465f2df78dcf1b8 +++ netsync.cc 689952c3bc271d9e74e548ebdc7dddecdc012ff6 @@ -46,6 +46,25 @@ #include "netxx/streamserver.h" #include "netxx/timeout.h" +// TODO: things to do that will break protocol compatibility +// -- need some way to upgrade anonymous to keyed pull, without user having +// to explicitly specify which they want +// just having a way to respond "access denied, try again" might work +// but perhaps better to have the anonymous command include a note "I +// _could_ use key <...> if you prefer", and if that would lead to more +// access, could reply "I do prefer". (Does this lead to too much +// information exposure? Allows anonymous people to probe what branches +// a key has access to.) +// -- "warning" packet type? +// -- Richard Levitte wants, when you (e.g.) request '*' but don't access to +// all of it, you just get the parts you have access to (maybe with +// warnings about skipped branches). to do this right, should have a way +// for the server to send back to the client "right, you're not getting +// the following branches: ...", so the client will not include them in +// its merkle trie. +// -- add some sort of vhost field to the clients first packet, saying who +// they expect to talk to + // // this is the "new" network synchronization (netsync) system in // monotone. it is based on synchronizing a pair of merkle trees over an