Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipe: generate a PR description #183

Closed
malomarrec opened this issue Apr 11, 2023 · 1 comment
Closed

Recipe: generate a PR description #183

malomarrec opened this issue Apr 11, 2023 · 1 comment
Labels

Comments

@malomarrec
Copy link

No description provided.

@malomarrec
Copy link
Author

@malomarrec malomarrec changed the title Ask Cody: generate a PR description Recipe: generate a PR description Apr 27, 2023
evict referenced this issue in sourcegraph/sourcegraph-public-snapshot Jun 5, 2023
This PR is for issue #50526. The idea is to check the templates first
with most of the possible locations of the PR template stored. If it
exists, use it by summarizing the recent changes of the current checkout
branch. Else, just fallback to the summarisation of commits and a
checklist at the bottom.

Some of the sample PR templates generated:

![iScreen Shoter - Code -
230510201407](https://github.com/sourcegraph/sourcegraph/assets/44617923/c4a50630-ad92-48e4-a50a-48b2c3f0af1a)

![iScreen Shoter - Code -
230510201722](https://github.com/sourcegraph/sourcegraph/assets/44617923/e7a92a79-5571-4cac-ad46-fee300485ffa)

## Test plan
Tested it manually for different repositories with a PR template.

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
ErikaRS referenced this issue in sourcegraph/sourcegraph-public-snapshot Jun 22, 2023
This PR is for issue #50526. The idea is to check the templates first
with most of the possible locations of the PR template stored. If it
exists, use it by summarizing the recent changes of the current checkout
branch. Else, just fallback to the summarisation of commits and a
checklist at the bottom.

Some of the sample PR templates generated:

![iScreen Shoter - Code -
230510201407](https://github.com/sourcegraph/sourcegraph/assets/44617923/c4a50630-ad92-48e4-a50a-48b2c3f0af1a)

![iScreen Shoter - Code -
230510201722](https://github.com/sourcegraph/sourcegraph/assets/44617923/e7a92a79-5571-4cac-ad46-fee300485ffa)

## Test plan
Tested it manually for different repositories with a PR template.

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
@lrhacker lrhacker transferred this issue from sourcegraph/sourcegraph-public-snapshot Jul 12, 2023
@lrhacker lrhacker added recipes and removed cody labels Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants