Skip to content

Fix unarchiving a repo#164

Merged
galargh merged 1 commit intoipdxco:masterfrom
winterqt:fix-archived-repo-toggling
Apr 7, 2025
Merged

Fix unarchiving a repo#164
galargh merged 1 commit intoipdxco:masterfrom
winterqt:fix-archived-repo-toggling

Conversation

@winterqt
Copy link
Copy Markdown
Contributor

Before this change, toggleArchivedRepos would prevent the unarchiving of a repository because it didn't set the state repo's archived property to false.

Before this change, `toggleArchivedRepos` would prevent the unarchiving
of a repository because it didn't set the state repo's `archived` property
to `false`.
Copy link
Copy Markdown
Member

@galargh galargh left a comment

Choose a reason for hiding this comment

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

Another great catch! This is really surprising! I guess, throughout all these years, noone actually tried unarchiving a repo in any of the organizations I manage 😅

Looking at your PR, I noticed that the use of "action" and "runAction" is quite inconsistent in the current implementation. I tried to address this in #169 I also modified the test resources a bit there to make the test you added a little easier to read, I hope you don't mind. Thank you for adding it by the way. More test coverage would definitely be beneficial here 🙇

I'm going to merge this one as-is, and then I'll merge my follow-up. It should be easier that way.

@galargh galargh merged commit d160627 into ipdxco:master Apr 7, 2025
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.

2 participants