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

.godot as configuration file format? #4

Open
naxmefy opened this issue Oct 29, 2024 · 0 comments
Open

.godot as configuration file format? #4

naxmefy opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers question Further information is requested

Comments

@naxmefy
Copy link
Contributor

naxmefy commented Oct 29, 2024

I am currently looking for a simple format for the configuration file and checking the project.godot file.

After some search through the internet about the format, how it is getting serialized etc. I found this comment from @reduz and looked into INI Format etc. (Comment here: godotengine/godot#10069 (comment))

I have created a simple example and will look into this case in my next session.

The example was linted with https://tools.rlugt.com/inivalidator/

[package]
title="My awesome package"
version="1.0.0"

[editor]
version=4.2.1

[assets]

[dev_assets]
custom_dev_asset={ version="3.4.2", registry="my-custom-asset-registry" }
other_dev_asset={ version="optional-git-ref", git="https://github.com/other/dev_asset.git" }

; alternative asset definition
[dev_assets.custom_dev_asset]
version="3.4.2"
registry="my-custom-asset-registry"

[dev_assets.other_dev_asset]
version="optional-git-ref"
git="https://github.com/other/dev_asset.git"

Last thoughts/ideas

  • maybe I should rephrase assets here to dependencies
  • If registries are supported then I need a second configuration to provide credentials for these registries....I guess
  • a deployment / build configuration for the package (on type asset or dev_asset) is required
@naxmefy naxmefy added good first issue Good for newcomers question Further information is requested labels Oct 29, 2024
@naxmefy naxmefy self-assigned this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant