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 · 0 comments
Open

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

kevcube opened this issue Dec 14, 2023 · 0 comments
Labels
bug 🐛 An issue with the system enhancement New feature or request

Comments

@kevcube
Copy link
Sponsor 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
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
Projects
None yet
Development

No branches or pull requests

2 participants