sqlitebrowser / dbhub.io

A "Cloud" for SQLite databases. Collaborative development for your data. 😊
https://dbhub.io
GNU Affero General Public License v3.0
371 stars 39 forks source link

Export DBDiff() function #265

Closed justinclift closed 8 months ago

justinclift commented 8 months ago

This change allows DBDiff() to be called from external code, in order to do diffs between two SQLite databases.

I'm personally wanting to call it from the go-dbhub library's (in-progress) new unit tests, as a way to check if an uploaded live database file is the same after being downloaded.

justinclift commented 8 months ago

~I've created a v0.0.15 tag on the merged commit for this in the master branch too, which may help when importing this into external code:~

~https://github.com/sqlitebrowser/dbhub.io/releases/tag/v0.0.15~

Superseded (as below).

MKleusberg commented 8 months ago

Shouldn't that be version v0.1.4 for the tag? We could also push it to v0.2.0 considering that since v0.1.3 Angular has been dropped, Bootstrap has been upgraded by two major releases, and the execute and visualise sites have been rewritten completely.

justinclift commented 8 months ago

Yeah, you're right. I hadn't noticed the v0.1.x series tags, so I've just nuked the v0.0.15 one and created a v0.1.4 tag instead. :sweat_smile:


Hmmm, you're probably right about the substantial changes. I'll nuke the new v0.1.4 tag and create a replacement v0.2.0 tag in a sec... :smile:

justinclift commented 8 months ago

k, done. The exported DBDiff() function is now available from tag v0.2.0 onwards. :smile:

https://github.com/sqlitebrowser/dbhub.io/releases/tag/v0.2.0

MKleusberg commented 8 months ago

Awesome! As far as I understand this should also mean an update on this Go report card page soon-ish.