mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-08 14:03:24 +09:00
refactor: correct git repo design and fix some legacy problems (#38512)
This commit is contained in:
@@ -384,7 +384,7 @@ func loadScopedWorkflowModel(ctx *context.Context, repo *repo_model.Repository,
|
||||
}
|
||||
content, err := actions_service.ScopedWorkflowContent(ctx, sourceRepo, workflowID)
|
||||
if err != nil {
|
||||
log.Error("scoped dispatch: content of %s in %s: %v", workflowID, sourceRepo.RelativePath(), err)
|
||||
log.Error("scoped dispatch: content of %s in %s: %v", workflowID, sourceRepo.FullName(), err)
|
||||
return nil
|
||||
}
|
||||
if content == nil {
|
||||
|
||||
@@ -418,7 +418,8 @@ func serviceRPC(ctx *context.Context, service string) {
|
||||
WithStdoutCopy(ctx.Resp),
|
||||
); err != nil {
|
||||
if !gitcmd.IsErrorCanceledOrKilled(err) {
|
||||
log.Error("Fail to serve RPC(%s) in %s: %v", service, h.getStorageRepo().RelativePath(), err)
|
||||
repoLogName := h.repo.FullName() + util.Iif(h.isWiki, ".wiki", "")
|
||||
log.Error("Fail to serve RPC(%s) for repo %s: %v", service, repoLogName, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ func listSourceScopedWorkflowFiles(ctx *context.Context, repo *repo_model.Reposi
|
||||
if !repo.IsEmpty {
|
||||
_, parsed, err := actions_service.LoadParsedScopedWorkflows(ctx, repo)
|
||||
if err != nil {
|
||||
log.Error("scoped workflows settings: parse %s: %v", repo.RelativePath(), err)
|
||||
log.Error("scoped workflows settings: parse %s: %v", repo.FullName(), err)
|
||||
} else {
|
||||
for _, p := range parsed {
|
||||
info := scopedWorkflowInfo{
|
||||
|
||||
Reference in New Issue
Block a user