Skip to content

Allow resurrecting tombstoned package names? #65

@kaste

Description

@kaste

The crawler currently tombstones removed packages, which means their names are marked and cannot be used again. (This is unrelated to the sec issue with GitHub repos.)

Usually there are enough names available so that shouldn't be an issue but some notes about the flow here:

# We generally only crawl registered packages
for entry in packages
# t.i. we don't crawl un-listed packages, 
# but when we resurrect them, we would
# but we never revoke the "removed" key from "workspace.json" set in
maintenance()
# so these packages will not arrive in channel.json
#
# (a) either do not crawl removed packages at all
# or (b) unset "removed" as soon as we hit "crawl_package()" 

Sec note: whatever we do, we can only resurrect/reuse names registered in our officially maintained channel. We actually tombstone because third party repositories could steal used names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    crawlerIssues related to the crawlerdiscussionA topic to discuss

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions