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

Implement "Archiving Repositories" functionality #1719

Closed
ryangribble opened this issue Nov 15, 2017 · 2 comments
Closed

Implement "Archiving Repositories" functionality #1719

ryangribble opened this issue Nov 15, 2017 · 2 comments
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone

Comments

@ryangribble
Copy link
Contributor

As per this recent blog post there is new API functionality to archive repositories.

This touches on several areas of the API

  • Add Archived field to PullRequest response model
  • Add Archived field to the request model UpdateRepository used to edit a repository (and note that un-archiving a repo can not be done via the API!)
  • Add Archived flag to the request model SearchRepositoriesRequest used to search repositories (should render as archived:true in the generated search string)
  • WebHooks now have an Archived and Unarchived event, so we should check whether your activity classes need to have this added to EventInfoState enum (I think possibly not though, as this enum is maybe only used for Issue events and not Repository events)
@hnrkndrssn
Copy link
Contributor

Looks like this was implemented in #1845

@ryangribble
Copy link
Contributor Author

Thanks @hnrkndrssn

Closed by #1845

@nickfloyd nickfloyd added Status: Up for grabs Issues that are ready to be worked on by anyone and removed up-for-grabs labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone
Projects
None yet
Development

No branches or pull requests

3 participants