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

Fix HTTPNode.Location when building graph #2007

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jeongukjae
Copy link

@jeongukjae jeongukjae commented Jan 20, 2025

After this commit, building internal graph can raise error because HTTPNode's Location value can be changed while building graph. (See line 65 (node.URL = url))

So if taskfile imports remote file with multiple depth (e.g. A --> remote B --> remote C) without filename, it raises

source vertex https://{PATH_TO_REMOTE}/Taskfile.yaml: vertex not found

So fixing HTTPNode.Location not to be changed over time.

(I couldn't find any related issues, so please let me know if there's issue or I have to create it)

@pd93 pd93 requested review from pd93 and vmaerten January 21, 2025 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant