-
Notifications
You must be signed in to change notification settings - Fork 5
🩹 [Patch]: Optimize Connect-GitHubApp and use parallel processing of access tokens #519
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
Open
MariusStorhaug
wants to merge
76
commits into
main
Choose a base branch
from
parallelConnect
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
924cf38
🚀 [Feature]: Enhance Connect-GitHubApp to support parallel connection…
MariusStorhaug 9ad6865
🚀 [Feature]: Improve error handling and parallel processing in Connec…
MariusStorhaug 6454a00
Add initial test scripts for GitHub API interactions
MariusStorhaug a253921
🚀 [Feature]: Refactor Connect-GitHubApp to use module version variabl…
MariusStorhaug 7212939
Update src/functions/public/Auth/Connect-GitHubApp.ps1
MariusStorhaug 27cd26f
🚀 [Refactor]: Improve code readability by formatting context object c…
MariusStorhaug 9bb314b
🚀 [Feature]: Add 'Enterprise SCIM' permission definition to GitHubPer…
MariusStorhaug 2ea9f4b
🚀 [Refactor]: Adjust ThrottleLimit calculation and implement retry lo…
MariusStorhaug 5fc1cb2
Make New-GithubAppInstallationAccessToken a public function
MariusStorhaug cbf875d
🚀 [Feature]: Implement GitHub App installation functions and enhance …
MariusStorhaug cfb7f50
🚀 [Refactor]: Rename UpdateStatus to SetStatus and streamline permiss…
MariusStorhaug 9ef022d
Renamed some functions based on what they do. + better sorting
MariusStorhaug 9a90097
🚀 [Refactor]: Remove redundant AppID property from GitHubApp class
MariusStorhaug 76495d5
🚀 [Refactor]: Simplify GitHubApp initialization by removing app_id an…
MariusStorhaug 584cd17
🚀 [Fix]: Ensure Events property is properly initialized as an array i…
MariusStorhaug aa2fc89
🚀 [Refactor]: Update GitHubAppInstallation constructor to use GitHubA…
MariusStorhaug 9c8cb9a
🚀 [Fix]: Correct typo in example usage of Get-GitHubAppInstallationFo…
MariusStorhaug 2ef732f
🚀 [Refactor]: Remove unnecessary retrieval of authenticated app in Ge…
MariusStorhaug 2a63509
🚀 [Refactor]: Remove retrieval of authenticated app in Get-GitHubAppI…
MariusStorhaug 695bf4f
🚀 [Refactor]: Update synopsis and parameter set names in Get-GitHubAp…
MariusStorhaug db58e23
🚀 [Refactor]: Update GitHubAppInstallation constructor calls to use H…
MariusStorhaug a66329e
🚀 [Refactor]: Simplify Connect-GitHubApp calls by consolidating param…
MariusStorhaug 4e92ad6
🚀 [Refactor]: Add App property to GitHubAppContext for better context…
MariusStorhaug 9558950
🚀 [Refactor]: Update Get-GitHubApp calls to use Slug parameter and im…
MariusStorhaug 69a02e6
🚀 [Refactor]: Update example in Get-GitHubApp documentation to use Sl…
MariusStorhaug f37247f
🚀 [Refactor]: Enhance GitHub app constructors to support null coalesc…
MariusStorhaug 7e39c35
🚀 [Refactor]: Simplify GitHubAppInstallation constructor by assigning…
MariusStorhaug 3b31737
🚀 [Refactor]: Update GitHubAppInstallation constructor to use hashtab…
MariusStorhaug 7307616
🚀 [Refactor]: Update output messages in Connect-GitHubAccount and Con…
MariusStorhaug 729a4d1
🚀 [Refactor]: Enhance logging in Apps.Tests by adding detailed output…
MariusStorhaug b11606b
🚀 [Refactor]: Update logging in Apps.Tests to specify context retriev…
MariusStorhaug 986c0d5
🚀 [Refactor]: Optimize ComparePermissionLists method by replacing for…
MariusStorhaug 57f49ad
🚀 [Refactor]: Replace ComparePermissionLists method with Compare-Obje…
MariusStorhaug 335a6fa
🚀 [Refactor]: Uncomment and enhance test cases for GitHub App functio…
MariusStorhaug 5d9d4d8
🚀 [Refactor]: Uncomment and enable assertions for GitHub App connecti…
MariusStorhaug fe680d1
🚀 [Refactor]: Consolidate GitHubPermission class; remove Get-GitHubPe…
MariusStorhaug 5181267
🚀 [Refactor]: Update permission checks in Apps.Tests to use GitHubPer…
MariusStorhaug 1f9e958
Merge branch 'main' of https://github.com/PSModule/GitHub into parall…
MariusStorhaug f38eba3
🚀 [Refactor]: Update permission handling in Apps.Tests and Permission…
MariusStorhaug 064030c
Implement code changes to enhance functionality and improve performance
MariusStorhaug 7093cee
🚀 [Refactor]: Update GitHubPermission method calls for consistency an…
MariusStorhaug 23de006
Add comprehensive Pester tests for GitHub API interactions
MariusStorhaug 6a92701
🚀 [Refactor]: Uncomment skipped sections in PSModule.yml for improved…
MariusStorhaug e4b1a1a
🚀 [Refactor]: Enhance Connect-GitHubApp function to support installat…
MariusStorhaug f235525
🚀 [Refactor]: Enhance GitHub organization handling by adding URL prop…
MariusStorhaug 120694b
🚀 [Refactor]: Update GitHub app installation functions to include App…
MariusStorhaug 6ac41ff
Add initial test scripts for GitHub API interactions
MariusStorhaug 6e57a1b
🚀 [Refactor]: Simplify GitHubAppInstallation constructor by removing …
MariusStorhaug 32c6dcb
🚀 [Refactor]: Remove unused Installation property from GitHubAppInsta…
MariusStorhaug e24e64d
🚀 [Refactor]: Update GitHubOrganization constructors to streamline in…
MariusStorhaug 2c36eeb
🚀 [Refactor]: Update GitHubOrganization instantiation to directly inc…
MariusStorhaug 4905669
🚀 [Refactor]: Update GitHubAppInstallation instantiation to directly …
MariusStorhaug d893b88
🚀 [Refactor]: Enhance GitHubAppInstallation constructor to conditiona…
MariusStorhaug 0fc891e
Milemarker 51
MariusStorhaug a4e8543
🚀 [Enhancement]: Add ThrottleLimit parameter to Connect-GitHubApp for…
MariusStorhaug 0b25b46
🚀 [Refactor]: Update module import statement in Connect-GitHubApp to …
MariusStorhaug e80c638
🚀 [Enhancement]: Add Get-LocalModule function to retrieve the current…
MariusStorhaug cfa2510
🚀 [Refactor]: Update module import in Connect-GitHubApp to use scoped…
MariusStorhaug ee70b56
🚀 [Refactor]: Initialize contextParamList as an array and append sele…
MariusStorhaug be2966a
🚀 [Refactor]: Simplify contextParamList initialization and improve co…
MariusStorhaug 91ce75f
🚀 [Refactor]: Replace AddRange with foreach loop for adding context p…
MariusStorhaug 128418e
🚀 [Refactor]: Initialize contextParamList as an array and update cont…
MariusStorhaug 46f54a0
🚀 [Add]: Implement Revoke-GitHubAppInstallationAccessToken function f…
MariusStorhaug 4311c14
🚀 [Refactor]: Update contextParamList handling to append selected ins…
MariusStorhaug 2a568a5
🚀 [Refactor]: Replace foreach loop with direct contextParams usage fo…
MariusStorhaug 6b05793
🚀 [Add]: Introduce ThrottleLimit parameter to Disconnect-GitHubAccoun…
MariusStorhaug 0662c9a
🚀 [Add]: Reintroduce Remove-GitHubContext filter for managing context…
MariusStorhaug 18429c4
fix
MariusStorhaug 0fa48ec
Merge branch 'parallelConnect' of https://github.com/PSModule/GitHub …
MariusStorhaug 3d377d8
🚀 [Refactor]: Enhance logging in 'Installation' context by adding det…
MariusStorhaug 0a36360
🚀 [Refactor]: Add -Debug and -Verbose parameters to Connect-GitHubApp…
MariusStorhaug 3aa446e
🚀 [Refactor]: Comment out existing tests for GitHubApp and GitHubAppI…
MariusStorhaug e9a2786
🚀 [Refactor]: Initialize context parameter list and update comment fo…
MariusStorhaug 424acd9
🚀 [Refactor]: Update Get-GitHubContext and Disconnect-GitHubAccount f…
MariusStorhaug 33b05d5
🚀 [Refactor]: Improve debug logging in Get-GitHubContext and fix cont…
MariusStorhaug 469824b
🚀 [Refactor]: Update context collection in Get-GitHubContext to use S…
MariusStorhaug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
Test: | ||
CodeCoverage: | ||
PercentTarget: 50 | ||
# TestResults: | ||
# Skip: true | ||
# SourceCode: | ||
# Skip: true | ||
# PSModule: | ||
# Skip: true | ||
# Module: | ||
# Windows: | ||
# Skip: true | ||
# MacOS: | ||
# Skip: true | ||
# Build: | ||
# Docs: | ||
# Skip: true | ||
TestResults: | ||
Skip: true | ||
SourceCode: | ||
Skip: true | ||
PSModule: | ||
Skip: true | ||
Module: | ||
Windows: | ||
Skip: true | ||
MacOS: | ||
Skip: true | ||
Build: | ||
Docs: | ||
Skip: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.