Skip to content

Conversation

@bhearsum
Copy link
Contributor

A few things going on here, mostly boring:

  • Move the existing GithubClient to scriptworker_client
  • Move the associated test fixtures to a new pytest-scriptworker-client package
  • Necessary adjustments in treescript to let it be able to find and use the new packages

Although not ideal, this also includes a minor fix to allow slashes in GraphQL key names that I had already incorporated into the version of this code in #1135. I can pull it out if necessary, but I think it's probably small and safe enough to just keep in here?

This is all motivated by the fact that Landoscript needs a GithubClient, and we ought to share the existing one between it and treescript.

@bhearsum bhearsum force-pushed the move-github-client branch 3 times, most recently from 18e4207 to 9df02c4 Compare March 18, 2025 00:35
@bhearsum bhearsum marked this pull request as ready for review March 18, 2025 00:35
@bhearsum bhearsum requested a review from ahal March 18, 2025 00:35
…key names

A few things going on here, mostly boring:
* Move the existing GithubClient to scriptworker_client
* Move the associated test fixtures to a new `pytest-scriptworker-client` package
* Necessary adjustments in treescript to let it be able to find and use the new packages

Although not ideal, this also includes a minor fix to allow slashes in GraphQL key names that I had already incorporated into the version of this code in mozilla-releng#1135. I can pull it out if necessary, but I think it's probably small and safe enough to just keep in here?
@bhearsum bhearsum force-pushed the move-github-client branch from 9df02c4 to b8ee60c Compare March 18, 2025 00:36
@bhearsum bhearsum mentioned this pull request Mar 18, 2025
Copy link
Contributor

@ahal ahal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, lgtm!

@bhearsum bhearsum merged commit fb7a022 into mozilla-releng:master Mar 18, 2025
27 checks passed
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

Successfully merging this pull request may close these issues.

2 participants