Conversation
195a7ce to
317ea91
Compare
0f22513 to
aecdedf
Compare
317ea91 to
a1727c0
Compare
aecdedf to
cecf5a7
Compare
6844237 to
a328685
Compare
cecf5a7 to
c1f4ecc
Compare
c1f4ecc to
55cedb2
Compare
a328685 to
aedf600
Compare
55cedb2 to
8b1c412
Compare
4cbc863 to
fbba684
Compare
93c4745 to
94c137b
Compare
94c137b to
6935936
Compare
| requestedRepositories?: BitbucketRepositoryDescriptor[], | ||
| ): Promise<PullRequest[] | undefined> { | ||
| return Promise.resolve(undefined); | ||
| if (requestedRepositories != null) { | ||
| // TODO: implement repos version | ||
| return undefined; | ||
| } |
There was a problem hiding this comment.
The "requested repositories" would always be your open bitbucket repositories - they can be calculated here rather than passed in from above.
There was a problem hiding this comment.
@axosoft-ramint
Do you mean that if they are passed, then I don't extract them from the context another time and just take the values from the argument?
There was a problem hiding this comment.
I mean we don't need requestedRepositories as an input here. This function should just use open repositories for the repo-specific query, and all your workspaces for the workspace-specific query.
There was a problem hiding this comment.
Ah. Just to ignore the content of this argument regardless if it's undefined or defined, like this a7effa4 ?
There was a problem hiding this comment.
My mistake again here - we can keep this as is, just rename requestedRepositories to repos to align with the other providers.
Apologies for the confusion!
ramin-t
left a comment
There was a problem hiding this comment.
LGTM. Please make sure to follow up with shared library team on improvements to bitbucket queries.
|
@axosoft-ramint
Here it is: #4128 |
Description
solves #4046
Checklist
Fixes $XXX -orCloses #XXX -prefix to auto-close the issue that your PR addressesThe follow-up for improvement of the shared library: #4128