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

Automate version flags #102

Open
cefect opened this issue Jan 8, 2025 · 1 comment
Open

Automate version flags #102

cefect opened this issue Jan 8, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@cefect
Copy link
Collaborator

cefect commented Jan 8, 2025

the CanFlood version tag (e.g., 1.2.0) is set in many places:

  • build.ui
  • metadata.txt
  • docs/source/conf.py
  • github
  • ??

These are all supposed to be set manually during deployment, and therefore rarely all match.

I propose the following:

  1. Include a version tag on the model.ui and results.ui (like the build.ui)
  2. set a single location for the version tag (./canflod/__init__.py)
  3. ./dev_tools/set_version.bat script to pull the version tag and update as many of these as possible (eventually, we can incorporate this script into some sort of deployment routine)
@cefect cefect added the enhancement New feature or request label Jan 15, 2025
@NickyHastings
Copy link
Collaborator

good suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants