Skip to content

Commit

Permalink
Migrate to LevelDB
Browse files Browse the repository at this point in the history
  • Loading branch information
surged20 committed Jun 6, 2024
1 parent 6c3ec9d commit d7bc9f0
Show file tree
Hide file tree
Showing 52 changed files with 71 additions and 285 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
*.webp filter=lfs diff=lfs merge=lfs -text
src/packs/quickref filter=lfs diff=lfs merge=lfs -text
src/packs/ships filter=lfs diff=lfs merge=lfs -text
src/packs/spells filter=lfs diff=lfs merge=lfs -text
src/packs/features filter=lfs diff=lfs merge=lfs -text
src/packs/items filter=lfs diff=lfs merge=lfs -text
12 changes: 6 additions & 6 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"manifest": "https://raw.githubusercontent.com/foundryvtt/dnd5e/master/system.json",
"compatibility": {
"minimum": "3.0.0",
"verified": "3.0.0"
"verified": "3.2.0"
}
}
],
Expand All @@ -54,39 +54,39 @@
"name": "features",
"label": "Features",
"systems": ["dnd5e"],
"path": "./packs/features.db",
"path": "./packs/features",
"type": "Item",
"banner": "./modules/wjmais/assets/wj-banner.webp"
},
{
"name": "items",
"label": "Items",
"systems": ["dnd5e"],
"path": "./packs/items.db",
"path": "./packs/items",
"type": "Item",
"banner": "./modules/wjmais/assets/wj-banner.webp"
},
{
"name": "quickref",
"label": "Quick Reference",
"systems": ["dnd5e"],
"path": "./packs/quickref.db",
"path": "./packs/quickref",
"type": "JournalEntry",
"banner": "./modules/wjmais/assets/wj-banner.webp"
},
{
"name": "ships",
"label": "Ships",
"systems": ["dnd5e"],
"path": "./packs/ships.db",
"path": "./packs/ships",
"type": "Actor",
"banner": "./modules/wjmais/assets/wj-banner.webp"
},
{
"name": "spells",
"label": "Spells",
"systems": ["dnd5e"],
"path": "./packs/spells.db",
"path": "./packs/spells",
"type": "Item",
"banner": "./modules/wjmais/assets/wj-banner.webp"
}
Expand Down
54 changes: 0 additions & 54 deletions src/packs/features.db

This file was deleted.

Empty file added src/packs/features/000011.log
Empty file.
Binary file added src/packs/features/000013.ldb
Binary file not shown.
1 change: 1 addition & 0 deletions src/packs/features/CURRENT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MANIFEST-000009
Empty file added src/packs/features/LOCK
Empty file.
11 changes: 11 additions & 0 deletions src/packs/features/LOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
2024/06/06-08:04:40.224002 7fc7a66e16c0 Delete type=3 #1
2024/06/06-08:06:12.809236 7fc7a55ff6c0 Level-0 table #12: started
2024/06/06-08:06:12.809254 7fc7a55ff6c0 Level-0 table #12: 0 bytes OK
2024/06/06-08:06:12.826245 7fc7a55ff6c0 Delete type=0 #10
2024/06/06-08:06:12.843317 7fc7a55ff6c0 Manual compaction at level-0 from '!items!0hgRDhAX4l3wjfFN' @ 72057594037927935 : 1 .. '!items!ykRmbdr35zZTS4Au' @ 0 : 0; will stop at '!items!ykRmbdr35zZTS4Au' @ 54 : 1
2024/06/06-08:06:12.843323 7fc7a55ff6c0 Compacting 1@0 + 0@1 files
2024/06/06-08:06:12.854780 7fc7a55ff6c0 Generated table #13@0: 54 keys, 28062 bytes
2024/06/06-08:06:12.854792 7fc7a55ff6c0 Compacted 1@0 + 0@1 files => 28062 bytes
2024/06/06-08:06:12.872181 7fc7a55ff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/06/06-08:06:12.872228 7fc7a55ff6c0 Delete type=2 #5
2024/06/06-08:06:12.918103 7fc7a55ff6c0 Manual compaction at level-0 from '!items!ykRmbdr35zZTS4Au' @ 54 : 1 .. '!items!ykRmbdr35zZTS4Au' @ 0 : 0; will stop at (end)
Empty file added src/packs/features/LOG.old
Empty file.
Binary file added src/packs/features/MANIFEST-000009
Binary file not shown.
Empty file.
Binary file added src/packs/features/lost/MANIFEST-000006
Binary file not shown.
119 changes: 0 additions & 119 deletions src/packs/items.db

This file was deleted.

Empty file added src/packs/items/000011.log
Empty file.
Binary file added src/packs/items/000013.ldb
Binary file not shown.
1 change: 1 addition & 0 deletions src/packs/items/CURRENT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MANIFEST-000009
Empty file added src/packs/items/LOCK
Empty file.
11 changes: 11 additions & 0 deletions src/packs/items/LOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
2024/06/06-08:04:40.256537 7fc7a7ee46c0 Delete type=3 #1
2024/06/06-08:06:12.826291 7fc7a55ff6c0 Level-0 table #12: started
2024/06/06-08:06:12.826307 7fc7a55ff6c0 Level-0 table #12: 0 bytes OK
2024/06/06-08:06:12.843279 7fc7a55ff6c0 Delete type=0 #10
2024/06/06-08:06:12.889488 7fc7a55ff6c0 Manual compaction at level-0 from '!items!0OQV6iI1AreAZEwB' @ 72057594037927935 : 1 .. '!items.effects!z969c84js5YBvnI0.2nkjatqdkgpso9up' @ 0 : 0; will stop at '!items.effects!z969c84js5YBvnI0.2nkjatqdkgpso9up' @ 133 : 1
2024/06/06-08:06:12.889494 7fc7a55ff6c0 Compacting 1@0 + 0@1 files
2024/06/06-08:06:12.901308 7fc7a55ff6c0 Generated table #13@0: 135 keys, 128872 bytes
2024/06/06-08:06:12.901320 7fc7a55ff6c0 Compacted 1@0 + 0@1 files => 128872 bytes
2024/06/06-08:06:12.917982 7fc7a55ff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/06/06-08:06:12.918036 7fc7a55ff6c0 Delete type=2 #5
2024/06/06-08:06:12.963976 7fc7a55ff6c0 Manual compaction at level-0 from '!items.effects!z969c84js5YBvnI0.2nkjatqdkgpso9up' @ 133 : 1 .. '!items.effects!z969c84js5YBvnI0.2nkjatqdkgpso9up' @ 0 : 0; will stop at (end)
Empty file added src/packs/items/LOG.old
Empty file.
Binary file added src/packs/items/MANIFEST-000009
Binary file not shown.
Empty file added src/packs/items/lost/000007.log
Empty file.
Binary file added src/packs/items/lost/MANIFEST-000006
Binary file not shown.
1 change: 0 additions & 1 deletion src/packs/quickref.db

This file was deleted.

Empty file added src/packs/quickref/000011.log
Empty file.
Binary file added src/packs/quickref/000013.ldb
Binary file not shown.
1 change: 1 addition & 0 deletions src/packs/quickref/CURRENT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MANIFEST-000009
Empty file added src/packs/quickref/LOCK
Empty file.
11 changes: 11 additions & 0 deletions src/packs/quickref/LOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
2024/06/06-08:04:40.286400 7fc7a76e36c0 Delete type=3 #1
2024/06/06-08:06:12.872283 7fc7a55ff6c0 Level-0 table #12: started
2024/06/06-08:06:12.872298 7fc7a55ff6c0 Level-0 table #12: 0 bytes OK
2024/06/06-08:06:12.889451 7fc7a55ff6c0 Delete type=0 #10
2024/06/06-08:06:12.935991 7fc7a55ff6c0 Manual compaction at level-0 from '!journal!m0ssFIK5ZMEUS6Ct' @ 72057594037927935 : 1 .. '!journal.pages!m0ssFIK5ZMEUS6Ct.ylx2LzZZ27CMdxwi' @ 0 : 0; will stop at '!journal.pages!m0ssFIK5ZMEUS6Ct.ylx2LzZZ27CMdxwi' @ 7 : 1
2024/06/06-08:06:12.935997 7fc7a55ff6c0 Compacting 1@0 + 0@1 files
2024/06/06-08:06:12.947209 7fc7a55ff6c0 Generated table #13@0: 13 keys, 10370 bytes
2024/06/06-08:06:12.947220 7fc7a55ff6c0 Compacted 1@0 + 0@1 files => 10370 bytes
2024/06/06-08:06:12.963863 7fc7a55ff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/06/06-08:06:12.963929 7fc7a55ff6c0 Delete type=2 #5
2024/06/06-08:06:13.011693 7fc7a55ff6c0 Manual compaction at level-0 from '!journal.pages!m0ssFIK5ZMEUS6Ct.ylx2LzZZ27CMdxwi' @ 7 : 1 .. '!journal.pages!m0ssFIK5ZMEUS6Ct.ylx2LzZZ27CMdxwi' @ 0 : 0; will stop at (end)
Empty file added src/packs/quickref/LOG.old
Empty file.
Binary file added src/packs/quickref/MANIFEST-000009
Binary file not shown.
Empty file.
Binary file added src/packs/quickref/lost/MANIFEST-000006
Binary file not shown.
78 changes: 0 additions & 78 deletions src/packs/ships.db

This file was deleted.

Empty file added src/packs/ships/000011.log
Empty file.
Binary file added src/packs/ships/000013.ldb
Binary file not shown.
1 change: 1 addition & 0 deletions src/packs/ships/CURRENT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MANIFEST-000009
Empty file added src/packs/ships/LOCK
Empty file.
11 changes: 11 additions & 0 deletions src/packs/ships/LOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
2024/06/06-08:04:40.318925 7fc7a7ee46c0 Delete type=3 #1
2024/06/06-08:06:12.918112 7fc7a55ff6c0 Level-0 table #12: started
2024/06/06-08:06:12.918129 7fc7a55ff6c0 Level-0 table #12: 0 bytes OK
2024/06/06-08:06:12.935951 7fc7a55ff6c0 Delete type=0 #10
2024/06/06-08:06:12.981004 7fc7a55ff6c0 Manual compaction at level-0 from '!actors!05raCCvHZETiaSyv' @ 72057594037927935 : 1 .. '!actors.items!zqc3Rl8r0hK2AlSQ.K2EqB4m6u6wd8ODT' @ 0 : 0; will stop at '!actors.items!zqc3Rl8r0hK2AlSQ.K2EqB4m6u6wd8ODT' @ 141 : 1
2024/06/06-08:06:12.981011 7fc7a55ff6c0 Compacting 1@0 + 0@1 files
2024/06/06-08:06:12.994204 7fc7a55ff6c0 Generated table #13@0: 144 keys, 247980 bytes
2024/06/06-08:06:12.994221 7fc7a55ff6c0 Compacted 1@0 + 0@1 files => 247980 bytes
2024/06/06-08:06:13.011542 7fc7a55ff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/06/06-08:06:13.011610 7fc7a55ff6c0 Delete type=2 #5
2024/06/06-08:06:13.039454 7fc7a55ff6c0 Manual compaction at level-0 from '!actors.items!zqc3Rl8r0hK2AlSQ.K2EqB4m6u6wd8ODT' @ 141 : 1 .. '!actors.items!zqc3Rl8r0hK2AlSQ.K2EqB4m6u6wd8ODT' @ 0 : 0; will stop at (end)
Empty file added src/packs/ships/LOG.old
Empty file.
Binary file added src/packs/ships/MANIFEST-000009
Binary file not shown.
Empty file added src/packs/ships/lost/000007.log
Empty file.
Binary file added src/packs/ships/lost/MANIFEST-000006
Binary file not shown.
Loading

0 comments on commit d7bc9f0

Please sign in to comment.