8000 refactor: Rewrite community feed as Feed class by pselkirk · Pull Request #7254 · ietf-tools/datatracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: Rewrite community feed as Feed class #7254

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

Merged
merged 3 commits into from
Nov 15, 2024

Conversation

pselkirk
Copy link
Contributor

No description provided.

Copy link
codecov bot commented Mar 24, 2024

Codecov Report

Attention: Patch coverage is 93.39623% with 7 lines in your changes missing coverage. Please review.

Project coverage is 88.79%. Comparing base (c7f6bde) to head (85bd200).
Report is 56 commits behind head on main.

Files with missing lines Patch % Lines
ietf/community/feeds.py 93.13% 7 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #7254    +/-   ##
========================================
  Coverage   88.78%   88.79%            
========================================
  Files         296      305     +9     
  Lines       41320    41543   +223     
========================================
+ Hits        36687    36889   +202     
- Misses       4633     4654    +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pselkirk pselkirk changed the title refactor: Rewrite hand-crufted xml as Feed class refactor: Rewrite community feed as Feed class Mar 25, 2024
Copy link
Member
@rjsparks rjsparks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Paul - making notes. Still hoping to bring this in, but not asking yout to make changes.

def get_object(self, request, *args, **kwargs):
email_or_name = kwargs["email_or_name"]
acronym = kwargs["acronym"]
clist = lookup_community_list(request, email_or_name, acronym)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can now return 404

def __call__(self, request, *args, **kwargs):
try:
return super(CommunityFeed, self).__call__(request, *args, **kwargs)
except MultiplePersonError as err:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is no longer raised in this codepath

@rjsparks rjsparks changed the base branch from main to feat/communityfeed November 15, 2024 18:02
@rjsparks rjsparks merged commit 8443ada into ietf-tools:feat/communityfeed Nov 15, 2024
6 of 7 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0