Lucien Greathouse
4b0189dd55
Upgrade to Insta 0.13.1
2020-03-06 13:52:23 -08:00
Lucien Greathouse
e261e7a2c7
Implement glob ignores ( #272 )
...
* Add Glob wrapper type with better serialization
* Introduce PathIgnoreRule struct
* Implement equality for Glob type
* Add PathIgnoreRule to InstanceContext
* Implement glob ignores in directory middleware
* Fix up filters
* Use Iterator::all instead of loop
* Add project-level configuration for glob ignores
* Add test project for glob ignores
* Wire up project file and snapshots to make glob ignores work
* Better codepaths for adding ignore rules with empty iterators
* Add test for globs inherited from parent projects
* Add test details, support glob ignores in nested projects
* Add feature flag for globs
* Switch to use ExactSizeIterator instead of size_hint
* Remove glob visitor
2020-01-08 17:58:37 -08:00
Lucien Greathouse
1f7f2b22e7
Rewrite Project, remove SourceProject ( #274 )
...
* Rewrite project file to have relative paths and drop SourceProject
* Redo project error types
* Tidy up and document Project type
* Strip out init command
2019-12-12 14:45:15 -08:00
Lucien Greathouse
f0a602b48b
Revert "Remove some PartialEq derives"
...
This reverts commit fe10da9a6c .
2019-12-03 16:47:19 -08:00
Lucien Greathouse
fe10da9a6c
Remove some PartialEq derives
2019-12-03 16:34:46 -08:00
Lucien Greathouse
12df80da56
Introduce InstanceContext ( #270 )
...
* Add instance context with dummy field
* Remove stub field
2019-12-03 15:30:20 -08:00
Lucien Greathouse
a48c238ed7
Add InstanceMetadata builder ( #269 )
...
* Add InstanceMetadata builder, with context field for globbing
* Revert snapshot changes
* Port snapshot functions to InstanceMetadata builder-ish pattern
* Remove IgnoreGlob struct
* Elide lifetime
2019-12-03 14:49:40 -08:00
Lucien Greathouse
c3f6a17bae
Add builder-ish methods to InstanceSnapshot to make middleware code more readable
2019-11-19 14:02:57 -08:00
Lucien Greathouse
d2e2a13479
Start stripping out lifetimes in InstanceSnapshot
2019-11-19 13:05:18 -08:00
Lucien Greathouse
f32cb592e2
Remove ownership stuff from InstanceSnapshot
2019-11-19 13:02:35 -08:00
Lucien Greathouse
e60be94be0
Move patch apply test utility into tree_view module
2019-10-07 16:21:25 -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
f0eb955628
Expose parent from RojoTree instances
2019-10-03 15:53:50 -07:00
Lucien Greathouse
b94f21402c
Expose RojoTree::get_metadata publicly
2019-10-01 13:47:25 -07:00
Lucien Greathouse
bcf4fea598
Add RojoTree::get_ids_at_path
2019-10-01 10:37:06 -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
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
bd33aebc3d
Turn messages into stub SubscribeMessage struct
2019-09-23 10:53:11 -07:00
Lucien Greathouse
ec8861e983
Apply patch sets by value in preparation for AppliedPatchSet
2019-09-19 11:10:25 -07:00
Lucien Greathouse
9b601eb9fe
Tidy up patch structs, add AppliedPatchSet
2019-09-19 10:56:10 -07:00
Lucien Greathouse
fc01eecdcb
Use real Rojo metadata for live sync
2019-09-10 15:59:36 -07:00
Lucien Greathouse
3e759b3e8e
Finish off bulk of metadata tracking in snapshot system
2019-09-09 15:04:57 -07:00
Lucien Greathouse
47ee8d54a8
Clean up some of the instance wrapper APIs
2019-09-09 13:59:36 -07:00
Lucien Greathouse
824b984a64
First pass converting snapshot code over to RojoTree from RbxTree
2019-09-09 13:50:39 -07:00
Lucien Greathouse
618185a52d
Start using multimap correctly for path tracking in RojoTree
2019-09-09 11:50:58 -07:00
Lucien Greathouse
8dbc6ab7d3
Start MapSet work
2019-09-06 17:05:01 -07:00
Lucien Greathouse
5eb6754b7c
Implement metadata, replacing source field and laying foundations
2019-09-06 14:21:47 -07:00
Lucien Greathouse
a914a92cea
Add SnapshotSource property
2019-09-05 11:27:16 -07:00
Lucien Greathouse
6f7dbe99fe
Move Rojo server into root of the repository
2019-08-27 16:56:52 -07:00