Skip to content
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

link-check: fix CI daily #1193

Merged
merged 1 commit into from
Apr 27, 2020
Merged

link-check: fix CI daily #1193

merged 1 commit into from
Apr 27, 2020

Conversation

casperdcl
Copy link
Contributor

@casperdcl casperdcl added 🐛 type: bug Something isn't working. A: website Area: website labels Apr 27, 2020
@casperdcl casperdcl requested a review from shcheklein April 27, 2020 10:12
@casperdcl casperdcl self-assigned this Apr 27, 2020
@shcheklein shcheklein temporarily deployed to dvc-landing-link-check--cjbpde April 27, 2020 10:13 Inactive
@shcheklein
Copy link
Member

Looks good! Annoying a bit that we have to repeat certain settings (like extensions? files to exclude?) across different scripts.

@shcheklein shcheklein merged commit aaf04f0 into master Apr 27, 2020
@casperdcl
Copy link
Contributor Author

Looks good! Annoying a bit that we have to repeat certain settings (like extensions? files to exclude?) across different scripts.

Yes, though they're done a bit differently (find | grep -v versus git diff -- ':!'). Still a handful of lines duplicating definition of $base_url and $exclude which could be moved to the sourced utils.sh but not sure if that's good programming practice. What we need is an equivalent of from utils import base_url in bash rather than source utils.sh == from utils import *

@casperdcl casperdcl deleted the link-check-cycle branch April 27, 2020 18:30
@shcheklein
Copy link
Member

I think it's pretty common to have config.sh that you'd just source in all other sripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: website Area: website 🐛 type: bug Something isn't working.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

link-check: full cycle issues
2 participants