Codebase list golang-github-alecthomas-jsonschema / 68b702e
Initial packaging Lucca Braga Godoy Mendonça 3 years ago
10 changed file(s) with 118 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 golang-github-alecthomas-jsonschema (0.0~git20201125.9f2cfef-1) unstable; urgency=medium
1
2 * Initial release (Closes: #975653)
3
4 -- Lucca Braga Godoy Mendonça <lucca.mendonca@gmail.com> Fri, 27 Nov 2020 14:47:54 -0300
0 Source: golang-github-alecthomas-jsonschema
1 Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
2 Uploaders: Marcelo Jorge Vieira <metal@debian.org>,
3 Lucca Braga Godoy Mendonça <lucca.mendonca@gmail.com>
4 Section: golang
5 Testsuite: autopkgtest-pkg-go
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 dh-golang,
9 golang-any,
10 golang-github-iancoleman-orderedmap-dev,
11 golang-github-stretchr-testify-dev
12 Standards-Version: 4.5.0
13 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-alecthomas-jsonschema
14 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-alecthomas-jsonschema.git
15 Homepage: https://github.com/alecthomas/jsonschema
16 Rules-Requires-Root: no
17 XS-Go-Import-Path: github.com/alecthomas/jsonschema
18
19 Package: golang-github-alecthomas-jsonschema-dev
20 Architecture: all
21 Depends: golang-github-iancoleman-orderedmap-dev,
22 golang-github-stretchr-testify-dev,
23 ${misc:Depends}
24 Description: Generate JSON Schemas from Go types (library)
25 This package generates JSON Schemas from Go types through reflection.
26 .
27 It supports:
28 * Arbitrarily complex types, including interface{}, maps, slices, etc.
29 * Json-schema features such as minLength, maxLength, pattern, format, etc.
30 * Simple string and numeric enums.
31 * Custom property fields via the jsonschema_extras struct tag.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: jsonschema
2 Upstream-Contact: Alec Thomas <alec@swapoff.org>
3 Source: https://github.com/alecthomas/jsonschema
4
5 Files: *
6 Copyright: 2014, Alec Thomas <alec@swapoff.org>
7 License: Expat
8
9 Files: debian/*
10 Copyright: 2020, Lucca Braga Godoy Mendonça <lucca.mendonca@gmail.com>
11 License: Expat
12 Comment: Debian packaging is licensed under the same terms as upstream
13
14 License: Expat
15 Permission is hereby granted, free of charge, to any person obtaining a copy of
16 this software and associated documentation files (the "Software"), to deal in
17 the Software without restriction, including without limitation the rights to
18 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
19 of the Software, and to permit persons to whom the Software is furnished to do
20 so, subject to the following conditions:
21 .
22 The above copyright notice and this permission notice shall be included in all
23 copies or substantial portions of the Software.
24 .
25 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31 SOFTWARE.
0 README.md
0 [DEFAULT]
1 debian-branch = debian/sid
2 dist = DEP14
0 # auto-generated, DO NOT MODIFY.
1 # The authoritative copy of this file lives at:
2 # https://salsa.debian.org/go-team/ci/blob/master/config/gitlabciyml.go
3
4 image: stapelberg/ci2
5
6 test_the_archive:
7 artifacts:
8 paths:
9 - before-applying-commit.json
10 - after-applying-commit.json
11 script:
12 # Create an overlay to discard writes to /srv/gopath/src after the build:
13 - "rm -rf /cache/overlay/{upper,work}"
14 - "mkdir -p /cache/overlay/{upper,work}"
15 - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src"
16 - "export GOPATH=/srv/gopath"
17 - "export GOCACHE=/cache/go"
18 # Build the world as-is:
19 - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json"
20 # Copy this package into the overlay:
21 - "GBP_CONF_FILES=:debian/gbp.conf gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-ignore-new --git-export-dir=/tmp/export --git-no-overlay --git-tarball-dir=/nonexistant --git-cleaner=/bin/true --git-builder='dpkg-buildpackage -S -d --no-sign'"
22 - "pgt-gopath -dsc /tmp/export/*.dsc"
23 # Rebuild the world:
24 - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json"
25 - "ci-diff before-applying-commit.json after-applying-commit.json"
0 #!/usr/bin/make -f
1
2 # Copy the extra fixtures folder
3 export DH_GOLANG_INSTALL_EXTRA := fixtures
4 # Excludes the built-in license in favor of copyright
5 export DH_GOLANG_EXCLUDES := COPYING \.gitignore
6
7 %:
8 dh $@ --builddirectory=_build --buildsystem=golang --with=golang
0 3.0 (quilt)
0 ---
1 Bug-Database: https://github.com/alecthomas/jsonschema/issues
2 Bug-Submit: https://github.com/alecthomas/jsonschema/issues/new
3 Repository: https://github.com/alecthomas/jsonschema.git
4 Repository-Browse: https://github.com/alecthomas/jsonschema
0 version=4
1 opts="mode=git, pgpmode=none" \
2 https://github.com/alecthomas/jsonschema.git \
3 HEAD debian