Initial commit
Dmitry Smirnov
5 years ago
0 | golang-github-vbatts-go-mtree (0.4.2-1) UNRELEASED; urgency=medium | |
1 | ||
2 | * Initial release (Closes: TODO) | |
3 | ||
4 | -- Dmitry Smirnov <onlyjob@debian.org> Tue, 19 Jun 2018 16:47:54 +1000 |
0 | 11 |
0 | Source: golang-github-vbatts-go-mtree | |
1 | Section: devel | |
2 | Priority: optional | |
3 | Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org> | |
4 | Uploaders: Dmitry Smirnov <onlyjob@debian.org> | |
5 | Build-Depends: debhelper (>= 11~), | |
6 | dh-golang, | |
7 | golang-any, | |
8 | golang-golang-x-crypto-dev, | |
9 | golang-golang-x-sys-dev, | |
10 | golang-github-sirupsen-logrus-dev (>= 1.0.2~) | |
11 | Standards-Version: 4.1.4 | |
12 | Homepage: https://github.com/vbatts/go-mtree | |
13 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-vbatts-go-mtree | |
14 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-vbatts-go-mtree.git | |
15 | XS-Go-Import-Path: github.com/vbatts/go-mtree | |
16 | Testsuite: autopkgtest-pkg-go | |
17 | ||
18 | Package: golang-github-vbatts-go-mtree-dev | |
19 | Architecture: all | |
20 | Depends: ${misc:Depends}, | |
21 | golang-golang-x-crypto-dev, | |
22 | golang-golang-x-sys-dev, | |
23 | golang-github-sirupsen-logrus-dev (>= 1.0.2~) | |
24 | Description: file systems verification library, in likeness of mtree(8) | |
25 | mtree is a filesystem hierarchy validation tooling and format. |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: go-mtree | |
2 | Source: https://github.com/vbatts/go-mtree | |
3 | Files-Excluded: | |
4 | vendor | |
5 | Godeps/_workspace | |
6 | ||
7 | Files: * | |
8 | Copyright: 2016 Vincent Batts | |
9 | License: BSD-3-clause | |
10 | ||
11 | Files: pkg/govis/* | |
12 | Copyright: 2017 SUSE LLC. | |
13 | License: Apache-2.0 | |
14 | ||
15 | Files: debian/* | |
16 | Copyright: 2018 Dmitry Smirnov <onlyjob@debian.org> | |
17 | License: BSD-3-clause or Apache-2.0 | |
18 | ||
19 | License: BSD-3-clause | |
20 | Redistribution and use in source and binary forms, with or without | |
21 | modification, are permitted provided that the following conditions are met: | |
22 | . | |
23 | 1. Redistributions of source code must retain the above copyright notice, this | |
24 | list of conditions and the following disclaimer. | |
25 | . | |
26 | 2. Redistributions in binary form must reproduce the above copyright notice, | |
27 | this list of conditions and the following disclaimer in the documentation | |
28 | and/or other materials provided with the distribution. | |
29 | . | |
30 | 3. Neither the name of the copyright holder nor the names of its contributors | |
31 | may be used to endorse or promote products derived from this software without | |
32 | specific prior written permission. | |
33 | . | |
34 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | |
35 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
36 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
37 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | |
38 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
39 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
40 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
41 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | |
42 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
43 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
44 | ||
45 | License: Apache-2.0 | |
46 | Licensed under the Apache License, Version 2.0 (the "License"); | |
47 | you may not use this file except in compliance with the License. | |
48 | You may obtain a copy of the License at | |
49 | ․ | |
50 | http://www.apache.org/licenses/LICENSE-2.0 | |
51 | ․ | |
52 | Unless required by applicable law or agreed to in writing, software | |
53 | distributed under the License is distributed on an "AS IS" BASIS, | |
54 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
55 | See the License for the specific language governing permissions and | |
56 | limitations under the License. | |
57 | ․ | |
58 | On Debian systems, the complete text of the Apache License, | |
59 | Version 2.0 can be found in "/usr/share/common-licenses/Apache-2.0". |
0 | usr/share/gocode/src/github.com/vbatts/go-mtree/*.go | |
1 | usr/share/gocode/src/github.com/vbatts/go-mtree/pkg | |
2 | usr/share/gocode/src/github.com/vbatts/go-mtree/xattr |
0 | Last-Update: 2018-06-16 | |
1 | Forwarded: needs-forwarding | |
2 | Author: Dmitry Smirnov <onlyjob@debian.org> | |
3 | Description: fix logrus name space. | |
4 | ||
5 | --- a/cmd/gomtree/main.go | |
6 | +++ b/cmd/gomtree/main.go | |
7 | @@ -9,9 +9,9 @@ | |
8 | "io/ioutil" | |
9 | "os" | |
10 | "strings" | |
11 | ||
12 | - "github.com/Sirupsen/logrus" | |
13 | + "github.com/sirupsen/logrus" | |
14 | "github.com/vbatts/go-mtree" | |
15 | ) | |
16 | ||
17 | var ( | |
18 | --- a/tar.go | |
19 | +++ b/tar.go | |
20 | @@ -8,9 +8,9 @@ | |
21 | "os" | |
22 | "path/filepath" | |
23 | "strings" | |
24 | ||
25 | - "github.com/Sirupsen/logrus" | |
26 | + "github.com/sirupsen/logrus" | |
27 | "github.com/vbatts/go-mtree/pkg/govis" | |
28 | ) | |
29 | ||
30 | // Streamer creates a file hierarchy out of a tar stream | |
31 | --- a/update.go | |
32 | +++ b/update.go | |
33 | @@ -4,9 +4,9 @@ | |
34 | "container/heap" | |
35 | "os" | |
36 | "sort" | |
37 | ||
38 | - "github.com/Sirupsen/logrus" | |
39 | + "github.com/sirupsen/logrus" | |
40 | ) | |
41 | ||
42 | // DefaultUpdateKeywords is the default set of keywords that can take updates to the files on disk | |
43 | var DefaultUpdateKeywords = []Keyword{ | |
44 | --- a/update_test.go | |
45 | +++ b/update_test.go | |
46 | @@ -12,9 +12,9 @@ | |
47 | "strconv" | |
48 | "testing" | |
49 | "time" | |
50 | ||
51 | - "github.com/Sirupsen/logrus" | |
52 | + "github.com/sirupsen/logrus" | |
53 | ) | |
54 | ||
55 | func init() { | |
56 | logrus.SetLevel(logrus.DebugLevel) | |
57 | --- a/updatefuncs.go | |
58 | +++ b/updatefuncs.go | |
59 | @@ -6,9 +6,9 @@ | |
60 | "strconv" | |
61 | "strings" | |
62 | "time" | |
63 | ||
64 | - "github.com/Sirupsen/logrus" | |
65 | + "github.com/sirupsen/logrus" | |
66 | "github.com/vbatts/go-mtree/pkg/govis" | |
67 | ) | |
68 | ||
69 | // UpdateKeywordFunc is the signature for a function that will restore a file's |
0 | Last-Update: 2018-06-16 | |
1 | Forwarded: not-needed | |
2 | Author: Dmitry Smirnov <onlyjob@debian.org> | |
3 | Description: skip failing test | |
4 | ~~~~ | |
5 | xattr_test.go:28: xattr.496209704 operation not supported | |
6 | ~~~~ | |
7 | ||
8 | --- a/xattr/xattr_test.go | |
9 | +++ b/xattr/xattr_test.go | |
10 | @@ -9,8 +9,9 @@ | |
11 | "testing" | |
12 | ) | |
13 | ||
14 | func TestXattr(t *testing.T) { | |
15 | +t.Skip("DM - skipping privileged test") | |
16 | testDir, present := os.LookupEnv("MTREE_TESTDIR") | |
17 | if present == false { | |
18 | testDir = "." | |
19 | } |
0 | #!/usr/bin/make -f | |
1 | ||
2 | export DH_GOLANG_EXCLUDES := test testdata cmd | |
3 | export DH_GOLANG_GO_GENERATE := 1 | |
4 | ||
5 | %: | |
6 | dh $@ --buildsystem=golang --with=golang --builddirectory=_build | |
7 | ||
8 | override_dh_auto_install: | |
9 | dh_auto_install --destdir=debian/tmp -- --no-binaries |
0 | 3.0 (quilt) |