Problem/Motivation

Decided in #2281763: Make Drupal.org user profiles more robust
The current "Projects" listing on the d.o profile actually lists any project where someone committed the work of others (or themselves)
or where someone else who committed it gave the user git attribution (which only happens sometimes and can only happen when only one person worked on the code since git attribution cannot credit more than one person).

This confuses people since they think if they contributed code to a commit, they should see that project listed on their profile.

Reduce confusion, and make this more useful (not list old projects not a maintainer of anymore).

Proposed resolution

Make a new listing of projects a user is a maintainer of.

Title: Projects maintainer of

Remaining tasks

  • Get a d.o dev server. https://www.drupal.org/node/1018084
  • Make a new view or custom query to get a list of projects a user is a current maintainer of.
  • Add it to the d.o Profile. (Does not need to wait on the re-organization. Put it above the current Projects listing of all the projects with git commit attributions).

User interface changes

New display on d.o profile.

API changes

No.

CommentFileSizeAuthor
#1 maintainers-setting.png210.51 KBYesCT
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

YesCT’s picture

FileSize
210.51 KB

Note that maintainers are added and removed by editing a project.

Also note that not all maintainers of projects had/have commit git attributions for them.

Do we want another issue that might attempt to make a list of *past* projects someone was a maintainer for? I think not. Because in most cases these will have git attributions and show up under projected they *have in the past* *contributed to* even if they are not a maintainer of anymore.

YesCT’s picture

Issue summary: View changes

What should the title be?

Projects maintainer of

?

drumm’s picture

https://www.drupal.org/project/user/258568 actually exists, it is from either Project or Project issue module. We can

  • File any issues needed to improve it with Project*.
  • Include it in profile navigation.
Bojhan’s picture

Is it currently linked anywhere?

mgifford’s picture

So is just just exposing the Your projects link? For me it's:
https://www.drupal.org/project/user/27930

When I look at YesCT it's fine, but:
https://www.drupal.org/project/user/258568

You want a link I'd be able to see a link from:
https://www.drupal.org/u/yesct

With a title something like "User's Projects" after "Profile Posts Commits"?

How would someone know about this?

netw3rker’s picture

@drumm, Call me crazy, but i don't see a handler in the drupalorg project for project/user or project/user/% is it in code somewhere?

My interest in this issue here is fairly simple, I'm listed as a co-maintainer on enough modules that I've lost track of which ones. It'd be great if project/user included projects I'm a co-maintainer of (with or without commits/attributions) so that I could know the answer to that question :) I'm happy to make the change if I I can be pointed to the code for it.

Thanks!

drumm’s picture

Since the Views include issue data, they are in Project Issue: http://cgit.drupalcode.org/project_issue/tree/views/default_views/projec....

netw3rker’s picture

Thanks @drumm,

I've created 2 issues surrounding the problem I mentioned: #2358371: Declare project_maintainers table for views for the creation of the view arguments, and #2358375: My Projects view should show co-maintained projects for the adjustments to the "My Projects" view.

et: all, I kinda hijacked the thread for my problem. I have a home for this problem now, sorry :)

YesCT’s picture

YesCT’s picture

related information

there is also no list per project of maintainers that is public
there is an admin page for projects, but view access on it is restricted
there is also a list of committers to a project (but that is different than maintainer)

For example
https://www.drupal.org/project/user/2740599
does not list any projects for that person,
but they were given commit access to
https://www.drupal.org/node/1977142/maintainers
but I'm not sure how they would be able to know they were a maintainer, or what maintainer abilities they have.

@timplunkett pointed out in irc,
there is a question of what defines "maintainership". is it just VCS rights? or ability to tag releases? or edit the project page?

I guess I would say it would be anyone with a row on that maintainers page with any box checked.

netw3rker’s picture

@YesCT,

I guess I would say it would be anyone with a row on that maintainers page with any box checked.

I agree with you. Because of htat, the view fields that I created for the maintainer table don't currently have filters for any of those fields. joining the project to the maintainers field with a context filter on UID should be enough to show all projects a user is a designated member of (regardless of whether they have made a commit or not), which IMO as well, is all that matters.

refactoring this view to follow that method and be more performant is high on my todo list right now, but i'll probably be this weekend or next week before I get around to it.

joshuami’s picture

YesCT’s picture

dww’s picture

Status: Active » Closed (duplicate)
Related issues: +#101341: 'My projects' should also display projects that are being co-maintained
YesCT’s picture

Status: Closed (duplicate) » Active
Issue tags: +drupal.org contribution crediting

some contribution credit issues have d.o profile improvements tag, and some have nothing and are easy to get lost (and not about profiles), so tagging to organize credit ones.

---

not a duplicate cause #1246598: Split "My Projects" into two lists: "Projects Maintainer of" and "Projects Contributed to"

realityloop’s picture

Patch added over at https://www.drupal.org/node/2358375#comment-10373737 which has some relevant information

realityloop’s picture

Status: Active » Closed (duplicate)