Skip to content

x/pkgsite: completely retracted sub-modules still appear in the directories view (github.com/creachadair/ffs/cmd, github.com/creachadair/ffs/storage) #78882

Description

@creachadair

When I originally created the github.com/creachadair/ffs repository, I set up multiple modules. This turned out to be a mistake (for the usual reasons), and I later split one module (ffs/cmd) out into its own repository, and combined the other (ffs/storage) back into the main module.

And that mostly worked, except that the pkgsite page for the root module still shows cmd and storage as separate modules. And cmd no longer exists in that repo at all, while storage is versioned with the root.

I realize in retrospect that I should have done things differently, but now I don't see a practical way for me to fix this with retractions. Is it possible to have those two modules suppressed from pkgsite?

The part I am not sure about is, can this be done without breaking the resolution of the import path github.com/creachadair/ffs/storage, which previously pointed to a separate module but now points to a subpackage of the root module? I hope the answer is yes, because pkgsite does show the correct documentation for the current code therein—it just also shows a "module" indicator in the UI. (If this is impractical, however, I can live with it).

The other import path, github.com/creachadair/ffs/cmd, no longer exists at all, so I hope it may be easy to suppress.

Metadata

Metadata

Assignees

Labels

NeedsFixThe path to resolution is known, but the work has not been done.pkgsite

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions