periplus-map 0.4.0__tar.gz → 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {periplus_map-0.4.0 → periplus_map-0.4.2}/PKG-INFO +11 -10
- {periplus_map-0.4.0 → periplus_map-0.4.2}/README.md +10 -9
- {periplus_map-0.4.0 → periplus_map-0.4.2}/pyproject.toml +1 -1
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/pattern.py +3 -2
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/export.py +10 -1
- periplus_map-0.4.2/src/periplus/skills/periplus-gaps/SKILL.md +282 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/skills/periplus-map/SKILL.md +1 -1
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/skills/periplus-rutter/SKILL.md +147 -10
- periplus_map-0.4.0/src/periplus/skills/periplus-gaps/SKILL.md +0 -57
- {periplus_map-0.4.0 → periplus_map-0.4.2}/.gitignore +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/LICENSE +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/NOTICE +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/__init__.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/checkmap.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/cli.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/contract/schema/map.schema.json +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/contract/schema/navigation.schema.json +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/contract/schema/pack-file.schema.json +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/contract/schema/pack-manifest.schema.json +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/contract/schema/project-settings.schema.json +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/contract/spec/engine.md +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/contract/spec/rules.md +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/detect.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/__init__.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/check.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/emit.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/packload.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/rules.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/select.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/source.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/engine/tree.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/errors.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/init.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/layout.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/manifest.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/map.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/mapshared.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/__init__.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/find.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/ids.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/listing.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/mapfile.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/path.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/show.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/slice.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/types.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/navigate/walk.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/advancedqueue_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/advancedqueue_basic@0.0.1/queue_job_type/queue_job_type.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/advancedqueue_basic@0.0.1/queue_job_type/queue_job_type_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/advancedqueue_basic@0.0.1/queue_job_type/queue_job_type_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/ai_basic@0.0.1/ai_agent/ai_agent.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/ai_basic@0.0.1/ai_agent/ai_agent_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/ai_basic@0.0.1/ai_function_call/ai_function_call.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/ai_basic@0.0.1/ai_function_call/ai_function_call_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/ai_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/config_pages_basic@0.0.1/bundle/config_pages_bundle_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/config_pages_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/crop_basic@0.0.1/bundle/crop_bundle_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/crop_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_placement.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_placement_code.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_placement_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_altered.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_content.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_derived.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_deriver.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_type.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_type_code.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/block/block_type_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/cache/cache.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/cache/cache_backend.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/component/sdc.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/component/sdc_definition.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/component/sdc_use.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/config/config_object.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/display/display.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/display/display_code.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/display/display_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/entity/entity.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/entity/entity_class.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/entity/entity_save.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/entity/entity_type_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/entity/entity_type_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/field/field_instance_code.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/field/field_instance_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/field/field_storage.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/field/field_storage_code.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/field/field_storage_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/form/form.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/form/form_class.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/form/form_id.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/form/form_methods.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/hook/hook.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/hook/hook_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/module/module.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/module/module_info.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/plugin/plugin.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/plugin/plugin_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/recommendations/recommendations.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/service/service.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/service/service_autowire.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/service/service_definition.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal@0.1.0/service/service_use.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/action/action.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/action/action_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/action/action_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/block/block_placement.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/block/block_placement_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/block_plugin/block_plugin.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/block_plugin/block_plugin_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/block_plugin/block_plugin_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/block_type/block_type.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/block_type/block_type_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/boundary/boundary_types.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/bundle/bundle.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/bundle/bundle_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/call/call.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/component/component.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/config/config_object.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/constraint/constraint.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/constraint/constraint_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/constraint/constraint_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/display/display.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/display/display_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/display/display_mode_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/config_entity_type_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/config_entity_type_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/content_entity_type_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/content_entity_type_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/entity_type.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field/field_instance_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field/field_storage.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field/field_storage_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field_formatter/field_formatter.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field_formatter/field_formatter_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field_formatter/field_formatter_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field_type/field_type_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field_type/field_type_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field_widget/field_widget_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/field_widget/field_widget_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/form/form_id.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/hook/hook.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/hook/hook_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/hook/hook_theme_include.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/library/library.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/library/library_definition.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/local_action/local_action.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/local_action/local_action_definition.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/mail/mail.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/mail/mail_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/media_source/media_source.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/media_source/media_source_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/media_source/media_source_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/menu_link/menu_link.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/menu_link/menu_link_definition.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/module/module.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/module/module_info.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/permission/permission.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/permission/permission_definition.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/queue_worker/queue_worker.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/queue_worker/queue_worker_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/queue_worker/queue_worker_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/rest_resource/rest_resource.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/rest_resource/rest_resource_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/rest_resource/rest_resource_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/role/role.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/role/role_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/route/route.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/route/route_call.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/route/route_definition.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/route/route_options.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/route/route_requirements.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/service/service.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/service/service_definition.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/template/template.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/template/template_route_link.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/theme/theme.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/theme/theme_info.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/theme_hook/template_suggestion.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/theme_hook/theme_hook.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/theme_hook/theme_hook_render.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/url/url.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/views_plugin/views_field_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/views_plugin/views_filter_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/views_plugin/views_plugin.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_basic@0.3.0/views_plugin/views_style_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/attachment.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/attachment_in_php.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/attachment_in_php_array.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/attachment_in_twig.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/php_function_holder.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/behavior/behavior.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/setting/setting.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/setting/setting_in_js.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drupal_js_basic@0.0.1/setting/setting_in_php.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drush_basic@0.0.1/command/command.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drush_basic@0.0.1/command/command_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drush_basic@0.0.1/command/command_attribute.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/drush_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/eck_basic@0.0.1/bundle/eck_bundle_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/eck_basic@0.0.1/entity_type/eck_entity_type_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/eck_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go@0.0.2/interfaces/satisfies.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go@0.0.2/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go@0.0.2/types/find_declarations.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go@0.0.2/types/node_types.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go_basic@0.0.3/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go_basic@0.0.3/rules/calls.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go_basic@0.0.3/rules/declarations.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go_basic@0.0.3/rules/imports.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/go_basic@0.0.3/types/node_types.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/js_basic@0.0.1/function/function.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/js_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/laravel_basic@0.0.5/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/laravel_basic@0.0.5/rules/classes.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/laravel_basic@0.0.5/rules/config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/laravel_basic@0.0.5/rules/routes.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/laravel_basic@0.0.5/rules/types.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/laravel_basic@0.0.5/rules/views.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/paragraphs_basic@0.0.1/bundle/paragraph_bundle_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/paragraphs_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/edges/edge_kinds.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/edges/find_calls.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/edges/find_imports.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/edges/find_member_access.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/edges/find_structure.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/embedded/embedded_regions.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/imports/imports.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/resolution/excluded_tokens.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/resolution/resolution.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/types/find_declarations.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php@0.1.0/types/node_types.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php_basic@0.2.0/edges/edge_kinds.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php_basic@0.2.0/edges/find_structure.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php_basic@0.2.0/imports/imports.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php_basic@0.2.0/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php_basic@0.2.0/types/find_declarations.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/php_basic@0.2.0/types/node_types.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/profile_basic@0.0.1/bundle/profile_bundle_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/profile_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/salesforce_basic@0.0.1/event/salesforce_event.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/salesforce_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/salesforce_basic@0.0.1/salesforce_mapping/salesforce_mapping.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/salesforce_basic@0.0.1/salesforce_mapping/salesforce_mapping_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/salesforce_basic@0.0.1/salesforce_mapping_field/salesforce_mapping_field.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/salesforce_basic@0.0.1/salesforce_mapping_field/salesforce_mapping_field_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/twig@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/twig@0.0.1/types/template.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/twig_basic@0.1.0/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/twig_tweak_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/twig_tweak_basic@0.0.1/rules/block.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/twig_tweak_basic@0.0.1/rules/entity.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/twig_tweak_basic@0.0.1/rules/field.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/twig_tweak_basic@0.0.1/rules/menu.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/webform_basic@0.0.1/bundle/webform_submission_bundle_config.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/webform_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/webform_basic@0.0.1/webform_handler/webform_handler.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/webform_basic@0.0.1/webform_handler/webform_handler_annotation.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/yaml@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/yaml@0.0.1/types/find_mapping_entry.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/yaml@0.0.1/types/yaml_types.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs/yaml_basic@0.1.0/pack.yaml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/packs.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/preflight.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/py.typed +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/report.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/resolution.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/settings.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/settings.stub.yml +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/skills/periplus-map/references/descriptions.schema.json +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/skills_install.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/spec.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/update.py +0 -0
- {periplus_map-0.4.0 → periplus_map-0.4.2}/src/periplus/validate.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: periplus-map
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: A schema-first, deterministic codebase mapper, configurable to any stack.
|
|
5
5
|
Project-URL: Homepage, https://github.com/camoa/periplus
|
|
6
6
|
Project-URL: Repository, https://github.com/camoa/periplus
|
|
@@ -52,7 +52,7 @@ Description-Content-Type: text/markdown
|
|
|
52
52
|
`js` and `go` extras for the tests. It runs pytest on Python 3.11 to 3.14, ruff and mypy, and validates
|
|
53
53
|
every bundled pack. It does not run the acceptance scripts, and it never maps a Go project.</sub>
|
|
54
54
|
|
|
55
|
-
Status: **beta**, version 0.4.
|
|
55
|
+
Status: **beta**, version 0.4.2.
|
|
56
56
|
|
|
57
57
|
</div>
|
|
58
58
|
|
|
@@ -105,7 +105,7 @@ periplus --version
|
|
|
105
105
|
To install a tagged version from the repository:
|
|
106
106
|
|
|
107
107
|
```
|
|
108
|
-
uv tool install git+https://github.com/camoa/periplus@v0.4.
|
|
108
|
+
uv tool install git+https://github.com/camoa/periplus@v0.4.2
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
To install from a local copy of this repository:
|
|
@@ -350,10 +350,10 @@ To map a Laravel application, pin `php_basic@0.2.0` and `laravel_basic@0.0.5` an
|
|
|
350
350
|
at the application's root. The default Laravel folders need no settings. To move the templates,
|
|
351
351
|
set `views_root` under `folders`; a template is named by its path below `views_root`.
|
|
352
352
|
|
|
353
|
-
New in this release:
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
353
|
+
New in this release: the gaps skill reports resolution gaps and detail gaps apart, with a site
|
|
354
|
+
fault under its own heading; the rutter skill measures what a rule added by mapping before and
|
|
355
|
+
after, and offers the next gap; and a rule pattern may hold an escaped backslash right before a
|
|
356
|
+
named group.
|
|
357
357
|
|
|
358
358
|
## Write a rutter
|
|
359
359
|
|
|
@@ -537,9 +537,10 @@ repeat it for several. `--limit N` stops the slice when it would hold more than
|
|
|
537
537
|
matches nothing, exits 31. `--out` is required, and a slice is a smaller map, so name it so it
|
|
538
538
|
cannot replace the full map.
|
|
539
539
|
|
|
540
|
-
`export` prints to standard output and its warnings to standard error. GraphML names each node by
|
|
541
|
-
|
|
542
|
-
|
|
540
|
+
`export` prints to standard output and its warnings to standard error. GraphML names each node by
|
|
541
|
+
a generated token, labels it with a short name and carries the map id as its `id` data, with the
|
|
542
|
+
node type and state, the edge kind as the edge label, and the file and line where there is one.
|
|
543
|
+
DOT and Mermaid label each node with its id and type.
|
|
543
544
|
|
|
544
545
|
```
|
|
545
546
|
periplus slice --path src/Billing/ --out billing.map.json
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
`js` and `go` extras for the tests. It runs pytest on Python 3.11 to 3.14, ruff and mypy, and validates
|
|
13
13
|
every bundled pack. It does not run the acceptance scripts, and it never maps a Go project.</sub>
|
|
14
14
|
|
|
15
|
-
Status: **beta**, version 0.4.
|
|
15
|
+
Status: **beta**, version 0.4.2.
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -65,7 +65,7 @@ periplus --version
|
|
|
65
65
|
To install a tagged version from the repository:
|
|
66
66
|
|
|
67
67
|
```
|
|
68
|
-
uv tool install git+https://github.com/camoa/periplus@v0.4.
|
|
68
|
+
uv tool install git+https://github.com/camoa/periplus@v0.4.2
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
To install from a local copy of this repository:
|
|
@@ -310,10 +310,10 @@ To map a Laravel application, pin `php_basic@0.2.0` and `laravel_basic@0.0.5` an
|
|
|
310
310
|
at the application's root. The default Laravel folders need no settings. To move the templates,
|
|
311
311
|
set `views_root` under `folders`; a template is named by its path below `views_root`.
|
|
312
312
|
|
|
313
|
-
New in this release:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
313
|
+
New in this release: the gaps skill reports resolution gaps and detail gaps apart, with a site
|
|
314
|
+
fault under its own heading; the rutter skill measures what a rule added by mapping before and
|
|
315
|
+
after, and offers the next gap; and a rule pattern may hold an escaped backslash right before a
|
|
316
|
+
named group.
|
|
317
317
|
|
|
318
318
|
## Write a rutter
|
|
319
319
|
|
|
@@ -497,9 +497,10 @@ repeat it for several. `--limit N` stops the slice when it would hold more than
|
|
|
497
497
|
matches nothing, exits 31. `--out` is required, and a slice is a smaller map, so name it so it
|
|
498
498
|
cannot replace the full map.
|
|
499
499
|
|
|
500
|
-
`export` prints to standard output and its warnings to standard error. GraphML names each node by
|
|
501
|
-
|
|
502
|
-
|
|
500
|
+
`export` prints to standard output and its warnings to standard error. GraphML names each node by
|
|
501
|
+
a generated token, labels it with a short name and carries the map id as its `id` data, with the
|
|
502
|
+
node type and state, the edge kind as the edge label, and the file and line where there is one.
|
|
503
|
+
DOT and Mermaid label each node with its id and type.
|
|
503
504
|
|
|
504
505
|
```
|
|
505
506
|
periplus slice --path src/Billing/ --out billing.map.json
|
|
@@ -25,7 +25,7 @@ classifiers = [
|
|
|
25
25
|
# Declared here and nowhere else. src/periplus/__init__.py reads it back at runtime through
|
|
26
26
|
# importlib.metadata.version(), so the number is written once and `periplus --version` prints
|
|
27
27
|
# what this file says by construction rather than by two places agreeing.
|
|
28
|
-
version = "0.4.
|
|
28
|
+
version = "0.4.2"
|
|
29
29
|
|
|
30
30
|
# Five runtime distributions. The count is still a decision, not an accident, and this comment
|
|
31
31
|
# said "two runtime distributions, zero transitive" until `periplus validate` needed a validator.
|
|
@@ -8,7 +8,8 @@ from collections.abc import Sequence
|
|
|
8
8
|
__all__ = ["compile_pattern", "reshape"]
|
|
9
9
|
|
|
10
10
|
#: A named group written ``(?<name>``, which ``re`` spells ``(?P<name>``; lookbehind stays alone.
|
|
11
|
-
|
|
11
|
+
#: Group 1 is an even run of backslashes, which escapes nothing; an odd run leaves a literal paren.
|
|
12
|
+
_NAMED_GROUP = re.compile(r"(?<!\\)((?:\\\\)*)\(\?<(?![=!])")
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
def compile_pattern(expression: str) -> re.Pattern[str]:
|
|
@@ -16,7 +17,7 @@ def compile_pattern(expression: str) -> re.Pattern[str]:
|
|
|
16
17
|
|
|
17
18
|
The pack format names RE2; this uses Python's ``re`` engine instead.
|
|
18
19
|
"""
|
|
19
|
-
return re.compile(_NAMED_GROUP.sub("(?P<", expression))
|
|
20
|
+
return re.compile(_NAMED_GROUP.sub(r"\1(?P<", expression))
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
def reshape(value: str, normalize: Sequence[tuple[re.Pattern[str], str]], case: str = "") -> str:
|
|
@@ -40,6 +40,12 @@ def _tokens(document: Mapping[str, Any]) -> dict[str, str]:
|
|
|
40
40
|
return {node["id"]: f"n{n}" for n, node in enumerate(document["nodes"])}
|
|
41
41
|
|
|
42
42
|
|
|
43
|
+
def short_name(map_id: str) -> str:
|
|
44
|
+
"""The id without its type prefix and without the namespace of each ``::`` segment."""
|
|
45
|
+
_, sep, rest = map_id.partition("::")
|
|
46
|
+
return "::".join(part.rsplit("\\", 1)[-1] for part in rest.split("::")) if sep else map_id
|
|
47
|
+
|
|
48
|
+
|
|
43
49
|
def _graphml(document: Mapping[str, Any]) -> tuple[str, tuple[str, ...]]:
|
|
44
50
|
keys = (
|
|
45
51
|
("node", "type", "string"),
|
|
@@ -50,6 +56,8 @@ def _graphml(document: Mapping[str, Any]) -> tuple[str, tuple[str, ...]]:
|
|
|
50
56
|
("edge", "file", "string"),
|
|
51
57
|
("edge", "line", "int"),
|
|
52
58
|
("node", "label", "string"),
|
|
59
|
+
("node", "id", "string"),
|
|
60
|
+
("edge", "label", "string"),
|
|
53
61
|
)
|
|
54
62
|
token = _tokens(document)
|
|
55
63
|
lines = [
|
|
@@ -70,7 +78,7 @@ def _graphml(document: Mapping[str, Any]) -> tuple[str, tuple[str, ...]]:
|
|
|
70
78
|
where = first_location(node)
|
|
71
79
|
if where:
|
|
72
80
|
values += [("file", where["file"]), ("line", str(where["line"]))]
|
|
73
|
-
values
|
|
81
|
+
values += [("label", short_name(node["id"])), ("id", node["id"])]
|
|
74
82
|
lines.append(f' <node id="{token[node["id"]]}">')
|
|
75
83
|
lines += data("node", values)
|
|
76
84
|
lines.append(" </node>")
|
|
@@ -79,6 +87,7 @@ def _graphml(document: Mapping[str, Any]) -> tuple[str, tuple[str, ...]]:
|
|
|
79
87
|
where = first_location(edge)
|
|
80
88
|
if where:
|
|
81
89
|
values += [("file", where["file"]), ("line", str(where["line"]))]
|
|
90
|
+
values.append(("label", edge["kind"]))
|
|
82
91
|
ends = f'source="{token[edge["from"]]}" target="{token[edge["to"]]}"'
|
|
83
92
|
lines.append(f" <edge {ends}>")
|
|
84
93
|
lines += data("edge", values)
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: periplus-gaps
|
|
3
|
+
description: Read a Periplus map and the code behind it, list what the map lacks, and say for each gap whether it needs a new rule or a new rutter, and where that rule belongs.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Find the gaps in a map
|
|
7
|
+
|
|
8
|
+
## Standing rules
|
|
9
|
+
|
|
10
|
+
1. Rules are small and add to each other: split by rule file inside one rutter, never by adding rutters.
|
|
11
|
+
2. A rutter reads its stack in passes by depth: structure first, then one layer inside each class, then joins in the map.
|
|
12
|
+
3. There is no stack knowledge in the engine; a stack's shape is a rule in a rutter.
|
|
13
|
+
4. Write the rule and run it: probe before saying a rutter cannot, and quote the engine's message.
|
|
14
|
+
5. A rutter meant for others never names the project it was built on, in its code, rules, examples or prose.
|
|
15
|
+
|
|
16
|
+
## Where the detail lives
|
|
17
|
+
|
|
18
|
+
- [Navigation](https://github.com/camoa/periplus/blob/v0.4.2/docs/navigation.md) holds the signature, output rows and exit codes of each command used here.
|
|
19
|
+
- [Where a rule belongs](https://github.com/camoa/periplus/blob/v0.4.2/docs/map-report-guide.md#where-a-rule-belongs) and
|
|
20
|
+
[When a gap is the engine's](https://github.com/camoa/periplus/blob/v0.4.2/docs/map-report-guide.md#when-a-gap-is-the-engines) hold the full choice of destination.
|
|
21
|
+
- [The rutter author guide](https://github.com/camoa/periplus/blob/v0.4.2/docs/rutter-author-guide.md) and the rutter skill hold how a rule is written and a rutter started.
|
|
22
|
+
- [Bundled rutters](https://github.com/camoa/periplus/blob/v0.4.2/docs/rutters.md) lists every rutter that ships with Periplus.
|
|
23
|
+
|
|
24
|
+
## Find the gaps
|
|
25
|
+
|
|
26
|
+
Run the steps in the project root, after `periplus map`. The report has two halves, resolution
|
|
27
|
+
gaps and detail gaps, and a third list apart from both, site faults.
|
|
28
|
+
|
|
29
|
+
1. Check the map and see what it holds. `periplus check-map` exits 0 on a valid map; fix any
|
|
30
|
+
fault it names before you read further. `periplus types` counts the node types and edge kinds.
|
|
31
|
+
2. List every node. Every id holds the text `::`, so `periplus find :: --limit 0 --format json`
|
|
32
|
+
prints all of them, each row with its id, type, state and first location. A row whose state
|
|
33
|
+
is `referenced` (a name seen, with nothing describing it) or `unresolved` (a rule looked and
|
|
34
|
+
failed) is where a missing rule shows, except an id step 4 prints under Site faults.
|
|
35
|
+
3. Read the rows the map skipped. `periplus map --format json` prints the map report; read its
|
|
36
|
+
`skipped` rows, each a file, line, rule and reason, for code a rule matched and could not use.
|
|
37
|
+
4. Print the report from the map file. The program below reads `.periplus/map.json` with the
|
|
38
|
+
standard library, so pass it that path: `python3 gap-read.py .periplus/map.json` after saving
|
|
39
|
+
the block as `gap-read.py`. Under Resolution gaps it prints the count of `referenced` nodes,
|
|
40
|
+
of `unresolved` nodes and of edges whose confidence is `inferred`, each followed by a
|
|
41
|
+
`first-party` split. A node is first-party when its state is `mapped` and it has a location,
|
|
42
|
+
so a `referenced` or `unresolved` node is always outside; for those two lists a
|
|
43
|
+
`reached from first-party` line counts the ones an edge from a first-party node reaches. The
|
|
44
|
+
map file holds no folder list, so read the folders `custom_module`, `custom_theme` and
|
|
45
|
+
`js_source` in `settings.yml` to tell which first-party files a gap sits in.
|
|
46
|
+
5. Open the file and line of each gap and read the code; a row whose location is null has none,
|
|
47
|
+
so `periplus affected ID` names the nodes whose edges reach it, and you read those. Skip
|
|
48
|
+
the ids printed under Site faults; they are site faults, not missing rules. Decide
|
|
49
|
+
whether a rule would resolve it: name the shape the rule would match and the node or edge it
|
|
50
|
+
would emit.
|
|
51
|
+
6. Open `.periplus/descriptions.yaml`, the file the map skill describes. Count every node id in the
|
|
52
|
+
step 2 list, whichever its state, with no descriptions entry under `nodes` as a description gap to fill; a file with no `nodes` key
|
|
53
|
+
holds zero entries.
|
|
54
|
+
|
|
55
|
+
<!-- nav-run -->
|
|
56
|
+
```
|
|
57
|
+
$ periplus check-map
|
|
58
|
+
$ periplus types
|
|
59
|
+
$ periplus find :: --limit 0 --format json
|
|
60
|
+
$ periplus map --format json
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
<!-- gap-read -->
|
|
64
|
+
```python
|
|
65
|
+
import json
|
|
66
|
+
import sys
|
|
67
|
+
|
|
68
|
+
m = json.load(open(sys.argv[1]))
|
|
69
|
+
nodes = {n["id"]: n for n in m["nodes"]}
|
|
70
|
+
edges = m["edges"]
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def name(i):
|
|
74
|
+
return i.split("::", 1)[1]
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def module_of(ns):
|
|
78
|
+
p = ns.split("\\")
|
|
79
|
+
return p[1] if len(p) > 2 and p[0] == "Drupal" else None
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def mapped(i):
|
|
83
|
+
return i in nodes and nodes[i]["state"] == "mapped"
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def chain(c):
|
|
87
|
+
seen, todo = [], [c]
|
|
88
|
+
while todo:
|
|
89
|
+
x = todo.pop()
|
|
90
|
+
if x in seen:
|
|
91
|
+
continue
|
|
92
|
+
if not mapped(x):
|
|
93
|
+
return None
|
|
94
|
+
seen.append(x)
|
|
95
|
+
todo += [e["to"] for e in edges if e["kind"] in ("inherits", "mixes_in") and e["from"] == x]
|
|
96
|
+
return seen
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def defines(c, meth):
|
|
100
|
+
return any(
|
|
101
|
+
e["kind"] == "contains" and e["from"] == c and name(e["to"]).split("::")[-1] == meth
|
|
102
|
+
and e["to"] in nodes and e["to"].startswith("php.method::")
|
|
103
|
+
for e in edges
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def fault(n):
|
|
108
|
+
t, nm = n["type"], name(n["id"])
|
|
109
|
+
if t == "php.method" and "::" in nm:
|
|
110
|
+
cls, meth = nm.rsplit("::", 1)
|
|
111
|
+
for c in (chain(k + "::" + cls) for k in ("php.type", "php.class")):
|
|
112
|
+
if c is not None:
|
|
113
|
+
enum = any(nodes[x]["type"] == "php.enum" for x in c)
|
|
114
|
+
if enum and meth in ("cases", "from", "tryFrom"):
|
|
115
|
+
return None
|
|
116
|
+
return None if any(defines(x, meth) for x in c) else "method no class defines"
|
|
117
|
+
return None
|
|
118
|
+
if t == "drupal.library":
|
|
119
|
+
k, kind = nm.split("/")[0], "library no libraries file defines"
|
|
120
|
+
elif n["id"].startswith("php.type::"):
|
|
121
|
+
k, kind = module_of(nm), "class no file holds"
|
|
122
|
+
else:
|
|
123
|
+
return None
|
|
124
|
+
return kind if k and mapped("drupal.module::" + k) else None
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
faults = {n["id"]: fault(n) for n in m["nodes"] if n["state"] in ("referenced", "unresolved")}
|
|
128
|
+
faults = {i: k for i, k in faults.items() if k}
|
|
129
|
+
gaps = [n for n in m["nodes"] if n["id"] not in faults]
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def first_party(n):
|
|
133
|
+
return n["state"] == "mapped" and bool(n["locations"])
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def split(found):
|
|
137
|
+
inside = sum(first_party(n) for n in found)
|
|
138
|
+
return f"first-party {inside} outside {len(found) - inside}"
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
reached = {e["to"] for e in edges if first_party(nodes[e["from"]])}
|
|
142
|
+
|
|
143
|
+
print("Resolution gaps")
|
|
144
|
+
lists = {
|
|
145
|
+
"referenced": [n for n in gaps if n["state"] == "referenced"],
|
|
146
|
+
"unresolved": [n for n in gaps if n["state"] == "unresolved"],
|
|
147
|
+
"inferred": [
|
|
148
|
+
nodes[e["from"]]
|
|
149
|
+
for e in edges
|
|
150
|
+
if any(p["confidence"] == "inferred" for p in e["provenance"])
|
|
151
|
+
],
|
|
152
|
+
}
|
|
153
|
+
for word, found in lists.items():
|
|
154
|
+
print(f"{word} {len(found)}")
|
|
155
|
+
print(split(found))
|
|
156
|
+
if word != "inferred":
|
|
157
|
+
print(f"reached from first-party {sum(n['id'] in reached for n in found)}")
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def group(n):
|
|
161
|
+
if (n.get("provenance") or [{}])[0].get("rule") == "any_config_file":
|
|
162
|
+
return name(n["id"]).split(".")[0]
|
|
163
|
+
if n["type"] == "php.class":
|
|
164
|
+
return module_of(name(n["id"])) or "none"
|
|
165
|
+
return "-"
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
print("Detail gaps")
|
|
169
|
+
groups = {}
|
|
170
|
+
for n in gaps:
|
|
171
|
+
rule = (n.get("provenance") or [{}])[0].get("rule")
|
|
172
|
+
if rule:
|
|
173
|
+
groups.setdefault((rule, group(n)), []).append(n)
|
|
174
|
+
for (rule, d), found in sorted(groups.items()):
|
|
175
|
+
print(f"{rule} {d} {len(found)}")
|
|
176
|
+
print(split(found))
|
|
177
|
+
|
|
178
|
+
present = {}
|
|
179
|
+
for n in gaps:
|
|
180
|
+
present.setdefault(n["type"], []).append(n)
|
|
181
|
+
roots = {r["type"] for r in m["type_hierarchy"] if not r["parent"]}
|
|
182
|
+
children = {r["type"]: [] for r in m["type_hierarchy"]}
|
|
183
|
+
for r in m["type_hierarchy"]:
|
|
184
|
+
if r["parent"]:
|
|
185
|
+
children.setdefault(r["parent"], []).append(r["type"])
|
|
186
|
+
for parent in sorted(children):
|
|
187
|
+
if parent in roots or children[parent]:
|
|
188
|
+
for child in sorted(children[parent]) or ["none"]:
|
|
189
|
+
found = present.get(child, [])
|
|
190
|
+
print(f"{parent} {child} {len(found)}")
|
|
191
|
+
if found:
|
|
192
|
+
print(split(found))
|
|
193
|
+
own = {}
|
|
194
|
+
for n in present.get(parent, []) if children[parent] else []:
|
|
195
|
+
own.setdefault(group(n), []).append(n)
|
|
196
|
+
for d, found in sorted(own.items()):
|
|
197
|
+
print(f"{parent} own {d} {len(found)}")
|
|
198
|
+
print(split(found))
|
|
199
|
+
|
|
200
|
+
group_of = {}
|
|
201
|
+
for n in gaps:
|
|
202
|
+
if n["state"] == "referenced" and n["type"] == "drupal.module":
|
|
203
|
+
group_of[n["id"]] = name(n["id"])
|
|
204
|
+
elif n["state"] == "referenced" and n["id"].startswith("php.type::"):
|
|
205
|
+
group_of[n["id"]] = module_of(name(n["id"]))
|
|
206
|
+
leaning = {g: set() for g in group_of.values() if g}
|
|
207
|
+
for e in edges:
|
|
208
|
+
g = group_of.get(e["to"])
|
|
209
|
+
if g and mapped(e["from"]):
|
|
210
|
+
leaning[g].add(e["from"])
|
|
211
|
+
names = [p["pack"] for p in m["packs"]]
|
|
212
|
+
for g in sorted(leaning, key=lambda g: (-len(leaning[g]), g)):
|
|
213
|
+
pack = next((p for p in names if p == g or p.startswith(g + "_")), "none")
|
|
214
|
+
print(f"{g} {len(leaning[g])} rutter: {pack}")
|
|
215
|
+
|
|
216
|
+
print("Site faults")
|
|
217
|
+
first = {}
|
|
218
|
+
for e in edges:
|
|
219
|
+
first.setdefault(e["to"], (e["locations"] or [{}])[0])
|
|
220
|
+
for i in sorted(faults):
|
|
221
|
+
where = first.get(i, {})
|
|
222
|
+
print(f"{i} {where.get('file', '-')}:{where.get('line', 0)} {faults[i]}")
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## Detail gaps
|
|
226
|
+
|
|
227
|
+
The second half of the report says what a sibling rutter would add, from the map file alone.
|
|
228
|
+
Read the Detail gaps lines in three groups. Under each rule line and each child-type line with
|
|
229
|
+
nodes, a `first-party <n> outside <n>` line splits its nodes as the Resolution gaps lines do.
|
|
230
|
+
|
|
231
|
+
- A rule line, `<rule> <discriminator> <count>`, counts the nodes one rule made. A catch-all rule
|
|
232
|
+
hides what it made, so its nodes are split by a discriminator: for `any_config_file` the config
|
|
233
|
+
prefix, the id text after `drupal.config::` up to the first dot; for a rule that makes
|
|
234
|
+
`php.class` nodes the module in the namespace `Drupal\<module>\...`, or `none`; for every other
|
|
235
|
+
rule there is none, printed as `-`. The map file holds no annotation name, so a plugin class
|
|
236
|
+
splits by its module, not its annotation; record the missing annotation name as a finding for
|
|
237
|
+
the engine.
|
|
238
|
+
- A child-type line, `<parent> <child> <count>`, shows for each parent type the child types the
|
|
239
|
+
map holds and how many nodes each has; a parent with no child prints the word `none` and 0. A
|
|
240
|
+
parent with children also prints `<parent> own <discriminator> <count>` for the nodes left on the
|
|
241
|
+
parent itself, grouped by the rule line's discriminator: a group no child type took. That is the
|
|
242
|
+
room a sibling rutter would fill.
|
|
243
|
+
- A module line, `<module> <count> rutter: <pack>`, groups the referenced `drupal.module` nodes
|
|
244
|
+
and the referenced `php.type` nodes by module, all outside the mapped code, counts the distinct
|
|
245
|
+
mapped nodes that lean on it, and names the first pack in the map file's `packs` list that covers it, or `none`. Highest first:
|
|
246
|
+
a module with a large count and no rutter is the next rutter to write. `periplus status` lists
|
|
247
|
+
the packs on disk.
|
|
248
|
+
|
|
249
|
+
## Site faults
|
|
250
|
+
|
|
251
|
+
A site fault is a name the map was right about and the site has wrong. It prints as
|
|
252
|
+
`<id> <file>:<line> <kind>`, with the file and line of the first edge that reaches it. Fix the
|
|
253
|
+
site, not the rules; no site fault needs a rule. The program prints three kinds, each only when the
|
|
254
|
+
place that should define the name is itself in the mapped code.
|
|
255
|
+
|
|
256
|
+
- `method no class defines`: a method called on a mapped class where the class, every class it
|
|
257
|
+
inherits from and every trait it mixes in are mapped, and none contains a method of that name.
|
|
258
|
+
The methods PHP builds into every enum, `cases`, `from` and `tryFrom`, are never a fault.
|
|
259
|
+
- `library no libraries file defines`: a library attached whose module is mapped and whose libraries
|
|
260
|
+
file has no such library.
|
|
261
|
+
- `class no file holds`: a class named under `Drupal\<module>\` whose module is mapped and which no
|
|
262
|
+
file holds.
|
|
263
|
+
|
|
264
|
+
When a class or trait in the chain is referenced, outside the mapped code, the name stays a resolution gap:
|
|
265
|
+
the missing rule is the PHP rutter's, never a site fault.
|
|
266
|
+
|
|
267
|
+
## Where a rule belongs
|
|
268
|
+
|
|
269
|
+
Write the rule in the project's own rutter first: a rutter folder in the project's
|
|
270
|
+
`.periplus/packs`. When any other project on the stack could use it, move it to the bundled
|
|
271
|
+
rutter for that stack, as a new rule file or a rule added to one, once a second project needs it.
|
|
272
|
+
When no bundled rutter covers the stack at all, start a new rutter with the rutter skill, then
|
|
273
|
+
write the rule in it.
|
|
274
|
+
A gap is the engine's when the engine refuses the rule you wrote and no other rule can state the
|
|
275
|
+
shape. The test and the message to quote are in
|
|
276
|
+
[When a gap is the engine's](https://github.com/camoa/periplus/blob/v0.4.2/docs/map-report-guide.md#when-a-gap-is-the-engines).
|
|
277
|
+
|
|
278
|
+
## Run it again
|
|
279
|
+
|
|
280
|
+
Every rule changes the list. After you write a rule and run `periplus map`, run these steps again
|
|
281
|
+
and read the report anew: a gap the rule closed leaves it, and a gap the rule exposed joins it.
|
|
282
|
+
Stop when the report holds only gaps no rule of yours can close.
|
|
@@ -25,7 +25,7 @@ Run `periplus map` first. Then pick the one command that answers the question.
|
|
|
25
25
|
| Which ids match a name? | `periplus find TEXT` |
|
|
26
26
|
| Which kinds of node and edge does the map hold? | `periplus types` |
|
|
27
27
|
|
|
28
|
-
Each command's options, output and exit codes are in [Navigation](https://github.com/camoa/periplus/blob/v0.4.
|
|
28
|
+
Each command's options, output and exit codes are in [Navigation](https://github.com/camoa/periplus/blob/v0.4.2/docs/navigation.md). Take an id from
|
|
29
29
|
`periplus find` before passing it to the other commands. On the project in the Navigation
|
|
30
30
|
guide's worked example, these run as shown:
|
|
31
31
|
|