Skip to content

Commit

Permalink
Revert the repo/label only gen that was used for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
JimSuplizio committed May 10, 2024
1 parent 32eeb8c commit eb561b2
Showing 1 changed file with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,13 @@ private static async Task<int> PopulateTeamUserData(string teamUserBlobStorageUr
bool success = false;
// The team/user list needs to be generated before the user/org data. The reason being is that the User/Org
// visibility data is generated for the azure-sdk-write team users.
// JRS-BEGIN - uncomment when done testing
//if (await TeamUserGenerator.GenerateAndStoreTeamUserAndOrgData(gitHubEventClient, teamUserBlobStorageUri, userOrgVisibilityBlobStorageUri))
//{
// if (await RepositoryLabelGenerator.GenerateAndStoreRepositoryLabels(gitHubEventClient, repoLabelBlobStorageUri, repositoryListFile))
// {
// success = true;
// }
//}
// JRS-END - uncomment when done testing

// JRS-BEGIN - remove when done testing
if (await RepositoryLabelGenerator.GenerateAndStoreRepositoryLabels(gitHubEventClient, repoLabelBlobStorageUri, repositoryListFile))
if (await TeamUserGenerator.GenerateAndStoreTeamUserAndOrgData(gitHubEventClient, teamUserBlobStorageUri, userOrgVisibilityBlobStorageUri))
{
success = true;
if (await RepositoryLabelGenerator.GenerateAndStoreRepositoryLabels(gitHubEventClient, repoLabelBlobStorageUri, repositoryListFile))
{
success = true;
}
}
// JRS-END - remove when done testing

await gitHubEventClient.WriteRateLimits("RateLimit at end of execution:");

Expand Down

0 comments on commit eb561b2

Please sign in to comment.