User login

DBScripts with git-svn and git-gui: notes

Using DBScripts. Notes from watching the master.

set to read only mode
if they do something during dump and restore, it could break dump and restore
so turn off apache for that process -- script for that may be added to dbscripts

in production environments where not even 30 seconds of downtime is acceptable, you have A/B, two sites. [Still use

svn add delete ev

bring into my environment

./dbscripts/merge.php

May or may not be a conflict.

Edited a node, yes a conflict.

Open node.sql in gedit.

Disable text wrapping

When it's all the same ones

then go on with the merge

Now can take a look at it in git-gui

Now using staging.

Stage everything

./scripts/restore_dump

Because I moved everything to stages first, I can see the changes it makes without committing

Allows two degrees of seeing changes.

And then I can just merge them at the same time if I like it.

If I don't like it I can reject the second set of changes.

I really do look at everything and see what I'm committing.

One bit of weirdness, content_type_article.sql seems to have had all its lines taken out

there was an article, it got rid of it. Hence the deletion of the .sql file (the table definition text)

Resolution

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.