ioBroker.javascript
ioBroker.javascript copied to clipboard
Adding a Versioning to the scripts
Is your feature request related to a problem? Please describe. I have the "problem" that especially in more complex scripts, there is no rollback to last stable solution.
Describe the solution you'd like Perfect solution would be to create versions of scripts, and activate them. So the latest version is "live", but i can develop in an other version. If the improvement fails, i can simply choose one of the older versions and rollback my changes.
Describe alternatives you've considered automatic upload to Github. but due to sometimes security relevant information (e.g. Username/password) a direct upload to a possibly public github is too risky.
Additional context
Just enable mirroring to file system and use git (not github).
maybe we could add that as a topi in readme ...
Just enable mirroring to file system and use git (not github).
Sounds complicated and how is this done? I personally just copy the script and use that as a former version (or call it backup of a script, can be used as rollback if necessary). Identification is done by adding version and/or date to the name(similar to automatic versioning).
Sounds complicated and how is this done?
Google: Git for beginners
- Install git using apt
- Change to the mirrored directory
-
git init
- Learn how to use
git add
,git commit
,git revert
, ...
This is not related to GitHub or a remote server - that is optional and not required