Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit ef39ce2

Browse files
authored
Add PECL/PEAR release format package.xml (#10)
* Add PECL/PEAR release format package.xml * gitignore any packaged extension tarballs. * Add common.php file to pecl release package. Fixes #12
1 parent 4d32c6f commit ef39ce2

2 files changed

Lines changed: 111 additions & 0 deletions

File tree

ext/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ missing
2222
mkinstalldirs
2323
modules/
2424
run-tests.php
25+
opencensus*.tgz

ext/package.xml

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<package packagerversion="1.9.5" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
3+
<name>opencensus</name>
4+
<channel>pecl.php.net</channel>
5+
<summary>A stats collection and distributed tracing framework</summary>
6+
<description>OpenCensus is a open source, distributed tracing system that allows you to collect latency data and report it to any trace aggregation system such as Zipkin or Stackdriver Trace.
7+
8+
This extension allows you to easily gather latency and other metadata by watching for targeted function and method invocations without needing to inject code into the libraries.</description>
9+
<lead>
10+
<name>Jeff Ching</name>
11+
<user>chingor</user>
12+
<email>chingor@google.com</email>
13+
<active>yes</active>
14+
</lead>
15+
<date>2017-08-14</date>
16+
<time>16:47:07</time>
17+
<version>
18+
<release>0.0.1</release>
19+
<api>0.0.1</api>
20+
</version>
21+
<stability>
22+
<release>devel</release>
23+
<api>devel</api>
24+
</stability>
25+
<license>Apache 2.0</license>
26+
<notes>
27+
- Initial release
28+
</notes>
29+
<contents>
30+
<dir baseinstalldir="/" name="/">
31+
<file baseinstalldir="/" name="config.m4" role="src" />
32+
<file baseinstalldir="/" name="config.w32" role="src" />
33+
<file baseinstalldir="/" name="opencensus_trace_context.c" role="src" />
34+
<file baseinstalldir="/" name="opencensus_trace_context.h" role="src" />
35+
<file baseinstalldir="/" name="opencensus_trace_span.c" role="src" />
36+
<file baseinstalldir="/" name="opencensus_trace_span.h" role="src" />
37+
<file baseinstalldir="/" name="opencensus_trace.c" role="src" />
38+
<file baseinstalldir="/" name="opencensus_trace.h" role="src" />
39+
<file baseinstalldir="/" name="php_opencensus.h" role="src" />
40+
41+
<file name="README.md" role="doc" />
42+
<file name="LICENSE" role="doc" />
43+
44+
<dir name="tests">
45+
<file name="common.php" role="test" />
46+
<file name="basic_class_function.phpt" role="test" />
47+
<file name="basic_context.phpt" role="test" />
48+
<file name="basic_function.phpt" role="test" />
49+
<file name="basic_method.phpt" role="test" />
50+
<file name="clear_traces.phpt" role="test" />
51+
<file name="closure_exeception.phpt" role="test" />
52+
<file name="closure_exeception2.phpt" role="test" />
53+
<file name="context_class.phpt" role="test" />
54+
<file name="function_callback.phpt" role="test" />
55+
<file name="function_callback_arguments.phpt" role="test" />
56+
<file name="function_callback_extra_arguments.phpt" role="test" />
57+
<file name="function_callback_wrong_return.phpt" role="test" />
58+
<file name="function_custom.phpt" role="test" />
59+
<file name="inherit_context.phpt" role="test" />
60+
<file name="labels.phpt" role="test" />
61+
<file name="manual_spans.phpt" role="test" />
62+
<file name="manual_spans_default_options.phpt" role="test" />
63+
<file name="many_spans_test.phpt" role="test" />
64+
<file name="method_callback.phpt" role="test" />
65+
<file name="method_callback_arguments.phpt" role="test" />
66+
<file name="method_callback_scope.phpt" role="test" />
67+
<file name="method_custom.phpt" role="test" />
68+
<file name="nested_spans.phpt" role="test" />
69+
<file name="non-string-labels-function-callback.phpt" role="test" />
70+
<file name="non-string-labels-function.phpt" role="test" />
71+
<file name="non-string-labels-method-callback.phpt" role="test" />
72+
<file name="non-string-labels-method.phpt" role="test" />
73+
<file name="non-string-labels.phpt" role="test" />
74+
<file name="span_class.phpt" role="test" />
75+
<file name="static_method_callback_scope.phpt" role="test" />
76+
<file name="static_method_test.phpt" role="test" />
77+
<file name="trace_context.phpt" role="test" />
78+
</dir>
79+
</dir>
80+
</contents>
81+
<dependencies>
82+
<required>
83+
<php>
84+
<min>7.0.0</min>
85+
</php>
86+
<pearinstaller>
87+
<min>1.4.0</min>
88+
</pearinstaller>
89+
</required>
90+
</dependencies>
91+
<providesextension>opencensus</providesextension>
92+
<extsrcrelease />
93+
<changelog>
94+
<release>
95+
<version>
96+
<release>0.0.1</release>
97+
<api>0.0.1</api>
98+
</version>
99+
<stability>
100+
<release>devel</release>
101+
<api>devel</api>
102+
</stability>
103+
<date>2017-08-14</date>
104+
<license>Apache 2.0</license>
105+
<notes>
106+
First dev release
107+
</notes>
108+
</release>
109+
</changelog>
110+
</package>

0 commit comments

Comments
 (0)