summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:39:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:39:33 +0000
commit03396a4cc0dce6081211cbebf73c6518f8dfc3e9 (patch)
treed877b343c21223bbcd6d2a292bd674a1d7d64e1b /debian
parentAdding upstream version 1.26.1. (diff)
downloadmycli-debian.tar.xz
mycli-debian.zip
Adding debian version 1.26.1-3.debian/1.26.1-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/TODO8
-rw-r--r--debian/changelog228
-rw-r--r--debian/control33
-rw-r--r--debian/copyright39
-rw-r--r--debian/manpages/mycli.173
-rw-r--r--debian/mycli.manpages1
-rwxr-xr-xdebian/rules14
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
9 files changed, 400 insertions, 0 deletions
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..2da6581
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,8 @@
+TODO
+====
+
+ * check/verify/extend options in manpage for current upstream version.
+ * upstream manpage.
+ * create bash-completion and upstream it.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 08 Feb 2021 12:55:51 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..014534b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,228 @@
+mycli (1.26.1-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.6.2.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 30 Jan 2023 17:40:52 +0100
+
+mycli (1.26.1-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Adding manual depends to sqlglot.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 25 Sep 2022 09:58:08 +0200
+
+mycli (1.26.1-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.26.1.
+ * Updating to standards version 4.6.1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 07 Sep 2022 11:39:13 +0200
+
+mycli (1.25.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.25.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 06 Apr 2022 06:33:25 +0200
+
+mycli (1.24.4-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.24.4.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 01 Apr 2022 06:07:10 +0200
+
+mycli (1.24.3-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.24.3.
+ * Updating upstream copyright for 2022.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 22 Jan 2022 20:30:43 +0100
+
+mycli (1.24.2-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.24.2.
+ * Updating packaging copyright for 2022.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 14 Jan 2022 15:45:34 +0100
+
+mycli (1.24.1-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.6.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 09 Oct 2021 10:34:45 +0200
+
+mycli (1.24.1-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 15 Aug 2021 17:41:58 +0200
+
+mycli (1.24.1-1) experimental; urgency=medium
+
+ * Uploading to experimental.
+ * Merging upstream version 1.24.1.
+ * Updating python debhelper sequence.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 08 Mar 2021 07:41:15 +0100
+
+mycli (1.23.2-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Removing testsuite field, no tests yet in the package.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 27 Feb 2021 17:30:01 +0100
+
+mycli (1.23.2-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Adding myself as maintainer, thanks Lennart.
+ * Updating vcs fields.
+ * Updating to debhelper version 13.
+ * Updating to standards version 4.5.1.
+ * Updating homepage field.
+ * Dropping versions from depends fulfilled by buster.
+ * Updating package descriptions.
+ * Updating and harmonizing copyright file.
+ * Removing gbp.conf.
+ * Updating watch file.
+ * Removing vendorizing patch for cli-helpers and depending on it directly, now
+ that it's in debian.
+ * Switching rules to use unchanged pybuild since we're using cli-helpers now.
+ * Moving manpage to subdirectory within debian sources.
+ * Reformating, harmonizing and updating manpage.
+ * Wrap-and-sorting debian directory.
+ * Avoid shipping some useless files.
+ * Removing some automatically detected python depends.
+ * Manually sorting fields in control.
+ * Adding rules-requires-root field.
+ * Repeating section per binary package in control for consistency reasons.
+ * Adding TODO file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 08 Feb 2021 13:13:51 +0100
+
+mycli (1.23.2-0.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * New upstream release:
+ - compatibility with sqlparse 4 (Closes: #981237)
+ * Refreshing 0001-rename-cli-so-it-can-be-moved-to-usr-share-mycli.patch.
+ * Refreshing 0002-vendorized-cli_helpers.patch.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 30 Jan 2021 07:31:06 +0100
+
+mycli (1.22.2-0.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * New upstream release (Closes: #966385):
+ - compatibility with prompt-toolkit 3 (Closes: #960463)
+ * Refreshing 0001-rename-cli-so-it-can-be-moved-to-usr-share-mycli.patch.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 08 Aug 2020 17:41:43 +0200
+
+mycli (1.21.1-1) unstable; urgency=medium
+
+ * New upstream version
+ * Fixes incompatibility with prompt_toolkit 3.0
+
+ -- Lennart Weller <lhw@ring0.de> Fri, 08 May 2020 10:52:00 +0200
+
+mycli (1.20.1-4) unstable; urgency=medium
+
+ * Fix for wrong path in vendorized package (Closes: #949753)
+
+ -- Lennart Weller <lhw@ring0.de> Wed, 12 Feb 2020 16:16:05 +0100
+
+mycli (1.20.1-3) unstable; urgency=medium
+
+ * Fix patch that dropped sqlparse dependency (Closes: #949596)
+
+ -- Lennart Weller <lhw@ring0.de> Wed, 22 Jan 2020 17:40:08 +0100
+
+mycli (1.20.1-2) unstable; urgency=medium
+
+ * pkg-resources hard dependency for minimal systems (Closes: #940037)
+
+ -- Lennart Weller <lhw@ring0.de> Tue, 14 Jan 2020 11:30:20 +0100
+
+mycli (1.20.1-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #917965)
+ * New debian Standards-Version 4.4.1
+
+ -- Lennart Weller <lhw@ring0.de> Mon, 13 Jan 2020 00:26:17 +0100
+
+mycli (1.16.0-1) unstable; urgency=medium
+
+ * New upstream release
+ * Vendorized cli_helpers library
+
+ -- Lennart Weller <lhw@ring0.de> Tue, 15 May 2018 10:24:48 +0200
+
+mycli (1.9.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Lennart Weller <lhw@ring0.de> Thu, 23 Mar 2017 14:06:55 +0100
+
+mycli (1.8.1-2) unstable; urgency=medium
+
+ * Added pkg-ressources as dependency (Closes: #849545)
+
+ -- Lennart Weller <lhw@ring0.de> Wed, 11 Jan 2017 12:32:47 +0100
+
+mycli (1.8.1-1) unstable; urgency=medium
+
+ * New upstream release
+ * Updated package dependencies
+
+ -- Lennart Weller <lhw@ring0.de> Tue, 15 Nov 2016 15:39:36 +0100
+
+mycli (1.7.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Updated package dependencies
+
+ -- Lennart Weller <lhw@ring0.de> Fri, 01 Jul 2016 12:30:36 +0200
+
+mycli (1.6.0-1) unstable; urgency=low
+
+ * New upstream release
+ * Removed old patches
+ * Switched from git-dpm to gbp again
+ * New debian standards version 3.9.8
+ * Added patch from upstream to support reverse cli search
+ * Added manpage
+
+ -- Lennart Weller <lhw@ring0.de> Wed, 04 May 2016 11:20:31 +0200
+
+mycli (1.5.2-4) unstable; urgency=medium
+
+ * Updated prompt_toolkit dependency to 0.57
+
+ -- Lennart Weller <lhw@ring0.de> Tue, 19 Jan 2016 14:36:51 +0100
+
+mycli (1.5.2-3) unstable; urgency=medium
+
+ * Fixed orig.tar reference
+ * Added git-buildpackage pristine-tar as default option
+
+ -- Lennart Weller <lhw@ring0.de> Mon, 30 Nov 2015 09:22:07 +0100
+
+mycli (1.5.2-2) unstable; urgency=medium
+
+ * Patch mycli to work with prompt_toolkit >= 0.51 (Closes: #806415)
+
+ -- Lennart Weller <lhw@ring0.de> Fri, 27 Nov 2015 14:22:26 +0100
+
+mycli (1.5.2-1) unstable; urgency=low
+
+ * Initial relase (Closes: #794251)
+
+ -- Lennart Weller <lhw@ring0.de> Fri, 31 Jul 2015 18:33:48 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..74a5599
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: mycli
+Section: database
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Uploaders:
+ Lennart Weller <lhw@ring0.de>,
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-python3,
+ python3,
+ python3-setuptools,
+Rules-Requires-Root: no
+Standards-Version: 4.6.2
+Homepage: https://www.mycli.net
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/mycli
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/mycli
+
+Package: mycli
+Section: database
+Architecture: all
+Depends:
+ python3-cli-helpers,
+ python3-pkg-resources,
+ python3-prompt-toolkit (>= 2.0),
+ python3-sqlglot,
+ python3-sqlparse (>= 0.4),
+ python3-tabulate,
+ python3-terminaltables,
+ ${misc:Depends},
+ ${python3:Depends},
+Description: CLI for MySQL/MariaDB with auto-completion and syntax highlighting
+ mycli is a command line interface for MySQL/MariaDB with auto-completion and
+ syntax highlighting. It is also capable of pretty printing tabular data.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5e8e28d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,39 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mycli
+Upstream-Contact: Amjith Ramanujam <amjith.r@gmail.com>
+Source: https://www.mycli.net
+
+Files: *
+Copyright: 2015-2022 Amjith Ramanujam <amjith.r@gmail.com>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2015-2020 Lennart Weller <lhw@ring0.de>
+ 2021-2022 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ * Neither the name of dbcli nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/manpages/mycli.1 b/debian/manpages/mycli.1
new file mode 100644
index 0000000..fcf0bb5
--- /dev/null
+++ b/debian/manpages/mycli.1
@@ -0,0 +1,73 @@
+.TH "MYCLI" "1" "2.23.2" "mycli" "DBCLI"
+
+.SH NAME
+mycli \- CLI for MySQL/MariaDB with auto-completion and syntax highlighting
+
+.SH SYNOPSIS
+\fBmycli\fR [\fIOPTIONS\fR] [\fIDATABASE\fR]
+
+.SH DESCRIPTION
+mycli is a command line interface for MySQL/MariaDB with auto-completion and
+syntax highlighting. It is also capable of pretty printing tabular data.
+
+.SH OPTIONS
+.IP "\-h|\-\-host \fITEXT\fR" 4
+Host address of the database.
+
+.IP "\-P|\-\-port \fIINTEGER\fR" 4
+Port number to use for connection. Honors $MYSQL_TCP_PORT.
+
+.IP "\-u|\-\-user \fITEXT\fR" 4
+User name to connect to the database.
+
+.IP "\-S|\-\-socket \fITEXT\fR" 4
+The socket file to use for connection.
+
+.IP "\-p|\-\-password|\-\-pass \fITEXT\fR" 4
+Password to connect to the database.
+
+.IP "\-v|\-\-version" 4
+Version of mycli.
+
+.IP "\-D|\-\-database \fITEXT\fR" 4
+Database to use.
+
+.IP "\-R|\-\-prompt \fITEXT\fR" 4
+Prompt format (Default: "\\t \\u@\\h:\\d> ").
+
+.IP "\-l|\-\-logfile \fIFILENAME\fR" 4
+Log every query and its results to a file.
+
+.IP "\-\-defaults\-group\-suffix \fITEXT\fR" 4
+Read config group with the specified suffix.
+
+.IP "\-\-defaults\-file \fIPATH\fR" 4
+Only read default options from the given file.
+
+.IP "\-\-login-path \fITEXT\fR" 4
+Read this path from the login file.
+
+.IP "\-\-help" 4
+Shows the help message and exit.
+
+.SH EXAMPLES
+$ mycli my_database
+.TP
+$ mycli -u my_user -h my_host.com my_database
+.TP
+$ mycli mysql://my_user@my_host.com:3306/my_database
+
+.SH SEE ALSO
+litecli(1)
+.TP
+pgcli(1)
+.TP
+iredis(1)
+
+.SH HOMEPAGE
+More information about mycli and the DBCLI project can be found on the homepage at https://www.mycli.net and https://www.dbcli.com.
+
+.SH AUTHORS
+mycli was written by Amjith Ramanujam <amjith.r@gmail.com>.
+.TP
+This manual page was written by Lennart Weller <lhw@ring0.de>, for the Debian project (but may be used by others).
diff --git a/debian/mycli.manpages b/debian/mycli.manpages
new file mode 100644
index 0000000..2fb19fb
--- /dev/null
+++ b/debian/mycli.manpages
@@ -0,0 +1 @@
+debian/manpages/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1a5b985
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=mycli
+
+%:
+ dh ${@} --buildsystem=pybuild
+
+execute_after_dh_auto_install:
+ # removing useless files
+ rm -f debian/mycli/usr/lib/python3/dist-packages/mycli/AUTHORS
+ rm -f debian/mycli/usr/lib/python3/dist-packages/mycli/SPONSORS
+
+override_dh_auto_test:
+ # disabled, doesn't work yet
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3b23916
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/mycli-$1\.tar\.gz/ \
+https://github.com/dbcli/mycli/tags .*/v?(\d\S+)\.tar\.gz