How to add credit to non-committers authors #109438
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#109438
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current Issue
The current automated script used to generate credits for Blender only takes into account authors of commits as stored in the GIT repository.
This means that we have no way to add co-authors, people who submitted a patch but could not commit it (although this case is less of an issue with PRs), etc.
E.g. @super_jo_nathan is not the only author of the new C++ PLY I/O code added to Blender 3.6 (
43e9c90061
), the whole team of students should be credited.Ideas
This can be solved in many ways, depending on how automated, future-proof and simple-to-use we want to keep this credit-generation process. here are some ideas:
Solution
1.
is mainly listed here for sake of exhaustivity, it does not seem like a good way to handle the problem, as it would add a noticeable overhead to release managers, and would be extremely error-prone.Solution
2.
is fairly simple to implement, and is the less intrusive of all. Its down-sides are that it requires a relatively strict formatting of the commit messages, and, the biggest drawback, that commit messages are not editable. In other words, it is practically impossible to fix a mistake once the commit is pushed, or the PR merged.Solution
3.
is a bit more intrusive and less straight-forward as solution2.
, since it requires editing of an external file. Further more, it needs to be edited and committed after the actual feature, to have a valid commit hash to associate with the co-authors. However, a big plus is that it can be edited afterwards, to add missing people, fix mistakes, etc.Proposal:
Co-authored-by:
formatted lines in commit messages (see also e.g. this page). #109468,56e9abf133
56e9abf133
Pokes to @dfelinto @brecht @ideasman42 @Sergey @ThomasDinges
Thanks for the design task Bastien!
Nothing to add for solution
1.
, this is not an option for me.Both
2.
and3.
can work though. How about a mix of these two?This way there would be no additional work (maintaining an extra file), unless we want to fix a mistake or have co-authors for already existing commits.
Some notes:
1.
not an option, but there are some possible low-overhead alternatives such as adding users,year-ranges & commits without the complications of mapping contributors to every SHA1.2.
may be reasonable,{blank-line}Includes contributions by {comma separated usernames}.
, shouldn't be so difficult to parse (maybe some variations on this wording, but keep it limited). EDIT (I wasn't aware ofCo-authored-by:
convention, better use that)3.
would prefer 2, 3 could be added too but more as a fallback.Note that when we used GForge + SVN it was possible to export a CSV of contributors (which the credits generator supported at the time), if there is a way of manually assigning developers - we could extract the authors for patches and set them as author overrides. I recall some developers weren't happy to be removed from the credits when moving to Phabricator.
I think we should do 2) with the standard
Co-authored-by:
syntax various tools and platforms already understand. Gitea will automatically add this when squashing commits from multiple authors.We can add a list of authors that were forgotten in commits in
credits_git_gen.py
, for the case where it was forgotten. But I don't think we have to associate specific commits there.@brecht Strictly speaking, the output of the script depends on the range it's given. If I for example ask the script to give me all commits between 3.5 and 3.6, it should only give me these and not always append an extra list of names.
Ok, adding a commit hash for that purpose seems fine.
Thanks for the feedback, updated the proposal and added a PR with proposed implementation: #109468
FYI also updated to documentation to reflect changes discussed here.
Committed the changes to main, will add it to LTSs backports lists as well. Thanks.