atmos icon indicating copy to clipboard operation
atmos copied to clipboard

Support `file://` paths in `component.yml:spec.source.uri`

Open kevcube opened this issue 2 years ago • 1 comments

Describe the Bug

Specs for component.yml say it supports anything from HashiCorp/go-getter but I am unable to use a local path.

spec:
  source:
    uri: ./
kevin@Kevins-Laptop aurora-postgres % atmos vendor pull -c spacelift
Pulling sources for the component 'spacelift' from 'file:///Users/kevin/code/sts-devops/components/github-repositories' into '/Users/kevin/code/sts-devops/components/spacelift'

error downloading 'file:///Users/kevin/code/sts-devops/components/github-repositories': destination exists and is not a symlink

Expected Behavior

I would like to use a local file path because we are using Atmos features like mixin but we are not using a remotely hosted module/component.

Steps to Reproduce

spec:
  source:
    uri: ./

Screenshots

No response

Environment

No response

Additional Context

No response

kevcube avatar Dec 14 '23 23:12 kevcube

I think this was implemented/fixed with v1.47.0?

mss avatar Oct 10 '24 08:10 mss