Repository Count for Nested Groups

Issue #209 resolved
Matthew J Little created an issue

Currently the repository groups show the total number of repositories it contains but does not count the repositories in the groups that are nested.

Possible to show the number of total repositories from all nested groups?

Comments (6)

  1. Marcin Kuzminski repo owner

    I'd added a method for this one, but i have to think if i'll implement that. Many nested groups will lead to many queries to recursive count repositories

  2. Matthew J Little reporter

    I tried the method with my repository and I got the results I expected. :)

    I would be fine with this count being cached. Only update the counts when repositories are added/moved/removed and/or updating the count ad-hoc from the admin console.

  3. Alexandre Huppé

    I've also noticed that the title bar in a repository group count is left at 0 as in:

    Repository Groups >> "PROJECTS" WITH 0 REPOSITORIES

    when it does contain somes

    (rhodecode 1.2.beta r1475:eee3cb592099)

  4. Marcin Kuzminski repo owner

    Count was changed recently to count the repositories you have access to (visible on dashboard) and not total on system. It's more safe than showing how many repos your RhodeCode instance have.

    https://hg.rhodecode.org/ running r1475 shows correct number of repositories.

  5. Log in to comment