Problem/Motivation
When somebody uploads a file to an issue queue (a patch, a screenshot, etc.), their user is automatically ticked in the list of people to be credited in the "Credit & committing" section. When the issue is closed as "Fixed", they receive a credit unless the project owner or another project maintainer removes the tick . If the upload is a patch, it also look to me like the tick cannot be disabled. even if the patch is pure garbage.
It looks like some people may use this as a way earn undeserved issue credits. See related issue for what I suspect is an example of this.
Proposed resolution
Remove the misfeature that automatically credit people who upload files to an issue from Drupal.org customizations.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | cat-small.jpeg | 28.97 KB | bramdriesen |
Issue fork drupalorg-3226881
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
drummThe maintainer can certainly untick credit when they update the issue. But yes, if it is the default, it will tend to stay ticked.
Changing this behavior is certainly straightforward, but I’d like to see a few more perspectives on it from project maintainers, since this is a large-enough change.
Comment #3
bramdriesenHere was my view on it: #3217991: Do not auto credit when uploading an image
Comment #6
bramdriesenNot following 100% what the code exactly does. Code wise the merge request looks okay, and I trust @drumm's judgment of what needs to be done to get this fixed ;-).
Comment #8
drummYes, I think this was originally written to only suggest credit for patch files, so removing the line of code was straightforward, once it was found.
Just one more clarification- credit is never automatic. As a maintainer comments, its suggested for people who have uploaded files, but is not set until the maintainer updates the issue to confirm that.
Comment #9
bramdriesenHmm is that true?
Cat image as example.
Comment #10
bramdriesenOkay seems you are right :-)
Comment #11
hestenetPossible bug introduced, see: https://www.drupal.org/project/drupal/issues/2617330#comment-14708000
Comment #12
bramdriesenNeeds work in that case I guess?
Comment #13
drummI’m not seeing any real evidence of that. They didn’t have credit before, because that’s what the maintainer had saved. That could have been we we’re auto-suggesting credit for uploading patch files at the time, or maybe the pithy comment didn’t warrant credit. Regardless, the issue isn’t fixed, so credit isn’t finalized.
Query used to see the credit history:
Again, this is only about suggested credit. Nothing automatically adds or removes credit, it is up to the maintainers of each project to decide as they fix issues.
Comment #15
ressaAdding related issue.