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

Include default command settings in stack config file #29

Open
ncoghlan opened this issue Oct 21, 2024 · 1 comment
Open

Include default command settings in stack config file #29

ncoghlan opened this issue Oct 21, 2024 · 1 comment
Labels
Affects: Command Line Affects the command line interface Affects: Spec Format Affect the stack specification format Category: Enhancement New feature or request

Comments

@ncoghlan
Copy link
Collaborator

There are several locking, build, and publishing settings which could reasonably be considered part of the stack specification:

  • package index access settings
  • whether to produce tagged or untagged outputs
  • where to find additional local wheel archives
  • locking mode to use (once Add a "comprehensive" locking mode #2 has been implemented)
  • default locations for working and output artifact directories

While settings these globally or per-user doesn't necessarily make sense (although #20 would allow that to some degree), it does make sense to allow the stack specification file to include a [config] section which changes the default values used for various settings.

https://maxb2.github.io/typer-config/latest/ may be a useful dependency to consider for this purpose (as this idea would be similar to the "pyproject.toml section" approach described in https://maxb2.github.io/typer-config/latest/examples/pyproject/ )

@ncoghlan ncoghlan added Category: Enhancement New feature or request Affects: Command Line Affects the command line interface Affects: Spec Format Affect the stack specification format labels Oct 21, 2024
@ncoghlan
Copy link
Collaborator Author

Another good candidate for inclusion as a stack config setting:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects: Command Line Affects the command line interface Affects: Spec Format Affect the stack specification format Category: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant