Skip to content

x/pkgsite: support removing packages in the top-level module, but not in nested modules #39103

@bogdandrutu

Description

@bogdandrutu

What is the URL of the page with the issue?

https://pkg.go.dev/mod/go.opentelemetry.io?tab=packages

What did you do?

Initially using https://github.com/GoogleCloudPlatform/govanityurls.git we publish modules directly under go.opentelemetry.io but later because we found that we will have more repos we decided to use different paths to export different repositories

/otel:
  repo: https://github.com/open-telemetry/opentelemetry-go
/collector:
  repo: https://github.com/open-telemetry/opentelemetry-collector
/contrib/otel:
  repo: https://github.com/open-telemetry/opentelemetry-go-contrib
/contrib/collector:
  repo: https://github.com/open-telemetry/opentelemetry-collector-contrib

Before we had (which we replaced 6 moths ago, and never used):

/:
  repo: https://github.com/open-telemetry/opentelemetry-go

What did you expect to see?

I would expect all the old packages that we exported previously https://pkg.go.dev/mod/go.opentelemetry.io?tab=packages to be gone.

What did you see instead?

I would expect to have only packages under https://pkg.go.dev/mod/go.opentelemetry.io/otel?tab=packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsFixThe path to resolution is known, but the work has not been done.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions