puppetlabs / puppetlabs/puppet-editor-services
[Feature] Detect top scope functions that should be namespaced.
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 52
- Forks
- 21
- Avg merge
- 15h
- Merged PRs (30d)
- 3
Description
Note: A module that wants to call a function in another module must either have that module listed as a dependency, or have no dependencies entry at all in its metadata.json. This requirement is enforced at runtime to help users keep metadata for modules up to date as users then simply need to install a module and its dependencies. If a module does not have the correct dependencies listed the runtime will simply not find the function.
Can PES detect topscope function calls which should be namespaced?
Ref - https://twitter.com/BastelsBlog/status/1193595803618725889
Ref - https://github.com/puppetlabs/puppet-specifications/blob/master/language/func-api.md#autoloading
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Puppet function API autoloading specification and the runtime requirement for dependencies in metadata.json. Define how PES should identify top-scope calls that require namespaces and what diagnostic or behavior would indicate completion; the issue names no implementation entry point or test file.
Written by the indexing model from the issue text.
Assessment
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100