From boxbackup-dev@fluffy.co.uk  Sun Oct  1 21:23:20 2006
From: boxbackup-dev@fluffy.co.uk (E.W. Peter Jalajas)
Date: Sun, 1 Oct 2006 13:23:20 -0700 (PDT)
Subject: [Box Backup-dev] Testing Boxi 0.1.1
Message-ID: <20061001202321.19246.qmail@web60623.mail.yahoo.com>

Moving to dev list...

And then I didn't like what I was seeing under Backup, Edit List, that
is, a red X at C:\Documents and Settings forced by Boxi because I had 
	DocsSettings
	{
		Path = C:\Documents and Settings
		ExcludeDirsRegex = .*
		ExcludeFilesRegex = .*
		AlwaysIncludeFile = C:\Documents and Settings\boxitest.txt
	}

So, I guess that's a

BUG:  ExcludeDirsRegex = .* plus ExcludeFilesRegex = .* forces
excluding entire dir tree, ignoring AlwaysIncludeFile.

So, I tried an experiment with 
	C_PF_BoxBackup
	{
		Path = C:\Program Files\Box Backup
	}
and it backed up fine (even with the "Certificate does not match"
warning under the Configuration panel).

BUG: Certificate checking has a hex/ascii translation problem.

The Backup Progress panel, Statistics, Files, Elapsed "24" seemed
correct; Bytes said "51 (null)" -- not sure what that means. 

POSSIBLE BUG:  Bytes calcs bad?

Testing Restore, I pointed to some old file, set Restore Destination,
New Location, to a non-existing C:\PF\Box Backup\test\ directory, and
it restored the single selected file correctly to the boxi-created new
test\ directory.  

BUG:  Well almost restore correctly:  it was restored with a datestamp
4 hours in the future (time zone issue, I'm sure).  (And so, future
backup attempts gave Warning: file modified in the future.  So I
deleted that restored file.

BUG:  That newly created C:\PF\Box Backup\test\ directory never
appeared  in the Backup Files or Restore Files panels after further
Backup runs, until I restarted Boxi, then they showed up fine.  

(The Restore to Date function on the Restore panel looks very
interesting, but I haven't tested it yet.)

Not sure if the menu, View options are working (show old/deleted
files).    Deleted files look like they are greyed out in the Restore
Files panel, and that seems fine.  Not sure how old files are shown, so
I tried to test it by modifying a file under the test\ directory.  

BUG:  Attempts to restart boxi and look under Restore Files and
navigating to that test\ directory caused boxi to crash with a
"boxi.exe has encountered a problem" window.  

I'll keep playing with it.

Thanks again, Chris, for all the hard work!
Pete
 

--- "E.W. Peter Jalajas" <pjalajas@tebuco.com> wrote:

> And now I notice the cmd window is still open with all of this.  I
> hope
> it helps:
> 
> No random device -- additional seeding of random number generator not
> performed.
> 
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41eb1c780e300,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 201
> Send DeleteDirectory(0x8e)
> Receive Success(0x8e)
> Send DeleteFile(0x8c,"LitPath.lpt")
> Receive Success(0x8d)
> Send SetClientStoreMarker(0x41ec41f284a00)
> Receive Success(0x41ec41f284a00)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41ec41f284a00,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 89
> Send SetClientStoreMarker(0x41ec4254bf1c0)
> Receive Success(0x41ec4254bf1c0)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41ec4254bf1c0,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 89
> Send SetClientStoreMarker(0x41ec430bda1c0)
> Receive Success(0x41ec430bda1c0)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41ec430bda1c0,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 89
> Send SetClientStoreMarker(0x41ec4346fad40)
> Receive Success(0x41ec4346fad40)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41ec4346fad40,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 89
> Send SetClientStoreMarker(0x41ec4386e0400)
> Receive Success(0x41ec4386e0400)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x989e75,0x0)
> Receive Error(0x3e8,0x3)
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x989e75,0x0)
> Receive Error(0x3e8,0x3)
> 
> 
> --- "E.W. Peter Jalajas" <pjalajas@tebuco.com> wrote:
> 
> > I should have added that on the Configuration panel, Basic tab,
> when
> > I
> > change the Account Number to 10002037 (no leading 0x), and move out
> > of
> > that text box, it auto converts itself to "0x989e75" and then I get
> > the
> > green check mark that says "Configuration looks OK".  Under the
> > Backup
> > tab, I click Start Backup, and I get a Msg box and Errors entry
> with
> > unswipeable "Error: cannot start backup, failed to connect to
> server:
> > Connection Protocol UnexpectedReply (Server probably reported an
> > error"), and Summery  "Backup failed". 
> > 
> > --- "E.W. Peter Jalajas" <pjalajas@tebuco.com> wrote:
> > 
> > > Hi Chris,
> > > 
> > > Great work, thanks.  I'm testing it now and am having trouble
> > getting
> > > it going.  
> > > 
> > > I copied all the files from the boxi zip into C:\Program
> Files\Box
> > > Backup\
> > > I created a bbackupd subdir there.
> > > I copied my certs/keys/conf file into C:\Program Files\Box
> Backup\
> > .
> > > My key/cert files are of the name form:
> > > C:\Program Files\Box Backup\10002037-FileEncKeys.raw
> > > I launched boxi.exe.
> > > Under Configuration/Basic, I get the error msg:
> > > "The certificate doesn't match the account number.  The common
> name
> > 
> > > of
> > > the certificate should be 'BACKUP-268443703', but is actually
> > > 'BACKUP-1002037'. 
> > > 
> > > FEATURE REQUEST:  I wish I could swipe and copy the error message
> > (or
> > > that it had a unique short number).  
> > > 
> > > I ran the backup anyway, and it said it completed succesfully
> > > (Summary:
> > > Backup finished.  Current action:  Idle (Nothing to do).  Errors:
> > > Backup finished (and a note about my old redundant backup
> > locations).
> > > 
> > > Under Statistics (cool feature!), Files Total 0, Bytes 0 (Null). 
> 
> > > BackupLocations:
> > > BackupLocations
> > > {
> > > 	DocsSettings	
> > > 	{
> > > 		Path = C:\Documents and Settings
> > > 		ExcludeDirsRegex = .*
> > > 		ExcludeFilesRegex = .*
> > > 		AlwaysIncludeFile = boxitest.txt
> > > 	}
> > > }
> > > 
> > > Other test settings:UpdateStoreInterval = 3
> > > MinimumFileAge = 4
> > > MaxUploadWait = 24
> > > FileTrackingSizeThreshold = 1024
> > > DiffingUploadSizeThreshold = 1024
> > > MaximumDiffingTime = 8
> > > 
> > > Let me know if there's anything I can do to get through this
> block,
> > > and
> > > after that, what parts you'd like me to exercise. 
> > > 
> > > Thanks again, Chris,
> > > Pete
> > > 
> > > 
> > > --- Chris Wilson <chris@qwirx.com> wrote:
> > > 
> > > > Hi Pete and all,
> > > > 
> > > > >> Boxi has a GUI wizard for generating certificates in the new
> > > > version, 
> > > > >> that links directly to the relevant OpenSSL code, so it
> > doesn't
> > > > require 
> > > > >> any Unix shell or openssl.exe.
> > > > >>
> > > > >> I haven't compiled it on Windows yet, but it's one of my
> next 
> > > > >> priorities, and I intend to give you a pre-pre-prerelease
> for
> 
=== message truncated ===


From boxbackup-dev@fluffy.co.uk  Sun Oct  1 21:39:57 2006
From: boxbackup-dev@fluffy.co.uk (E.W. Peter Jalajas)
Date: Sun, 1 Oct 2006 13:39:57 -0700 (PDT)
Subject: [Box Backup-dev] Testing Boxi 0.1.1
In-Reply-To: <Pine.LNX.4.62.0610012107490.4446@top.qwarx.com>
Message-ID: <20061001203957.29120.qmail@web60615.mail.yahoo.com>

Hi Chris,

Moving to -dev.

Correct, boxitest.txt was not backed up.  

Thanks,
Pete
--- Chris Wilson <chris@qwirx.com> wrote:

> Hi Pete and all,
> 
> On Sun, 1 Oct 2006, E.W. Peter Jalajas wrote:
<snip>
> 
> > I ran the backup anyway, and it said it completed succesfully
> (Summary:
> > Backup finished.  Current action:  Idle (Nothing to do).  Errors:
> > Backup finished (and a note about my old redundant backup
> locations).
> > Under Statistics (cool feature!), Files Total 0, Bytes 0 (Null).
> > BackupLocations:
> > BackupLocations
> > {
> > 	DocsSettings
> > 	{
> > 		Path = C:\Documents and Settings
> > 		ExcludeDirsRegex = .*
> > 		ExcludeFilesRegex = .*
> > 		AlwaysIncludeFile = boxitest.txt
> > 	}
> > }
> 
> I guess that boxitest.txt was not backed up? Will add a unit test for
> this 
> kind of configuration.
> 

From boxbackup-dev@fluffy.co.uk  Sun Oct  1 22:40:43 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Sun, 1 Oct 2006 22:40:43 +0100 (BST)
Subject: [Box Backup-dev] Testing Boxi 0.1.1
In-Reply-To: <20061001202321.19246.qmail@web60623.mail.yahoo.com>
References: <20061001202321.19246.qmail@web60623.mail.yahoo.com>
Message-ID: <Pine.LNX.4.62.0610012230520.4446@top.qwarx.com>

Hi Pete,

> And then I didn't like what I was seeing under Backup, Edit List, that
> is, a red X at C:\Documents and Settings forced by Boxi because I had
> 	DocsSettings
> 	{
> 		Path = C:\Documents and Settings
> 		ExcludeDirsRegex = .*
> 		ExcludeFilesRegex = .*
> 		AlwaysIncludeFile = C:\Documents and Settings\boxitest.txt
> 	}
>
> So, I guess that's a
>
> BUG:  ExcludeDirsRegex = .* plus ExcludeFilesRegex = .* forces
> excluding entire dir tree, ignoring AlwaysIncludeFile.

Nope. The red X means that you excluded the directory explicitly. There 
should have been a yellow tick on "boxitext.txt" within that directory 
though, which means that the exclude was overridden.

> BUG: Certificate checking has a hex/ascii translation problem.

Yep, I know about that one now, after your last email.

> The Backup Progress panel, Statistics, Files, Elapsed "24" seemed 
> correct; Bytes said "51 (null)" -- not sure what that means.

51 (null) is a bug, it should have shown something like 51 bytes or 51 kB. 
I thought I had fixed that already. Is the file 51 bytes long?

> BUG:  Well almost restore correctly:  it was restored with a datestamp 4 
> hours in the future (time zone issue, I'm sure).  (And so, future backup 
> attempts gave Warning: file modified in the future.  So I deleted that 
> restored file.

Added to TODO list.

> BUG:  That newly created C:\PF\Box Backup\test\ directory never appeared 
> in the Backup Files or Restore Files panels after further Backup runs, 
> until I restarted Boxi, then they showed up fine.

Did you try closing and opening the node above (C:\PF\Box Backup)? That 
should re-read the directory listing. Newly added files do not show up on 
their own, I'm not sure how to make that happen on Windows.

> (The Restore to Date function on the Restore panel looks very
> interesting, but I haven't tested it yet.)

It has limitations. Directories don't have timestamps, so they are always 
restored. Older versions of the files that you're looking for may have 
been deleted already by housekeeping, so you will probably not get a 
complete directory tree. Renamed files are restored with their new names, 
not the old names at the time of the backup. Hopefully Ben's backup 
snapshot plans will make it possible to fix all of these.

> Not sure if the menu, View options are working (show old/deleted
> files).

No, that menu is no longer used and should be deleted. Added to TODO list.

> Deleted files look like they are greyed out in the Restore
> Files panel, and that seems fine.  Not sure how old files are shown, so
> I tried to test it by modifying a file under the test\ directory.

Old files are not shown, all versions are grouped under a single file 
node.

> BUG:  Attempts to restart boxi and look under Restore Files and 
> navigating to that test\ directory caused boxi to crash with a "boxi.exe 
> has encountered a problem" window.

I'll need all the debugging output from Event Viewer to fix this, I'm 
afraid.

By the way, there is a bug tracker on SourceForge for the Boxi project. 
I'd appreciate it if bug reports were put there to ensure that I don't 
lose them, and that you know when they're fixed.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Mon Oct  2 07:10:07 2006
From: boxbackup-dev@fluffy.co.uk (E.W. Peter Jalajas)
Date: Sun, 1 Oct 2006 23:10:07 -0700 (PDT)
Subject: [Box Backup-dev] Testing Boxi 0.1.1
In-Reply-To: <Pine.LNX.4.62.0610012230520.4446@top.qwarx.com>
Message-ID: <20061002061007.23691.qmail@web60625.mail.yahoo.com>

Hi Chris,

I put some replies in the sourceforge bug tracker:
http://sourceforge.net/tracker/?group_id=135105&atid=731482

and some notes below.

Thanks,
Pete

--- Chris Wilson <chris@qwirx.com> wrote:

> Hi Pete,
> 
<snip>
> Nope. The red X means that you excluded the directory explicitly.
> There 
> should have been a yellow tick on "boxitext.txt" within that
> directory 
> though, which means that the exclude was overridden.

OK, thanks, a couple of confusions on my part.  The red X at the parent
directory made me think that _nothing_ below it was going to be backed
up.  (The higher-level parents in Backup Files, Basic, that is, My
Computer, Local Disk C:, and Program Files, had green checks, so my
confusion is reasonably warranted, no?)  

Also, I had just the filename boxitest.txt in the AlwaysIncludeFile
setting; it MUST be the full path C:\P F\Box Backup\boxitest.txt.  When
you select that single file via boxi's nav system, it populates that
full path correctly, you get the yellow + in Backup Files, Basic dir
tree, and the backup works fine.  Using AlwaysIncludeFilesRegex =
.+boxitest.txt$ seemed to work fine, too, as it should. 
AlwaysIncludeFilesRegex = boxitest.txt also seems to work fine, too,
somewhat surprisingly (I heretofore thought the leading .+ construct
was required; that .+ construct is probably better though in that it
is, or can be made to be, more precise, depending upon your intent and
risk averse-ness). 

> > The Backup Progress panel, Statistics, Files, Elapsed "24" seemed 
> > correct; Bytes said "51 (null)" -- not sure what that means.
> 
> 51 (null) is a bug, it should have shown something like 51 bytes or
> 51 kB. 
> I thought I had fixed that already. Is the file 51 bytes long?

The backup of the new boxitest.txt showed "42 (null)" and that new file
did have 42 bytes (per right-click, Properties).   I then modified that
file, and it backed up correctly, 1 file, 52 (null)...

BUG?:  Continuing to hit Start Backup on the Backup panel showed the
same result, eventhough, I think, that file should not be being backed
up because it hasn't changed.  To rephrase, nowhere does it say how
many files (and bytes) were actually backed up during a "Start Backup"
run.  
 
> > BUG:  That newly created C:\PF\Box Backup\test\ directory never
> appeared 
> > in the Backup Files or Restore Files panels after further Backup
> runs, 
> > until I restarted Boxi, then they showed up fine.
> 
> Did you try closing and opening the node above (C:\PF\Box Backup)?
> That 
> should re-read the directory listing. Newly added files do not show
> up on 
> their own, I'm not sure how to make that happen on Windows.

OK, thanks, double clicking the -/+ sign in the dir tree under Backup
Files, Basic does re-read that local directory.  

BUG?:  New related issue, though:  I set it up to backup a few more
files, which appeared to backup correctly, but I couldn't see them
under Restore Files until restarting Boxi.  

<snip>

By the way, the Backup Files, "Exclusions" tab uses the "Exclu*" words
about 5 times as a bit of a misnomer, because it includes "Includes". 
I don't have a better name yet though, except "Exclusions/Inclusions"
("Exceptions" would cause confusion with the error states, I would
think.).  Maybe "Modifications"?  

Also, by the way, I wanted to say that, all the above minor things
notwithstanding, boxi is working quite nicely.  The worst "bug" is that
crashing bug I reported, but now that I use it more, I'm sure that I
had just gotten it and myself in a twisted odd-ball state, and as long
as I behave it is performing my first simple backup and restore tests
perfectly.  (I'm sure that "bug" will go away when the old "5 redundant
locations in root directory found" are deleted in 172800 seconds.)


From boxbackup-dev@fluffy.co.uk  Mon Oct  2 09:39:32 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Mon, 2 Oct 2006 09:39:32 +0100 (BST)
Subject: [Box Backup-dev] Testing Boxi 0.1.1
In-Reply-To: <20061002061007.23691.qmail@web60625.mail.yahoo.com>
References: <20061002061007.23691.qmail@web60625.mail.yahoo.com>
Message-ID: <Pine.LNX.4.62.0610020935060.4446@top.qwarx.com>

Hi Pete,

On Sun, 1 Oct 2006, E.W. Peter Jalajas wrote:

> OK, thanks, a couple of confusions on my part.  The red X at the parent 
> directory made me think that _nothing_ below it was going to be backed 
> up.  (The higher-level parents in Backup Files, Basic, that is, My 
> Computer, Local Disk C:, and Program Files, had green checks, so my 
> confusion is reasonably warranted, no?)

I'm not sure how I should make it clearer. Suggestions welcome. 
Directories that are explicitly included (as location roots) have a green 
tick, and their children have grey ticks. Directories that are are 
explicitly excluded have red crosses, and their children grey crosses.

> BUG?:  Continuing to hit Start Backup on the Backup panel showed the 
> same result, eventhough, I think, that file should not be being backed 
> up because it hasn't changed.  To rephrase, nowhere does it say how many 
> files (and bytes) were actually backed up during a "Start Backup" run.

Well, the user probably doesn't care so much about the actual number of 
bytes sent over the wire, rather the amount of their data that is "safe" 
on the remote server. I don't think Box makes it easy for us to get the 
number of bytes, but I can try.

> BUG?:  New related issue, though:  I set it up to backup a few more
> files, which appeared to backup correctly, but I couldn't see them
> under Restore Files until restarting Boxi.

Same thing? Close and reopen the parent node?

> By the way, the Backup Files, "Exclusions" tab uses the "Exclu*" words 
> about 5 times as a bit of a misnomer, because it includes "Includes". I 
> don't have a better name yet though, except "Exclusions/Inclusions" 
> ("Exceptions" would cause confusion with the error states, I would 
> think.).  Maybe "Modifications"?

Exceptions?

> (I'm sure that "bug" will go away when the old "5 redundant locations in 
> root directory found" are deleted in 172800 seconds.)

That won't happen, I'm afraid. One thing that Boxi doesn't do is delete 
old locations (yet).

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Mon Oct  2 14:31:20 2006
From: boxbackup-dev@fluffy.co.uk (E.W. Peter Jalajas)
Date: Mon, 2 Oct 2006 06:31:20 -0700 (PDT)
Subject: [Box Backup-dev] Testing Boxi 0.1.1
In-Reply-To: <Pine.LNX.4.62.0610020935060.4446@top.qwarx.com>
Message-ID: <20061002133120.97221.qmail@web60622.mail.yahoo.com>

Thanks, Chris.
Replies below.
Pete

--- Chris Wilson <chris@qwirx.com> wrote:

> Hi Pete,
> 
> On Sun, 1 Oct 2006, E.W. Peter Jalajas wrote:
> 
> I'm not sure how I should make it clearer. Suggestions welcome. 
> Directories that are explicitly included (as location roots) have a
> green 
> tick, and their children have grey ticks. Directories that are are 
> explicitly excluded have red crosses, and their children grey
> crosses.

I put in a ticket 1569274 at
http://sourceforge.net/tracker/index.php?func=detail&aid=1569274&group_id=135105&atid=731482

> > BUG?:  Continuing to hit Start Backup on the Backup panel showed
> the 
> > same result, eventhough, I think, that file should not be being
> backed 
> > up because it hasn't changed.  To rephrase, nowhere does it say how
> many 
> > files (and bytes) were actually backed up during a "Start Backup"
> run.
> 
> Well, the user probably doesn't care so much about the actual number
> of 
> bytes sent over the wire, rather the amount of their data that is
> "safe" 
> on the remote server. I don't think Box makes it easy for us to get
> the 
> number of bytes, but I can try.

Yeah, no, I just think it would help me if it reported something about
what it just did.  I don't think it needs to report bytes in any way,
maybe just the number of files that were backed up during that run. 
Knowing that I have some hundreds or thousands of files (and maybe MBs)
backed up "safe" is also interesting, but maybe could be reported
separately, maybe as a separate line in that same table ("This run:",
"Total protected:")?

> > BUG?:  New related issue, though:  I set it up to backup a few more
> > files, which appeared to backup correctly, but I couldn't see them
> > under Restore Files until restarting Boxi.
> 
> Same thing? Close and reopen the parent node?

Yeah, no, I did that and no change, so it's a real bug, 1569279:
http://sourceforge.net/tracker/index.php?func=detail&aid=1569279&group_id=135105&atid=731482
(although it could certainly be Operator Error).

> > By the way, the Backup Files, "Exclusions" tab uses the "Exclu*"
> words 
> > about 5 times as a bit of a misnomer, because it includes
> "Includes". I 
> > don't have a better name yet though, except "Exclusions/Inclusions"
> 
> > ("Exceptions" would cause confusion with the error states, I would 
> > think.).  Maybe "Modifications"?
> 
> Exceptions?

"Exceptions" to me is too connotated with "error", but I don't feel too
strongly about it.  

>From http://thesaurus.reference.com/browse/exception for Exception, for
fun:
	allowance, anomalism, anomaly, departure, deviation, difference,
dispensation, eccentricity, exemption, freak, inconsistency,
irregularity, nonconformity, oddity, peculiarity, perquisite,
privilege, privileged person, quirk
 	aberration, abnormality, departure, deviation, eccentricity,
exception, incongruity, inconsistency, irregularity, oddity,
peculiarity, rarity, unconformity
	alter, be unlike, clash with, conflict with, contradict, contrast,
depart from, deviate from, digress, disagree, divaricate from, diverge,
diversify, jar with, lack resemblance, modify, not conform, qualify,
reverse, show contrast, stand apart, take exception, turn, vary

"Quirks" has a certain ring to it, not sure why.  :^)


From boxbackup-dev@fluffy.co.uk  Mon Oct  2 15:28:49 2006
From: boxbackup-dev@fluffy.co.uk (E.W. Peter Jalajas)
Date: Mon, 2 Oct 2006 07:28:49 -0700 (PDT)
Subject: [Box Backup-dev] Boxi service?
Message-ID: <20061002142849.76773.qmail@web60620.mail.yahoo.com>

Hi Chris,

I just wanted to double check whether boxi is planned to have a
boxbackup service installer and starter (perhaps under a new "Service"
tab), such that boxi could be launched to do all the setup (including
installing and starting the service), and then closed leaving the
boxbackup service running essentially in perpetuity, to be launched
again to do bbackupquery and bbackupdctl functions on an as-needed
basis.

(Hmm, I thought I should check my services.msc and I see that I have a
Box Backup service there.  Looks like I have a remnant from a prior box
backup installation, so I deleted it in the registry under
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services )

Thanks,
Pete

--- Chris Wilson <chris@qwirx.com> wrote:

> From: Chris Wilson <chris@qwirx.com>
> To: boxbackup@fluffy.co.uk
> Subject: Re: [Box Backup] Generating private key, certificate request
> on
>  Windows, bbackupd-config
> Date: Mon, 25 Sep 2006 09:48:32 +0100 (BST)

Hi Pete and all,

The pre-pre-release is available at:

 	[http://gcc.flexdns.net/boxi-win32-bin-060925.zip]

This is a very early work in progress. It's a Windows-only binary,
built 
using MinGW from the current Subversion sources. I know that it has
plenty 
of bugs. I'm still finding bugs with my unit tests, so bug reports are 
probably not useful right now. On the other hand, feature suggestions, 
questions and ideas are very welcome. I hope to have an improved
version 
available within a few weeks.

Cheers, Chris.

From boxbackup-dev@fluffy.co.uk  Mon Oct  2 16:53:08 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Mon, 2 Oct 2006 16:53:08 +0100 (BST)
Subject: [Box Backup-dev] Boxi service?
In-Reply-To: <20061002142849.76773.qmail@web60620.mail.yahoo.com>
References: <20061002142849.76773.qmail@web60620.mail.yahoo.com>
Message-ID: <Pine.LNX.4.62.0610021651370.4019@top.qwarx.com>

Hi Pete,

> I just wanted to double check whether boxi is planned to have a 
> boxbackup service installer and starter (perhaps under a new "Service" 
> tab), such that boxi could be launched to do all the setup (including 
> installing and starting the service), and then closed leaving the 
> boxbackup service running essentially in perpetuity, to be launched 
> again to do bbackupquery and bbackupdctl functions on an as-needed 
> basis.

I'm not sure about this at the moment. The most user-friendly thing to do 
would be to make Boxi itself the service, so that it doesn't rely on an 
external program, and it can report very detailed status information. 
However, I imagine that a number of people on this list would rather that 
I use Box Backup for the service, and Boxi just to control it. I haven't 
made up my mind which way to proceed yet.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Mon Oct  2 17:13:26 2006
From: boxbackup-dev@fluffy.co.uk (E.W. Peter Jalajas)
Date: Mon, 2 Oct 2006 09:13:26 -0700 (PDT)
Subject: [Box Backup-dev] Boxi service?
In-Reply-To: <Pine.LNX.4.62.0610021651370.4019@top.qwarx.com>
Message-ID: <20061002161326.77660.qmail@web60614.mail.yahoo.com>

I wish I could have something more intelligent to offer on the matter
than just:
"Let me know how I can help!".

--- Chris Wilson <chris@qwirx.com> wrote:

> Hi Pete,
> 
> I'm not sure about this at the moment. The most user-friendly thing
> to do 
> would be to make Boxi itself the service, so that it doesn't rely on
> an 
> external program, and it can report very detailed status information.
> 
> However, I imagine that a number of people on this list would rather
> that 
> I use Box Backup for the service, and Boxi just to control it. I
> haven't 
> made up my mind which way to proceed yet.
> 
> Cheers, Chris.


From boxbackup-dev@fluffy.co.uk  Mon Oct  2 18:29:21 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Mon, 2 Oct 2006 18:29:21 +0100 (BST)
Subject: [Box Backup-dev] Boxi service?
In-Reply-To: <20061002161326.77660.qmail@web60614.mail.yahoo.com>
References: <20061002161326.77660.qmail@web60614.mail.yahoo.com>
Message-ID: <Pine.LNX.4.62.0610021827300.4019@top.qwarx.com>

Hi Pete,

> I wish I could have something more intelligent to offer on the matter 
> than just: "Let me know how I can help!".

You can tell me what you'd prefer: a full GUI service that runs all the 
time, shows up as an icon on the status bar, and gives most or all of the 
functionality of bbstored plus configuration, restore and compare in a 
GUI form; or a GUI to configure Box Backup that you then don't use until 
you need to reconfigure Box Backup again. (in this case, how do you 
monitor Box Backup?)

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Tue Oct 10 00:34:21 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Tue, 10 Oct 2006 00:34:21 +0100
Subject: [Box Backup-dev] Trac 0.10?
Message-ID: <452ADC7D.40405@netinertia.co.uk>

Hi all,

Trac 0.10 has been released recently, so I just wanted to ping the Box
developers to see if anyone would like to see Trac updated.

New features are described here:

http://trac.edgewall.org/browser/trunk/ChangeLog?rev=latest

with closed bugs here:

http://trac.edgewall.org/query?status=closed&milestone=0.10

James

From boxbackup-dev@fluffy.co.uk  Tue Oct 10 21:44:42 2006
From: boxbackup-dev@fluffy.co.uk (Martin Ebourne)
Date: Tue, 10 Oct 2006 21:44:42 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <452ADC7D.40405@netinertia.co.uk>
References: <452ADC7D.40405@netinertia.co.uk>
Message-ID: <1160513082.16100.1.camel@avenin.ebourne.me.uk>

On Tue, 2006-10-10 at 00:34 +0100, James O'Gorman wrote:
> Hi all,
> 
> Trac 0.10 has been released recently, so I just wanted to ping the Box
> developers to see if anyone would like to see Trac updated.
> New features are described here:
> 
> http://trac.edgewall.org/browser/trunk/ChangeLog?rev=latest

The spam filter might be useful in the future, I've seen other ticket
systems (including trac) get spammed.

Really I think it's down to yourself, as to if you have the time to
spare. I don't think any of us will complain if you upgrade it. :)

Cheers,

Martin.


From boxbackup-dev@fluffy.co.uk  Wed Oct 11 12:55:07 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Wed, 11 Oct 2006 12:55:07 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <1160513082.16100.1.camel@avenin.ebourne.me.uk>
References: <452ADC7D.40405@netinertia.co.uk> <1160513082.16100.1.camel@avenin.ebourne.me.uk>
Message-ID: <452CDB9B.5090208@netinertia.co.uk>

Martin Ebourne wrote:
> On Tue, 2006-10-10 at 00:34 +0100, James O'Gorman wrote:
>> Hi all,
>>
>> Trac 0.10 has been released recently, so I just wanted to ping the Box
>> developers to see if anyone would like to see Trac updated.
>> New features are described here:
>>
>> http://trac.edgewall.org/browser/trunk/ChangeLog?rev=latest
> 
> The spam filter might be useful in the future, I've seen other ticket
> systems (including trac) get spammed.

Yeah, thankfully ours hasn't been discovered yet...

> Really I think it's down to yourself, as to if you have the time to
> spare. I don't think any of us will complain if you upgrade it. :)

Well I'll give it some thought. I'm off work this week, but the FreeBSD
port likely won't get updated until after the 6.2-RELEASE freeze is
over, so that could be a few weeks yet.

James

From boxbackup-dev@fluffy.co.uk  Thu Oct 12 18:13:40 2006
From: boxbackup-dev@fluffy.co.uk (Martin Ebourne)
Date: Thu, 12 Oct 2006 18:13:40 +0100
Subject: [Box Backup-dev] Re: [Box Backup-commit] Re: #3: Merge Win32 branch
In-Reply-To: <084.93ea8e31f69231016261975d3faa213b@fluffy.co.uk>
References: <075.1b7d6133054ee2a6460aa460f0db838a@fluffy.co.uk>
 <084.93ea8e31f69231016261975d3faa213b@fluffy.co.uk>
Message-ID: <20061012181340.v1sjimr2qs880c4s@ebourne.me.uk>

trac@fluffy.co.uk wrote:

> #3: Merge Win32 branch

Trac seems to have taken to sending everything in duplicate.

Cheers,

Martin.

From boxbackup-dev@fluffy.co.uk  Thu Oct 12 18:41:30 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Thu, 12 Oct 2006 18:41:30 +0100
Subject: [Box Backup-dev] Re: [Box Backup-commit] Re: #3: Merge Win32
 branch
In-Reply-To: <20061012181340.v1sjimr2qs880c4s@ebourne.me.uk>
References: <075.1b7d6133054ee2a6460aa460f0db838a@fluffy.co.uk>	<084.93ea8e31f69231016261975d3faa213b@fluffy.co.uk> <20061012181340.v1sjimr2qs880c4s@ebourne.me.uk>
Message-ID: <452E7E4A.60005@netinertia.co.uk>

Martin Ebourne wrote:
> trac@fluffy.co.uk wrote:
> 
>> #3: Merge Win32 branch
> 
> Trac seems to have taken to sending everything in duplicate.

Only seeing one copy of each message from here... (and my mail is local
to the Trac server).

Is anyone else seeing this?

James

From boxbackup-dev@fluffy.co.uk  Thu Oct 12 20:56:48 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Thu, 12 Oct 2006 20:56:48 +0100 (BST)
Subject: [Box Backup-dev] Re: [Box Backup-commit] Re: #3: Merge Win32
 branch
In-Reply-To: <452E7E4A.60005@netinertia.co.uk>
References: <075.1b7d6133054ee2a6460aa460f0db838a@fluffy.co.uk>
 <084.93ea8e31f69231016261975d3faa213b@fluffy.co.uk>
 <20061012181340.v1sjimr2qs880c4s@ebourne.me.uk> <452E7E4A.60005@netinertia.co.uk>
Message-ID: <Pine.LNX.4.62.0610122056220.9137@top.qwarx.com>

Hi James,

On Thu, 12 Oct 2006, James O'Gorman wrote:

> Martin Ebourne wrote:
>> Trac seems to have taken to sending everything in duplicate.
> Only seeing one copy of each message from here... (and my mail is local
> to the Trac server).
>
> Is anyone else seeing this?

Not me. I only get one copy.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Thu Oct 12 21:09:53 2006
From: boxbackup-dev@fluffy.co.uk (Martin Ebourne)
Date: Thu, 12 Oct 2006 21:09:53 +0100
Subject: [Box Backup-dev] Re: [Box Backup-commit] Re: #3: Merge Win32
 branch
In-Reply-To: <Pine.LNX.4.62.0610122056220.9137@top.qwarx.com>
References: <075.1b7d6133054ee2a6460aa460f0db838a@fluffy.co.uk>
 <084.93ea8e31f69231016261975d3faa213b@fluffy.co.uk>
 <20061012181340.v1sjimr2qs880c4s@ebourne.me.uk>
 <452E7E4A.60005@netinertia.co.uk>
 <Pine.LNX.4.62.0610122056220.9137@top.qwarx.com>
Message-ID: <1160683793.5951.1.camel@avenin.ebourne.me.uk>

On Thu, 2006-10-12 at 20:56 +0100, Chris Wilson wrote:
> Not me. I only get one copy.

Sorry, my issue. Somehow I'd managed to get two addresses subscribed to
the commit list. Hopefully sorted now.

Cheers,

Martin.


From boxbackup-dev@fluffy.co.uk  Thu Oct 12 23:14:03 2006
From: boxbackup-dev@fluffy.co.uk (Martin Ebourne)
Date: Thu, 12 Oct 2006 23:14:03 +0100
Subject: [Box Backup-dev] [918] diffing time test
Message-ID: <1160691243.5951.4.camel@avenin.ebourne.me.uk>

For reference:

http://bbdev.fluffy.co.uk/trac/changeset/918

This test has repeatedly been a pain in the neck. I also cannot see what
it achieves. Can we just remove it?

Cheers,

Martin.


From boxbackup-dev@fluffy.co.uk  Thu Oct 12 23:18:38 2006
From: boxbackup-dev@fluffy.co.uk (Martin Ebourne)
Date: Thu, 12 Oct 2006 23:18:38 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <452CDB9B.5090208@netinertia.co.uk>
References: <452ADC7D.40405@netinertia.co.uk>
 <1160513082.16100.1.camel@avenin.ebourne.me.uk>
 <452CDB9B.5090208@netinertia.co.uk>
Message-ID: <1160691518.5951.10.camel@avenin.ebourne.me.uk>

> > On Tue, 2006-10-10 at 00:34 +0100, James O'Gorman wrote:
> >> Hi all,
> >>
> >> Trac 0.10 has been released recently, so I just wanted to ping the Box
> >> developers to see if anyone would like to see Trac updated.
> >> New features are described here:

On second thoughts, IF it fixes the rubbish feature where trac refuses
to let you add a comment to a ticket just because someone else has added
one while you were writing it (just what is the problem there?), then
please, yes, as soon as possible!

Another thing is the login appears to be done by IP address not cookie
(or maybe both?). The IP address is awkward because it means you get
logged out every other page with load balanced proxies.

Cheers,

Martin.


From boxbackup-dev@fluffy.co.uk  Thu Oct 12 23:34:48 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Thu, 12 Oct 2006 23:34:48 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <1160691518.5951.10.camel@avenin.ebourne.me.uk>
References: <452ADC7D.40405@netinertia.co.uk>	 <1160513082.16100.1.camel@avenin.ebourne.me.uk>	 <452CDB9B.5090208@netinertia.co.uk> <1160691518.5951.10.camel@avenin.ebourne.me.uk>
Message-ID: <452EC308.5080807@netinertia.co.uk>

Martin Ebourne wrote:
>>> On Tue, 2006-10-10 at 00:34 +0100, James O'Gorman wrote:
>>>> Hi all,
>>>>
>>>> Trac 0.10 has been released recently, so I just wanted to ping the Box
>>>> developers to see if anyone would like to see Trac updated.
>>>> New features are described here:
> 
> On second thoughts, IF it fixes the rubbish feature where trac refuses
> to let you add a comment to a ticket just because someone else has added
> one while you were writing it (just what is the problem there?), then
> please, yes, as soon as possible!

Hmm, can you screengrab it next time you get it? I'm not sure if that's
a bug with Trac itself or if it has some issues because I'm using
PostgreSQL as the backend instead of SQLite (I'd guess not, but you
never know!)

> Another thing is the login appears to be done by IP address not cookie
> (or maybe both?). The IP address is awkward because it means you get
> logged out every other page with load balanced proxies.

Ugh. I think I had noticed that but hadn't paid much attention to it.
I'll try and have a look into that. (I think it's basically just
htpasswd - does htpasswd normally do this?)

James

From boxbackup-dev@fluffy.co.uk  Thu Oct 12 23:49:20 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Thu, 12 Oct 2006 23:49:20 +0100 (BST)
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <452EC308.5080807@netinertia.co.uk>
References: <452ADC7D.40405@netinertia.co.uk>  <1160513082.16100.1.camel@avenin.ebourne.me.uk>
 <452CDB9B.5090208@netinertia.co.uk> <1160691518.5951.10.camel@avenin.ebourne.me.uk>
 <452EC308.5080807@netinertia.co.uk>
Message-ID: <Pine.LNX.4.62.0610122347280.9137@top.qwarx.com>

Hi James,

On Thu, 12 Oct 2006, James O'Gorman wrote:

>> Another thing is the login appears to be done by IP address not cookie 
>> (or maybe both?). The IP address is awkward because it means you get 
>> logged out every other page with load balanced proxies.
>
> Ugh. I think I had noticed that but hadn't paid much attention to it. 
> I'll try and have a look into that. (I think it's basically just 
> htpasswd - does htpasswd normally do this?)

htpasswd does not. The browser will send the username and password to the 
server with every request after you've logged in.

Trac does set a "trac_auth" cookie in the browser, so I think the 
authentication is not as simple as htpasswd (i.e. trac has some "clever" 
ideas about what to do with users authenticated by the server).

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Thu Oct 12 23:50:14 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Thu, 12 Oct 2006 23:50:14 +0100 (BST)
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <452EC308.5080807@netinertia.co.uk>
References: <452ADC7D.40405@netinertia.co.uk>  <1160513082.16100.1.camel@avenin.ebourne.me.uk>
 <452CDB9B.5090208@netinertia.co.uk> <1160691518.5951.10.camel@avenin.ebourne.me.uk>
 <452EC308.5080807@netinertia.co.uk>
Message-ID: <Pine.LNX.4.62.0610122349380.9137@top.qwarx.com>

Hi James,

On Thu, 12 Oct 2006, James O'Gorman wrote:

>> On second thoughts, IF it fixes the rubbish feature where trac refuses 
>> to let you add a comment to a ticket just because someone else has 
>> added one while you were writing it (just what is the problem there?), 
>> then please, yes, as soon as possible!
>
> Hmm, can you screengrab it next time you get it? I'm not sure if that's 
> a bug with Trac itself or if it has some issues because I'm using 
> PostgreSQL as the backend instead of SQLite (I'd guess not, but you 
> never know!)

This one is easy to reproduce. Open two windows or tabs on the same 
ticket, submit a comment in one, then submit a comment in the other.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Fri Oct 13 00:09:39 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Fri, 13 Oct 2006 00:09:39 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <Pine.LNX.4.62.0610122347280.9137@top.qwarx.com>
References: <452ADC7D.40405@netinertia.co.uk>  <1160513082.16100.1.camel@avenin.ebourne.me.uk>  <452CDB9B.5090208@netinertia.co.uk> <1160691518.5951.10.camel@avenin.ebourne.me.uk> <452EC308.5080807@netinertia.co.uk> <Pine.LNX.4.62.0610122347280.9137@top.qwarx.com>
Message-ID: <452ECB33.6050906@netinertia.co.uk>

Chris Wilson wrote:
> Hi James,
> 
> On Thu, 12 Oct 2006, James O'Gorman wrote:
> 
>>> Another thing is the login appears to be done by IP address not
>>> cookie (or maybe both?). The IP address is awkward because it means
>>> you get logged out every other page with load balanced proxies.
>>
>> Ugh. I think I had noticed that but hadn't paid much attention to it.
>> I'll try and have a look into that. (I think it's basically just
>> htpasswd - does htpasswd normally do this?)
> 
> htpasswd does not. The browser will send the username and password to
> the server with every request after you've logged in.
> 
> Trac does set a "trac_auth" cookie in the browser, so I think the
> authentication is not as simple as htpasswd (i.e. trac has some "clever"
> ideas about what to do with users authenticated by the server).

Ah, found the offending code. It does indeed use your IP address:

   cursor.execute("INSERT INTO auth_cookie (cookie,name,ipnr,time) "
                  "VALUES (%s, %s, %s, %s)", (cookie, remote_user,
                  req.remote_addr, int(time.time())))

(in web/auth.py)

I'll have a dig around to see if it's changable. One of the problems
with changing the actual Trac code is that it seems to be compiled, and
not being a Python person, I haven't the foggiest how you "compile" Python.

James

From boxbackup-dev@fluffy.co.uk  Fri Oct 13 00:13:12 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Fri, 13 Oct 2006 00:13:12 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <452ECB33.6050906@netinertia.co.uk>
References: <452ADC7D.40405@netinertia.co.uk>  <1160513082.16100.1.camel@avenin.ebourne.me.uk>  <452CDB9B.5090208@netinertia.co.uk> <1160691518.5951.10.camel@avenin.ebourne.me.uk> <452EC308.5080807@netinertia.co.uk> <Pine.LNX.4.62.0610122347280.9137@top.qwarx.com> <452ECB33.6050906@netinertia.co.uk>
Message-ID: <452ECC08.10202@netinertia.co.uk>

James O'Gorman wrote:
> Ah, found the offending code. It does indeed use your IP address:
> 
>    cursor.execute("INSERT INTO auth_cookie (cookie,name,ipnr,time) "
>                   "VALUES (%s, %s, %s, %s)", (cookie, remote_user,
>                   req.remote_addr, int(time.time())))
> 
> (in web/auth.py)
> 
> I'll have a dig around to see if it's changable. One of the problems
> with changing the actual Trac code is that it seems to be compiled, and
> not being a Python person, I haven't the foggiest how you "compile" Python.

Uh, my bad. There is in fact an option an trac.ini that disables the IP
check (check_auth_ip -- who'd've thought?). I've disabled that now.

James

From boxbackup-dev@fluffy.co.uk  Fri Oct 13 00:34:06 2006
From: boxbackup-dev@fluffy.co.uk (Martin Ebourne)
Date: Fri, 13 Oct 2006 00:34:06 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <452ECC08.10202@netinertia.co.uk>
References: <452ADC7D.40405@netinertia.co.uk>
 <1160513082.16100.1.camel@avenin.ebourne.me.uk>
 <452CDB9B.5090208@netinertia.co.uk>
 <1160691518.5951.10.camel@avenin.ebourne.me.uk>
 <452EC308.5080807@netinertia.co.uk>
 <Pine.LNX.4.62.0610122347280.9137@top.qwarx.com>
 <452ECB33.6050906@netinertia.co.uk>  <452ECC08.10202@netinertia.co.uk>
Message-ID: <1160696046.5951.11.camel@avenin.ebourne.me.uk>

On Fri, 2006-10-13 at 00:13 +0100, James O'Gorman wrote:
> Uh, my bad. There is in fact an option an trac.ini that disables the IP
> check (check_auth_ip -- who'd've thought?). I've disabled that now.

Thanks!

Martin.


From boxbackup-dev@fluffy.co.uk  Fri Oct 13 00:58:07 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Fri, 13 Oct 2006 00:58:07 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <1160691518.5951.10.camel@avenin.ebourne.me.uk>
References: <452ADC7D.40405@netinertia.co.uk>	 <1160513082.16100.1.camel@avenin.ebourne.me.uk>	 <452CDB9B.5090208@netinertia.co.uk> <1160691518.5951.10.camel@avenin.ebourne.me.uk>
Message-ID: <452ED68F.5020705@netinertia.co.uk>

Martin Ebourne wrote:
> On second thoughts, IF it fixes the rubbish feature where trac refuses
> to let you add a comment to a ticket just because someone else has added
> one while you were writing it (just what is the problem there?), then
> please, yes, as soon as possible!

Well, it seems other people are irritated by this too. Here's the Trac
ticket:

http://trac.edgewall.org/ticket/2618

James

From boxbackup-dev@fluffy.co.uk  Fri Oct 13 01:14:21 2006
From: boxbackup-dev@fluffy.co.uk (Martin Ebourne)
Date: Fri, 13 Oct 2006 01:14:21 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <452ED68F.5020705@netinertia.co.uk>
References: <452ADC7D.40405@netinertia.co.uk>
 <1160513082.16100.1.camel@avenin.ebourne.me.uk>
 <452CDB9B.5090208@netinertia.co.uk>
 <1160691518.5951.10.camel@avenin.ebourne.me.uk>
 <452ED68F.5020705@netinertia.co.uk>
Message-ID: <1160698461.5951.15.camel@avenin.ebourne.me.uk>

On Fri, 2006-10-13 at 00:58 +0100, James O'Gorman wrote:
> Martin Ebourne wrote:
> > On second thoughts, IF it fixes the rubbish feature where trac refuses
> > to let you add a comment to a ticket just because someone else has added
> > one while you were writing it (just what is the problem there?), then
> > please, yes, as soon as possible!
> 
> Well, it seems other people are irritated by this too. Here's the Trac
> ticket:
> 
> http://trac.edgewall.org/ticket/2618

And no danger of an imminent fix either. :(

Thanks for looking into it James.

Cheers,

Martin.


From boxbackup-dev@fluffy.co.uk  Fri Oct 13 03:29:40 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Fri, 13 Oct 2006 03:29:40 +0100
Subject: [Box Backup-dev] Trac 0.10?
In-Reply-To: <452ADC7D.40405@netinertia.co.uk>
References: <452ADC7D.40405@netinertia.co.uk>
Message-ID: <452EFA14.7090607@netinertia.co.uk>

OK, well I took the plunge and upgraded Trac and a couple of the
installed components (only Ben and Martin will notice those though,
under the Admin section).

So far so good. I don't think there's been any regressions, and it even
has funky new "Reply" buttons on comments in the tickets :-)

James

From boxbackup-dev@fluffy.co.uk  Sat Oct 14 00:11:14 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Sat, 14 Oct 2006 00:11:14 +0100 (BST)
Subject: [Box Backup-dev] Re: [Box Backup-commit] COMMIT r1017 - box/chris/general/lib/common
In-Reply-To: <E1GYW89-00017I-QW@starbug.netinertia.co.uk>
References: <E1GYW89-00017I-QW@starbug.netinertia.co.uk>
Message-ID: <Pine.LNX.4.62.0610140010270.9137@top.qwarx.com>

Hi James,

I think the trac-svn integration is broken. Placing "refs #3" into a 
commit message is no longer enough to add it to the relevant ticket.

Cheers, Chris.

On Sat, 14 Oct 2006 subversion@fluffy.co.uk wrote:

> Author: chris
> Date: 2006-10-14 00:07:53 +0100 (Sat, 14 Oct 2006)
> New Revision: 1017
>
> Modified:
>   box/chris/general/lib/common/FileStream.cpp
> Log:
> * Simplify code (refs #3)
>
>
> Modified: box/chris/general/lib/common/FileStream.cpp
> ===================================================================
> --- box/chris/general/lib/common/FileStream.cpp	2006-10-13 23:03:23 UTC (rev 1016)
> +++ box/chris/general/lib/common/FileStream.cpp	2006-10-13 23:07:53 UTC (rev 1017)
> @@ -306,15 +306,12 @@
>
> #ifdef WIN32
> 	if(::CloseHandle(mOSFileHandle) == 0)
> -	{
> -		THROW_EXCEPTION(CommonException, OSFileCloseError)
> -	}
> #else
> 	if(::close(mOSFileHandle) != 0)
> +#endif
> 	{
> 		THROW_EXCEPTION(CommonException, OSFileCloseError)
> 	}
> -#endif
>
> 	mOSFileHandle = INVALID_FILE;
> 	mIsEOF = true;
>
> _______________________________________________
> Boxbackup-commit mailing list
> Boxbackup-commit@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup-commit
>
>
> !DSPAM:45301c5325412622612952!
>

-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Sat Oct 14 12:18:29 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Sat, 14 Oct 2006 12:18:29 +0100 (BST)
Subject: [Box Backup-dev] COMMIT r896 - box/chris/merge/lib/raidfile
In-Reply-To: <542496EF-7038-4C2C-A78D-3564564F00FC@fluffy.co.uk>
References: <E1GIvMI-000GTi-CT@starbug.netinertia.co.uk>
 <542496EF-7038-4C2C-A78D-3564564F00FC@fluffy.co.uk>
Message-ID: <Pine.LNX.4.62.0610141211020.9137@top.qwarx.com>

Hi Ben,

Regarding [http://bbdev.fluffy.co.uk/trac/changeset/896]:

On Fri, 1 Sep 2006, Ben Summers wrote:
> 
>>  Open files in binary mode (Win32)
>
> Can that go in the base classes instead? I can't think of any reason why 
> we'd want to open a file in anything other than binary mode.

Do you mean FileHandleGuard, or openfile(), or both?

>>  Disable the lock failure block when we don't have any locking 
>>  mechanism
>
> Win32 does have locks! Why not add an emulated flock() for Win32?

It seems to me that a lot of functionality in RaidFileWrite is duplicated 
from FileStream. I have to rewrite all this code to call different 
functions and work with native file handles (HANDLE) on Win32, in order to 
be able to call LockFile or LockFileEx APIs. I can't see any other way to 
lock files on Win32.

Would it make sense to merge the file-handling parts of RaidFileWrite into 
FileStream? I think this means that some extra APIs will be required in 
FileStream. Either RaidFileWrite needs to get access to FileStream's 
internal file handle (ugly but minimal) or locking must be added to 
FileStream (preferable?).

What exactly is the lock protecting against? Simultaneous writes to the 
same file by RaidFileWrite? Since the Win32 APIs require one to specify 
the byte range in the file to be locked, is it acceptable to just lock the 
first byte, to achieve mutual exclusion?

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Sat Oct 14 13:44:10 2006
From: boxbackup-dev@fluffy.co.uk (James O'Gorman)
Date: Sat, 14 Oct 2006 13:44:10 +0100
Subject: [Box Backup-dev] Re: [Box Backup-commit] COMMIT r1017 - box/chris/general/lib/common
In-Reply-To: <Pine.LNX.4.62.0610140010270.9137@top.qwarx.com>
References: <E1GYW89-00017I-QW@starbug.netinertia.co.uk> <Pine.LNX.4.62.0610140010270.9137@top.qwarx.com>
Message-ID: <4530DB9A.4020306@netinertia.co.uk>

Chris Wilson wrote:
> I think the trac-svn integration is broken. Placing "refs #3" into a
> commit message is no longer enough to add it to the relevant ticket.

Sorry, should be fixed now.

(The trac-post-commit-hook script isn't part of the main distribution,
so it didn't get updated.)

James

From boxbackup-dev@fluffy.co.uk  Sat Oct 14 19:22:54 2006
From: boxbackup-dev@fluffy.co.uk (Charles Lecklider)
Date: Sat, 14 Oct 2006 19:22:54 +0100
Subject: [Box Backup-dev] COMMIT r896 - box/chris/merge/lib/raidfile
In-Reply-To: <Pine.LNX.4.62.0610141211020.9137@top.qwarx.com>
References: <E1GIvMI-000GTi-CT@starbug.netinertia.co.uk> <542496EF-7038-4C2C-A78D-3564564F00FC@fluffy.co.uk> <Pine.LNX.4.62.0610141211020.9137@top.qwarx.com>
Message-ID: <45312AFE.608@invis.net>

Chris Wilson wrote:
> What exactly is the lock protecting against? Simultaneous writes to the
> same file by RaidFileWrite?

I think this is a red herring.

We shouldn't need explicit locking under Win32 if we pass a 0
dwShareMode parameter to CreateFile().

-C


From boxbackup-dev@fluffy.co.uk  Sun Oct 15 01:15:51 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Sun, 15 Oct 2006 01:15:51 +0100 (BST)
Subject: [Box Backup-dev] COMMIT r896 - box/chris/merge/lib/raidfile
In-Reply-To: <45312AFE.608@invis.net>
References: <E1GIvMI-000GTi-CT@starbug.netinertia.co.uk>
 <542496EF-7038-4C2C-A78D-3564564F00FC@fluffy.co.uk>
 <Pine.LNX.4.62.0610141211020.9137@top.qwarx.com> <45312AFE.608@invis.net>
Message-ID: <Pine.LNX.4.62.0610150115030.9137@top.qwarx.com>

Hi Charles,

On Sat, 14 Oct 2006, Charles Lecklider wrote:

> Chris Wilson wrote:
>> What exactly is the lock protecting against? Simultaneous writes to the
>> same file by RaidFileWrite?
>
> I think this is a red herring.
>
> We shouldn't need explicit locking under Win32 if we pass a 0
> dwShareMode parameter to CreateFile().

Good point, thanks for the simple solution Charles!

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


From boxbackup-dev@fluffy.co.uk  Sun Oct 15 23:09:09 2006
From: boxbackup-dev@fluffy.co.uk (Chris Wilson)
Date: Sun, 15 Oct 2006 23:09:09 +0100 (BST)
Subject: [Box Backup-dev] COMMIT r896 - box/chris/merge/lib/raidfile
In-Reply-To: <Pine.LNX.4.62.0610150115030.9137@top.qwarx.com>
References: <E1GIvMI-000GTi-CT@starbug.netinertia.co.uk>
 <542496EF-7038-4C2C-A78D-3564564F00FC@fluffy.co.uk>
 <Pine.LNX.4.62.0610141211020.9137@top.qwarx.com> <45312AFE.608@invis.net>
 <Pine.LNX.4.62.0610150115030.9137@top.qwarx.com>
Message-ID: <Pine.LNX.4.62.0610152306350.9137@top.qwarx.com>

Hi all,

On Sun, 15 Oct 2006, Chris Wilson wrote:
> On Sat, 14 Oct 2006, Charles Lecklider wrote:
>>  We shouldn't need explicit locking under Win32 if we pass a 0
>>  dwShareMode parameter to CreateFile().
>
> Good point, thanks for the simple solution Charles!

Unfortunately, this doesn't negate the need to convert RaidFileRead/Write 
to using native file handles, since as far as I know, Windows' POSIX 
open() function doesn't let us set the share mode.

[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__open.2c_._wopen.asp]

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


