feature/SQlite #1

Merged
ProfessionalUwU merged 14 commits from feature/SQlite into main 2023-06-26 18:22:28 +02:00

Major changes on how chksum works

SQLite

Why a database?

Having a database allows me to do a lot of things I couldn't do before.
I can save a lot more information without needing to write custom decoders for the files.

Why SQLite and not something else?

I choose SQLite because I already worked with it before and therefore already knew how to integrate it.
It is also portable so you can back it up like you would a normal file.

# Major changes on how chksum works ## SQLite ### Why a database? Having a database allows me to do a lot of things I couldn't do before. I can save a lot more information without needing to write custom decoders for the files. ### Why SQLite and not something else? I choose SQLite because I already worked with it before and therefore already knew how to integrate it. It is also portable so you can back it up like you would a normal file.
ProfessionalUwU added the
Kind/Feature
Kind/Enhancement
Kind/Breaking
labels 2023-06-26 17:59:42 +02:00
AustrianToast was assigned by ProfessionalUwU 2023-06-26 17:59:42 +02:00
ProfessionalUwU added 13 commits 2023-06-26 17:59:43 +02:00
Now using an SQlite database to store the file hash plus a bunch of other information
Converted to new project structure
Check if db already exists
Add vacuum for db cleanup
Check if filehash already exits and write info to console
If the file moved the path will be updated
Embed the library into the executable and extract at runtime
Cleanup after executing the program
removed unused methods
changed output of methods
ProfessionalUwU requested review from AustrianToast 2023-06-26 18:00:12 +02:00
ProfessionalUwU added 1 commit 2023-06-26 18:20:57 +02:00
ProfessionalUwU merged commit bc42dd542a into main 2023-06-26 18:22:28 +02:00
ProfessionalUwU removed review request for AustrianToast 2023-06-26 18:22:43 +02:00
ProfessionalUwU deleted branch feature/SQlite 2023-06-26 18:22:46 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ProfessionalUwU/chksum#1
No description provided.