summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-13Use larch.FormatProblem instead of Exception for on-disk format problemsLars Wirzenius3-3/+19
2012-03-25Bump Standards-Versionlarch-0.28Lars Wirzenius2-1/+3
2012-03-25Release version 0.28Lars Wirzenius3-2/+8
2012-03-25Add on-disk journallingLars Wirzenius11-42/+454
2012-03-25Document new feature in NEWSLars Wirzenius1-0/+19
2012-03-25Don't use os.walk in NodeStoreDisk.list_nodesLars Wirzenius2-7/+8
2012-03-25Remove unnecessary code to remove file, create directoryLars Wirzenius1-5/+0
overwrite_file already does all of that. Pointless code is a bug trap.
2012-03-24Remove push_upload_queue from NodeStore API, add commitLars Wirzenius4-13/+22
Also, re-arrange things so that commit does things in the right order in order to get everything to disk before the new metadata file gets written. It's important to write the metadata last, so that in case of a crash, commit will continue the next time the journal is opened.
2012-03-24Make NodeMissing exceptions identify which store is missingLars Wirzenius3-6/+8
2012-03-24Make RefCountStore use Journal, tooLars Wirzenius3-6/+7
2012-03-24Add more tracingLars Wirzenius1-1/+7
2012-03-24Push upload queue last when committingLars Wirzenius1-1/+1
push_upload_queue will go away later, and commit to be done instead.
2012-03-24Remove unnecessary debug messageLars Wirzenius1-1/+0
2012-03-24Remove unwanted metadata_is_pending methodLars Wirzenius2-11/+0
2012-03-24Add debug tracing and fix vivication of dirsLars Wirzenius1-3/+18
2012-03-24use Journal in NodeStoreDiskLars Wirzenius1-14/+15
2012-03-24Automatically continue a commit or rollbackLars Wirzenius2-12/+35
2012-03-24RefactorLars Wirzenius1-5/+3
2012-03-24RefactorLars Wirzenius1-27/+19
2012-03-24Commit metadata file lastLars Wirzenius2-1/+14
2012-03-24Implement metadata_is_pendingLars Wirzenius2-1/+8
2012-03-24RefactorLars Wirzenius1-15/+13
2012-03-24RefactorLars Wirzenius1-8/+7
2012-03-24Remove rmdir, add remove, and lots of testsLars Wirzenius2-44/+100
2012-03-24Add test case for rmdir on a directory that has never existedLars Wirzenius2-0/+5
2012-03-24Implement rmdirLars Wirzenius2-0/+29
2012-03-24Implement commit for new files and directoriesLars Wirzenius2-2/+48
2012-03-24Add test for committing new fileLars Wirzenius1-0/+6
2012-03-24Add test for committing new directoryLars Wirzenius2-0/+9
2012-03-24Add test for rollback removing new fileLars Wirzenius1-0/+6
2012-03-24Add Journal.overwrite_file and .catLars Wirzenius3-0/+13
2012-03-24Fix rollback to work when there's no changesLars Wirzenius2-4/+5
2012-03-24Fix rollback to remove new but uncommitted directoriesLars Wirzenius3-4/+28
2012-03-24Add test for rollback undoing directory creationLars Wirzenius2-0/+9
2012-03-24Add Journal.exists and .makedirsLars Wirzenius2-4/+21
These are incorrect implementations, but adding tests later to catch that.
2012-03-24RefactorLars Wirzenius1-6/+7
2012-03-24Add method for constructing names for to-be-deleted filesLars Wirzenius2-0/+10
2012-03-24Add method to construct filenames for new files in storeLars Wirzenius2-0/+15
2012-03-24Add store directory to Journal APILars Wirzenius2-2/+3
2012-03-24Mark LocalFS as being outside coverage testingLars Wirzenius1-1/+1
It's simple enough that it's likely to work. Writing tests seems like a waste of time right now.
2012-03-24Add docstring to explain how the journal worksLars Wirzenius1-0/+22
2012-03-24Create and remove a temporary directory to be used by testsLars Wirzenius1-0/+7
2012-03-24Add isdir to NodeStore's LocalFS APILars Wirzenius1-0/+4
2012-03-24Add a Journal class and its first testLars Wirzenius3-0/+64
2012-02-18Remove project.meta, now uselessLars Wirzenius1-2/+0
2012-02-18Release version 0.27.Lars Wirzenius3-2/+8
2011-12-29sync fsck WorkItem with ObnamLars Wirzenius2-2/+16
2011-12-29update NEWSLars Wirzenius1-0/+6
2011-12-29merge WorkItem details from Obnam's fackLars Wirzenius1-2/+10
2011-12-26remove now-useless benchmark scriptLars Wirzenius1-8/+0