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

Add Versioning #13

Open
wernerkrauss opened this issue Nov 12, 2014 · 4 comments
Open

Add Versioning #13

wernerkrauss opened this issue Nov 12, 2014 · 4 comments

Comments

@wernerkrauss
Copy link

How about adding versioning of the blocks? Could be complicated with many_many and nested blocks though.

@thomasbnielsen
Copy link
Owner

Hi @wernerkrauss - i must admit that versioning is quite low on my list.
It's not something that i really require and it's complicated and will take time away from other stuff that i really wan't to have in this module.
I'm not happy with the current state of the module, have a lot of changes planned but no time - to much work.
I wan't to "tag" the module, so i can work on a new and improved version, do you have any info on how this is done? Do i just create a branch with some version number? and then keep working on master?

@wernerkrauss
Copy link
Author

just create a tag for a commit, see http://git-scm.com/book/en/v2/Git-Basics-Tagging

e.g. git tag 0.0.1 which creates a version for packagist - nothing special or complicated ;)

@thomasbnielsen
Copy link
Owner

ok thank you :-)

@wernerkrauss
Copy link
Author

The easiest (but maybe a bit hacky) would be:

  • create versions of blocks
  • store an (recoursive) array of current blocks with versions in a hidden field of the Page.

We'd also need an "update all related pages" function when we have reused blocks.

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

2 participants