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

Database/integration #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

s-raza
Copy link

@s-raza s-raza commented Jul 21, 2019

Database integration in Sublert, through SQLAlchemy.

Using the SQLAlchemy ORM will enable using most kinds of databases with sublert. I have tested with Postgresql, MySQL and Sqlite without any problems.

Requesting feedback and any further suggestions before the Database/integration branch is merged with the base.

Thanks!

@yassineaboukir
Copy link
Owner

Hi,

I'll review it as soon as I can. I appreciate your contribution!

Thank you.

@nemec
Copy link

nemec commented Aug 1, 2019

Should this be configured to use SQLite by default? Not everyone will have a postgres database and it would let less-technical users get up and running quickly. Maybe even add an import function to load their old domains.txt files into the new database for users that are upgrading.

@s-raza
Copy link
Author

s-raza commented Aug 1, 2019 via email

@yassineaboukir
Copy link
Owner

Hi,

I reviewed and tested it. This looks pretty solid, a bit of changes required but nothing major. I'll work on pushing it this weekend.

Thank you!

@yassineaboukir yassineaboukir added the enhancement New feature or request label Oct 25, 2019
@s-raza
Copy link
Author

s-raza commented Oct 26, 2019

Hey man, cheers!. Let me know if anything is needed from my side.

I have made a couple of more commits since last pull request to you, for minor changes like consolidating the newly found domains into a single message, option to specify the DB engine to use, defaulting to sqlite if no DB engine is specified, etc

You can check the branches and commits in my github, if all seems ok to you, I can send pull requests for these.

@s-raza
Copy link
Author

s-raza commented Apr 1, 2022

@yassineaboukir just a quick (and a quite belated) reminder.

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

Successfully merging this pull request may close these issues.

3 participants