ioBroker / ioBroker.javascript

Script engine for JavaScript and Blockly
MIT License
321 stars 119 forks source link

Adding a Versioning to the scripts #1460

Open worksasdesigned opened 6 months ago

worksasdesigned commented 6 months ago

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

klein0r commented 6 months ago

Just enable mirroring to file system and use git (not github).

Apollon77 commented 6 months ago

maybe we could add that as a topi in readme ...

MichaelSchaaf999 commented 2 months ago

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).

klein0r commented 2 months ago

Sounds complicated and how is this done?

Google: Git for beginners

This is not related to GitHub or a remote server - that is optional and not required