Commit b360011
Add script to replace Apache headers with SPDX (jaegertracing#5808)
## Which problem is this PR solving?
- Resolves jaegertracing#5807
## Description of the changes
- Added a new Python script `update_license_headers.py` in the
`./scripts/` directory
- Replaces old Apache headers with SPDX identifiers
- Works on .go files
- No changes to source files are included in this PR.
## How was this change tested?
- I gave it a spin on the `cmd` folder. Seemed to work fine - it found
the right files and swapped out the headers. I checked a few of the
updated files manually to make sure it did what it was supposed to.
## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
- for `jaeger`: `make lint test`
- for `jaeger-ui`: `yarn lint` and `yarn test`
---------
Signed-off-by: Prabhat <iprabhatdev@gmail.com>
Signed-off-by: Prabhat Kumar Sahu <iprabhatdev@gmail.com>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Co-authored-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Jared Tan <jian.tan@daocloud.io>1 parent bc4eebc commit b360011
File tree
809 files changed
+870
-9673
lines changed- cmd
- agent
- app
- configmanager
- grpc
- customtransport
- httpserver
- processors
- reporter
- grpc
- servers
- thriftudp
- testutils
- all-in-one
- setupcontext
- anonymizer
- app
- anonymizer
- query
- uiconv
- writer
- collector
- app
- flags
- handler
- processor
- sampling
- model
- samplingstrategy
- sanitizer
- cache
- zipkin
- server
- es-index-cleaner
- app
- es-rollover
- app
- init
- lookback
- rollover
- esmapping-generator
- app
- renderer
- ingester
- app
- builder
- consumer
- offset
- processor
- decorator
- internal
- docs
- env
- flags
- status
- jaeger/internal
- exporters/storageexporter
- query
- app
- apiv3
- querysvc
- ui
- remote-storage
- app
- tracegen
- crossdock
- services
- mocks
- examples/hotrod
- cmd
- pkg
- delay
- httperr
- log
- pool
- tracing
- rpcmetrics
- services
- config
- customer
- driver
- frontend
- route
- internal
- grpctest
- jaegerclientenv2otel
- metricstest
- metrics
- metricsbuilder
- prometheus
- safeexpvar
- tracegen
- model
- adjuster
- converter
- json
- thrift
- jaeger
- zipkin
- json
- pkg
- bearertoken
- cache
- cassandra
- config
- gocql
- testutils
- metrics
- clientcfg/clientcfghttp
- thrift-0.9.2
- config
- corscfg
- tlscfg
- discovery
- grpcresolver
- distributedlock
- es
- client
- config
- filter
- wrapper
- fswatcher
- gogocodec
- gzipfs
- healthcheck
- hostname
- httpfs
- httpmetrics
- jtracer
- kafka
- auth
- consumer
- producer
- metrics
- netutils
- normalizer
- prometheus/config
- queue
- recoveryhandler
- tenancy
- testutils
- version
- plugin
- metrics
- disabled
- prometheus
- metricsstore
- dbmodel
- pkg/distributedlock/cassandra
- sampling
- leaderelection
- strategyprovider
- adaptive
- calculationstrategy
- static
- storage
- badger
- dependencystore
- samplingstore
- spanstore
- blackhole
- cassandra
- dependencystore
- samplingstore
- savetracetest
- spanstore
- dbmodel
- es
- dependencystore
- dbmodel
- mappings
- samplingstore
- dbmodel
- spanstore
- dbmodel
- grpc
- proto/storage_v1
- integration
- kafka
- memory
- ports
- scripts
- storage
- dependencystore
- metricsstore
- metrics
- samplingstore
- spanstore
- metrics
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
809 files changed
+870
-9673
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 3 | + | |
15 | 4 | | |
16 | 5 | | |
17 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 3 | + | |
15 | 4 | | |
16 | 5 | | |
17 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 3 | + | |
15 | 4 | | |
16 | 5 | | |
17 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 3 | + | |
15 | 4 | | |
16 | 5 | | |
17 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 2 | + | |
14 | 3 | | |
15 | 4 | | |
16 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 2 | + | |
14 | 3 | | |
15 | 4 | | |
16 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 3 | + | |
15 | 4 | | |
16 | 5 | | |
17 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 2 | + | |
14 | 3 | | |
15 | 4 | | |
16 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 2 | + | |
14 | 3 | | |
15 | 4 | | |
16 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 3 | + | |
15 | 4 | | |
16 | 5 | | |
17 | 6 | | |
| |||
0 commit comments