Skip to content
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

[Issue #507] Allow non delegate users to declare interest in a patch #588

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

andrepapoti
Copy link

@andrepapoti andrepapoti commented Apr 1, 2024

Description

Add the relation between an user and a patch through the Patch's interested_users attribute.
This relations happens through the model PatchInterest that contains a timestamp for when the interest was declared.
Inside a Patch's State there's now an attribute indicating how long an interest can last before it expires.
To remove expired interests async tasks were added using Celery
Serializers and Forms were update to reflect the changes aswell

Related

@stephenfin
Copy link
Member

I have seen this 👀 but I'm going to leave comments on the issue and discuss things there before looking at this.

…o review a patch

Users interested in reviewing a Patch are linked by the `planning_to_review` attribute on a Patch through
the PatchReviewIntention model.
Also added a field to State to indicate how long a review intention can last before it expires

Signed-off-by: andrepapoti <[email protected]>
…e PatchReviewIntention for the commenting user

Signed-off-by: andrepapoti <[email protected]>
@andrepapoti andrepapoti marked this pull request as ready for review April 17, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow non-delegates to claim interest in a series
2 participants