Skip to content

add project status marker #5795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dgonzdev
Copy link

@dgonzdev dgonzdev commented Jul 9, 2025

issue: #4678

this pr adds a status marker field to the rubygem db table and api response following the patterns laid out in python's proposals:

at a high level, the proposal is to have a status marker that is "

  • machine-readable,
  • general (i.e. conveys more than one possible state), [that] applies to the entire project,
  • instead of per-release or per-distribution
    "

the status marker can be leveraged to implement an archival feature, temporarily quarantining gems with suspected security issues, and more.

couple of questions to consider

  • should the field in the api be called status?
  • should we return "active" in the api when the status_marker in the db is null?

the follow up work would be to

  • implement the ui to mark the gem as archived
  • decide the rules/tools for quarantining a gem
  • decide what other behavior can be built on top of this status/build it

@dgonzdev dgonzdev force-pushed the add-project-status-marker branch from f9e1966 to a1e29eb Compare July 13, 2025 13:09
@dgonzdev dgonzdev marked this pull request as ready for review July 14, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant