[GH-ISSUE #87] Integration with git for using with CMS. #198

Open
opened 2026-03-07 20:42:04 +03:00 by kerem · 0 comments
Owner

Originally created by @abpprkonsalting on GitHub (Oct 19, 2018).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/87

I've been doing some research in the last days about options for using git with CMSs like Wordpress and Magento. This is because I've been doing a lot of work with this two CMSs, but using hg instead of git and now I want to migrate to this last one.

Usually, with hg I just made a mysql dump file and updated it in the repo, and as hg just save the differences, from commit to commit the increase in payload was small (and that was in the cases when I actually produced the dump file. In many cases, when I just been changing code files and not database, there were not need to saving DB in the commit). But, using git change the picture, because git saves hole objects, so the repo will grow very quickly with each commit.

I've found some references to wordpress plugins that take care of integration with git, but none for magento; and besides I would like to have a solution that will fit any combination of "code + mysql DB", not just for one specific CMS.

Anyway, stumbling around the net I found this solution for diffing DBs, and as far as I can see, with the proper integration through some scripts in git hooks, I think I can manage to construct a suitable system for managing the task. But, there is always a but of course, neither of the people that have been working in this project have ever thought about this? In the case you have done it, and have any kind of implementation of the idea, you could help me having a head start, and in the case you have thought about it but haven't implement it, then, why? Are there any shortcomings or miss-conceptions on the idea?

Originally created by @abpprkonsalting on GitHub (Oct 19, 2018). Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/87 I've been doing some research in the last days about options for using git with CMSs like Wordpress and Magento. This is because I've been doing a lot of work with this two CMSs, but using hg instead of git and now I want to migrate to this last one. Usually, with hg I just made a mysql dump file and updated it in the repo, and as hg just save the differences, from commit to commit the increase in payload was small (and that was in the cases when I actually produced the dump file. In many cases, when I just been changing code files and not database, there were not need to saving DB in the commit). But, using git change the picture, because git saves hole objects, so the repo will grow very quickly with each commit. I've found some references to wordpress plugins that take care of integration with git, but none for magento; and besides I would like to have a solution that will fit any combination of "code + mysql DB", not just for one specific CMS. Anyway, stumbling around the net I found this solution for diffing DBs, and as far as I can see, with the proper integration through some scripts in git hooks, I think I can manage to construct a suitable system for managing the task. But, there is always a but of course, neither of the people that have been working in this project have ever thought about this? In the case you have done it, and have any kind of implementation of the idea, you could help me having a head start, and in the case you have thought about it but haven't implement it, then, why? Are there any shortcomings or miss-conceptions on the idea?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DBDiff#198
No description provided.