[#729] Public hosted projects #: allow admins to brag about private projects



Detailed description

gforge.inria.fr has a patch to display the number of private+public hosted projects on the frontpage. This is important to show the activity of the hosting platform, to users and managers.

I suggest displaying the full number of projects (rather than only the public projects) conditionally using a config parameter, unless everybody feel safe to always display the full number of projects.


General Information
Submitted by:
Sylvain Beucler
Date Submitted: 2014-09-10 09:15
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2014-09-12 15:27
Permalink: https://fusionforge.org/tracker/a_follow.php/729
Internal Fields
Data Type: Feature requests
Assigned to: Sylvain Beucler (beuc-inria)
State: Closed
Priority: 3
Extra Fields
Target release:
Follow-up tabs
Message  ↓
Date: 2014-09-12 15:27
Sender: Sylvain Beucler

IRC discussion clarifies that some forge admins are pretty adamant about masking private project count without clear justification. Implemented full/filtered counting in master.

Date: 2014-09-11 08:04
Sender: Sylvain Beucler

I only work on a feature when I know why I'm implementing it! I can't believe I read this in a free software project - should we have features without even knowing why there are here in the first place? Seriously. I took the time, 4 times, to explain the reasons of my proposed change, I expect no less from other members of FusionForge.

So, now that we've confirmed we actually need the feature to mask the real number of projects (but I still wish to know why), we now can decide that we need a config parameter (I'm not implement a config parameter before I'm sure there's need for it first, so we avoid multiplying test cases).

I don't see the need to introduce a 3rd way to display stats through using per-user privs, so I'll keep it simple with 2 options: all projects or only public projects.

Date: 2014-09-11 07:39
Sender: Franck Villaume

"I suggest displaying the full number of projects (rather than only the public projects) conditionally using a config parameter"

I said YES. Do you need more agreement? I even proposed values for this config parameter. I also said we need to display the same value in the full_list.php file.

I have a client who does NOT want to display private projects. And I'm not going to argue about why. Is it clear enough?

Date: 2014-09-11 07:21
Sender: Sylvain Beucler

I don't know how I can make my pointer clear, sorry, do you want me to write it in French?

If as you believe, nobody "cares about who got the largest", and we don't patch gforge.inria.fr, a lot of people here will only see "788 projects" [publicly accessible], not 5500+. This stat is the most important one, it's given much visibility, it's known by the management who gives money and by the users who would migrate to a github-like alternative if the migration were easy. Consequently, we'd rather make it clear to everybody that the forge is large and well used, by displaying the full number of projects.

Now I'd like to avoid implementing a config option just for the sake of it. In particular I don't feel akin to implement 3 different ways to show the stats without a good reason. So I first asked a question: does anybody needs to mask the real number of projects, and why?

Date: 2014-09-10 16:45
Sender: Franck Villaume

550 projects? I thought you had 5500. Maybe I need glasses. http://gforge.inria.fr

configuration flag could be : showsitestatsprofile = 0 (default value = use the permission setting) showsitestatsprofile = 1 (public only, current situation) showsitestatsprofile = 2 (public + private)

fulllist.php uses the getpublicactiveprojects_asc function (which uses the permission setting)

your opinion?

Date: 2014-09-10 16:24
Sender: Sylvain Beucler

"This is important to show the activity of the hosting platform, to users and managers."

Unless you want my current boss to consider that we should stop spending so much money on hosting 550 projects :}

That's 3 times I explain it.

OK for displaying the same value in full_list.php - so, OK to always display the real number of projects, or is there a reason not to (-> so config param)?

Date: 2014-09-10 15:36
Sender: Franck Villaume

who cares about who got the largest?

At least, we shoud display the same value than the full_list.php page displays.

Date: 2014-09-10 15:11
Sender: Sylvain Beucler

You mean only displaying the projects that a user has access to? But how can one brag about having 5500 projects when anonymous visitors all see "550"? :)

Date: 2014-09-10 15:09
Sender: Franck Villaume

what about displaying "visible projects" using the permission setttings?

No attached documents

No related commits.

Field Old Value Date By
status_idOpen2014-09-12 15:27
Sylvain Beucler
close_dateNone2014-09-12 15:27
Sylvain Beucler

No relations found.