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

[enh] Remove date from sql dump #371

Merged
merged 1 commit into from Sep 23, 2017
Merged

Conversation

maniackcrudelis
Copy link
Contributor

@maniackcrudelis maniackcrudelis commented Sep 18, 2017

Problems

Currently, if you make 2 successive dumps, their checksum will be different only because the dump dates are different.
So, you can't compare sql dumps.

Solution

Adding the skip-dump-date option will remove this date in the sql dump.
So, you can make a comparaison between 2 dumps by comparing their checksums.
You keep a date by the timestamp of the file.

PR Status

Tested on my own server with the fallback app.

Validation

  • Principle agreement 2/2 : opi, Aleks
  • Quick review 1/1 : opi
  • Simple test 1/1 : JimboJoe
  • Deep review 1/1 : JimboJoe

Copy link
Contributor

@opi opi left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@alexAubin alexAubin left a comment

Choose a reason for hiding this comment

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

Principle agreement (not tested)

Copy link
Member

@JimboJoe JimboJoe left a comment

Choose a reason for hiding this comment

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

LGTM and tested OK, also in conjunction with #370

@maniackcrudelis maniackcrudelis merged commit 369699f into unstable Sep 23, 2017
@maniackcrudelis maniackcrudelis deleted the SQL-skip-dump-date branch September 23, 2017 19:10
@alexAubin alexAubin added this to the 2.7.x (fixes) or 2.8 milestone Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants