diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..06d28d8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,9 @@ +writeas-cli (1.0+git20171119.dc1ab5b-1) xenial; urgency=medium + + * All logging and errors go to stderr, not stdout (Closes: #11) + * Verbose logging requires `-v` or `--verbose` flag + * Executable now lives in `cmd/` directory + * All errors exit with status 1 + * Fixed `cli` library deprecation (Closes: #8) + + -- Write.as Sun, 19 Nov 2017 09:36:28 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..61cc087 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: writeas-cli +Section: utils +Priority: optional +Maintainer: Matt Baer +Uploaders: Matt Baer +Build-Depends: debhelper (>= 9), + dh-golang, + golang-any, + golang-github-mitchellh-go-homedir-dev +Standards-Version: 4.1.1 +Homepage: https://write.as/apps/cli +Vcs-Browser: https://github.com/writeas/writeas-cli +Vcs-Git: https://github.com/writeas/writeas-cli +XS-Go-Import-Path: github.com/writeas/writeas-cli +Testsuite: autopkgtest-pkg-go + +Package: writeas-cli +Architecture: any +Built-Using: ${misc:Built-Using} +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: Text publishing utility + The Write.as CLI enables you to publish text to Write.as directly from the + command-line. + . + Write.as is a simple writing and publishing tool that lets you share text on + the web and keep your privacy in the process. There's no sign up required to + use it, and whether you're on the web, a mobile device, or the command-line, + you can start publishing instantly. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1cbabad --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: writeas-cli +Source: https://github.com/writeas/writeas-cli +Files-Excluded: vendor Godeps/_workspace + +Files: * +Copyright: 2018 A Bunch Tell LLC +License: MIT + +License: MIT + The MIT License (MIT) + . + Copyright (c) 2015 Write.as + . + 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..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8cce5e0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --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/watch b/debian/watch new file mode 100644 index 0000000..6f20c89 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/writeas-cli-\$1\.tar\.gz/,\ +uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \ + https://github.com/writeas/writeas-cli/tags .*/v?(\d\S*)\.tar\.gz