@@ -133,6 +133,7 @@ public async Task FetchAllRepositoriesAsync()
133133 var total = 0 ;
134134 var succeeded = 0 ;
135135 var noRemoteNames = new List < string > ( ) ;
136+ var skippedNames = new List < string > ( ) ;
136137 var failedNames = new List < string > ( ) ;
137138
138139 foreach ( var page in pages )
@@ -147,17 +148,31 @@ public async Task FetchAllRepositoriesAsync()
147148 }
148149
149150 total ++ ;
150- if ( await repo . FetchAllRemotesAsync ( ) )
151- succeeded ++ ;
152- else
153- failedNames . Add ( page . Node . Name ) ;
151+ var result = await repo . FetchAllRemotesAsync ( ) ;
152+ switch ( result . Status )
153+ {
154+ case Repository . FetchAllStatus . Succeeded :
155+ succeeded ++ ;
156+ break ;
157+ case Repository . FetchAllStatus . Skipped :
158+ skippedNames . Add ( page . Node . Name ) ;
159+ total -- ;
160+ break ;
161+ case Repository . FetchAllStatus . Failed :
162+ var remotesInfo = string . Join ( ", " , result . FailedRemotes ) ;
163+ failedNames . Add ( $ "{ page . Node . Name } (remote: { remotesInfo } )") ;
164+ break ;
165+ }
154166 }
155167
156168 var message = $ "Fetched { succeeded } /{ total } repositories";
157169
158170 if ( noRemoteNames . Count > 0 )
159171 message += $ "\n { noRemoteNames . Count } repositories skipped (no remote):\n { string . Join ( "\n " , noRemoteNames ) } ";
160172
173+ if ( skippedNames . Count > 0 )
174+ message += $ "\n { skippedNames . Count } repositories skipped:\n { string . Join ( "\n " , skippedNames ) } ";
175+
161176 if ( failedNames . Count > 0 )
162177 message += $ "\n { failedNames . Count } repositories failed:\n { string . Join ( "\n " , failedNames ) } ";
163178
0 commit comments