forked from NYANDEV/forgejo
add some log
This commit is contained in:
parent
3623b0927e
commit
8966750fd4
2 changed files with 2 additions and 1 deletions
|
@ -1353,6 +1353,7 @@ func DeleteMissingRepositories() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, repo := range repos {
|
for _, repo := range repos {
|
||||||
|
log.Trace("Deleting %d/%d...", repo.OwnerID, repo.ID)
|
||||||
if err := DeleteRepository(repo.OwnerID, repo.ID); err != nil {
|
if err := DeleteRepository(repo.OwnerID, repo.ID); err != nil {
|
||||||
if err2 := CreateRepositoryNotice(fmt.Sprintf("DeleteRepository [%d]: %v", repo.ID, err)); err2 != nil {
|
if err2 := CreateRepositoryNotice(fmt.Sprintf("DeleteRepository [%d]: %v", repo.ID, err)); err2 != nil {
|
||||||
log.Error(4, "CreateRepositoryNotice: %v", err2)
|
log.Error(4, "CreateRepositoryNotice: %v", err2)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
{{range .Orgs}}
|
{{range .Orgs}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{.Id}}</td>
|
<td>{{.Id}}</td>
|
||||||
<td><a href="{{AppSubUrl}}/org/{{.Name}}">{{.Name}}</a></td>
|
<td><a href="{{.HomeLink}}">{{.Name}}</a></td>
|
||||||
<td>{{.NumTeams}}</td>
|
<td>{{.NumTeams}}</td>
|
||||||
<td>{{.NumMembers}}</td>
|
<td>{{.NumMembers}}</td>
|
||||||
<td>{{.NumRepos}}</td>
|
<td>{{.NumRepos}}</td>
|
||||||
|
|
Loading…
Reference in a new issue