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

Merge our projects? #2

Open
deitch opened this issue Feb 1, 2016 · 9 comments
Open

Merge our projects? #2

deitch opened this issue Feb 1, 2016 · 9 comments

Comments

@deitch
Copy link

deitch commented Feb 1, 2016

Hi Iain,

This is great. I have a similar project that backs up MySQL databases, with a few key differences:

  1. Adds timing (how often to back up, when to start)
  2. Adds smb and local filesystem targets
  3. Does not support AWS
  4. Does not support database exclusions

Do you want to merge? Looks like we each got about 50% of it, and someone already has been asking at databacker/mysql-backup#2

@iainmckay
Copy link
Owner

Sorry for the delay, I'm open to the idea. How do you suggest proceeding?

@deitch
Copy link
Author

deitch commented Feb 8, 2016

No worries. Two options: pull yours into mine, or mine into yours, and then merge the project.

@clescot
Copy link

clescot commented Feb 12, 2016

Hi,
the resulting merge would be very useful!
Hope to see the result soon.
best regards,

Charles.

@iainmckay
Copy link
Owner

This isn't an active project for me so I'm happy to merge this in to your project. I can add a note or a redirect from this repo to yours once the merge is complete.

How would you like to share the work?

@deitch
Copy link
Author

deitch commented Feb 14, 2016

I am impressed with how short your entrypoint is, just 88 lines! A big part of what I had to deal with was parsing different URLs to support file, smb, git, etc.

I will take a stab at writing tests, then hand it back and see what happens. I should give you write access to the project... done!

I find writing the tests the hardest, actually. But let's see what we can do.

@iainmckay
Copy link
Owner

Thanks.

The scope of mine was much smaller and I could skip a lot of environment/dependency validation because it was being run from inside a docker container where I could guarantee the existence of all dependencies. This allows for much fewer lines of code :)

Tests are a pain in the ass. Let me see what you come up with and I'll see if I can add anything.

@deitch
Copy link
Author

deitch commented Mar 11, 2016

@lukebarton added S3 support (I think based on yours) to the other one.

You are right, tests were a pain. I ended up using fake-s3 run in a container, then linked the running backup to it and checked the output. Check out https://github.com/deitch/mysql-backup/blob/master/test/test.sh and especially https://github.com/deitch/mysql-backup/blob/master/test/test.sh#L160

What is next to do to merge the functionality?

@lukebarton
Copy link

Having done a review of this project, I can't see any functionality that it offers over @deitch's project except for the exclusions.

@deitch
Copy link
Author

deitch commented Mar 12, 2016

@lukebarton we have been trying to merge them. Love it when people work together.

@iainmckay can you point out the exclusion lines and I will work on merging those?

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

No branches or pull requests

4 participants