Lucien Greathouse
ab6cedb659
Move some serve code into serve_session.rs, start writing serve session tests
2019-10-07 16:24:36 -07:00
Lucien Greathouse
e60be94be0
Move patch apply test utility into tree_view module
2019-10-07 16:21:25 -07:00
Lucien Greathouse
f830b024d5
Add ImfsSnapshot::empty_dir() for debugging the Imfs
2019-10-07 16:20:04 -07:00
Lucien Greathouse
98519da7d9
Reintroduce instigating paths for snapshot middleware
2019-10-04 18:36:04 -07:00
Lucien Greathouse
cb3211cf46
Mark project node as instigating source for instances from project
2019-10-04 18:10:45 -07:00
Lucien Greathouse
c051153a1f
Mark project file as instigating source for top-level instances
2019-10-04 18:05:27 -07:00
Lucien Greathouse
956d7e0918
Fix warning in JSON model snapshot test
2019-10-04 17:52:05 -07:00
Lucien Greathouse
530a7aa834
Rename 'contributing paths' to 'relevant paths'
2019-10-04 17:36:26 -07:00
Lucien Greathouse
052ca52cc3
Move instigating source out of contributing paths ( #253 )
...
* Refactor contributing_paths into contributing_sources, deleting project node sources
* Instead of changing contributing_paths, add instigating_source
* Remove InstanceMetadata::project_node
* Stop pushing project path to front of contributing_paths since it doesn't matter now
* Remove accidental UI change for path display
2019-10-04 17:34:05 -07:00
Lucien Greathouse
2025b8a494
Fix patch I missed project_node change
2019-10-04 15:49:12 -07:00
Lucien Greathouse
238233ca81
Stop serializing project_node if it's None
2019-10-04 15:12:34 -07:00
Lucien Greathouse
938c8259c3
Include project node in debug UI
2019-10-04 14:29:02 -07:00
Lucien Greathouse
35df5f25c7
Show metadata in web interface, take one
2019-10-04 14:14:45 -07:00
Lucien Greathouse
10ed353e0a
Add TODO for JSON model metadata
2019-10-03 18:30:10 -07:00
Lucien Greathouse
72d88200e4
Snapshot tests for JSON models
2019-10-03 18:28:58 -07:00
Lucien Greathouse
6ef832b3a9
Improve documentation for SnapshotProject
2019-10-03 18:25:06 -07:00
Lucien Greathouse
17d91563d5
Port project file tests to use insta
2019-10-03 18:22:20 -07:00
Lucien Greathouse
fb65693627
Propagate metadata in project files correctly
2019-10-03 18:12:52 -07:00
Lucien Greathouse
ae0f3b0b02
Assign contributing paths in simple cases for snapshots
2019-10-03 17:34:33 -07:00
Lucien Greathouse
995685adfe
Expose instance ID and parent ID in web API
2019-10-03 15:54:11 -07:00
Lucien Greathouse
f0eb955628
Expose parent from RojoTree instances
2019-10-03 15:53:50 -07:00
Lucien Greathouse
099aa26ef8
Rough pass on transforming applied patches into API responses
2019-10-01 14:45:24 -07:00
Lucien Greathouse
2598ea3577
Add contributing paths to SnapshotLua, switch to Insta tests
2019-10-01 14:09:05 -07:00
Lucien Greathouse
7be5b36494
Fix unreachable pattern warning
2019-10-01 14:07:50 -07:00
Lucien Greathouse
3dff4d1061
Generate and apply patches, routing them through message queue
2019-10-01 13:59:10 -07:00
Lucien Greathouse
5b7037550d
Start ChangeProcessor pumping work
2019-10-01 13:48:16 -07:00
Lucien Greathouse
b94f21402c
Expose RojoTree::get_metadata publicly
2019-10-01 13:47:25 -07:00
Lucien Greathouse
9f5875d4bb
imfs: move debugging messages outside of converter thread
2019-10-01 13:47:14 -07:00
Lucien Greathouse
694b6101ca
New Imfs event type
2019-10-01 11:29:09 -07:00
Lucien Greathouse
1737da9c1f
Move ImfsEvent into its own module
2019-10-01 10:44:35 -07:00
Lucien Greathouse
bcf4fea598
Add RojoTree::get_ids_at_path
2019-10-01 10:37:06 -07:00
Lucien Greathouse
90e41f3ce9
Fix bounds on MultiMap::get
2019-10-01 10:36:20 -07:00
Lucien Greathouse
5f5fb51eae
Make up terminology for 'instigating path' in instance metadata
2019-10-01 10:32:05 -07:00
Lucien Greathouse
95f06d56d8
Port SnapshotDir tests to use insta snapshots
2019-09-30 18:33:46 -07:00
Lucien Greathouse
1c6788ea45
Migrate from source_path to contributing_paths
2019-09-30 18:12:19 -07:00
Lucien Greathouse
282caf10a5
Expand patch_apply tests
2019-09-30 17:36:37 -07:00
Lucien Greathouse
b2fc6c165b
Improve patch application test
2019-09-30 17:22:54 -07:00
Lucien Greathouse
0a1fa9588f
Test for AppliedPatchSet result
2019-09-30 17:13:56 -07:00
Lucien Greathouse
5f5bfadf2b
Add compute_patch tests for adding/removing children
2019-09-30 17:04:45 -07:00
Lucien Greathouse
b512e707a5
First round of snapshot tests for patch_compute
2019-09-30 17:00:12 -07:00
Lucien Greathouse
ab8aa89f2a
Add real networked message type
2019-09-29 20:16:54 -07:00
Lucien Greathouse
e741f7b557
Actually generate AppliedPatchSet objects ( #250 )
...
* Start actually computing AppliedPatchSet values
* Improve patch_apply documentation and flesh out applied patch code
* Add file link notes
* Stub out where tests for snapshot subsystem will go
* Create baseline tests
* Fix build failure by silencing Clippy
2019-09-27 15:07:11 -07:00
Lucien Greathouse
87227c96ed
Document snapshot pipeline
2019-09-26 14:28:04 -07:00
Lucien Greathouse
91d12aeb4f
Break out expandable section into a component thing
2019-09-25 17:29:47 -07:00
Lucien Greathouse
b3f132201b
Better expandables for the instance debugger
2019-09-25 14:47:07 -07:00
Lucien Greathouse
24b9f552eb
Improve imfs debugging page
2019-09-25 11:05:56 -07:00
Lucien Greathouse
b4a8dec68c
Track watched paths in ImfsFetcher, exposed via ImfsDebug interface
2019-09-25 10:45:14 -07:00
Lucien Greathouse
c140823bea
Move Imfs snapshotting into ImfsDebug
2019-09-24 18:14:48 -07:00
Lucien Greathouse
f166cc93cd
Remove unused MessageQueue method
2019-09-24 18:08:32 -07:00
Lucien Greathouse
125c9767f1
Fix warnings around ChangeProcessor
2019-09-24 18:07:33 -07:00