소스 검색

Add Debian packaging

debian
Matt Baer 5 년 전
부모
커밋
44049df0b1
8개의 변경된 파일82개의 추가작업 그리고 0개의 파일을 삭제
  1. +9
    -0
      debian/changelog
  2. +1
    -0
      debian/compat
  3. +29
    -0
      debian/control
  4. +32
    -0
      debian/copyright
  5. +2
    -0
      debian/gbp.conf
  6. +4
    -0
      debian/rules
  7. +1
    -0
      debian/source/format
  8. +4
    -0
      debian/watch

+ 9
- 0
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 <hello@write.as> Sun, 19 Nov 2017 09:36:28 -0500

+ 1
- 0
debian/compat 파일 보기

@@ -0,0 +1 @@
10

+ 29
- 0
debian/control 파일 보기

@@ -0,0 +1,29 @@
Source: writeas-cli
Section: utils
Priority: optional
Maintainer: Matt Baer <hello@write.as>
Uploaders: Matt Baer <hello@write.as>
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.

+ 32
- 0
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 <hello@write.as>
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.


+ 2
- 0
debian/gbp.conf 파일 보기

@@ -0,0 +1,2 @@
[DEFAULT]
pristine-tar = True

+ 4
- 0
debian/rules 파일 보기

@@ -0,0 +1,4 @@
#!/usr/bin/make -f

%:
dh $@ --buildsystem=golang --with=golang

+ 1
- 0
debian/source/format 파일 보기

@@ -0,0 +1 @@
3.0 (quilt)

+ 4
- 0
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

불러오는 중...
취소
저장