Skip to content

Commit 499899a

Browse files
author
alrex
authored
remove reference folder (open-telemetry#326)
1 parent b0f7268 commit 499899a

File tree

432 files changed

+1
-63994
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

432 files changed

+1
-63994
lines changed

.coveragerc

-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ omit =
33
*/tests/*
44
*/setup.py
55
*/gen/*
6-
reference/*

.flake8

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ exclude =
1515
.venv*/
1616
venv*/
1717
target
18-
reference/
1918
__pycache__
2019
exporter/opentelemetry-exporter-jaeger/src/opentelemetry/exporter/jaeger/gen/
2120
exporter/opentelemetry-exporter-jaeger/build/*

.isort.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ profile=black
1414
; docs: https://github.com/timothycrosley/isort#multi-line-output-modes
1515
multi_line_output=3
1616
skip=target
17-
skip_glob=**/gen/*,.venv*/*,venv*/*,reference*/*,opentelemetry-python-core/*,.tox/*
17+
skip_glob=**/gen/*,.venv*/*,venv*/*,opentelemetry-python-core/*,.tox/*
1818
known_first_party=opentelemetry
1919
known_third_party=psutil,pytest,redis,redis_opentracing

CONTRIBUTING.md

-32
Original file line numberDiff line numberDiff line change
@@ -160,35 +160,3 @@ For a deeper discussion, see: https://github.com/open-telemetry/opentelemetry-sp
160160
as specified with the [napolean
161161
extension](http://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html#google-vs-numpy)
162162
extension in [Sphinx](http://www.sphinx-doc.org/en/master/index.html).
163-
164-
## Porting reference/ddtrace/contrib to instrumentation
165-
166-
The steps below describe suggested steps to port integrations from the reference directory containing the originally donated code to OpenTelemetry.
167-
168-
1. Move the code into the instrumentation directory
169-
170-
```
171-
mkdir -p instrumentation/opentelemetry-instrumentation-jinja2/src/opentelemetry/instrumentation/jinja2
172-
git mv reference/ddtrace/contrib/jinja2 instrumentation/opentelemetry-instrumentation-jinja2/src/opentelemetry/instrumentation/jinja2
173-
```
174-
175-
2. Move the tests
176-
177-
```
178-
git mv reference/tests/contrib/jinja2 instrumentation/opentelemetry-instrumentation-jinja2/tests
179-
```
180-
181-
3. Add `README.rst`, `setup.cfg` and `setup.py` files and update them accordingly
182-
183-
```bash
184-
cp _template/* instrumentation/opentelemetry-instrumentation-jinja2/
185-
```
186-
187-
4. Add `version.py` file and update it accordingly
188-
189-
```bash
190-
mv instrumentation/opentelemetry-instrumentation-jinja2/version.py instrumentation/opentelemetry-instrumentation-jinja2/src/opentelemetry/instrumentation/jinja2/version.py
191-
```
192-
193-
5. Fix relative import paths to using ddtrace package instead of using relative paths
194-
6. Update the code and tests to use the OpenTelemetry API

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ line-length = 79
33
exclude = '''
44
(
55
/(
6-
reference| # original files from DataDog
76
)/
87
)
98
'''

reference/Dockerfile

-5
This file was deleted.

reference/LICENSE.Apache

-200
This file was deleted.

reference/LICENSE.BSD3

-24
This file was deleted.

reference/Rakefile

-77
This file was deleted.

0 commit comments

Comments
 (0)