-
Notifications
You must be signed in to change notification settings - Fork 236
apm install: FQDN monorepo subpath on GHES fails; hoping for CLI-only install without manual apm.yml edit #1673
Copy link
Copy link
Closed
Labels
area/distributionInstallers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.Installers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.area/enterpriseAir-gapped/GHE configurability, registry proxy, rulesets, adoption playbook.Air-gapped/GHE configurability, registry proxy, rulesets, adoption playbook.priority/highShips in current or next milestoneShips in current or next milestonestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.One manifest, every target. Multi-target deploy, marketplace, packaging, install.type/bugSomething does not work as documented.Something does not work as documented.
Metadata
Metadata
Assignees
Labels
area/distributionInstallers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.Installers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.area/enterpriseAir-gapped/GHE configurability, registry proxy, rulesets, adoption playbook.Air-gapped/GHE configurability, registry proxy, rulesets, adoption playbook.priority/highShips in current or next milestoneShips in current or next milestonestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.One manifest, every target. Multi-target deploy, marketplace, packaging, install.type/bugSomething does not work as documented.Something does not work as documented.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Done
Summary
On our private GHES host, we would like to install an APM package from a monorepo subpath with
apm install <ref>only — similar to GitHub:We confirmed that the same style of command works on
github.com.On GHES, the equivalent command does not seem to work for us.
Reproduction
ghe.example.commy-org/agent-skills-monorepopackages/skill-alphaapm install "ghe.example.com/my-org/agent-skills-monorepo/packages/skill-alpha"With
--verbose,git ls-remoteappears to target a URL that includes the subpath:The same result with an HTTPS URL that embeds the subpath:
apm install "https://ghe.example.com/my-org/agent-skills-monorepo.git/packages/skill-alpha"Repo root without subpath validates, but installs the wrong manifest (bundle with local
path:deps):apm install --dry-run "ghe.example.com/my-org/agent-skills-monorepo"What we hoped for
…would update
apm.ymland installpackages/skill-alpha, e.g.:If FQDN shorthand is hard to support on GHES, CLI flags such as
--git/--path/--refwould also help.Workaround we use today
We add object form to
apm.ymlmanually, then runapm install. This works, but we were hoping to avoid editingapm.ymlby hand.Environment
gh auth login --hostname ghe.example.com(HTTPS clone works)Related
apm.ymleditapm installfails for 3+ segment project paths #1498 / fix(artifactory): deterministic boundary probe for nested GitLab paths #1472 — boundary probe for nested GitLab pathsSuggestion
apm install --git/--path/--refto write object form toapm.yml