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

[DCK] No volume versions #82

Merged
merged 2 commits into from
Nov 2, 2017
Merged

Conversation

yajo
Copy link
Contributor

@yajo yajo commented Sep 21, 2017

This is a breaking change.

The purpose of this feature was that you were able to quickly switch branches in the project by using git, and avoid different branches to share the same volumes, since that can lead to errors in different Odoo versions.

At the end of the day, it turns out that feature was not used. Most version switching happens in devel, where you'd have to re-run setup-devel stuff, which slowed down the devel process too much.

Other version switches happened when running OpenUpgrade among versions, and in these cases we need to share the same volume among versions, so this "feature" was becoming a "bug".

So, finally we decided to drop it. This eases the initial scaffolding setup (less things to change). If we need different versions, it's as easy as having different clones, one on each branch, or switching the env COMPOSE_PROJECT variable.

@yajo
Copy link
Contributor Author

yajo commented Sep 21, 2017

Check out #67 (comment) to avoid retrocompatibility problems.

@pedrobaeza
Copy link
Member

Have you tried this? I tried in one project and there was an error because in some point it requires db numbered volume.

In Docker, isn't there the possibility of renaming existing volumes?

@yajo
Copy link
Contributor Author

yajo commented Sep 21, 2017

It should be fixed now.

In Docker, isn't there the possibility of renaming existing volumes?

Not AFAIK

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, renaming is still in progress: moby/moby#31154

@yajo yajo merged commit 8489c20 into scaffolding Nov 2, 2017
@yajo yajo deleted the scaffolding-no-volume-versions branch November 2, 2017 09:35
@pedrobaeza
Copy link
Member

This breaking change has been merged, so this should be commented for letting everyone knows about that (merge operations are not sent).

@yajo
Copy link
Contributor Author

yajo commented Nov 3, 2017

Yes, it was advertised at #67 (comment)

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

Successfully merging this pull request may close these issues.

2 participants