From 7b0637a5e44bccf5fab9c563c267836d7b963414 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 12 Dec 2017 07:21:17 +0100 Subject: v0.1.0RC2 --- REFLECTION | 156 ++++++++++++++++++++++++++++++++++++++++------- php-pecl-opencensus.spec | 16 +++-- 2 files changed, 144 insertions(+), 28 deletions(-) diff --git a/REFLECTION b/REFLECTION index 52c247c..251be69 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #115 opencensus version 0.0.4 ] { +Extension [ extension #117 opencensus version 0.1.0RC2 ] { - Functions { Function [ function opencensus_version ] { @@ -40,31 +40,43 @@ Extension [ extension #115 opencensus version 0.0.4 ] { } Function [ function opencensus_trace_context ] { } - Function [ function opencensus_trace_add_label ] { + Function [ function opencensus_trace_add_attribute ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ string $key ] Parameter #1 [ string $value ] + Parameter #2 [ array $options ] } } - Function [ function opencensus_trace_add_root_label ] { + Function [ function opencensus_trace_add_annotation ] { - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ string $value ] + Parameter #0 [ string $description ] + Parameter #1 [ array $options ] + } + } + Function [ function opencensus_trace_add_link ] { + + - Parameters [3] { + Parameter #0 [ string $traceId ] + Parameter #1 [ string $spanId ] + Parameter #2 [ array $options ] + } + } + Function [ function opencensus_trace_add_message_event ] { + + - Parameters [3] { + Parameter #0 [ string $type ] + Parameter #1 [ string $id ] + Parameter #2 [ array $options ] } } } - - Classes [2] { - Class [ class OpenCensus\Trace\Span ] { + - Classes [5] { + Class [ class OpenCensus\Trace\Ext\Span ] { - - Constants [5] { - Constant [ integer SPAN_KIND_UNKNOWN ] { 0 } - Constant [ integer SPAN_KIND_CLIENT ] { 1 } - Constant [ integer SPAN_KIND_SERVER ] { 2 } - Constant [ integer SPAN_KIND_PRODUCER ] { 3 } - Constant [ integer SPAN_KIND_CONSUMER ] { 4 } + - Constants [0] { } - Static properties [0] { @@ -73,18 +85,19 @@ Extension [ extension #115 opencensus version 0.0.4 ] { - Static methods [0] { } - - Properties [8] { + - Properties [9] { Property [ protected $name ] Property [ protected $spanId ] Property [ protected $parentSpanId ] Property [ protected $startTime ] Property [ protected $endTime ] - Property [ protected $kind ] - Property [ protected $labels ] - Property [ protected $backtrace ] + Property [ protected $attributes ] + Property [ protected $stackTrace ] + Property [ protected $links ] + Property [ protected $timeEvents ] } - - Methods [9] { + - Methods [11] { Method [ public method __construct ] { - Parameters [1] { @@ -92,6 +105,9 @@ Extension [ extension #115 opencensus version 0.0.4 ] { } } + Method [ public method __destruct ] { + } + Method [ public method name ] { } @@ -101,7 +117,7 @@ Extension [ extension #115 opencensus version 0.0.4 ] { Method [ public method parentSpanId ] { } - Method [ public method labels ] { + Method [ public method attributes ] { } Method [ public method startTime ] { @@ -110,15 +126,18 @@ Extension [ extension #115 opencensus version 0.0.4 ] { Method [ public method endTime ] { } - Method [ public method backtrace ] { + Method [ public method stackTrace ] { } - Method [ public method kind ] { + Method [ public method links ] { + } + + Method [ public method timeEvents ] { } } } - Class [ class OpenCensus\Trace\Context ] { + Class [ class OpenCensus\Trace\Ext\SpanContext ] { - Constants [0] { } @@ -149,6 +168,97 @@ Extension [ extension #115 opencensus version 0.0.4 ] { } } } + + Class [ class OpenCensus\Trace\Ext\Annotation ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [3] { + Property [ protected $description ] + Property [ protected $time ] + Property [ protected $options ] + } + + - Methods [3] { + Method [ public method description ] { + } + + Method [ public method time ] { + } + + Method [ public method options ] { + } + } + } + + Class [ class OpenCensus\Trace\Ext\Link ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [3] { + Property [ protected $traceId ] + Property [ protected $spanId ] + Property [ protected $options ] + } + + - Methods [3] { + Method [ public method traceId ] { + } + + Method [ public method spanId ] { + } + + Method [ public method options ] { + } + } + } + + Class [ class OpenCensus\Trace\Ext\MessageEvent ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $type ] + Property [ protected $id ] + Property [ protected $time ] + Property [ protected $options ] + } + + - Methods [4] { + Method [ public method type ] { + } + + Method [ public method id ] { + } + + Method [ public method time ] { + } + + Method [ public method options ] { + } + } + } } } diff --git a/php-pecl-opencensus.spec b/php-pecl-opencensus.spec index aac50f7..b6db1dd 100644 --- a/php-pecl-opencensus.spec +++ b/php-pecl-opencensus.spec @@ -20,14 +20,17 @@ %global ini_name 40-%{pecl_name}.ini %endif +%global upstream_version 0.1.0 +%global upstream_prever RC2 + Summary: A stats collection and distributed tracing framework Name: %{?sub_prefix}php-pecl-opencensus -Version: 0.0.4 +Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -81,7 +84,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -qc -mv %{pecl_name}-%{version} NTS +mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS # Don't install/register tests sed -e 's/role="test"/role="src"/' \ @@ -92,8 +95,8 @@ cd NTS # Sanity check, really often broken extver=$(sed -n '/#define PHP_OPENCENSUS_VERSION/{s/.* "//;s/".*$//;p}' php_opencensus.h) -if test "x${extver}" != "x%{version}"; then - : Error: Upstream extension version is ${extver}, expecting %{version}. +if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then + : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}. exit 1 fi cd .. @@ -224,6 +227,9 @@ fi %changelog +* Tue Dec 12 2017 Remi Collet - 0.1.0~RC2-1 +- Update to 0.1.0RC2 (devel) + * Sat Oct 21 2017 Remi Collet - 0.0.4-1 - Update to 0.0.4 (devel) -- cgit