pawelmalak / snippet-box

Snippet Box is a simple self-hosted app for organizing your code snippets. It allows you to easily create, edit, browse and manage your snippets in various languages.
MIT License
970 stars 81 forks source link

Feature Request: Basic Version Control #24

Closed BadCo-NZ closed 1 year ago

BadCo-NZ commented 2 years ago

Hi, Snippet-Box looks like a great alternative to self-hosting a git repo for managing my docker compose files. However, it is missing versioning or version control.

I have no idea how this could be implemented, but it could be as simple as adding a "Version" field in the editor? This would mean multiple snippets for one compose file though.

Great work so far on Snippet-Box and Flame! :+1: :+1: :+1:

pawelmalak commented 2 years ago

You mean like edit history within the app?

BadCo-NZ commented 2 years ago

You mean like edit history within the app?

Yeah, something along those lines.

So if I make a breaking change in a compose file, I can roll back to the last working version.

BadCo-NZ commented 1 year ago

I have moved to a self hosted git repo, Gitea!