Skip to content

Report dependencies in CSV format#19506

Merged
kvch merged 2 commits intoelastic:masterfrom
kvch:report-dependencies
Jun 30, 2020
Merged

Report dependencies in CSV format#19506
kvch merged 2 commits intoelastic:masterfrom
kvch:report-dependencies

Conversation

@kvch
Copy link
Copy Markdown
Contributor

@kvch kvch commented Jun 30, 2020

Based on #19499 with minor fixes. Description of the original PR:

  • Bug

What does this PR do?

Adds a script to report dependencies in a csv file by running dev-tools/dependencies-report -csv $OUTPUT_FILE

Sample output:

name,url,version,revision,license
4d63.com/tz,https://4d63.com/tz,v1.1.1,6d37baae851b,MIT
cloud.google.com/go,https://cloud.google.com/go,v0.51.0,,Apache-2.0
cloud.google.com/go/pubsub,https://cloud.google.com/go/pubsub,v1.0.1,,Apache-2.0
cloud.google.com/go/storage,https://cloud.google.com/go/storage,v1.0.0,,Apache-2.0
code.cloudfoundry.org/go-loggregator,https://code.cloudfoundry.org/go-loggregator,v7.4.0,,Apache-2.0
github.com/Azure/azure-event-hubs-go/v3,https://github.com/Azure/azure-event-hubs-go,v3.1.2,,MIT
github.com/Azure/azure-sdk-for-go,https://github.com/Azure/azure-sdk-for-go,v37.1.0,,Apache-2.0
github.com/Azure/azure-storage-blob-go,https://github.com/Azure/azure-storage-blob-go,v0.8.0,,MIT
github.com/Azure/go-autorest/autorest,https://github.com/Azure/go-autorest,v0.9.4,,Apache-2.0

Why is it important?

With the removal of vendor we don't create a dependency report anymore, which is required as part of the unified release process.

Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
~~- [ ] I have made corresponding change to the default configuration files~~~~
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

How to test this PR locally

run $ dev-tools/dependencies-report -csv test.csv. On success check test.csv

Related issues

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 30, 2020
@kvch kvch added the Team:Services (Deprecated) Label for the former Integrations-Services team label Jun 30, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jun 30, 2020
@kvch kvch merged commit 31a7157 into elastic:master Jun 30, 2020
@kvch kvch added the v7.9.0 label Jun 30, 2020
kvch added a commit to kvch/beats that referenced this pull request Jun 30, 2020
* Add dependencies-report script

* Minor adjustments to template and updated notice file

Co-authored-by: urso <steffen.siering@elastic.co>
(cherry picked from commit 31a7157)
kvch added a commit that referenced this pull request Jun 30, 2020
* Add dependencies-report script

* Minor adjustments to template and updated notice file

Co-authored-by: urso <steffen.siering@elastic.co>
(cherry picked from commit 31a7157)
v1v added a commit to v1v/beats that referenced this pull request Jul 2, 2020
…ne-beats

* upstream/master: (105 commits)
  ci: enable packaging job (elastic#19536)
  ci: disable upstream trigger on PRs for the packaging job (elastic#19490)
  Implement memlog on-disk handling (elastic#19408)
  fix go.mod for PR elastic#19423 (elastic#19521)
  [MetricBeat] add param `aws_partition` to support aws-cn, aws-us-gov regions (elastic#19423)
  Input v2 stateless manager (elastic#19406)
  Input v2 compatibility layer (elastic#19401)
  [Elastic Agent] Fix artifact downloading to allow endpoint-security to be downloaded (elastic#19503)
  fix: ignore target changes on scans (elastic#19510)
  Add more helpers to pipeline/testing package (elastic#19405)
  Report dependencies in CSV format (elastic#19506)
  [Filebeat] Fix reference leak in TCP and Unix socket inputs (elastic#19459)
  Cursor input skeleton (elastic#19378)
  Add changelog. (elastic#19495)
  [DOC] Typo in Kerberos (elastic#19265)
  Remove accidentally commited unused NOTICE template (elastic#19485)
  [Elastic Agent] Support the install, control, and uninstall of Endpoint (elastic#19248)
  [Filebeat][httpjson] Add split_events_by config setting (elastic#19246)
  ci: disabling packaging job until we fix it (elastic#19481)
  Fix golang.org/x/tools to release1.13 (elastic#19478)
  ...
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
* Add dependencies-report script

* Minor adjustments to template and updated notice file

Co-authored-by: urso <steffen.siering@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Services (Deprecated) Label for the former Integrations-Services team v7.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants