Skip to content

Conversation

deepakrathore33
Copy link

@deepakrathore33 deepakrathore33 commented Aug 25, 2025

  • Using gulp tasks instead of bash scripts

@deepakrathore33 deepakrathore33 requested a review from a team as a code owner August 25, 2025 15:35
@deepakrathore33 deepakrathore33 marked this pull request as draft August 25, 2025 18:17
@deepakrathore33 deepakrathore33 marked this pull request as ready for review September 2, 2025 13:50
Copy link
Contributor

@AbhitejJohn AbhitejJohn left a comment

Choose a reason for hiding this comment

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

Added a couple of comments. Can you also share the PR this creates?

@deepakrathore33
Copy link
Author

This will create pr like deepakrathore33@3bbf97f

Copy link
Contributor

@AbhitejJohn AbhitejJohn left a comment

Choose a reason for hiding this comment

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

LGTM, heads-up: there's another PR here that we'd want to de-dupe some of the git helpers with. Happy to chat offline.

Co-authored-by: Joey Robichaud <joseph.robichaud@microsoft.com>
console.log(`##vso[task.logissue type=error]${message}`);
}

export async function git(args: string[], printCommand = true): Promise<string> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Some of this is now similar to https://github.com/dotnet/vscode-csharp/blob/main/tasks/gitTasks.ts. Can we please move unique functions from here to there please? getCommitFromNugetAsync seems like the main thing that is missing. Although, I don't think that is a function of git in any way, so maybe that needs another home.

}
}

export async function createBranchAndPR(
Copy link
Contributor

Choose a reason for hiding this comment

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

The newer API here has different methods for pushing a branch, checking if it exists and creating PR, so when you adopt that you'd want to change the callers as well.

@JoeRobich JoeRobich force-pushed the dev/aajohn/relautomation branch from 7c610f6 to 29cb53a Compare September 10, 2025 13:09
- task: Npm@1
displayName: Run Roslyn insertion
env:
GitHubPAT: $(BotAccount-dotnet-bot-repo-PAT)
Copy link
Member

Choose a reason for hiding this comment

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

I see that we are passing this as a command line argument. Do we also need it as a variable?

Copy link
Author

Choose a reason for hiding this comment

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

I think we don't need it. Not sure if I have used env variable somewhere, let me check it and remove it

@AbhitejJohn AbhitejJohn deleted the branch dotnet:dev/aajohn/relautomation September 10, 2025 19:10
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.

4 participants