Comments (5)
I created this issue exactly because that feature seems to be kind of useless for our use case. As far as I understand:
- using special keywords links the issue and PR, but also implies that once the PR is merged the issue will be closed. Since an issue might require multiple PRs (e.g. backports), we don't usually want to do that;
- manually adding an issue to the "Development" section of a PR has the same effect as using the special keywords: i.e. it links the issue and closes it once the PR is merged.
- I'm not sure if adding a PR to the "Development" section of an issue is also the same, but I think it is.
In other words, currently linking and closing are coupled. We want the linking but not the closing, so we can't use the feature unless GitHub decouples them. Maybe there's already a way to do it that I'm not aware of?
from bedevere.
I'm not sure if adding a PR to the "Development" section of an issue is also the same, but I think it is.
I can confirm, I just tried to add a PR to an issue and:
and
from bedevere.
GitHub does now offer actual links between issues and PRs (see the "Development" section in the right sidebar of this or other issues). However, I have yet to figure out how it's actually supposed to work; the dropdown menu frequently fails to offer me anything approaching relevant, and the magic linking words to include in a message body really are quite magical. If we could that linking working reliably (possibly with help from Sir Bedevere), we could hopefully move away from having to have Bedevere edit any messages. There may be some useful documentation on this somewhere, but I have failed to find it after not looking at all :)
from bedevere.
Additionally, somewhat orthogonal, but PRs can't close other PRs, which is often useful as far as the closing aspect is concerned.
As a sidenote, these cannot be added/changed/removed by triagers unless/until python/core-workflow#460 is resolved.
I'm not sure if adding a PR to the "Development" section of an issue is also the same, but I think it is.
Yes.
from bedevere.
Ah. I had not previously realized how closely coupled they had "linking" and "closing", and some testing shows that there isn't really any way around it :(
On the other hand, links can be made to closed issues, and issues can be reopened; it might not be a bad thing to use the GH linking as is. I for one am not great at always remembering to close an issue after merging its PRs.
from bedevere.
Related Issues (20)
- Improve formatting of PR links added to issues HOT 1
- bedevere-bot does not have 2FA enabled HOT 10
- Bedevere check for issue number is faulty
- Teach Bedevere to suggest regenerated `configure` file HOT 3
- Automate adding linked-pull-request symbol under "Milestones" column of the issue tracker HOT 2
- Bedevere shouldn't add "awaiting review" label on draft PRs HOT 3
- Renaming issues/PRs incorrectly changes `awaiting change review` and `awaiting merge` to `awaiting review` HOT 3
- Incorrect bedevere transition HOT 2
- Incorrect bedevere transition (the sequel) HOT 6
- Bedevere failed to create "needs backport to 3.12" label
- Bug: 500 error when bedevere received "commit.pushed" webhook events. HOT 1
- Bedevere should label "awaiting merge" after a core review HOT 3
- Update NEWS message HOT 2
- Bedevere doesn't say "thank you" for making the requested changes anymore HOT 3
- Is Bedevere retired? HOT 2
- Shouldn't Sir classify changes in test modules by "tests" label? HOT 1
- Add docs label for PRs that touch Doc/tools/.nitignore HOT 9
- Link to devguide when lint fails HOT 12
- Copy over topic-* labels to backport PRs
- `News entry file name incorrectly formatted` when moving a news entry HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bedevere.