Local setup in addition to centralized apm setup #3025
Replies: 2 comments
|
There are currently two supported scopes, but not the per-project personal overlay you describe:
The second is intentionally global, so it has exactly the context-pollution drawback you identified. I could not find an apm.local.yml-style manifest that is merged only for one checkout on current main. I think this is a useful third scope rather than just another global-install option. The important part is not only reading an ignored local manifest; it also needs separate ownership state. Otherwise a normal team apm install/prune could delete local-only material, or a local install could rewrite the shared lockfile. A safe design would be:
Until such a layer exists, --global is the built-in workaround when the dependency is genuinely useful across projects. For something needed only in this repository, I would avoid editing the shared manifest unless I am willing to keep an uncommitted patch and carefully exclude it from commits; that is workable but not a robust team workflow. Relevant current scope docs: https://microsoft.github.io/apm/reference/cli/install/ |
|
Thx for you answer Tongyi (@TongyiDai) and sketching out your ideas. Is this something to bring in as a feature request? I would also be willing to contribute. |
Uh oh!
There was an error while loading. Please reload this page.
Dear community,
is there already some support or even the intent to support the following scenario:
apm.local.yamlThis could be realized of course by deploying on user level, bypassing the repo one is working in, yet again this then clutters the global context of any agent harness the user is employing.
Any thoughts on this?
Cheers,
Jakob
All reactions