summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2023-05-16 15:10:37 +0200
committerAndrej Shadura <andrewsh@debian.org>2023-05-18 11:11:07 +0200
commit860ba2f476968f9b4660d0dbd83d6059d09326b0 (patch)
treecfb9054d21c3177410f10e8e01c68b809f3461f7
parentd31a0342e0dffd54eb6d06c9c44e63b1cd8368b7 (diff)
Initial packaging
-rw-r--r--debian/changelog5
-rw-r--r--debian/control54
-rw-r--r--debian/copyright32
-rw-r--r--debian/gbp.conf3
-rw-r--r--debian/gitlab-ci.yml6
-rw-r--r--debian/golang-github-mightyguava-jl-dev.install1
-rw-r--r--debian/jl.install1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch4
11 files changed, 116 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..83ebed8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+golang-github-mightyguava-jl (0.1.0-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #1036169)
+
+ -- Andrej Shadura <andrewsh@debian.org> Tue, 16 May 2023 15:10:42 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9afb409
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: golang-github-mightyguava-jl
+Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
+Uploaders:
+ Andrej Shadura <andrewsh@debian.org>,
+Section: golang
+Testsuite: autopkgtest-pkg-go
+Priority: optional
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-golang,
+ golang-any,
+ golang-github-mattn-go-isatty-dev,
+ golang-github-stretchr-testify-dev,
+Standards-Version: 4.6.0
+Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-mightyguava-jl
+Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-mightyguava-jl.git
+Homepage: https://github.com/mightyguava/jl
+Rules-Requires-Root: no
+XS-Go-Import-Path: github.com/mightyguava/jl
+
+Package: golang-github-mightyguava-jl-dev
+Architecture: all
+Multi-Arch: foreign
+Depends:
+ golang-github-mattn-go-isatty-dev,
+ golang-github-stretchr-testify-dev,
+ ${misc:Depends},
+Description: pretty viewer for JSON logs (library)
+ jl is a parser and formatter for JSON logs, making machine-readable
+ JSON logs human readable again.
+ .
+ jl consumes JSON logs from stdin and writes human-readable logs to stdout.
+ .
+ jl currently supports 2 formatters: compact and logfmt.
+ .
+ This package provides a Go package for jl.
+
+Package: jl
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Built-Using:
+ ${misc:Built-Using},
+Static-Built-Using: ${misc:Static-Built-Using}
+Description: pretty viewer for JSON logs (program)
+ jl is a parser and formatter for JSON logs, making machine-readable
+ JSON logs human readable again.
+ .
+ jl consumes JSON logs from stdin and writes human-readable logs to stdout.
+ .
+ jl currently supports 2 formatters: compact and logfmt.
+ .
+ This package provides the command-line tool itself.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4fba32a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jl
+Upstream-Contact: Yunchi Luo <mightyguava@gmail.com>
+Source: https://github.com/mightyguava/jl
+
+Files: *
+Copyright: 2019—2023 Yunchi Luo
+License: Expat
+
+Files: debian/*
+Copyright: 2023 Andrej Shadura <andrewsh@debian.org>
+License: Expat
+Comment: Debian packaging is licensed under the same terms as upstream
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..fa25e73
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+debian-branch = debian/unstable
+dist = DEP14
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
new file mode 100644
index 0000000..594e14e
--- /dev/null
+++ b/debian/gitlab-ci.yml
@@ -0,0 +1,6 @@
+# auto-generated, DO NOT MODIFY.
+# The authoritative copy of this file lives at:
+# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go
+---
+include:
+ - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml
diff --git a/debian/golang-github-mightyguava-jl-dev.install b/debian/golang-github-mightyguava-jl-dev.install
new file mode 100644
index 0000000..dd222db
--- /dev/null
+++ b/debian/golang-github-mightyguava-jl-dev.install
@@ -0,0 +1 @@
+usr/share
diff --git a/debian/jl.install b/debian/jl.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/jl.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..048286f
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/mightyguava/jl/issues
+Bug-Submit: https://github.com/mightyguava/jl/issues/new
+Repository: https://github.com/mightyguava/jl.git
+Repository-Browse: https://github.com/mightyguava/jl
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bd7d3a2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,\
+ uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/" \
+ https://github.com/mightyguava/jl/tags .*/v?(\d\S*)\.tar\.gz debian