MonkeyCanCode opened a new issue, #2144:
URL: https://github.com/apache/polaris/issues/2144

   ### Describe the bug
   
   I noticed a lot of the builds failed lately and those are all related to 
some sort of rate limiting on GitHub API that we are calling from the following:
   ```
   fun addContributorsToPom(mavenPom: MavenPom, asfName: String, 
asfProjectName: String) =
     mavenPom.run {
       contributors {
         val contributors: List<Map<String, Any>> =
           
parseJson("https://api.github.com/repos/apache/$asfName/contributors?per_page=1000";)
         contributors
           .filter { contributor -> contributor["type"] == "User" }
           .forEach { contributor ->
             contributor {
               name.set(contributor["login"] as String)
               url.set(contributor["url"] as String)
               organization.set("$asfProjectName, GitHub contributors")
               organizationUrl.set("https://github.com/apache/$asfName";)
             }
           }
       }
     }
   ```
   
   A rerun of failed task will get us move forward.
   
   ### To Reproduce
   
   _No response_
   
   ### Actual Behavior
   
   _No response_
   
   ### Expected Behavior
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### System information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to