[Pkg-privacy-commits] [Git][pkg-privacy-team/snowflake][debian/sid] 3 commits: Update and add new Build-Depends
Nilesh Patra (@nilesh)
nilesh at debian.org
Mon Oct 6 18:52:53 BST 2025
Nilesh Patra pushed to branch debian/sid at Privacy Maintainers / snowflake
Commits:
7f715fcc by Nilesh Patra at 2025-10-06T22:05:19+05:30
Update and add new Build-Depends
- - - - -
d3b8e269 by Nilesh Patra at 2025-10-06T22:05:50+05:30
symlink new golang-snowflake-dev to older path
- - - - -
40551b4e by Nilesh Patra at 2025-10-06T23:22:25+05:30
[ci skip] Add patch to fixup some tests
- - - - -
4 changed files:
- debian/control
- + debian/golang-snowflake-dev.links
- + debian/patches/0002-fixup-test-compareing-slices.patch
- debian/patches/series
Changes:
=====================================
debian/control
=====================================
@@ -14,6 +14,9 @@ Build-Depends: debhelper-compat (= 13),
golang-github-miekg-dns-dev,
golang-github-prometheus-client-golang-dev,
golang-github-prometheus-client-model-dev,
+ golang-github-realclientip-realclientip-go-dev,
+ golang-github-pion-stun-v3-dev,
+ golang-github-txthinking-socks5-dev,
golang-github-smartystreets-goconvey-dev,
golang-github-stretchr-testify-dev,
golang-github-xtaci-kcp-dev,
@@ -65,6 +68,9 @@ Depends: golang-github-google-uuid-dev,
golang-github-prometheus-client-golang-dev,
golang-github-prometheus-client-model-dev,
golang-github-smartystreets-goconvey-dev,
+ golang-github-realclientip-realclientip-go-dev,
+ golang-github-pion-stun-v3-dev,
+ golang-github-txthinking-socks5-dev,
golang-github-xtaci-kcp-dev,
golang-github-xtaci-smux-dev,
golang-golang-x-crypto-dev,
=====================================
debian/golang-snowflake-dev.links
=====================================
@@ -0,0 +1 @@
+usr/share/gocode/src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2 usr/share/gocode/src/git.torproject.org/pluggable-transports/snowflake.git
=====================================
debian/patches/0002-fixup-test-compareing-slices.patch
=====================================
@@ -0,0 +1,45 @@
+Description: goconvey does not work with ShouldEqual in slices
+ This is mentioned in https://github.com/smartystreets/goconvey/issues/128#issuecomment-33227844 along
+ with a hint to instead use `ShouldResemble`
+Author: Nilesh Patra <nilesh at debian.org>
+Last-Update: 2025-10-06
+--- a/client/lib/rendezvous_test.go
++++ b/client/lib/rendezvous_test.go
+@@ -83,7 +83,7 @@
+ So(err, ShouldBeNil)
+ So(rend.brokerURL, ShouldNotBeNil)
+ So(rend.brokerURL.Host, ShouldResemble, "test.broker")
+- So(rend.fronts, ShouldEqual, []string{})
++ So(rend.fronts, ShouldResemble, []string{})
+ So(rend.transport, ShouldEqual, transport)
+ })
+
+@@ -334,7 +334,7 @@
+
+ answer, err := sqsRendezvous.Exchange(fakeEncPollResp)
+
+- So(answer, ShouldEqual, []byte("answer"))
++ So(answer, ShouldResemble, []byte("answer"))
+ So(err, ShouldBeNil)
+ })
+
+@@ -384,7 +384,7 @@
+
+ answer, err := sqsRendezvous.Exchange(fakeEncPollResp)
+
+- So(answer, ShouldEqual, []byte{})
++ So(answer, ShouldResemble, []byte{})
+ So(err, ShouldBeNil)
+ })
+ })
+--- a/common/util/util_test.go
++++ b/common/util/util_test.go
+@@ -64,7 +64,7 @@
+ "a=candidate:3769337065 1 udp 2122260223 129.97.124.15 56688 typ host\r\n" +
+ "a=candidate:3769337065 1 udp 2122260224 129.97.124.16 56688 typ host\r\n" + offerEnd
+
+- So(GetCandidateAddrs(sdp), ShouldEqual, []net.IP{
++ So(GetCandidateAddrs(sdp), ShouldResemble, []net.IP{
+ net.ParseIP("129.97.124.16"),
+ net.ParseIP("129.97.124.15"),
+ net.ParseIP("8.8.8.8"),
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
0001-Adapt-tests-to-work-with-devian-version-of-goconvey.patch
+0002-fixup-test-compareing-slices.patch
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/snowflake/-/compare/e594bcde56436ac9dc9cc3aeb96eefdbfe4945a0...40551b4eae85ddf82741ba8346719aad0bbd465f
--
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/snowflake/-/compare/e594bcde56436ac9dc9cc3aeb96eefdbfe4945a0...40551b4eae85ddf82741ba8346719aad0bbd465f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-commits/attachments/20251006/66ec8385/attachment-0001.htm>
More information about the Pkg-privacy-commits
mailing list