Skip to content

Implement Initial Support for Sponsorship Program #916

@arkid15r

Description

@arkid15r

Extend NestBot and the backend to support sponsorships for GitHub issues within OWASP or related repositories.

Steps

  1. Extend /sponsor NestBot Command

    • Add an task add option that accepts:
      • A link to a GitHub issue within OWASP or related repositories.
      • A price in USD for implementing the issue.
    • Implement validation to ensure:
      • The issue link belongs to a valid OWASP-related repository.
      • The price is a positive float value.
    • Upon successful validation, create a Sponsorship model instance.
  2. Design Sponsorship Model in a new nest Django app

    • Create a new nest Django app (similar to owasp, github, slack).
    • Move generated files to the appropriate location.
    • Implement the Sponsorship model with the following fields:
      • nest_created_at (timestamp)
      • nest_updated_at (timestamp)
      • issue (reference to an Issue instance; create it via the GitHub API if it doesn’t exist)
      • price_usd (float)
      • slack_user_id (Slack ID of the sponsorship author)
      • deadline_at (optional, datetime field)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions