Skip to content

Comments

Local config support#1139

Open
clanktron wants to merge 2 commits intoharvester:masterfrom
clanktron:local-config-support
Open

Local config support#1139
clanktron wants to merge 2 commits intoharvester:masterfrom
clanktron:local-config-support

Conversation

@clanktron
Copy link

Problem:

Currently only remote http urls are allowed to be used for sourcing a harvester config file in the installation process. Sourcing a config file from the local filesystem instead can be useful in many cases.

Solution:

By simply adding support for the file:// url prefix in the getURL() function, one can source from the local system without any invasive changes to the codebase.

Related Issue(s):

Issue harvester/harvester#9124

Testing:

A relevant unit test is bundled with this PR. Proper e2e functionality was also manually checked on multiple systems.

Signed-off-by: clayton <hello@claytonc.dev>
Better reflects the new url sourcing capabilities.

Signed-off-by: clayton <hello@claytonc.dev>
@Vicente-Cheng Vicente-Cheng requested review from starbops and tserong and removed request for starbops and tserong September 15, 2025 03:48
@Vicente-Cheng
Copy link
Contributor

Let's clarify the user scenario first, then we can do the PR review

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.

2 participants