Giter VIP home page Giter VIP logo

Comments (5)

ezio-melotti avatar ezio-melotti commented on August 16, 2024 1

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.

ezio-melotti avatar ezio-melotti commented on August 16, 2024 1

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:
image
and
image

In the PR I see:
image
and
image

from bedevere.

zware avatar zware commented on August 16, 2024

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.

CAM-Gerlach avatar CAM-Gerlach commented on August 16, 2024

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.

zware avatar zware commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.