Skip to content

Fixed config.json blocking git pull updates#1243

Open
thelabcat wants to merge 8 commits into
IAHispano:mainfrom
thelabcat:main
Open

Fixed config.json blocking git pull updates#1243
thelabcat wants to merge 8 commits into
IAHispano:mainfrom
thelabcat:main

Conversation

@thelabcat
Copy link
Copy Markdown

Now git pull can update a used Applio instance without running git reset first.

Description

  • Moved config.json to config_template.json
  • Have app.py create config.json via config_template.json if config.json does not exist.

Motivation and Context

Myself and others have been repeatedly blocked from updating Applio via git pull because Applio had changed config.json, which is a tracked file. This is apparently the correct way to update Applio, as Dione uses it, and would encounter the same issue.

How has this been tested?

I pulled the changes to my own working Applio instance, and deleted my config.json file. Then, I ran run-applio.sh, and it successfully created the config file before starting normally.
I am using Artix Linux with OpenRC.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • [?] My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • [?] All new and existing tests passed.

thelabcat added 8 commits May 11, 2026 13:31
- Git moved config.json to config_template.json
- Used shutil.copy() to create the config file at the last minute before it's needed, so it is no longer directly tracked
- I had my auto-formatter turned on in Kate, so there's a bunch of other non-functional changes. Is that a problem?
This reverts commit c98b2b7.
Formatter moved stuff that needed to not be moved.
    - Git moved config.json to config_template.json
    - Used shutil.copy() to create the config file at the last minute before it's needed, so it is no longer directly tracked
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