Skip to content

Feature: Add sqlite3 support with SQLModel #90

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

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

astrochun
Copy link
Owner

Closes #89

@astrochun astrochun added this to the v0.5.0 milestone Jun 4, 2022
@astrochun astrochun added enhancement New feature or request scripts labels Jun 4, 2022
@astrochun astrochun self-assigned this Jun 4, 2022
@github-actions
Copy link

github-actions bot commented Jun 4, 2022

Coverage report

The coverage rate went from 91% to 85% ⬇️
The branch rate is 71%.

100% of new lines are covered.

@astrochun astrochun force-pushed the feature/89_sqlite branch from 393f413 to 6a74c67 Compare June 15, 2022 01:41
@astrochun astrochun force-pushed the feature/89_sqlite branch 5 times, most recently from 42bf4fc to e471ac8 Compare July 6, 2022 02:30
@astrochun astrochun force-pushed the feature/89_sqlite branch 4 times, most recently from db5cdbc to 7bda06b Compare July 12, 2022 03:08
@astrochun astrochun force-pushed the feature/89_sqlite branch from 9e574fe to b84f79e Compare July 17, 2022 21:44
 - Update Paths model to have optional repository_name field
 - Create data directory for sqlite db if necessary
@astrochun astrochun force-pushed the feature/89_sqlite branch 3 times, most recently from 4e66a63 to 5a753a3 Compare July 20, 2022 03:59
 - Migrate referring data to include date stamp
 - Add query_all() in db module
 - Ensure that dict_df has all tables even if empty
 - Remove data-dir option in make_stats_plots
 - Add column names in stats_plots
 - Add sqlite3 tests_data for some data
 - Update unit tests
 - Fix typo with handling Paths data
 - Additional pragma no cover
 - Add test_engine fixture
 - Use test_engine fixture in stats_plot.load_data
 - Add db.query_referring function
 - Adjust db.migrate_csv to handle Referring data
@astrochun astrochun force-pushed the feature/89_sqlite branch from 704876b to 29f8caa Compare July 22, 2022 02:37
# Conflicts:
#	entrypoint.sh
#	github_stats_pages/stats_plots.py
#	setup.cfg
 - Model fields consistency for clone, referrer
 - Change Referring to Referrer
 - db.migrate_csv: Simplify and handle merged referrer file
 - Add column names in merged_paths.csv
 - Fix sqlite3 test db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Switch from CSV to sqlite3
1 participant