Replies: 5 comments 7 replies
-
Sure, yeah that dependency seems to make sense for the communication layer 👍🏻 |
Beta Was this translation helpful? Give feedback.
-
I'd be keen to look into this |
Beta Was this translation helpful? Give feedback.
-
I managed to write a function to use Azure DevOps REST API to get the diff between two branches export const getDiff = async ({
repository,
baseVersion,
targetVersion,
authKey,
}) => {
const result = await fetch(
`${AZURE_ORGANIZATION_URL}/_apis/git/repositories/${repository}/diffs/commits?baseVersion=${baseVersion}&targetVersion=${targetVersion}&api-version=7.1-preview.1`,
{
method: 'GET',
headers: {
Authorization: `Basic ${authKey} `,
},
}
);
const json = await result.json();
return json;
};
|
Beta Was this translation helpful? Give feedback.
-
any updates on it? i may help in some free time |
Beta Was this translation helpful? Give feedback.
-
Any progress on this? |
Beta Was this translation helpful? Give feedback.
-
Hi, I found #925 and #1016 haven't been updated for a while and would like to know the plan.
There's an official Azure DevOps client here: https://www.npmjs.com/package/azure-devops-node-api
According to the design of
danger
, can we include this one as a dependency.Beta Was this translation helpful? Give feedback.
All reactions