summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Parsons <dparsons@debian.org>2022-11-19 16:32:34 +0100
committerDrew Parsons <dparsons@debian.org>2022-11-19 16:32:34 +0100
commitb41d05ca5f953d8fae0017d6b6961ccc909fdca3 (patch)
tree01cfb567445e747f0defece5bda06a4b7c1b01c5
parentdb1782a351364f17126acf7bae38ac1d8811ee9a (diff)
Initial packaging
-rw-r--r--debian/changelog5
-rw-r--r--debian/control46
-rw-r--r--debian/copyright32
-rw-r--r--debian/gbp.conf3
-rw-r--r--debian/gitlab-ci.yml6
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch4
9 files changed, 106 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f81e058
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+hdfs (2.3.0-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: TODO)
+
+ -- Drew Parsons <dparsons@debian.org> Sat, 19 Nov 2022 16:14:32 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ed9d6cc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: golang-github-colinmarc-hdfs
+Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
+Uploaders: Drew Parsons <dparsons@debian.org>
+Section: golang
+Testsuite: autopkgtest-pkg-go
+Priority: optional
+Build-Depends: debhelper-compat (= 13),
+ dh-golang,
+ golang-any,
+ golang-github-pborman-getopt-dev,
+ golang-github-stretchr-testify-dev,
+ golang-google-protobuf-dev
+Standards-Version: 4.6.0
+Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-colinmarc-hdfs
+Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-colinmarc-hdfs.git
+Homepage: https://github.com/colinmarc/hdfs
+Rules-Requires-Root: no
+XS-Go-Import-Path: github.com/colinmarc/hdfs
+
+Package: hdfs
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Built-Using: ${misc:Built-Using}
+Description: A native go client for HDFS (program)
+ This is a native golang client for hdfs. It connects directly to the
+ namenode using the protocol buffers API.
+
+ This package contains a commandline client for HDFS.
+ Its primary aim is to be idiomatic, by enabling
+ your favorite unix verbs.
+
+Package: golang-github-colinmarc-hdfs-dev
+Architecture: all
+Depends: ${misc:Depends},
+ golang-github-pborman-getopt-dev,
+ golang-github-stretchr-testify-dev,
+ golang-google-protobuf-dev
+Built-Using: ${misc:Built-Using}
+Description: A native go client for HDFS (program)
+ This is a native golang client for hdfs. It connects directly to the
+ namenode using the protocol buffers API.
+ .
+ It tries to be idiomatic by aping the stdlib os package, where possible,
+ and implements the interfaces from it, including os.FileInfo and
+ os.PathError.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7b44f4a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hdfs
+Upstream-Contact: Colin Marc
+Source: https://github.com/colinmarc/hdfs
+
+Files: *
+Copyright: 2014 Colin Marc
+License: Expat
+
+Files: debian/*
+Copyright: 2022 Drew Parsons <dparsons@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..3d450c2
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+debian-branch = debian/sid
+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/rules b/debian/rules
new file mode 100755
index 0000000..44584c3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --builddirectory=_build --buildsystem=golang --with=golang
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..e94811c
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/colinmarc/hdfs/issues
+Bug-Submit: https://github.com/colinmarc/hdfs/issues/new
+Repository: https://github.com/colinmarc/hdfs.git
+Repository-Browse: https://github.com/colinmarc/hdfs
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5092629
--- /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/colinmarc/hdfs/tags .*/v?(\d\S*)\.tar\.gz debian