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

Adding a Versioning to the scripts #1460

Open
worksasdesigned opened this issue Dec 14, 2023 · 4 comments
Open

Adding a Versioning to the scripts #1460

worksasdesigned opened this issue Dec 14, 2023 · 4 comments

Comments

@worksasdesigned
Copy link

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
Copy link
Collaborator

klein0r commented Dec 14, 2023

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

@Apollon77
Copy link
Contributor

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

@MichaelSchaaf999
Copy link

MichaelSchaaf999 commented May 6, 2024

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
Copy link
Collaborator

klein0r commented May 6, 2024

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

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

No branches or pull requests

4 participants