-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Labels
featuremaitenanceImprovements in performance, structure, and maintainability. Package updates, toolsets etc.Improvements in performance, structure, and maintainability. Package updates, toolsets etc.
Description
- @pkarw I'm wondering if we shouldn't add some temporary
VERSIONfile in which we will change the version when some important things change... and then during the application run, inform the user that he has an incompatible version and should check his.envfiles, because the user - even now - won't know that we added some configurations, etc., and his.envwill be old. Of course, we should keep backward compatibility, but I think that we can't predict everything, and before we publish the official package, we should go with something like:
- Push to
VERSIONsomething like (...) 3 (I would go with int, it's not about semver here and we won't update it every time). - Push to
INCOMPATIBLE_CHANGESa simplified changelog which has a structure like:
--2--
(incompatible changes between 1 and 2)
--1--
(incompatible changes between non version and 1 version)
- After comparing, we will show messages to the user.
- Push to
.env.exampleTEXT_EXTRACT_API_VERSION=3. - Push to
.env.localhost.exampleTEXT_EXTRACT_API_VERSION=3. - In the run scripts, check:
- If
.envor.env.localhostexists, check both of them:- Missing
TEXT_EXTRACT_API_VERSION-> old. - Lower than
.repository_version-> old.
- Missing
- If not, then do nothing.
- If
And in case of finding an old version:
- Ask the user to update his
.envfile based on.env.dist(we should change the name fromexampletodistbecause it's like variables that the user should acknowledge). - Ask the user to clean up his
.venv(usually done withmake). - Tell the user about possible changes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featuremaitenanceImprovements in performance, structure, and maintainability. Package updates, toolsets etc.Improvements in performance, structure, and maintainability. Package updates, toolsets etc.