Skip to content

Only check external links daily #1125

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

Open
ashawley opened this issue Aug 4, 2018 · 7 comments
Open

Only check external links daily #1125

ashawley opened this issue Aug 4, 2018 · 7 comments

Comments

@ashawley
Copy link
Member

ashawley commented Aug 4, 2018

Seth suggested moving the fix in scala/scala-lang#942 that modified Travis to check external links only on a scheduled basis, but still check internal links with all git activity.

This repo doesn't use Travis. Drone doesn't appear to intrinsically support cron jobs. There would need to be a similar facility to port it here.

@SethTisue
Copy link
Member

@jvican is this an issue you've faced/solved in any of the Scala Center's other Drone builds?

@jvican
Copy link
Member

jvican commented Aug 6, 2018

No, never. Adding a cron job in our machine shouldn't be an issue, but I'm not sure this is the way to go... now we're bothered by it and we at least fix them. With such a tool, I'm not sure if they would even get fixed...

@SethTisue
Copy link
Member

No, never. Adding a cron job in our machine shouldn't be an issue, but I'm not sure this is the way to go... now we're bothered by it and we at least fix them. With such a tool, I'm not sure if they would even get fixed...

this has to be weighed against the cost of routinely having spurious errors in PRs that are unrelated to the content of the PRs. that leads to CI being ignored by contributors and maintainers. this is the situation we are already in.

@SethTisue
Copy link
Member

is there a strong reason we're using Drone instead of Travis-CI in this repo at all? generally we prefer to 1) keep the scala-lang and docs.scala-lang repos aligned technically, 2) use tools that are already familiar to open-source contributors (and under scala/* we've been using Travis-CI almost everywhere for a long time)

@jvican
Copy link
Member

jvican commented Aug 7, 2018

The reason to use Drone was that it was faster to build the website (before it took ages). However, maybe now Travis has sped up and it's on par with Drone. If somebody wants to give it a try, feel free to!

that leads to CI being ignored by contributors and maintainers. this is the situation we are already in.

I see your point. I don't know if people ignore the CI because of this. If they do, that's bad. We can surely consider the option you guys propose.

@rkoeninger
Copy link
Contributor

FYI, an exception was added to the CI build for links in the www.oracle.com domain, which were failing regularly. (Issue #1168, fixed in PR #1169) It doesn't appear verifying external links is otherwise an issue at the moment.

@SethTisue
Copy link
Member

Agree there's nothing really pressing here. (I still think it would be nice to align with the scala/scala-lang repo, though.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants