Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kevcube opened this issue Dec 14, 2023 · 1 comment
Open

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

kevcube opened this issue Dec 14, 2023 · 1 comment
Labels
bug 🐛 An issue with the system enhancement New feature or request Short List

Comments

@kevcube
Copy link
Contributor

kevcube commented Dec 14, 2023

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 kevcube added the bug 🐛 An issue with the system label Dec 14, 2023
@osterman osterman added the enhancement New feature or request label Feb 3, 2024
@osterman osterman added the Short List label Oct 9, 2024 — with Linear
@mss
Copy link
Contributor

mss commented Oct 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system enhancement New feature or request Short List
Projects
None yet
Development

No branches or pull requests

3 participants