Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Exclude farmer.golang.org #8984

Closed
wants to merge 1 commit into from

Conversation

josharian
Copy link

This is a public record of failed builder runs.
It uses a self-signed cert, and there is
no plan for that to change.
See the discussion at golang/go#16442.

This is a public record of failed builder runs.
It uses a self-signed cert, and there is
no plan for that to change.
See the discussion at golang/go#16442.
@josharian
Copy link
Author

I'm going to pause on this for the moment, since it sounds like farmer.golang.org might be getting real certs. Two bits of friendly feedback from my first-time-contributor experience:

It'd be useful to document in the testing part of the readme how to set up for running rule tests--in particular, which python packages are required. I spent a while trying to get the tests to run before giving up. IIRC, I ultimately failed due to missing Levenshtein package. (Maybe it was a PYTHONPATH problem? Any which way, my "figure it out" time quota expired around there.)

It'd also be useful to document in the rules page how to write a test / what the test entries mean / what attributes a test can have. I wasn't sure how to add a test that farmer.golang.org didn't get rewritten.

Thanks!

@jeremyn
Copy link
Contributor

jeremyn commented Mar 17, 2017

Thanks for the pull request @josharian.

All the necessary development packages should have been installed by running bash install-dev-dependencies.sh as described in README.md.

We have a ruleset-testing.md describing tests. In this specific case it would be enough to add a test for the specific exclusion URL:

		<test url="http://farmer.golang.org/" />

This is also a problematic ruleset because of the wildcard, which I know you didn't add. We prefer to list subdomains with individual targets where possible, instead of using wildcards, partly to prevent exactly the problem you were trying to fix here.

Anyway this is just FYI. I know our documentation is a little scattered. You are welcome to ask for help in pull requests if you get stuck.

@josharian
Copy link
Author

Thanks, @jeremyn. As of https://go-review.googlesource.com/38798, farmer.golang.org supports https courtesy of letsencrypt, so I'm abandoning this.

@josharian josharian closed this Apr 2, 2017
@jeremyn
Copy link
Contributor

jeremyn commented Apr 4, 2017

Thanks for letting us know.

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

Successfully merging this pull request may close these issues.

None yet

3 participants