thrift.git
3 years agoMerge thrift (0.16.0-4) import into refs/heads/workingbranch
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
Merge thrift (0.16.0-4) import into refs/heads/workingbranch

3 years ago[PATCH] THRIFT-5449: Use poll instead of select in Python TNonblockingServer if avail...
Yiyang Zhou [Wed, 4 Aug 2021 13:55:04 +0000 (21:55 +0800)]
[PATCH] THRIFT-5449: Use poll instead of select in Python TNonblockingServer if available Client: Python

Gbp-Pq: Name THRIFT-5449.patch

3 years ago[PATCH] fix Out Of Memory when use TNonblockingServer
shangxu [Fri, 13 Nov 2020 10:03:01 +0000 (18:03 +0800)]
[PATCH] fix Out Of Memory when use TNonblockingServer

Gbp-Pq: Name fix_out_of_memory.patch

3 years agoGo mod can't be specified
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
Go mod can't be specified

Forwarded: no
Last-Update: 2022-04-01

Just delete those from Go invocation.

Gbp-Pq: Name go_no_mod.patch

3 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.16.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name missing_go_test.patch

3 years agorun simple Go test only
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
run simple Go test only

Last-Update: 2022-04-01

Race testing is available on amd64, ppc64le and arm64 only.

Gbp-Pq: Name no_go_race.patch

3 years agodisable locale specific tests
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
disable locale specific tests

Forwarded: no
Last-Update: 2022-03-31

On buildd network locales might not be available.

Gbp-Pq: Name disable_locale_tests.patch

3 years agoPHP tests are not phpunit 8 compatible
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
PHP tests are not phpunit 8 compatible

Last-Update: 2019-09-22

Disable those for now.

Gbp-Pq: Name disable_php_testing.patch

3 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.12.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name no_composer_install.patch

3 years agowait a second after go serve socket
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
wait a second after go serve socket

Last-Update: 2021-09-26

Multiple upstream wait time by hundred.

Gbp-Pq: Name go_test_fail_on_busy_machine.patch

3 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
disable failing tests

Last-Update: 2022-04-01

SSL and security tests don't work on buildd machines. Other tests that seem
to be incompatible with newer GLib versions.

Gbp-Pq: Name disable_failing_tests.patch

3 years agodon't test servers that need shmem
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
don't test servers that need shmem

Last-Update: 2017-09-11

As buildd's don't have shmem enabled / mounted, tests would fail.

Gbp-Pq: Name no_shmem.patch

3 years agoDisable TLS v1.0 and TLS v1.1 connection tests
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
Disable TLS v1.0 and TLS v1.1 connection tests

Bug-Debian: https://bugs.debian.org/859128
Last-Update: 2021-09-26

TLS v1.0 and TLS v1.1 protocols are disabled as of OpenSSL 1.1.0f-4, see:
https://packages.qa.debian.org/o/openssl/news/20170806T233554Z.html

Gbp-Pq: Name disable_TLSv1_0_and_TLSv1_1.patch

3 years agothese fail in chroot environments
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
these fail in chroot environments

Last-Update: 2021-09-26

Gbp-Pq: Name broken_boost_1.62.patch

3 years agodo not use bundler as per Ruby policy
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
do not use bundler as per Ruby policy

Bug-Debian: https://bugs.debian.org/804668
Last-Update: 2019-10-23

Gbp-Pq: Name no_bundler_use.patch

3 years agonode is called nodejs in Debian
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
node is called nodejs in Debian

Last-Update: 2019-10-23

Use the proper binary name.

Gbp-Pq: Name node_is_nodejs.patch

3 years agothrift (0.16.0-4) unstable; urgency=medium
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
thrift (0.16.0-4) unstable; urgency=medium

  * Specify libs as section for libthrift-0.16.0 .
  * Backport upstream fix for out of memory when use TNonblockingServer.
  * Backport upstream fix THRIFT-5449: use poll instead of select in Python
    TNonblockingServer if available.

[dgit import unpatched thrift 0.16.0-4]

3 years agoImport thrift_0.16.0-4.debian.tar.xz
Laszlo Boszormenyi (GCS) [Tue, 26 Apr 2022 15:14:22 +0000 (16:14 +0100)]
Import thrift_0.16.0-4.debian.tar.xz

[dgit import tarball thrift 0.16.0-4 thrift_0.16.0-4.debian.tar.xz]

3 years agoMerge thrift (0.16.0-3) import into refs/heads/workingbranch
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
Merge thrift (0.16.0-3) import into refs/heads/workingbranch

3 years agoGo mod can't be specified
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
Go mod can't be specified

Forwarded: no
Last-Update: 2022-04-01

Just delete those from Go invocation.

Gbp-Pq: Name go_no_mod.patch

3 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.16.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name missing_go_test.patch

3 years agorun simple Go test only
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
run simple Go test only

Last-Update: 2022-04-01

Race testing is available on amd64, ppc64le and arm64 only.

Gbp-Pq: Name no_go_race.patch

3 years agodisable locale specific tests
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
disable locale specific tests

Forwarded: no
Last-Update: 2022-03-31

On buildd network locales might not be available.

Gbp-Pq: Name disable_locale_tests.patch

3 years agoPHP tests are not phpunit 8 compatible
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
PHP tests are not phpunit 8 compatible

Last-Update: 2019-09-22

Disable those for now.

Gbp-Pq: Name disable_php_testing.patch

3 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.12.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name no_composer_install.patch

3 years agowait a second after go serve socket
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
wait a second after go serve socket

Last-Update: 2021-09-26

Multiple upstream wait time by hundred.

Gbp-Pq: Name go_test_fail_on_busy_machine.patch

3 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
disable failing tests

Last-Update: 2022-04-01

SSL and security tests don't work on buildd machines. Other tests that seem
to be incompatible with newer GLib versions.

Gbp-Pq: Name disable_failing_tests.patch

3 years agodon't test servers that need shmem
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
don't test servers that need shmem

Last-Update: 2017-09-11

As buildd's don't have shmem enabled / mounted, tests would fail.

Gbp-Pq: Name no_shmem.patch

3 years agoDisable TLS v1.0 and TLS v1.1 connection tests
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
Disable TLS v1.0 and TLS v1.1 connection tests

Bug-Debian: https://bugs.debian.org/859128
Last-Update: 2021-09-26

TLS v1.0 and TLS v1.1 protocols are disabled as of OpenSSL 1.1.0f-4, see:
https://packages.qa.debian.org/o/openssl/news/20170806T233554Z.html

Gbp-Pq: Name disable_TLSv1_0_and_TLSv1_1.patch

3 years agothese fail in chroot environments
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
these fail in chroot environments

Last-Update: 2021-09-26

Gbp-Pq: Name broken_boost_1.62.patch

3 years agodo not use bundler as per Ruby policy
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
do not use bundler as per Ruby policy

Bug-Debian: https://bugs.debian.org/804668
Last-Update: 2019-10-23

Gbp-Pq: Name no_bundler_use.patch

3 years agonode is called nodejs in Debian
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
node is called nodejs in Debian

Last-Update: 2019-10-23

Use the proper binary name.

Gbp-Pq: Name node_is_nodejs.patch

3 years agothrift (0.16.0-3) unstable; urgency=medium
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
thrift (0.16.0-3) unstable; urgency=medium

  * Upload to Sid.
  * This release contains fix for Python 3.10 (closes: #1008810).

[dgit import unpatched thrift 0.16.0-3]

3 years agoImport thrift_0.16.0-3.debian.tar.xz
Laszlo Boszormenyi (GCS) [Tue, 19 Apr 2022 15:08:21 +0000 (16:08 +0100)]
Import thrift_0.16.0-3.debian.tar.xz

[dgit import tarball thrift 0.16.0-3 thrift_0.16.0-3.debian.tar.xz]

3 years agoImport thrift_0.16.0.orig.tar.gz
Laszlo Boszormenyi (GCS) [Sun, 27 Mar 2022 23:34:46 +0000 (00:34 +0100)]
Import thrift_0.16.0.orig.tar.gz

[dgit import orig thrift_0.16.0.orig.tar.gz]

4 years agoMerge thrift (0.13.0-7) import into refs/heads/workingbranch
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
Merge thrift (0.13.0-7) import into refs/heads/workingbranch

4 years ago[PATCH] THRIFT-5318: Update PHP thrift_protocol extension for PHP 8 Client: php Patch...
Tyler Christensen [Wed, 2 Dec 2020 00:13:29 +0000 (17:13 -0700)]
[PATCH] THRIFT-5318: Update PHP thrift_protocol extension for PHP 8 Client: php Patch: Tyler Christensen & Rasmus Lerdorf

This closes #2288

See https://github.com/php/php-src/blob/PHP-8.0.0/UPGRADING.INTERNALS

Origin: backport, https://github.com/apache/thrift/commit/b04e39a7e91d7828cce916
Reviewed-By: Lucas Kanashiro <kanashiro@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/thrift/+bug/1940473
Bug: https://issues.apache.org/jira/projects/THRIFT/issues/THRIFT-5318?filter=allissues
Last-Updated: 2021-08-18

Gbp-Pq: Name THRIFT-5318_support_php8.patch

4 years ago[PATCH] THRIFT-5322: Guard against large string/binary lengths in Go
Yuxuan 'fishy' Wang [Thu, 10 Dec 2020 22:42:37 +0000 (14:42 -0800)]
[PATCH] THRIFT-5322: Guard against large string/binary lengths in Go

Client: go

In TBinaryProtocol.ReadString, TBinaryProtocol.ReadBinary,
TCompactProtocol.ReadString, and TCompactProtocol.ReadBinary, use
safeReadBytes to prevent from large allocation on malformed sizes.

    $ go test -bench=SafeReadBytes -benchmem
    BenchmarkSafeReadBytes/normal-12                  625057              1789 ns/op            2176 B/op          5 allocs/op
    BenchmarkSafeReadBytes/max-askedSize-12           545271              2236 ns/op           14464 B/op          7 allocs/op
    PASS

Gbp-Pq: Name THRIFT-5322.patch

4 years ago[PATCH] THRIFT-5270: Fix wrong int to string conversions
Yuxuan 'fishy' Wang [Sat, 29 Aug 2020 00:20:31 +0000 (17:20 -0700)]
[PATCH] THRIFT-5270: Fix wrong int to string conversions

Client: go

Starting from go 1.15, go test starts to complain about wrongly used int
to string conversions:

    ./field.go:58:83: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./numeric.go:72:12: conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./json_protocol_test.go:612:92: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./simple_json_protocol_test.go:685:96: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)

json_protocol_test and simple_json_protocol_test usages are actually
already in format arg so just remove the conversion is good enough.
field is no longer used anywhere so just removed it (there's one line of
commented out code in compact_protocol so remove that line as well). The
one in numeric.go is actually a bug. We didn't set sValue correctly in
NewNumericFromI64 and NewNumericFromI32 functions.

Gbp-Pq: Name Fix_wrong_int_to_string_conversions.patch

4 years agofix tests FTBFS with atomic link
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
fix tests FTBFS with atomic link

Forwarded: no
Last-Update: 2019-12-08

On armel and at least mipsel needs atomic to link with.

Gbp-Pq: Name link_tests_atomic.patch

4 years agodon't try missing NewMockThriftTest test
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
don't try missing NewMockThriftTest test

Last-Update: 2019-11-30

Upstream doesn't ship NewMockThriftTest hence don't try to use it.

Gbp-Pq: Name missing_go_test.patch

4 years agoput back files used for testing
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
put back files used for testing

Last-Update: 2019-10-23

Needs for testing and while present up to 0.12.0 and in Git, missed from
the source of 0.13.0 release.

Gbp-Pq: Name add_missing_test_files.patch

4 years agodon't use gradlew in any way
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
don't use gradlew in any way

Last-Update: 2019-10-23

Not enabled for compilation, but clean would like to use it anyway.

Gbp-Pq: Name no_gradlew.patch

4 years agorun simple Go test only
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
run simple Go test only

Last-Update: 2019-10-05

Race testing is available on amd64, ppc64le and arm64 only.

Gbp-Pq: Name no_go_race.patch

4 years agoPHP tests are not phpunit 8 compatible
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
PHP tests are not phpunit 8 compatible

Last-Update: 2019-09-22

Disable those for now.

Gbp-Pq: Name disable_php_testing.patch

4 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.12.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name no_composer_install.patch

4 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
disable failing tests

Last-Update: 2019-10-05

Gbp-Pq: Name disable_failing_tests.patch

4 years agodon't test servers that need shmem
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
don't test servers that need shmem

Last-Update: 2017-09-11

As buildd's don't have shmem enabled / mounted, tests would fail.

Gbp-Pq: Name no_shmem.patch

4 years agoDisable TLS v1.0 and TLS v1.1 connection tests
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
Disable TLS v1.0 and TLS v1.1 connection tests

Bug-Debian: https://bugs.debian.org/859128
Last-Update: 2017-09-10

TLS v1.0 and TLS v1.1 protocols are disabled as of OpenSSL 1.1.0f-4, see:
https://packages.qa.debian.org/o/openssl/news/20170806T233554Z.html

Gbp-Pq: Name disable_TLSv1_0_and_TLSv1_1.patch

4 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
<short summary of the patch>

Last-Update: 2019-01-09

Gbp-Pq: Name broken_boost_1.62.patch

4 years agogolang dependencies already installed as build dependency
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
golang dependencies already installed as build dependency

Forwarded: no
Last-Update: 2019-12-01

Gbp-Pq: Name golang_dependency_installed.patch

4 years agodo not use bundler as per Ruby policy
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
do not use bundler as per Ruby policy

Bug-Debian: https://bugs.debian.org/804668
Last-Update: 2019-10-23

Gbp-Pq: Name no_bundler_use.patch

4 years agonode is called nodejs in Debian
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
node is called nodejs in Debian

Last-Update: 2019-10-23

Use the proper binary name.

Gbp-Pq: Name node_is_nodejs.patch

4 years agothrift (0.13.0-7) unstable; urgency=medium
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
thrift (0.13.0-7) unstable; urgency=medium

  * Remove python3-thrift-dbg package (closes: #994384).
  * Update Standards-Version to 4.6.0 .
  * Sync with Ubuntu.

  [ Lucas Kanashiro <kanashiro@ubuntu.com> ]
  * d/p/THRIFT-5318_support_php8.patch: Backport upstream patch to add support
    for PHP 8 (LP: #1940473).
  * d/rules: export GO111MODULE=off, this will make go.mod file not mandatory.

[dgit import unpatched thrift 0.13.0-7]

4 years agoImport thrift_0.13.0-7.debian.tar.xz
Laszlo Boszormenyi (GCS) [Fri, 24 Sep 2021 15:18:04 +0000 (16:18 +0100)]
Import thrift_0.13.0-7.debian.tar.xz

[dgit import tarball thrift 0.13.0-7 thrift_0.13.0-7.debian.tar.xz]

4 years agoMerge thrift (0.13.0-6) import into refs/heads/workingbranch
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
Merge thrift (0.13.0-6) import into refs/heads/workingbranch

4 years ago[PATCH] THRIFT-5322: Guard against large string/binary lengths in Go
Yuxuan 'fishy' Wang [Thu, 10 Dec 2020 22:42:37 +0000 (14:42 -0800)]
[PATCH] THRIFT-5322: Guard against large string/binary lengths in Go

Client: go

In TBinaryProtocol.ReadString, TBinaryProtocol.ReadBinary,
TCompactProtocol.ReadString, and TCompactProtocol.ReadBinary, use
safeReadBytes to prevent from large allocation on malformed sizes.

    $ go test -bench=SafeReadBytes -benchmem
    BenchmarkSafeReadBytes/normal-12                  625057              1789 ns/op            2176 B/op          5 allocs/op
    BenchmarkSafeReadBytes/max-askedSize-12           545271              2236 ns/op           14464 B/op          7 allocs/op
    PASS

Gbp-Pq: Name THRIFT-5322.patch

4 years ago[PATCH] THRIFT-5270: Fix wrong int to string conversions
Yuxuan 'fishy' Wang [Sat, 29 Aug 2020 00:20:31 +0000 (17:20 -0700)]
[PATCH] THRIFT-5270: Fix wrong int to string conversions

Client: go

Starting from go 1.15, go test starts to complain about wrongly used int
to string conversions:

    ./field.go:58:83: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./numeric.go:72:12: conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./json_protocol_test.go:612:92: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./simple_json_protocol_test.go:685:96: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)

json_protocol_test and simple_json_protocol_test usages are actually
already in format arg so just remove the conversion is good enough.
field is no longer used anywhere so just removed it (there's one line of
commented out code in compact_protocol so remove that line as well). The
one in numeric.go is actually a bug. We didn't set sValue correctly in
NewNumericFromI64 and NewNumericFromI32 functions.

Gbp-Pq: Name Fix_wrong_int_to_string_conversions.patch

4 years agofix tests FTBFS with atomic link
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
fix tests FTBFS with atomic link

Forwarded: no
Last-Update: 2019-12-08

On armel and at least mipsel needs atomic to link with.

Gbp-Pq: Name link_tests_atomic.patch

4 years agodon't try missing NewMockThriftTest test
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
don't try missing NewMockThriftTest test

Last-Update: 2019-11-30

Upstream doesn't ship NewMockThriftTest hence don't try to use it.

Gbp-Pq: Name missing_go_test.patch

4 years agoput back files used for testing
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
put back files used for testing

Last-Update: 2019-10-23

Needs for testing and while present up to 0.12.0 and in Git, missed from
the source of 0.13.0 release.

Gbp-Pq: Name add_missing_test_files.patch

4 years agodon't use gradlew in any way
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
don't use gradlew in any way

Last-Update: 2019-10-23

Not enabled for compilation, but clean would like to use it anyway.

Gbp-Pq: Name no_gradlew.patch

4 years agorun simple Go test only
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
run simple Go test only

Last-Update: 2019-10-05

Race testing is available on amd64, ppc64le and arm64 only.

Gbp-Pq: Name no_go_race.patch

4 years agoPHP tests are not phpunit 8 compatible
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
PHP tests are not phpunit 8 compatible

Last-Update: 2019-09-22

Disable those for now.

Gbp-Pq: Name disable_php_testing.patch

4 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.12.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name no_composer_install.patch

4 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
disable failing tests

Last-Update: 2019-10-05

Gbp-Pq: Name disable_failing_tests.patch

4 years agodon't test servers that need shmem
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
don't test servers that need shmem

Last-Update: 2017-09-11

As buildd's don't have shmem enabled / mounted, tests would fail.

Gbp-Pq: Name no_shmem.patch

4 years agoDisable TLS v1.0 and TLS v1.1 connection tests
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
Disable TLS v1.0 and TLS v1.1 connection tests

Bug-Debian: https://bugs.debian.org/859128
Last-Update: 2017-09-10

TLS v1.0 and TLS v1.1 protocols are disabled as of OpenSSL 1.1.0f-4, see:
https://packages.qa.debian.org/o/openssl/news/20170806T233554Z.html

Gbp-Pq: Name disable_TLSv1_0_and_TLSv1_1.patch

4 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
<short summary of the patch>

Last-Update: 2019-01-09

Gbp-Pq: Name broken_boost_1.62.patch

4 years agogolang dependencies already installed as build dependency
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
golang dependencies already installed as build dependency

Forwarded: no
Last-Update: 2019-12-01

Gbp-Pq: Name golang_dependency_installed.patch

4 years agodo not use bundler as per Ruby policy
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
do not use bundler as per Ruby policy

Bug-Debian: https://bugs.debian.org/804668
Last-Update: 2019-10-23

Gbp-Pq: Name no_bundler_use.patch

4 years agonode is called nodejs in Debian
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
node is called nodejs in Debian

Last-Update: 2019-10-23

Use the proper binary name.

Gbp-Pq: Name node_is_nodejs.patch

4 years agothrift (0.13.0-6) unstable; urgency=medium
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
thrift (0.13.0-6) unstable; urgency=medium

  * Backport upstream fix for THRIFT-5322: Go compact_protocol allocating
    unreasonable buffer size.

[dgit import unpatched thrift 0.13.0-6]

4 years agoImport thrift_0.13.0-6.debian.tar.xz
Laszlo Boszormenyi (GCS) [Sun, 14 Feb 2021 18:50:04 +0000 (18:50 +0000)]
Import thrift_0.13.0-6.debian.tar.xz

[dgit import tarball thrift 0.13.0-6 thrift_0.13.0-6.debian.tar.xz]

5 years agoMerge thrift (0.13.0-5) import into refs/heads/workingbranch
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
Merge thrift (0.13.0-5) import into refs/heads/workingbranch

5 years ago[PATCH] THRIFT-5270: Fix wrong int to string conversions
Yuxuan 'fishy' Wang [Sat, 29 Aug 2020 00:20:31 +0000 (17:20 -0700)]
[PATCH] THRIFT-5270: Fix wrong int to string conversions

Client: go

Starting from go 1.15, go test starts to complain about wrongly used int
to string conversions:

    ./field.go:58:83: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./numeric.go:72:12: conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./json_protocol_test.go:612:92: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./simple_json_protocol_test.go:685:96: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)

json_protocol_test and simple_json_protocol_test usages are actually
already in format arg so just remove the conversion is good enough.
field is no longer used anywhere so just removed it (there's one line of
commented out code in compact_protocol so remove that line as well). The
one in numeric.go is actually a bug. We didn't set sValue correctly in
NewNumericFromI64 and NewNumericFromI32 functions.

Gbp-Pq: Name Fix_wrong_int_to_string_conversions.patch

5 years agofix tests FTBFS with atomic link
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
fix tests FTBFS with atomic link

Forwarded: no
Last-Update: 2019-12-08

On armel and at least mipsel needs atomic to link with.

Gbp-Pq: Name link_tests_atomic.patch

5 years agodon't try missing NewMockThriftTest test
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
don't try missing NewMockThriftTest test

Last-Update: 2019-11-30

Upstream doesn't ship NewMockThriftTest hence don't try to use it.

Gbp-Pq: Name missing_go_test.patch

5 years agoput back files used for testing
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
put back files used for testing

Last-Update: 2019-10-23

Needs for testing and while present up to 0.12.0 and in Git, missed from
the source of 0.13.0 release.

Gbp-Pq: Name add_missing_test_files.patch

5 years agodon't use gradlew in any way
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
don't use gradlew in any way

Last-Update: 2019-10-23

Not enabled for compilation, but clean would like to use it anyway.

Gbp-Pq: Name no_gradlew.patch

5 years agorun simple Go test only
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
run simple Go test only

Last-Update: 2019-10-05

Race testing is available on amd64, ppc64le and arm64 only.

Gbp-Pq: Name no_go_race.patch

5 years agoPHP tests are not phpunit 8 compatible
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
PHP tests are not phpunit 8 compatible

Last-Update: 2019-09-22

Disable those for now.

Gbp-Pq: Name disable_php_testing.patch

5 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.12.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name no_composer_install.patch

5 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
disable failing tests

Last-Update: 2019-10-05

Gbp-Pq: Name disable_failing_tests.patch

5 years agodon't test servers that need shmem
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
don't test servers that need shmem

Last-Update: 2017-09-11

As buildd's don't have shmem enabled / mounted, tests would fail.

Gbp-Pq: Name no_shmem.patch

5 years agoDisable TLS v1.0 and TLS v1.1 connection tests
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
Disable TLS v1.0 and TLS v1.1 connection tests

Bug-Debian: https://bugs.debian.org/859128
Last-Update: 2017-09-10

TLS v1.0 and TLS v1.1 protocols are disabled as of OpenSSL 1.1.0f-4, see:
https://packages.qa.debian.org/o/openssl/news/20170806T233554Z.html

Gbp-Pq: Name disable_TLSv1_0_and_TLSv1_1.patch

5 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
<short summary of the patch>

Last-Update: 2019-01-09

Gbp-Pq: Name broken_boost_1.62.patch

5 years agogolang dependencies already installed as build dependency
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
golang dependencies already installed as build dependency

Forwarded: no
Last-Update: 2019-12-01

Gbp-Pq: Name golang_dependency_installed.patch

5 years agodo not use bundler as per Ruby policy
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
do not use bundler as per Ruby policy

Bug-Debian: https://bugs.debian.org/804668
Last-Update: 2019-10-23

Gbp-Pq: Name no_bundler_use.patch

5 years agonode is called nodejs in Debian
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
node is called nodejs in Debian

Last-Update: 2019-10-23

Use the proper binary name.

Gbp-Pq: Name node_is_nodejs.patch

5 years agothrift (0.13.0-5) unstable; urgency=medium
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
thrift (0.13.0-5) unstable; urgency=medium

  * Update Standards-Version to 4.5.0 .

  [ Adrian Bunk <bunk@debian.org> ]
  * Link with libatomic on ARMel and MIPSel (closes: #972948).

[dgit import unpatched thrift 0.13.0-5]

5 years agoImport thrift_0.13.0-5.debian.tar.xz
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
Import thrift_0.13.0-5.debian.tar.xz

[dgit import tarball thrift 0.13.0-5 thrift_0.13.0-5.debian.tar.xz]

6 years agoImport thrift_0.13.0.orig.tar.gz
Laszlo Boszormenyi (GCS) [Sun, 1 Dec 2019 10:46:55 +0000 (10:46 +0000)]
Import thrift_0.13.0.orig.tar.gz

[dgit import orig thrift_0.13.0.orig.tar.gz]

6 years ago[PATCH] Thrift-4647: Node.js Filesever webroot fixed path
jfarrell [Fri, 5 Oct 2018 03:00:28 +0000 (23:00 -0400)]
[PATCH] Thrift-4647: Node.js Filesever webroot fixed path

Updates the node.js fileserver to have a fixed based webroot which can
not be escaped by end users.

Gbp-Pq: Name CVE-2018-11798_Node.js_Filesever_webroot_fixed_path.patch

6 years agowait a second after go serve socket
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
wait a second after go serve socket

Last-Update: 2018-09-23

Multiple upstream wait time by hundred.

Gbp-Pq: Name go_test_fail_on_busy_machine.patch

6 years agoadd Boost::Atomic to link with
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
add Boost::Atomic to link with

Last-Update: 2018-09-23

Some architectures need this explicitly.

Gbp-Pq: Name fix_boost_atomic_link.patch

6 years agodisable noexist namespace
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
disable noexist namespace

Last-Update: 2018-09-22

It doesn't give a warning, but fails to test.

Gbp-Pq: Name disable_noexist_namespace.patch

6 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
disable failing tests

Last-Update: 2018-09-23

These fail in chroots or uses deprecated (and removed) Python interfaces.
Some may not, but amd64 or other 64 bit arch only.

Gbp-Pq: Name disable_failing_tests.patch

6 years ago[PATCH] THRIFT-4516: Fix "go vet" warnings for Go 1.10
D. Can Celasun [Thu, 15 Mar 2018 11:52:37 +0000 (12:52 +0100)]
[PATCH] THRIFT-4516: Fix "go vet" warnings for Go 1.10

Client: go

Gbp-Pq: Name golang_1.10_fix.patch

6 years agofix PHPUnit 6+ extend format
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
fix PHPUnit 6+ extend format

Last-Update: 2018-09-20

Subclassed TestCase.

Gbp-Pq: Name PHPUnit6_fix.patch