fsdb 0.5 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. data/{RELEASE-NOTES → History.txt} +6 -0
  2. data/{README → README.txt} +26 -17
  3. data/examples/flat.rb +146 -0
  4. data/examples/fsdb-example.rb +28 -0
  5. data/examples/rbformat.rb +17 -0
  6. data/examples/yaml2.rb +29 -0
  7. data/junk/OLDRakefile +98 -0
  8. data/junk/OLDRakefile2 +55 -0
  9. data/junk/check-cache.rb +18 -0
  10. data/junk/create-lock.rb +25 -0
  11. data/junk/doc/old-api/classes/FSDB.html +139 -0
  12. data/junk/doc/old-api/classes/FSDB/Database.html +953 -0
  13. data/junk/doc/old-api/classes/FSDB/Database.src/M000029.html +16 -0
  14. data/junk/doc/old-api/classes/FSDB/Database.src/M000030.html +16 -0
  15. data/junk/doc/old-api/classes/FSDB/Database.src/M000031.html +16 -0
  16. data/junk/doc/old-api/classes/FSDB/Database.src/M000032.html +16 -0
  17. data/junk/doc/old-api/classes/FSDB/Database.src/M000033.html +33 -0
  18. data/junk/doc/old-api/classes/FSDB/Database.src/M000034.html +18 -0
  19. data/junk/doc/old-api/classes/FSDB/Database.src/M000035.html +22 -0
  20. data/junk/doc/old-api/classes/FSDB/Database.src/M000036.html +16 -0
  21. data/junk/doc/old-api/classes/FSDB/Database.src/M000037.html +22 -0
  22. data/junk/doc/old-api/classes/FSDB/Database.src/M000038.html +43 -0
  23. data/junk/doc/old-api/classes/FSDB/Database.src/M000039.html +25 -0
  24. data/junk/doc/old-api/classes/FSDB/Database.src/M000040.html +43 -0
  25. data/junk/doc/old-api/classes/FSDB/Database.src/M000041.html +23 -0
  26. data/junk/doc/old-api/classes/FSDB/Database.src/M000042.html +22 -0
  27. data/junk/doc/old-api/classes/FSDB/Database.src/M000043.html +16 -0
  28. data/junk/doc/old-api/classes/FSDB/Database.src/M000044.html +16 -0
  29. data/junk/doc/old-api/classes/FSDB/Database.src/M000045.html +18 -0
  30. data/junk/doc/old-api/classes/FSDB/Database.src/M000046.html +18 -0
  31. data/junk/doc/old-api/classes/FSDB/Database.src/M000047.html +18 -0
  32. data/junk/doc/old-api/classes/FSDB/Database.src/M000048.html +16 -0
  33. data/junk/doc/old-api/classes/FSDB/Database.src/M000049.html +71 -0
  34. data/junk/doc/old-api/classes/FSDB/Database.src/M000050.html +43 -0
  35. data/junk/doc/old-api/classes/FSDB/Database.src/M000051.html +53 -0
  36. data/junk/doc/old-api/classes/FSDB/Database.src/M000052.html +44 -0
  37. data/junk/doc/old-api/classes/FSDB/Database.src/M000053.html +39 -0
  38. data/junk/doc/old-api/classes/FSDB/Database.src/M000054.html +72 -0
  39. data/junk/doc/old-api/classes/FSDB/Database.src/M000055.html +39 -0
  40. data/junk/doc/old-api/classes/FSDB/Database.src/M000056.html +18 -0
  41. data/junk/doc/old-api/classes/FSDB/Database.src/M000057.html +18 -0
  42. data/junk/doc/old-api/classes/FSDB/Database.src/M000058.html +18 -0
  43. data/junk/doc/old-api/classes/FSDB/Database.src/M000059.html +18 -0
  44. data/junk/doc/old-api/classes/FSDB/Database.src/M000060.html +18 -0
  45. data/junk/doc/old-api/classes/FSDB/Database.src/M000061.html +23 -0
  46. data/junk/doc/old-api/classes/FSDB/Database.src/M000062.html +23 -0
  47. data/junk/doc/old-api/classes/FSDB/Database.src/M000063.html +18 -0
  48. data/junk/doc/old-api/classes/FSDB/Database.src/M000064.html +18 -0
  49. data/junk/doc/old-api/classes/FSDB/Database/AbortedTransaction.html +118 -0
  50. data/junk/doc/old-api/classes/FSDB/Database/CreateFileError.html +120 -0
  51. data/junk/doc/old-api/classes/FSDB/Database/DirIsImmutableError.html +117 -0
  52. data/junk/doc/old-api/classes/FSDB/Database/DirNotEmptyError.html +117 -0
  53. data/junk/doc/old-api/classes/FSDB/Database/FormatError.html +117 -0
  54. data/junk/doc/old-api/classes/FSDB/Database/MissingFileError.html +117 -0
  55. data/junk/doc/old-api/classes/FSDB/Database/MissingObjectError.html +117 -0
  56. data/junk/doc/old-api/classes/FSDB/Database/NotDirError.html +118 -0
  57. data/junk/doc/old-api/classes/FSDB/Database/PathComponentError.html +120 -0
  58. data/junk/doc/old-api/classes/FSDB/DatabaseDebuggable.html +148 -0
  59. data/junk/doc/old-api/classes/FSDB/DatabaseDebuggable.src/M000005.html +21 -0
  60. data/junk/doc/old-api/classes/FSDB/DatabaseDebuggable.src/M000007.html +21 -0
  61. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.html +210 -0
  62. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000006.html +22 -0
  63. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000007.html +22 -0
  64. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000008.html +22 -0
  65. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000009.html +22 -0
  66. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000010.html +22 -0
  67. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000011.html +22 -0
  68. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000012.html +22 -0
  69. data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000013.html +22 -0
  70. data/junk/doc/old-api/classes/FSDB/ForkSafely.html +126 -0
  71. data/junk/doc/old-api/classes/FSDB/Modex.html +237 -0
  72. data/junk/doc/old-api/classes/FSDB/Modex.src/M000024.html +21 -0
  73. data/junk/doc/old-api/classes/FSDB/Modex.src/M000025.html +30 -0
  74. data/junk/doc/old-api/classes/FSDB/Modex.src/M000026.html +21 -0
  75. data/junk/doc/old-api/classes/FSDB/Modex.src/M000027.html +30 -0
  76. data/junk/doc/old-api/classes/FSDB/Modex.src/M000028.html +44 -0
  77. data/junk/doc/old-api/classes/FSDB/Modex.src/M000029.html +26 -0
  78. data/junk/doc/old-api/classes/FSDB/Modex.src/M000030.html +48 -0
  79. data/junk/doc/old-api/classes/FSDB/Modex/ForkSafely.html +105 -0
  80. data/junk/doc/old-api/classes/FSDB/Mutex.html +244 -0
  81. data/junk/doc/old-api/classes/FSDB/Mutex.src/M000018.html +19 -0
  82. data/junk/doc/old-api/classes/FSDB/Mutex.src/M000019.html +18 -0
  83. data/junk/doc/old-api/classes/FSDB/Mutex.src/M000020.html +19 -0
  84. data/junk/doc/old-api/classes/FSDB/Mutex.src/M000021.html +18 -0
  85. data/junk/doc/old-api/classes/FSDB/Mutex.src/M000022.html +23 -0
  86. data/junk/doc/old-api/classes/FSDB/Mutex.src/M000023.html +30 -0
  87. data/junk/doc/old-api/classes/FSDB/Mutex.src/M000024.html +26 -0
  88. data/junk/doc/old-api/classes/FSDB/Mutex.src/M000025.html +21 -0
  89. data/junk/doc/old-api/classes/FSDB/Mutex/ForkSafely.html +105 -0
  90. data/junk/doc/old-api/classes/FSDB/PathUtilities.html +257 -0
  91. data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000012.html +23 -0
  92. data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000013.html +18 -0
  93. data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000014.html +23 -0
  94. data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000015.html +18 -0
  95. data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000016.html +18 -0
  96. data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000017.html +22 -0
  97. data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000018.html +23 -0
  98. data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000019.html +18 -0
  99. data/junk/doc/old-api/classes/FSDB/PathUtilities/InvalidPathError.html +111 -0
  100. data/junk/doc/old-api/classes/File.html +272 -0
  101. data/junk/doc/old-api/classes/File.src/M000001.html +17 -0
  102. data/junk/doc/old-api/classes/File.src/M000002.html +17 -0
  103. data/junk/doc/old-api/classes/File.src/M000003.html +20 -0
  104. data/junk/doc/old-api/classes/File.src/M000004.html +20 -0
  105. data/junk/doc/old-api/classes/File.src/M000005.html +32 -0
  106. data/junk/doc/old-api/classes/File.src/M000006.html +32 -0
  107. data/junk/doc/old-api/created.rid +1 -0
  108. data/junk/doc/old-api/files/README.html +112 -0
  109. data/junk/doc/old-api/files/RELEASE-NOTES.html +233 -0
  110. data/junk/doc/old-api/files/fsdb_txt.html +888 -0
  111. data/junk/doc/old-api/files/lib/fsdb/database_rb.html +115 -0
  112. data/junk/doc/old-api/files/lib/fsdb/file-lock_rb.html +109 -0
  113. data/junk/doc/old-api/files/lib/fsdb/modex_rb.html +121 -0
  114. data/junk/doc/old-api/files/lib/fsdb/mutex_rb.html +108 -0
  115. data/junk/doc/old-api/files/lib/fsdb/util_rb.html +108 -0
  116. data/junk/doc/old-api/fr_class_index.html +47 -0
  117. data/junk/doc/old-api/fr_file_index.html +34 -0
  118. data/junk/doc/old-api/fr_method_index.html +90 -0
  119. data/junk/doc/old-api/index.html +24 -0
  120. data/junk/doc/old-api/rdoc-style.css +208 -0
  121. data/junk/file-lock-nb.rb +15 -0
  122. data/junk/fl.rb +144 -0
  123. data/junk/flock-test.rb +39 -0
  124. data/junk/fsdb.kateproject +47 -0
  125. data/junk/fsdb.prj +196 -0
  126. data/junk/fsdb.sf +46 -0
  127. data/junk/insert-dir.rb +48 -0
  128. data/junk/lock-test-bug.rb +150 -0
  129. data/junk/lock-test-too-simple.rb +136 -0
  130. data/junk/lock-test.rb +151 -0
  131. data/{script → junk}/mkrdoc +0 -0
  132. data/junk/restore-fsdb.rb +37 -0
  133. data/junk/rf.txt +5 -0
  134. data/junk/solaris-bug-fixed.rb +184 -0
  135. data/junk/solaris-bug.rb +182 -0
  136. data/junk/solaris-bug.txt +43 -0
  137. data/junk/sync.rb +327 -0
  138. data/junk/test-file-lock.html +86 -0
  139. data/junk/test-file-lock.rb +84 -0
  140. data/junk/test-processes.rb +131 -0
  141. data/junk/test-threads.rb +113 -0
  142. data/junk/wiki-mutex.rb +108 -0
  143. data/lib/fsdb/database.rb +5 -3
  144. data/lib/fsdb/delegatable.rb +21 -0
  145. data/lib/fsdb/faster-modex.rb +223 -0
  146. data/lib/fsdb/faster-mutex.rb +138 -0
  147. data/lib/fsdb/mutex.rb +4 -1
  148. data/lib/fsdb/persistent.rb +91 -0
  149. data/lib/fsdb/read-write-object.rb +36 -0
  150. data/lib/fsdb/server.rb +44 -0
  151. data/misc/fsdb-blorubu.txt +47 -0
  152. data/misc/mtime-and-file-id.txt +23 -0
  153. data/misc/posixlock.txt +148 -0
  154. data/rakefile +39 -0
  155. data/tasks/ann.rake +80 -0
  156. data/tasks/bones.rake +20 -0
  157. data/tasks/gem.rake +201 -0
  158. data/tasks/git.rake +40 -0
  159. data/tasks/notes.rake +27 -0
  160. data/tasks/post_load.rake +34 -0
  161. data/tasks/rdoc.rake +51 -0
  162. data/tasks/rubyforge.rake +55 -0
  163. data/tasks/setup.rb +292 -0
  164. data/tasks/spec.rake +54 -0
  165. data/tasks/svn.rake +47 -0
  166. data/tasks/test.rake +40 -0
  167. data/tasks/zentest.rake +36 -0
  168. data/test/err.txt +31 -0
  169. data/test/runs.rb +8 -0
  170. data/test/test-file-lock.rb +78 -0
  171. data/test/test-util.rb +1 -0
  172. data/test/trap.rb +31 -0
  173. metadata +198 -35
  174. data/Manifest +0 -36
  175. data/Rakefile +0 -10
  176. data/fsdb.gemspec +0 -113
@@ -0,0 +1,15 @@
1
+
2
+ if false
3
+ def flock_nb(mode)
4
+ if Thread.list.size == 1
5
+ flock(mode)
6
+ else
7
+ # ugly hack because waiting for a lock in a Ruby thread blocks the process
8
+ period = 0.001
9
+ until flock(mode|LOCK_NB)
10
+ sleep period
11
+ period *= 2 if period < 1
12
+ end
13
+ end
14
+ end
15
+ end
data/junk/fl.rb ADDED
@@ -0,0 +1,144 @@
1
+ # Extensions to the File class for exception-safe file locking in a
2
+ # environment with multiple user threads.
3
+
4
+ $reader_count = Hash.new(0) ### maybe this should be in FSDB?
5
+
6
+ class File
7
+
8
+ attr_reader :reader_count
9
+
10
+ # Get an exclusive (i.e., write) lock on the file, and yield to the block.
11
+ # If the lock is not available, wait for it without blocking other ruby
12
+ # threads.
13
+ def lock_exclusive(is_dir = false)
14
+ if Thread.list.size == 1
15
+ flock(LOCK_EX) ## need to use fcntl for Linux NFS
16
+ else
17
+ # ugly hack because waiting for a lock in a Ruby thread blocks the process
18
+ period = 0.001
19
+ until flock(LOCK_EX|LOCK_NB) ## need to use fcntl for Linux NFS
20
+ sleep period
21
+ period *= 2 if period < 1
22
+ end
23
+ end
24
+
25
+ yield self
26
+
27
+ ensure
28
+ flush unless is_dir ## is flush necessary? [ruby-talk:16721]
29
+ flock(LOCK_UN)
30
+ end
31
+
32
+ # Get a shared (i.e., read) lock on the file, and yield to the block.
33
+ # If the lock is not available, wait for it without blocking other ruby
34
+ # threads.
35
+ def lock_shared
36
+ if Thread.list.size == 1
37
+ flock(LOCK_SH) ## need to use fcntl for Linux NFS
38
+ else
39
+ # ugly hack because waiting for a lock in a Ruby thread blocks the process
40
+ period = 0.001
41
+ until flock(LOCK_SH|LOCK_NB) ## need to use fcntl for Linux NFS
42
+ sleep period
43
+ period *= 2 if period < 1
44
+ end
45
+ end
46
+
47
+ yield self
48
+
49
+ ensure
50
+ Thread.exclusive {flock(LOCK_UN) if $reader_count[self.stat.ino] == 1}
51
+ ## for solaris, no need to unlock here--closing does it
52
+ end
53
+
54
+ # Provides instance methods to open files in three lock modes: read, write,
55
+ # and create.
56
+
57
+ module OpenLock
58
+
59
+ # Raised when open_read_lock or open_write_lock cannot find the file.
60
+ class MissingFileError < Errno::ENOENT; end
61
+
62
+ windows = (RUBY_PLATFORM =~ /win/i)
63
+ solaris = (RUBY_PLATFORM =~ /solaris/i)
64
+
65
+ DIR_PAT = /\/$/
66
+
67
+ if windows
68
+ # <b>Windows:</b>
69
+ # Decide whether or not to set binmode for f based on f and path.
70
+ # Must be defined in class which includes this module.
71
+ ## This should be based on Format objects
72
+ def set_binmode(f, path)
73
+ raise "OpenLock: #{self.class} must define set_binmode"
74
+ end
75
+ end
76
+
77
+ module_eval %{
78
+
79
+ # Opens path for reading ("r") with a shared lock for the
80
+ # duration of the block.
81
+ def open_read_lock(path)
82
+ f = nil
83
+ f = File.open(path, "r")
84
+ Thread.exclusive {$reader_count[f] += 1}
85
+ #{%{set_binmode(f, path)} if windows}
86
+ f.lock_shared do
87
+ yield f
88
+ end
89
+ rescue Errno::ENOENT
90
+ raise MissingFileError
91
+ ensure
92
+ if f #{
93
+ if solaris then %{
94
+ Thread.exclusive do
95
+ cache = @openlock_file_cache ||= Hash.new {|h,v| h[v] = []}
96
+ # maps <inode number> => [<open File instance>, ...]
97
+ ino = f.stat.ino ## could get inode num from transaction
98
+ if $reader_count[f] == 1
99
+ f.close
100
+ files = cache.delete(ino) and files.each {|g| g.close}
101
+ $reader_count.delete(f)
102
+ else
103
+ cache[ino] << f
104
+ $reader_count[f] -= 1
105
+ end
106
+ end
107
+ } else %{
108
+ ## sleep 0.01 ## why does this boost transaction rate?
109
+ f.close
110
+ } end
111
+ } end
112
+ end
113
+
114
+ # Opens path for writing and reading ("r+") with an exclusive lock for
115
+ # the duration of the block.
116
+ def open_write_lock(path)
117
+ is_dir = path =~ DIR_PAT
118
+ if is_dir
119
+ File.open(path, "r") do |f|
120
+ #{
121
+ if solaris then %{
122
+ f.lock_shared {yield f}
123
+ }
124
+ else %{
125
+ f.lock_exclusive {yield f}
126
+ }
127
+ end
128
+ }
129
+ end
130
+ else
131
+ File.open(path, "r+") do |f|
132
+ #{%{set_binmode(f, path)} if windows}
133
+ f.lock_exclusive(true) {yield f}
134
+ end
135
+ end
136
+ rescue Errno::ENOENT
137
+ raise MissingFileError
138
+ end
139
+
140
+ }
141
+
142
+ end
143
+
144
+ end
@@ -0,0 +1,39 @@
1
+ require 'thread'
2
+
3
+ filename = "/tmp/flock-test"
4
+
5
+ mutex = Mutex.new
6
+
7
+ f = open(filename, "w")
8
+ f.puts "foo"
9
+ f.close
10
+
11
+ Thread.new {
12
+ sleep .1
13
+ i = 0
14
+ loop do
15
+ i += 1
16
+ mutex.synchronize {
17
+ f = open(filename, "w")
18
+ f.flock(File::LOCK_EX)
19
+ f.puts "bar #{i}"; f.flush
20
+ puts " #{i}"; $stdout.flush
21
+ f.flock(File::LOCK_UN)
22
+ f.close
23
+ }
24
+ end
25
+ }
26
+
27
+ #sleep .5
28
+
29
+ loop do
30
+ # sleep 0.0001
31
+ mutex.synchronize {
32
+ f = open(filename)
33
+ f.flock(File::LOCK_EX)
34
+ puts f.gets
35
+ f.flock(File::LOCK_UN)
36
+ f.close
37
+ }
38
+ end
39
+
@@ -0,0 +1,47 @@
1
+ [Dir bench]
2
+ Dirs=
3
+ Files=bench.rb
4
+
5
+ [Dir examples]
6
+ Dirs=
7
+ Files=client.rb/formats.rb/fsdb-examples.rb/indexes.rb/server.rb/simple.rb/yaml.rb
8
+
9
+ [Dir ext]
10
+ Dirs=fsdb
11
+ Files=
12
+
13
+ [Dir ext/fsdb]
14
+ Dirs=
15
+ Files=extconf.rb/fcntl-lock.c/Makefile/MANIFEST
16
+
17
+ [Dir lib]
18
+ Dirs=fsdb
19
+ Files=fsdb.rb
20
+
21
+ [Dir lib/fsdb]
22
+ Dirs=formats
23
+ Files=compat.rb/database.rb/delegatable.rb/faster-modex.rb/faster-mutex.rb/file-lock.rb/formats.rb/modex.rb/mutex.rb/nonpersistent-attr.rb/persistent.rb/platform.rb/read-write-object.rb/server.rb/util.rb
24
+
25
+ [Dir lib/fsdb/formats]
26
+ Dirs=
27
+ Files=yaml.rb
28
+
29
+ [Dir script]
30
+ Dirs=
31
+ Files=mkrdoc
32
+
33
+ [Dir test]
34
+ Dirs=test-concurrency
35
+ Files=runs.rb/test-all.rb/test-concurrency.rb/test-file-lock.rb/test-formats.rb/test-fsdb.rb/test-modex.rb/test-mutex.rb/test.rb/test-util.rb/trap.rb
36
+
37
+ [Dir test/test-concurrency]
38
+ Dirs=
39
+ Files=init.rb/test-object.rb
40
+
41
+ [Project Dir]
42
+ Dirs=bench/doc/examples/ext/lib/script/test
43
+ Files=config.save/fsdb-blorubu.txt/fsdb.kateproject/fsdb.prj/fsdb.sf/fsdb.txt/index.html/install.rb/mtime-and-file-id.txt/posixlock.txt/Rakefile/README/RELEASE-NOTES/rf.txt
44
+
45
+ [Project File]
46
+ Name=fsdb
47
+ Type=Default
data/junk/fsdb.prj ADDED
@@ -0,0 +1,196 @@
1
+ ;; -*- Prcs -*-
2
+ (Created-By-Prcs-Version 1 3 3)
3
+ (Project-Description "")
4
+ (Project-Version fsdb 0.5 5)
5
+ (Parent-Version fsdb 0.5 4)
6
+ (Version-Log "")
7
+ (New-Version-Log "")
8
+ (Checkin-Time "Thu, 25 Aug 2005 14:54:53 -0700")
9
+ (Checkin-Login vjoel)
10
+ (Populate-Ignore ())
11
+ (Project-Keywords)
12
+ (Files
13
+ ;; This is a comment. Fill in files here.
14
+ ;; For example: (prcs/checkout.cc ())
15
+
16
+ ;; Files added by populate at Sat, 04 Jan 2003 14:52:18 -0800,
17
+ ;; to version 0.0(w), by tercel:
18
+
19
+ (lib/fsdb/persistent.rb (fsdb/0_persistent 1.1 644))
20
+ (lib/fsdb/nonpersistent-attr.rb (fsdb/1_nonpersist 1.1 644))
21
+
22
+ (lib/fsdb/file-lock.rb (fsdb/3_file-lock. 1.26 644))
23
+
24
+ ;; Files added by populate at Sat, 04 Jan 2003 16:29:32 -0800,
25
+ ;; to version 0.1(w), by tercel:
26
+
27
+ (lib/fsdb/read-write-object.rb (fsdb/4_read-write 1.1 644))
28
+
29
+ ;; Files added by populate at Sun, 05 Jan 2003 02:45:33 -0800,
30
+ ;; to version 0.2(w), by tercel:
31
+
32
+ (test/test-fsdb.rb (fsdb/5_test-fsdb. 1.25 755))
33
+
34
+ ;; Files added by populate at Sun, 05 Jan 2003 10:33:30 -0800,
35
+ ;; to version 0.3(w), by tercel:
36
+
37
+ (lib/fsdb/util.rb (fsdb/6_util.rb 1.15 664))
38
+
39
+ ;; Files added by populate at Mon, 13 Jan 2003 23:29:55 -0800,
40
+ ;; to version 0.5(w), by tercel:
41
+
42
+ (fsdb.txt (fsdb/7_fsdb.txt 1.46 664))
43
+
44
+ ;; Files added by populate at Mon, 13 Jan 2003 23:30:04 -0800,
45
+ ;; to version 0.5(w), by tercel:
46
+
47
+
48
+
49
+ ;; Files added by populate at Mon, 13 Jan 2003 23:30:22 -0800,
50
+ ;; to version 0.5(w), by tercel:
51
+
52
+ (test/test-concurrency.rb (fsdb/9_test-concu 1.28 755))
53
+
54
+ ;; Files added by populate at Mon, 13 Jan 2003 23:30:33 -0800,
55
+ ;; to version 0.5(w), by tercel:
56
+
57
+ (test/test.rb (fsdb/10_test.rb 1.13 644))
58
+
59
+ ;; Files added by populate at Mon, 13 Jan 2003 23:30:41 -0800,
60
+ ;; to version 0.5(w), by tercel:
61
+
62
+ (lib/fsdb.rb (fsdb/11_fsdb.rb 1.4 644))
63
+
64
+ ;; Files added by populate at Mon, 13 Jan 2003 23:30:58 -0800,
65
+ ;; to version 0.5(w), by tercel:
66
+
67
+ (lib/fsdb/database.rb (fsdb/12_database.r 1.49 644))
68
+
69
+ ;; Files added by populate at Mon, 13 Jan 2003 23:31:16 -0800,
70
+ ;; to version 0.5(w), by tercel:
71
+
72
+ (lib/fsdb/server.rb (fsdb/13_server.rb 1.3 664))
73
+
74
+ ;; Files deleted by depopulate at Mon, 13 Jan 2003 23:32:00 -0800,
75
+ ;; from version 0.5(w), by tercel:
76
+
77
+ ; (lib/fsdb/fsdb.rb ())
78
+
79
+ ;; Files added by populate at Mon, 20 Jan 2003 00:32:00 -0800,
80
+ ;; to version 0.11(w), by tercel:
81
+
82
+ (lib/fsdb/mutex.rb (fsdb/14_mutex.rb 1.5 664))
83
+
84
+ ;; Files added by populate at Mon, 20 Jan 2003 00:32:04 -0800,
85
+ ;; to version 0.11(w), by tercel:
86
+
87
+ (lib/fsdb/modex.rb (fsdb/15_modex.rb 1.10 644))
88
+
89
+ ;; Files added by populate at Sat, 25 Jan 2003 14:57:34 -0800,
90
+ ;; to version 0.14(w), by tercel:
91
+
92
+ (lib/fsdb/formats.rb (fsdb/16_formats.rb 1.13 644))
93
+
94
+ ;; Files added by populate at Sat, 25 Jan 2003 14:57:38 -0800,
95
+ ;; to version 0.14(w), by tercel:
96
+
97
+ (lib/fsdb/formats/yaml.rb (fsdb/17_yaml.rb 1.3 644))
98
+
99
+ ;; Files added by populate at Sat, 25 Jan 2003 14:57:55 -0800,
100
+ ;; to version 0.14(w), by tercel:
101
+
102
+ (examples/yaml.rb (fsdb/18_yaml.rb 1.7 644))
103
+
104
+ ;; Files added by populate at Sun, 26 Jan 2003 14:26:03 -0800,
105
+ ;; to version 0.16(w), by tercel:
106
+
107
+ (lib/fsdb/compat.rb (fsdb/19_compat.rb 1.1 644))
108
+
109
+ ;; Files added by populate at Wed, 26 Feb 2003 22:52:17 -0800,
110
+ ;; to version 0.21(w), by tercel:
111
+
112
+ (test/test-mutex.rb (fsdb/20_test-mutex 1.1 775))
113
+ (test/test-modex.rb (fsdb/21_test-modex 1.1 775))
114
+
115
+ ;; Files added by populate at Sun, 02 Mar 2003 17:20:07 -0800,
116
+ ;; to version 0.24(w), by tercel:
117
+
118
+ (fsdb.sf (fsdb/22_fsdb.sf 1.9 644))
119
+
120
+ ;; Files deleted by depopulate at Mon, 30 Jun 2003 23:42:07 -0700,
121
+ ;; from version 0.2.1(w), by vjoel:
122
+
123
+ ; (bin/mkrdoc ())
124
+
125
+ ;; Files added by populate at Wed, 13 Aug 2003 21:33:12 -0700,
126
+ ;; to version 0.2.1(w), by vjoel:
127
+
128
+ (examples/simple.rb (fsdb/23_simple.rb 1.5 644))
129
+
130
+ ;; Files added by populate at Sun, 07 Dec 2003 00:11:31 -0800,
131
+ ;; to version 0.2.2(w), by vjoel:
132
+
133
+ (ext/fsdb/fcntl-lock.c (fsdb/24_fcntl-lock 1.2 644))
134
+ (ext/fsdb/extconf.rb (fsdb/25_extconf.rb 1.2 644))
135
+ (ext/fsdb/MANIFEST (fsdb/26_MANIFEST 1.1 644))
136
+
137
+ ;; Files added by populate at Sun, 07 Dec 2003 00:12:53 -0800,
138
+ ;; to version 0.2.2(w), by vjoel:
139
+
140
+ (RELEASE-NOTES (fsdb/27_RELEASE-NO 1.19 644))
141
+ (README (fsdb/28_README 1.1 644))
142
+
143
+ ;; Files added by populate at Sun, 07 Dec 2003 00:45:15 -0800,
144
+ ;; to version 0.2.2(w), by vjoel:
145
+
146
+ (script/mkrdoc (fsdb/29_mkrdoc 1.2 755))
147
+
148
+ ;; Files added by populate at Mon, 22 Dec 2003 11:58:28 -0800,
149
+ ;; to version 0.3.1(w), by vjoel:
150
+
151
+ (examples/fsdb-examples.rb (fsdb/30_fsdb-examp 1.6 755))
152
+
153
+ ;; Files added by populate at Fri, 02 Jan 2004 15:39:49 -0800,
154
+ ;; to version 0.3.2(w), by vjoel:
155
+
156
+ (test/test-concurrency/test-object.rb (fsdb/31_test-objec 1.1 644))
157
+ (test/test-concurrency/init.rb (fsdb/32_init.rb 1.5 644))
158
+
159
+ ;; Files added by populate at Sat, 03 Jan 2004 14:22:59 -0800,
160
+ ;; to version 0.3.4(w), by vjoel:
161
+
162
+ (examples/server.rb (fsdb/33_server.rb 1.5 644))
163
+ (examples/client.rb (fsdb/34_client.rb 1.2 644))
164
+
165
+ ;; Files added by populate at Sat, 03 Jan 2004 14:23:05 -0800,
166
+ ;; to version 0.3.4(w), by vjoel:
167
+
168
+ (examples/formats.rb (fsdb/35_formats.rb 1.4 644))
169
+
170
+ ;; Files added by populate at Mon, 05 Jan 2004 08:55:02 -0800,
171
+ ;; to version 0.3.6(w), by vjoel:
172
+
173
+ (bench/bench.rb (fsdb/36_bench.rb 1.4 755))
174
+
175
+ ;; Files added by populate at Tue, 06 Jan 2004 13:41:43 -0800,
176
+ ;; to version 0.3.11(w), by vjoel:
177
+
178
+ (test/test-formats.rb (fsdb/37_test-forma 1.2 755))
179
+
180
+ ;; Files added by populate at Mon, 12 Jan 2004 00:40:48 -0800,
181
+ ;; to version 0.3.22(w), by vjoel:
182
+
183
+ (examples/indexes.rb (fsdb/38_indexes.rb 1.3 644))
184
+
185
+ ;; Files added by populate at Fri, 06 Feb 2004 17:23:13 -0800,
186
+ ;; to version 0.4.13(w), by vjoel:
187
+
188
+ (test/test-all.rb (fsdb/39_test-all.r 1.1 644))
189
+
190
+ ;; Files added by populate at Fri, 06 Feb 2004 18:13:33 -0800,
191
+ ;; to version 0.4.13(w), by vjoel:
192
+
193
+ (lib/fsdb/platform.rb (fsdb/40_platform.r 1.1 644))
194
+ )
195
+ (Merge-Parents)
196
+ (New-Merge-Parents)
data/junk/fsdb.sf ADDED
@@ -0,0 +1,46 @@
1
+ project = 'fsdb'
2
+ title = 'FSDB'
3
+ description = 'File System Database:'
4
+ destination = 'vjoel@redshift.sourceforge.net:redshift/htdocs'
5
+ doc_root = 'doc/api/index.html'
6
+ use_rd = false
7
+
8
+ files = %w{
9
+ README
10
+ RELEASE-NOTES
11
+ fsdb.txt
12
+ install.rb
13
+ doc/**/*
14
+ bench/bench.rb
15
+ examples/client.rb
16
+ examples/formats.rb
17
+ examples/fsdb-examples.rb
18
+ examples/indexes.rb
19
+ examples/server.rb
20
+ examples/simple.rb
21
+ examples/yaml.rb
22
+ ext/fsdb/MANIFEST
23
+ ext/fsdb/extconf.rb
24
+ ext/fsdb/fcntl-lock.c
25
+ lib/fsdb.rb
26
+ lib/fsdb/compat.rb
27
+ lib/fsdb/database.rb
28
+ lib/fsdb/file-lock.rb
29
+ lib/fsdb/formats.rb
30
+ lib/fsdb/formats/yaml.rb
31
+ lib/fsdb/modex.rb
32
+ lib/fsdb/mutex.rb
33
+ lib/fsdb/nonpersistent-attr.rb
34
+ lib/fsdb/platform.rb
35
+ lib/fsdb/util.rb
36
+ script/mkrdoc
37
+ test/test-all.rb
38
+ test/test-concurrency.rb
39
+ test/test-concurrency/init.rb
40
+ test/test-concurrency/test-object.rb
41
+ test/test-formats.rb
42
+ test/test-fsdb.rb
43
+ test/test-modex.rb
44
+ test/test-mutex.rb
45
+ test/test.rb
46
+ }