Opened 3 years ago
Last modified 2 years ago
#5978 new enhancement
Create a better way to trac SVN props and contributions
Reported by: | dd32 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Version Control | Keywords: | |
Cc: |
Description
Currently core compiles a list of props for each release at the end of the release, this is based on parsing the git log for props, and then manually correcting all the items within that doesn't quite parse right.
Something I've wanted to do for a while, is to add realtime props to SVN to profile.wordpress.org, which requires having this data in a database that we can query.. something which we haven't had with the previous method of gathering props.
It would also be nice to be able to generate certain "reports" for various uses, and to be able to highlight contributors for whom have either been typo'd in commit messages, or where the actual contributors name isn't able to be linked to a WordPress.org user.
The commits to follow are something I've been tweaking slightly for a few weeks, and applies to develop.svn and meta.svn initially.
Change History (14)
#6
@
3 years ago
In r18068-dotorg: Profiles: Include changesets that users are mentioned in on Core/Meta SVN in their profile feed. See https://meta.trac.wordpress.org/ticket/5978
A good example of this is https://profiles.wordpress.org/costdev/ for Core, and https://profiles.wordpress.org/jonoaldersonwp/ for Meta/Core.
For committers, here's some direct links to the edit screen (You need posting permission for the make site)
- https://make.wordpress.org/core/wp-admin/admin.php?page=props-edit-core
- https://make.wordpress.org/meta/wp-admin/admin.php?page=props-edit-meta
There's not exactly many instructions, but it's impossible to break - worst case you have to hit reparse on the commit or re-edit all the props [for the commit.. hopefully].
There's nothing preventing it being expanded to BuddyPress & bbPress SVNs, other than not knowing where to show the UI's, and adding a BP/BB version extraction function :)
It's built around SVN, but there's no reason it couldn't import a Git repo, other than non-sequential commit numbers, and if hosted by GitHub (for example) the usernames not matching dotorg usernames would be the obvious short-coming. Although, that being said, if a linked W.org linked GitHub is mentioned in a SVN commit at present, that's picked up, so we could probably make it work.
#11
follow-up:
↓ 12
@
3 years ago
This looks really great so far, @dd32! Thanks for this work.
How hard would it be to add an export feature to that page? I'm picturing just a link at the top with a dropdown to select format. These could be the formats that the props parser currently outputs (HTML, combined, commits, etc.), and maybe some new options like a CSV.
Also, I've been meaning to propose a way for standardizing props for Gutenberg on the Make/Core blog for a while, but this may be a great time to follow through with this. But this ticket is specifically for SVN props, so wanted to check on this before I outlined my thoughts about that here.
#12
in reply to:
↑ 11
@
3 years ago
Replying to desrosj:
How hard would it be to add an export feature to that page? I'm picturing just a link at the top with a dropdown to select format. These could be the formats that the props parser currently outputs (HTML, combined, commits, etc.), and maybe some new options like a CSV.
Sure! If you can outline the export fields and format you want :) Can you outline which of the formats is most used?
Also, I've been meaning to propose a way for standardizing props for Gutenberg on the Make/Core blog for a while, but this may be a great time to follow through with this. But this ticket is specifically for SVN props, so wanted to check on this before I outlined my thoughts about that here.
Something else I was looking at was a way to pull /props
from slack into Profiles too, storing it in a structured manner on w.org, so that we could pull "Props between dates" or "Props linked to WP 5.9". I hadn't yet managed to think through with a GitHub method of tracking these, so that would also be beneficial.
What I was hoping to start was a way to consistently report & collate props, SVN being the obvious one (to me) that was still kind of manual work involved to run the prop script and check every changeset and then adjust it to work with them.
#13
@
3 years ago
Also, I've been meaning to propose a way for standardizing props for Gutenberg on the Make/Core blog for a while, but this may be a great time to follow through with this. But this ticket is specifically for SVN props, so wanted to check on this before I outlined my thoughts about that here.
I published this proposal earlier today: https://make.wordpress.org/core/2022/01/31/ensuring-proper-attribution-for-contributions-to-wordpress-on-github/.
#14
@
2 years ago
Could we add the ability to filter by "missed" or "typo" props (pictured in a similar way to post statuses at the top of the table) where only commits with missed or incorrectly typed props are shown?
This would make it easier to use this tool in combination with the props-parser
to correct mistakes in the git log
.
In 11360: