Skip to content

Commit

Permalink
Added DB Browser for SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianeicher committed Jun 10, 2020
1 parent 18b9e54 commit 1d40929
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 0 deletions.
Binary file added gui/sqlitebrowser.ico
Binary file not shown.
Binary file added gui/sqlitebrowser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions gui/sqlitebrowser.watch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from urllib import request
import json

data = request.urlopen('https://api.github.com/repos/sqlitebrowser/sqlitebrowser/releases').read().decode('utf-8')
releases = [{
'version': release['tag_name'].strip('v').replace('beta', 'pre'),
'original-version': release['tag_name'].strip('v'),
'stability': 'testing' if release['prerelease'] else 'stable',
'released': release['published_at'][0:10]
} for release in json.loads(data) if not 'alpha' in release['tag_name'] and any(str.endswith(asset['name'], '-win64.zip') for asset in release['assets'])]
89 changes: 89 additions & 0 deletions gui/sqlitebrowser.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?xml version="1.0" ?>
<interface uri="https://apps.0install.net/gui/sqlitebrowser.xml" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://zero-install.sourceforge.net/2004/injector/interface http://0install.de/schema/injector/interface/interface.xsd http://0install.de/schema/desktop-integration/capabilities http://0install.de/schema/desktop-integration/capabilities/capabilities.xsd">
<name>DB Browser for SQLite</name>
<summary>visual tool to create, design, and edit SQLite files</summary>
<description>DB Browser for SQLite (DB4S) is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.</description>
<icon href="https://raw.githubusercontent.com/0install/apps/master/gui/sqlitebrowser.ico" type="image/vnd.microsoft.icon"/>
<icon href="https://raw.githubusercontent.com/0install/apps/master/gui/sqlitebrowser.png" type="image/png"/>
<category>Development</category>
<homepage>https://sqlitebrowser.org/</homepage>

<entry-point binary-name="DB Browser for SQLite" command="run"/>
<entry-point binary-name="DB Browser for SQLCipher" command="cipher">
<name>DB Browser for SQLCipher</name>
</entry-point>
<capabilities xmlns="http://0install.de/schema/desktop-integration/capabilities">
<file-type id="SQLiteDB">
<description xml:lang="en">SQLite database file</description>
<description xml:lang="de">SQLite Datanbankdatei</description>
<verb name="open" args="&quot;%1&quot;"/>
<extension value=".db" mime-type="application/vnd.sqlite3"/>
<extension value=".db3" mime-type="application/vnd.sqlite3"/>
<extension value=".sqlite" mime-type="application/vnd.sqlite3"/>
<extension value=".sqlite3" mime-type="application/vnd.sqlite3"/>
</file-type>
</capabilities>

<package-implementation main="/usr/bin/sqlitebrowser" package="sqlitebrowser"/>

<group license="MPL (Mozilla Public License)">
<command name="run" path="DB Browser for SQLite.exe"/>
<command name="cipher" path="DB Browser for SQLCipher.exe"/>
<implementation arch="Windows-x86_64" id="sha1new=6b4d5a9f97f4ba81190db1cd081d2fb0f1b2e3f5" released="2018-11-27" stability="testing" version="3.11.0-pre1">
<manifest-digest sha256new="AJSTLT3EU7YJNR36M2MZAGTPLUWDHHEFD2GZ7LL5O4EN5CSW5T4A"/>
<archive href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.0-beta1/DB.Browser.for.SQLite-3.11.0-beta1-win64.zip" size="15250284" type="application/zip"/>
</implementation>
<implementation arch="Windows-i486" id="sha1new=bae6817169aae1a1229c387f37ec68dad13c265a" released="2018-11-27" stability="testing" version="3.11.0-pre1">
<manifest-digest sha256new="VP7SNKMAWIPE2FP34CT65UFXLIX2SGFMSM4JSTBGHWHYIZUUAQ6A"/>
<archive href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.0-beta1/DB.Browser.for.SQLite-3.11.0-beta1-win32.zip" size="11452140" type="application/zip"/>
</implementation>
<implementation arch="Windows-x86_64" id="sha1new=42607e792e82176c6f907b4815650a20f21398de" released="2018-12-12" stability="testing" version="3.11.0-pre2">
<manifest-digest sha256new="4WZARJE2YWGTZBU5MKEWT3NC4YG4FAP67QXULWADKKPBC63O62NQ"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.0-beta2/DB.Browser.for.SQLite-3.11.0-beta2-win64.zip" size="17793898" type="application/zip"/>
</implementation>
<implementation arch="Windows-i486" id="sha1new=9a963df4d0b2dbf09334ce6da86b90904efff01e" released="2018-12-12" stability="testing" version="3.11.0-pre2">
<manifest-digest sha256new="REI2QQOILNSRYBCJSBG65JLX6MPQXSI5VYNXRHCOITOV6QVKNVPA"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.0-beta2/DB.Browser.for.SQLite-3.11.0-beta2-win32.zip" size="13672850" type="application/zip"/>
</implementation>
<implementation arch="Windows-x86_64" id="sha1new=cc9147c7da217bacd86dcc896a44813d698dd1d3" released="2018-12-13" stability="testing" version="3.11.0-pre3">
<manifest-digest sha256new="IHX5QIR4SIVECNUEBBZTPAFNJJJW2FXGWWBAJCVVNMTH2XOGXNVA"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.0-beta3/DB.Browser.for.SQLite-3.11.0-beta3-win64.zip" size="17793887" type="application/zip"/>
</implementation>
<implementation arch="Windows-i486" id="sha1new=ba07e4274bc7df452112e3467b9975b7c5060615" released="2018-12-13" stability="testing" version="3.11.0-pre3">
<manifest-digest sha256new="3FE3O2EK4SZCUIN2Z7PRQDC3GZE4GGTAQN7VELIHEYCFRCAN6UQA"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.0-beta3/DB.Browser.for.SQLite-3.11.0-beta3-win32.zip" size="13673079" type="application/zip"/>
</implementation>
<implementation arch="Windows-x86_64" id="sha1new=727f1311e51bbca61a85fc51645c5446300203bb" released="2019-02-07" stability="stable" version="3.11.0">
<manifest-digest sha256new="AFAJTX2UC2IXVMMD35BIX3FU7DMJD6UPUQ7BABFU6LZ44J2LVG6A"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.0/DB.Browser.for.SQLite-3.11.0-win64.zip" size="17977444" type="application/zip"/>
</implementation>
<implementation arch="Windows-i486" id="sha1new=f1ea2200106cabac494c7e5283870a37d24aefad" released="2019-02-07" stability="stable" version="3.11.0">
<manifest-digest sha256new="PIQTSBLJBWPOKYYONCBS2KLK4NMWXFZWFJVUV75SRQX3LPYWNERQ"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.0/DB.Browser.for.SQLite-3.11.0-win32.zip" size="13899200" type="application/zip"/>
</implementation>
<implementation arch="Windows-x86_64" id="sha1new=1bd0c9e396285dca9b717ee5f3d4b8fdee4d57c3" released="2019-02-18" stability="stable" version="3.11.1">
<manifest-digest sha256new="A3KT3ETNYGE3WM6YSSOVGL47233MLO7GK5ELCCZFQLHHTIJI5G3Q"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.1/DB.Browser.for.SQLite-3.11.1-win64.zip" size="18077705" type="application/zip"/>
</implementation>
<implementation arch="Windows-i486" id="sha1new=2a9602146223215acaad9de5782aafc074526ee7" released="2019-02-18" stability="stable" version="3.11.1">
<manifest-digest sha256new="D27E4337YWNHSUMN32KP3VTMRDXTJHWC4UPHNXR6U6XXQASTREFA"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.1/DB.Browser.for.SQLite-3.11.1-win32.zip" size="13973154" type="application/zip"/>
</implementation>
<implementation arch="Windows-x86_64" id="sha1new=19e01f75771303f776fc9e86a0ffb55df55d5707" released="2019-04-03" stability="stable" version="3.11.2">
<manifest-digest sha256new="KSLTOJFTBFXDUGXGX4WVLBU3JFZRAU7XU4L5J62JBTJRMBIWX74A"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.2/DB.Browser.for.SQLite-3.11.2-win64.zip" size="18165346" type="application/zip"/>
</implementation>
<implementation arch="Windows-i486" id="sha1new=d99872d24eba887b492d50eaad9e26d22cdd8266" released="2019-04-03" stability="stable" version="3.11.2">
<manifest-digest sha256new="G6HNSA7QBYYHR72UDVRCLFLRLWKW32NPB2SGEE46J25PXFBXOXEA"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.11.2/DB.Browser.for.SQLite-3.11.2-win32.zip" size="14572891" type="application/zip"/>
</implementation>
<implementation arch="Windows-x86_64" id="sha1new=4c6c60d8e71413d5254ee27bd726bf32c169ca15" released="2020-06-08" stability="testing" version="3.12.0-rc1">
<manifest-digest sha256new="QTRNRAA4LRLQA3XP2BSHD3YJ7TDRP5N4DYPIYEQZ732XCFM2UABQ"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.12.0-rc1/DB.Browser.for.SQLite-3.12.0-rc1-win64.zip" size="20118285" type="application/zip"/>
</implementation>
<implementation arch="Windows-i486" id="sha1new=caaeead23dc4276d8869c6f7410a108fd675b6e3" released="2020-06-08" stability="testing" version="3.12.0-rc1">
<manifest-digest sha256new="J4Y27XV6AQLPY6SJNXBNM4EOKAWCW7576TEP57VDRZZ7PUH2P2UA"/>
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.12.0-rc1/DB.Browser.for.SQLite-3.12.0-rc1-win32.zip" size="17493283" type="application/zip"/>
</implementation>
</group>
</interface>
23 changes: 23 additions & 0 deletions gui/sqlitebrowser.xml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://zero-install.sourceforge.net/2004/injector/interface http://0install.de/schema/injector/interface/interface.xsd http://0install.de/schema/desktop-integration/capabilities http://0install.de/schema/desktop-integration/capabilities/capabilities.xsd">
<name>DB Browser for SQLite</name>
<summary>visual tool to create, design, and edit SQLite files</summary>
<description>DB Browser for SQLite (DB4S) is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.</description>
<icon href="https://raw.githubusercontent.com/0install/apps/master/gui/sqlitebrowser.ico" type="image/vnd.microsoft.icon"/>
<icon href="https://raw.githubusercontent.com/0install/apps/master/gui/sqlitebrowser.png" type="image/png"/>
<category>Development</category>
<homepage>https://sqlitebrowser.org/</homepage>

<feed-for interface="https://apps.0install.net/gui/sqlitebrowser.xml"/>

<group license="MPL (Mozilla Public License)">
<command name="run" path="DB Browser for SQLite.exe"/>
<command name="cipher" path="DB Browser for SQLCipher.exe"/>
<implementation arch="Windows-x86_64" released="{released}" stability="{stability}" version="{version}">
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v{original-version}/DB.Browser.for.SQLite-{original-version}-win64.zip" type="application/zip"/>
</implementation>
<implementation arch="Windows-i486" released="{released}" stability="{stability}" version="{version}">
<archive extract="DB Browser for SQLite" href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v{original-version}/DB.Browser.for.SQLite-{original-version}-win32.zip" type="application/zip"/>
</implementation>
</group>
</interface>

0 comments on commit 1d40929

Please sign in to comment.