Repository navigation
fix: Correctly parse acceptance test url - #3490
Conversation
|
👋 Hi, and thank you for this contribution! This repo is maintained by GitHub and community members on a best-effort basis. We'll get to this as soon as we can. You can help us prioritize by joining the discussion on open issues and PRs, sharing details on the changes you need, and reviewing other contributions. 🤖 This is an automated message. |
robert-crandall
left a comment
There was a problem hiding this comment.
Thanks for cleaning this up, routing the test base URL through getBaseURL so it matches the provider is definitely the right direction. One thing I want to sanity-check: getBaseURL strips /api/v3 and returns the isGHES bool, and the provider uses that bool to set RESTAPIPath/GraphQLAPIPath back. Since we discard it here and getTestMeta doesn't set those paths, do the GHES helper calls (e.g. the owner lookup in TestAccGithubTeamMembership) still land on /api/v3? Just want to make sure we're not stripping the path without adding it back. Happy to be wrong if you've run it against GHES.
|
@robert-crandall good spot, I don't have a GHES to target but you're right that the test meta needs this logic adding. I'll update the PR to fix this. |
44e1417 to
decee47
Compare
|
@robert-crandall this should be fixed now. |
d9036d7 to
2d6b3d5
Compare
Signed-off-by: Steve Hipwell <[email protected]>
2d6b3d5 to
31bdc53
Compare
robert-crandall
left a comment
There was a problem hiding this comment.
Nice, this is exactly what I was hoping for. I checked out the branch and it builds clean, and the github.com path is unchanged (JoinPath("") is a no-op). Thanks Steve!
Displaying verification statuses for all of your commitsYou can enable vigilant mode for commit signature verification to mark all of your commits and tags with a signature verification status. About vigilant modeWhen you work locally on your computer, Git allows you to set the author of your changes and the identity of the committer. This, potentially, makes it difficult for other people to be confident that commits and tags you create were actually created by you. To help solve this problem you can sign your commits and tags. For more information, see Signing commits and Signing tags. GitHub marks signed commits and tags with a verification status. By default commits and tags are marked "Verified" if they are signed with a GPG, SSH, or S/MIME key that was successfully verified. If a commit or tag has a signature that can't be verified by GitHub, we mark the commit or tag "Unverified." In all other cases no verification status is displayed. However, you can give other users increased confidence in the identity attributed to your commits and tags by enabling vigilant mode in your GitHub settings. With vigilant mode enabled, all of your commits and tags are marked with one of three verification statuses:
You should only enable vigilant mode if you sign all of your commits and tags and use an email address that is verified for your GitHub account as your committer email address. After enabling this mode, any unsigned commits or tags that you generate locally and push to GitHub will be marked "Unverified." You can check the verification status of your signed commits or tags on GitHub and view why your commit signatures might be unverified. For more information, see Checking your commit and tag signature verification status. Enabling vigilant mode
You can enable vigilant mode for commit signature verification to mark all of your commits and tags with a signature verification status. About vigilant modeWhen you work locally on your computer, Git allows you to set the author of your changes and the identity of the committer. This, potentially, makes it difficult for other people to be confident that commits and tags you create were actually created by you. To help solve this problem you can sign your commits and tags. For more information, see Signing commits and Signing tags. GitHub marks signed commits and tags with a verification status. By default commits and tags are marked "Verified" if they are signed with a GPG, SSH, or S/MIME key that was successfully verified. If a commit or tag has a signature that can't be verified by GitHub, we mark the commit or tag "Unverified." In all other cases no verification status is displayed. However, you can give other users increased confidence in the identity attributed to your commits and tags by enabling vigilant mode in your GitHub settings. With vigilant mode enabled, all of your commits and tags are marked with one of three verification statuses:
You should only enable vigilant mode if you sign all of your commits and tags and use an email address that is verified for your GitHub account as your committer email address. After enabling this mode, any unsigned commits or tags that you generate locally and push to GitHub will be marked "Unverified." You can check the verification status of your signed commits or tags on GitHub and view why your commit signatures might be unverified. For more information, see Checking your commit and tag signature verification status. Enabling vigilant mode
|
Resolves #3256
Closes #3258
Before the change?
After the change?
Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!