-
-
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
Propagate context and ensure git commands run in request context #17868
Commits on Dec 3, 2021
-
Propagate context and ensure git commands run in request context
This PR continues the work in go-gitea#17125 by progressively ensuring that git commands run within the request context. Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c9c38a - Browse repository at this point
Copy the full SHA 6c9c38aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f57eba0 - Browse repository at this point
Copy the full SHA f57eba0View commit details -
extend propagation to the temprepo
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d4cbbd - Browse repository at this point
Copy the full SHA 1d4cbbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7276d9 - Browse repository at this point
Copy the full SHA a7276d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa0902c - Browse repository at this point
Copy the full SHA fa0902cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25e1333 - Browse repository at this point
Copy the full SHA 25e1333View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef8bee1 - Browse repository at this point
Copy the full SHA ef8bee1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 271a6bf - Browse repository at this point
Copy the full SHA 271a6bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for da9edc9 - Browse repository at this point
Copy the full SHA da9edc9View commit details -
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a711e8 - Browse repository at this point
Copy the full SHA 4a711e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4a37c0 - Browse repository at this point
Copy the full SHA e4a37c0View commit details
Commits on Dec 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for aa419cb - Browse repository at this point
Copy the full SHA aa419cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee35164 - Browse repository at this point
Copy the full SHA ee35164View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62157c4 - Browse repository at this point
Copy the full SHA 62157c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a5dd00 - Browse repository at this point
Copy the full SHA 6a5dd00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e82150 - Browse repository at this point
Copy the full SHA 2e82150View commit details -
Configuration menu - View commit details
-
Copy full SHA for 525e495 - Browse repository at this point
Copy the full SHA 525e495View commit details -
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa4997d - Browse repository at this point
Copy the full SHA aa4997dView commit details -
more use of ctx.Repo.GitRepo instead of reopening it
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3c1eb1 - Browse repository at this point
Copy the full SHA c3c1eb1View commit details -
Stop reopening git repo with repo_service.GetBranch
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f203621 - Browse repository at this point
Copy the full SHA f203621View commit details
Commits on Dec 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 40caafc - Browse repository at this point
Copy the full SHA 40caafcView commit details -
make it possible to get the repository from the context instead of ha…
…ving to pass it in Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 360eb96 - Browse repository at this point
Copy the full SHA 360eb96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a3e6bf - Browse repository at this point
Copy the full SHA 3a3e6bfView commit details -
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for acc8de2 - Browse repository at this point
Copy the full SHA acc8de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5b6f6 - Browse repository at this point
Copy the full SHA ae5b6f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for af4cbdc - Browse repository at this point
Copy the full SHA af4cbdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3ff74 - Browse repository at this point
Copy the full SHA 8a3ff74View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0cc9a1 - Browse repository at this point
Copy the full SHA b0cc9a1View commit details -
No more git.OpenRepository without a context
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a004048 - Browse repository at this point
Copy the full SHA a004048View commit details -
Begin removing calls to NewCommand and replace with NewCommandContext
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2191ed8 - Browse repository at this point
Copy the full SHA 2191ed8View commit details
Commits on Dec 6, 2021
-
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a649d3e - Browse repository at this point
Copy the full SHA a649d3eView commit details -
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bcc196 - Browse repository at this point
Copy the full SHA 4bcc196View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce0ea53 - Browse repository at this point
Copy the full SHA ce0ea53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98e2eef - Browse repository at this point
Copy the full SHA 98e2eefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d26d8a - Browse repository at this point
Copy the full SHA 5d26d8aView commit details -
All NewCommands are now NewCommandContexts
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80b4f06 - Browse repository at this point
Copy the full SHA 80b4f06View commit details -
baserepo not always loaded in TestPatch so do not use as process desc…
…riptor Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7383ca - Browse repository at this point
Copy the full SHA a7383caView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc04890 - Browse repository at this point
Copy the full SHA cc04890View commit details
Commits on Dec 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c6b9df6 - Browse repository at this point
Copy the full SHA c6b9df6View commit details -
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fcad07 - Browse repository at this point
Copy the full SHA 7fcad07View commit details -
pass context in to mirror remote address
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83c5fd1 - Browse repository at this point
Copy the full SHA 83c5fd1View commit details -
Prevent per request cancellation of hook/proc-receive and hook/post-r…
…eceive Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 363d9bd - Browse repository at this point
Copy the full SHA 363d9bdView commit details
Commits on Dec 8, 2021
-
Ensure NewPullRequest works correctly even if cancelled
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f62081 - Browse repository at this point
Copy the full SHA 7f62081View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd1b8d2 - Browse repository at this point
Copy the full SHA dd1b8d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ab620e - Browse repository at this point
Copy the full SHA 8ab620eView commit details -
Configuration menu - View commit details
-
Copy full SHA for adf256c - Browse repository at this point
Copy the full SHA adf256cView commit details
Commits on Dec 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3a63ead - Browse repository at this point
Copy the full SHA 3a63eadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b894d2 - Browse repository at this point
Copy the full SHA 5b894d2View commit details
Commits on Dec 15, 2021
-
remove review.loadAttributes as it is no longer needed
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56764de - Browse repository at this point
Copy the full SHA 56764deView commit details
Commits on Dec 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ca5023e - Browse repository at this point
Copy the full SHA ca5023eView commit details
Commits on Dec 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e157005 - Browse repository at this point
Copy the full SHA e157005View commit details
Commits on Dec 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 21fed46 - Browse repository at this point
Copy the full SHA 21fed46View commit details -
replace review.loadCodeComments with LoadCodeComments
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c82263e - Browse repository at this point
Copy the full SHA c82263eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7563316 - Browse repository at this point
Copy the full SHA 7563316View commit details -
remove openrepo as git repo exists check
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bbbcae - Browse repository at this point
Copy the full SHA 1bbbcaeView commit details
Commits on Dec 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 40c7609 - Browse repository at this point
Copy the full SHA 40c7609View commit details
Commits on Dec 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2038a19 - Browse repository at this point
Copy the full SHA 2038a19View commit details
Commits on Jan 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ae02bae - Browse repository at this point
Copy the full SHA ae02baeView commit details -
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccd0b97 - Browse repository at this point
Copy the full SHA ccd0b97View commit details
Commits on Jan 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4fda9a3 - Browse repository at this point
Copy the full SHA 4fda9a3View commit details -
Update routers/private/default_branch.go
Co-authored-by: 6543 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d387d52 - Browse repository at this point
Copy the full SHA d387d52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c86515 - Browse repository at this point
Copy the full SHA 2c86515View commit details
Commits on Jan 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cfbac1c - Browse repository at this point
Copy the full SHA cfbac1cView commit details
Commits on Jan 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6790d0a - Browse repository at this point
Copy the full SHA 6790d0aView commit details
Commits on Jan 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 94f6e7e - Browse repository at this point
Copy the full SHA 94f6e7eView commit details