[MediaWiki-commits] [Gerrit] labs/toollabs[ubuntu/precise]: Add man page for sql
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/340010 ) Change subject: Add man page for sql .. Add man page for sql Change-Id: I198b5ad25eaf8bdf99f8056b18e7dea7fa4530de --- M configure.ac M debian/changelog M debian/misctools.manpages M misctools/Makefile.am A misctools/sql.1.in 5 files changed, 49 insertions(+), 2 deletions(-) Approvals: Tim Landscheidt: Looks good to me, approved jenkins-bot: Verified diff --git a/configure.ac b/configure.ac index 1cc660e..5a3b7d5 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,7 @@ misctools/Makefile misctools/become.1 misctools/list-user-databases.1 + misctools/sql.1 src/Makefile src/take.1 tests/Makefile]) diff --git a/debian/changelog b/debian/changelog index 79d7aaa..781345a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,8 +6,9 @@ * Set target distribution to Ubuntu Trusty * Set target distribution for branch ubuntu/precise to Ubuntu Precise * Import sql from operations/puppet + * Add man page for sql - -- Tim LandscheidtSun, 26 Feb 2017 21:27:04 + + -- Tim Landscheidt Sun, 26 Feb 2017 21:34:29 + toollabs (1.18) unstable; urgency=medium diff --git a/debian/misctools.manpages b/debian/misctools.manpages index 52c8ebc..7e2f080 100644 --- a/debian/misctools.manpages +++ b/debian/misctools.manpages @@ -1,3 +1,4 @@ debian/tmp/usr/share/man/man1/become.1 debian/tmp/usr/share/man/man1/list-user-databases.1 +debian/tmp/usr/share/man/man1/sql.1 debian/tmp/usr/share/man/man1/take.1 diff --git a/misctools/Makefile.am b/misctools/Makefile.am index 1d9c38a..b715aa9 100644 --- a/misctools/Makefile.am +++ b/misctools/Makefile.am @@ -1,2 +1,2 @@ -man_MANS = become.1 list-user-databases.1 +man_MANS = become.1 list-user-databases.1 sql.1 bin_SCRIPTS = become list-user-databases setup-tomcat sql diff --git a/misctools/sql.1.in b/misctools/sql.1.in new file mode 100644 index 000..a52ff42 --- /dev/null +++ b/misctools/sql.1.in @@ -0,0 +1,44 @@ +.TH SQL 1 @TOOLLABS_RELEASEDATE@ @PACKAGE_VERSION@ "Wikimedia Labs Tools misctools" +.SH NAME +sql \- connect to database or execute SQL command +.SH SYNOPSIS +.B sql +.I database + +.B sql +.I database +.I statement +.SH DESCRIPTION +.B sql +connects to the named +.I database +with +.BR mysql ; +if an SQL statement is given, it is executed, otherwise an interactive +session is started. + +There are three categories of databases that can be specified by +.IR database : +.IR enwiki_p , +etc. refers to the database for the English Wikipedia, etc. on the +replica servers. +.I local +only works in the form +.B sql local +and connects to the +.I tools-db +server. +.IR meta_p , +not to be confused with +.IR metawiki_p , +refers to the database that contains meta information about Wikimedia wikis (cf. +.RB < https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Database#Metadata_database >). +.SH EXIT STATUS +.B sql +returns the exit status of the spawned +.B mysql +command. +.SH AUTHORS +Petr Bena +.SH SEE ALSO +.BR mysql (1) -- To view, visit https://gerrit.wikimedia.org/r/340010 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I198b5ad25eaf8bdf99f8056b18e7dea7fa4530de Gerrit-PatchSet: 1 Gerrit-Project: labs/toollabs Gerrit-Branch: ubuntu/precise Gerrit-Owner: Tim Landscheidt Gerrit-Reviewer: Tim Landscheidt Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] labs/toollabs[ubuntu/precise]: Add man page for sql
Tim Landscheidt has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/340010 ) Change subject: Add man page for sql .. Add man page for sql Change-Id: I198b5ad25eaf8bdf99f8056b18e7dea7fa4530de --- M configure.ac M debian/changelog M debian/misctools.manpages M misctools/Makefile.am A misctools/sql.1.in 5 files changed, 49 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/labs/toollabs refs/changes/10/340010/1 diff --git a/configure.ac b/configure.ac index 1cc660e..5a3b7d5 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,7 @@ misctools/Makefile misctools/become.1 misctools/list-user-databases.1 + misctools/sql.1 src/Makefile src/take.1 tests/Makefile]) diff --git a/debian/changelog b/debian/changelog index 79d7aaa..781345a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,8 +6,9 @@ * Set target distribution to Ubuntu Trusty * Set target distribution for branch ubuntu/precise to Ubuntu Precise * Import sql from operations/puppet + * Add man page for sql - -- Tim LandscheidtSun, 26 Feb 2017 21:27:04 + + -- Tim Landscheidt Sun, 26 Feb 2017 21:34:29 + toollabs (1.18) unstable; urgency=medium diff --git a/debian/misctools.manpages b/debian/misctools.manpages index 52c8ebc..7e2f080 100644 --- a/debian/misctools.manpages +++ b/debian/misctools.manpages @@ -1,3 +1,4 @@ debian/tmp/usr/share/man/man1/become.1 debian/tmp/usr/share/man/man1/list-user-databases.1 +debian/tmp/usr/share/man/man1/sql.1 debian/tmp/usr/share/man/man1/take.1 diff --git a/misctools/Makefile.am b/misctools/Makefile.am index 1d9c38a..b715aa9 100644 --- a/misctools/Makefile.am +++ b/misctools/Makefile.am @@ -1,2 +1,2 @@ -man_MANS = become.1 list-user-databases.1 +man_MANS = become.1 list-user-databases.1 sql.1 bin_SCRIPTS = become list-user-databases setup-tomcat sql diff --git a/misctools/sql.1.in b/misctools/sql.1.in new file mode 100644 index 000..a52ff42 --- /dev/null +++ b/misctools/sql.1.in @@ -0,0 +1,44 @@ +.TH SQL 1 @TOOLLABS_RELEASEDATE@ @PACKAGE_VERSION@ "Wikimedia Labs Tools misctools" +.SH NAME +sql \- connect to database or execute SQL command +.SH SYNOPSIS +.B sql +.I database + +.B sql +.I database +.I statement +.SH DESCRIPTION +.B sql +connects to the named +.I database +with +.BR mysql ; +if an SQL statement is given, it is executed, otherwise an interactive +session is started. + +There are three categories of databases that can be specified by +.IR database : +.IR enwiki_p , +etc. refers to the database for the English Wikipedia, etc. on the +replica servers. +.I local +only works in the form +.B sql local +and connects to the +.I tools-db +server. +.IR meta_p , +not to be confused with +.IR metawiki_p , +refers to the database that contains meta information about Wikimedia wikis (cf. +.RB < https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Database#Metadata_database >). +.SH EXIT STATUS +.B sql +returns the exit status of the spawned +.B mysql +command. +.SH AUTHORS +Petr Bena +.SH SEE ALSO +.BR mysql (1) -- To view, visit https://gerrit.wikimedia.org/r/340010 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I198b5ad25eaf8bdf99f8056b18e7dea7fa4530de Gerrit-PatchSet: 1 Gerrit-Project: labs/toollabs Gerrit-Branch: ubuntu/precise Gerrit-Owner: Tim Landscheidt ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits