Skip to content

Deduplicate readmes in registry #883

Description

@jaydeluca

Component / area

collector-watcher and java-instrumentation-watcher for code changes, will result in changes to ecosystem-registry

Problem this solves

Readme's are verbose and rarely change, and we are duplicating the content for every release. We should store one file per version of it in the ecosystem-registry, and add references to it.

Proposed solution

Collector

We already are creating files with the hash included in the name, but right now we are creating a readme directory per release (ecosystem-registry/collector/contrib/v0.157.1-SNAPSHOT/component_readmes), so update to store them in the root of the distro instead: ecosystem-registry/collector/contrib/readmes and add a new readme reference in each component's metadata that has the file name

Java agent

Instead of storing them in ecosystem-registry/java/javaagent/v2.30.0/library_readmes, put them in ecosystem-registry/java/javaagent/library_readmes and similarly, add a readme link in the metadata

Acceptance criteria

We rebuild the java and collector registries and it deletes all the excess readme's and adds references to all components

The explorer-db-builder will need to be updated to handle this change as well to map the content back to the components

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions