-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Replace RunInDir with RunWithContext #18978
Closed
martinscholz83
wants to merge
34
commits into
go-gitea:main
from
martinscholz83:feature/RunInPipline
+329
−236
Closed
Changes from 6 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
7126b04
Replace RunInDir with RunWithContext
a4fe955
Change stdout buffer from bytes.Buffer to strings.Builder
f9b1be2
Add missing replacement
21cd5d1
Run make fmt
f94294a
Fix build
d5a1f7c
Merge branch 'main' into feature/RunInPipline
6543 a145a34
Fix arm64 build
a1ee6ce
Merge branch 'main' into feature/RunInPipline
6543 e6dcb76
Merge branch 'main' into feature/RunInPipline
6543 888637d
please ling
6543 b9b3cb7
fix bug
6543 3305f5a
fix & optimize
6543 0ba03ec
Merge branch 'main' into feature/RunInPipline
6543 ac596b1
fix integration test
6543 7f368c6
Fix bug
7058b6f
Apply suggestions from code review
6543 1437dfa
Merge branch 'main' into feature/RunInPipline
6543 54d405d
Merge branch 'main' into feature/RunInPipline
6543 044e53e
Fix bug
8c61875
Make fmt
4cb5ed4
Merge branch 'master' into feature/RunInPipline
6543 b620078
Merge branch 'main' into feature/RunInPipline
6543 76be496
Merge branch 'main' into feature/RunInPipline
zeripath eb8be76
Merge branch 'main' into feature/RunInPipline
wxiaoguang 3a75f8e
Merge branch 'main' into feature/RunInPipline
zeripath 6459475
Merge branch 'main' into feature/RunInPipline
wxiaoguang 6bc20f8
Merge branch 'main' into feature/RunInPipline
wxiaoguang 39c978b
Merge branch 'main' into feature/RunInPipline
zeripath 0d07427
Merge branch 'main' into feature/RunInPipline
zeripath c4c2325
Merge branch 'main' into feature/RunInPipline
zeripath 1f80598
Merge branch 'main' into feature/RunInPipline
zeripath 2f2a1ad
Merge branch 'main' into feature/RunInPipline
wxiaoguang dd6b4b8
Merge branch 'main' into feature/RunInPipline
wxiaoguang c3521dc
fix merge conflicts
wxiaoguang 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 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The key point is here, it returns "stdout in string and error (combined with stderr)"
So the
RunInXxx
can not be replaced byRunWithContext
directly