-
-
Notifications
You must be signed in to change notification settings - Fork 235
Add pihole-FTL create-default-config option and use it to upload pihole.toml to ftl.pi-hole.net
#2540
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
Conversation
β¦l>" for documentation purposes Signed-off-by: DL6ER <[email protected]>
pihole-FTL create-default-config option and use it to upload pihole.toml to ftl.pi-hole.net
Signed-off-by: yubiuser <[email protected]>
|
Successfully uploaded to https://ftl.pi-hole.net/new/gen_config/ |
Signed-off-by: DL6ER <[email protected]>
|
@yubiuser I will leave the final merge to you as I pushed a commit on my own to this branch. It addressed a concern of CodeQL to avoid users putting the generated file anywhere on the system. I don't mind too much, it could have stayed like it was as well... |
Signed-off-by: DL6ER <[email protected]>
|
Just thinking out aloud here: Now that we upload the |
|
The file upload is not needed anymore. FTL#2558 already handles the docs update. I'm not sure if we should keep the file generation and upload or if we remove them. |
|
I'm undecided here. The file is not used for its intended purpose because it's superseded by the other FTL PR's solution. On the other hand it adds only little time to the overall build process and might be useful in other context in the future. I'm not bond to it when you think this can be removed, we should just do it. |
|
I have the same doubt. |
|
It is also "archived" like here: https://ftl.pi-hole.net/v6.3/pihole.toml This may turn out useful when users want to check in which version what change happened without wanting to navigate through |
|
Then we should keep it for now |
What does this PR aim to accomplish?:
Add new undocumented flag
pihole-FTL create-default-config <file.toml>which will generate a default config file without starting FTL. Thispihole.tomlis then uploaded during the build process to ftl.pi-hole.net for later use (e.g. in pi-hole/docs#1215)Supersedes #2537
By submitting this pull request, I confirm the following:
git rebase)