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

Allow to select file to seed #19

Open
Kazimir42 opened this issue Jun 18, 2023 · 1 comment
Open

Allow to select file to seed #19

Kazimir42 opened this issue Jun 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Kazimir42
Copy link

in some branch on dolibarr the seeder file isn't "mysqldump_dolibarr_%%BRANCHNAME%%.sql" like the develop branch who use the v17 seeder file "mysqldump_dolibarr_17.0.0.sql"

so --seed not working on branch develop for example

@creekorful
Copy link
Member

Yes indeed, what we can do is add a new variable.

DOLIBARR_MIGRATE_VERSION.

If this variable is set we will checkout the specific version and run the MySQL dump file.

For example we can specify to checkout 16.0 branch and run associated 16.0 seeder and then checkout back to $DOLIBARR_VERSION.

@creekorful creekorful added the enhancement New feature or request label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants