-
Notifications
You must be signed in to change notification settings - Fork 64
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
Github4s site publishing takes ~8 minutes #398
Comments
Lucky you, I've had :
I agree that it somewhere in GitHubOps, maybe I'll dig some details in it too. |
I can't give much insight into this, but as long as I'm aware that way of fetching dirs is needed for the way GitHub4s interacts with the GitHub API. As a way to circumvent this, and the way I think you finally went with @sritchie, is to use the default publishing method (that internally uses |
Some more insight in here: |
Hi @sritchie, some improvements have been made this past year to the plugin and to the underlying github4s library. Could you see if using the latest release of this plugin helps with your issues? Thanks in advance! |
Hey @sloshy , I haven't touched the ScalaRL project in a while, but once I do I'll give this a try! |
This is for
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.9.7")
. I've currently got this style of publishing working for scala-rl's master branch:https://github.com/sritchie/scala-rl/tree/master
the problem is that the final stage of pushing the microsite takes about 8 minutes, most of this occurring after the commit message gets printed to Travis.
https://travis-ci.com/sritchie/scala-rl/jobs/267743690#L641
My guess is that this is something about the implementation of
fetchDirsRecursively
:https://github.com/47deg/sbt-org-policies/blob/master/core/src/main/scala/sbtorgpolicies/github/GitHubOps.scala#L145
but I haven't had time to dig in myself. This isn't a killer, but close since I believe travisCI has a 10 minute timeout on no response from builds.
Thanks!
The text was updated successfully, but these errors were encountered: