Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4699

Closed
Open
Created 11 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Graphs page wrong time interval

Closed

Graphs page wrong time interval

Created by: limansky

Hi,

I have fresh installation of GitLab-5.4. I've found that the graphs for one of the repositories is drawn only for the period June 7 2013 - August 2 2013, but the repo contains commits since July 26 2012. I have no idea how this date was chosen. It not related of the date of GitLab project creation or something like this.

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: limansky

      One more detail I've remembered (maybe it can be important). When I initially push the repository to gitlab, there was one of the developers branches selected instead of master. I switched default branch in project settings after, but it doesn't changed the graph.

      By Administrator on 2013-08-13T18:04:26 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: RaumZeit

      Same here with fresh update to gitlab 6.0. My active branch is not 'master' so my graphs stop in 2009 although there were hundreds of commits meanwhile.

      I found in the sources that the graph not only is limited to max of 6000 commits, it also displays commits to the master branch only. The arguments passed over to git to retrieve the data seems to consist of

      args = ['-6000', '--format=%aN%x0a%aE%x0a%cd', '--date=short', '--shortstat', '--no-merges']
      log = repo.git.run(nil, 'log', nil, {}, args)

      The '-b' parameter specifying the branch is missing...

      By Administrator on 2013-08-24T22:32:04 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: RaumZeit

      Seems this issue has been targeted by gitlab/gitlab_git repository already. See

      https://github.com/gitlabhq/gitlab_git/pull/7

      adding ref to the arguments array in gitlab_git/git_stats.rb

      args = [ref, '-10000', '--format=%aN%x0a%aE%x0a%cd', '--date=short', '--shortstat', '--no-merges']

      partially solved the problem for me. After the next commit to my repo the log was updated and now activity for the default branch (according to the gitlab settings) is taken into account for graph statistics... A per branch graph would be much nicer though, since the URI to the graph page would allow for that

      https://url/groupname/projectname/graphs/branchname

      By Administrator on 2013-08-25T12:32:24 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: X-Stranger

      Faced the same issue. Is there any patch?

      By Administrator on 2013-08-28T09:56:35 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: limansky

      After upgrade to 6.0 I see a lot of empty graphics with dates instead of commiter name, like this: 2012-11-15 13 commits / 0 ++ / 0 --

      By Administrator on 2013-08-29T21:27:00 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: limansky

      I've found that the problem has gone after upgrading to 6.0.1. For me the issue can be closed.

      By Administrator on 2013-09-09T18:58:26 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: Razer6

      You can also close it by yourself ;)

      By Administrator on 2013-09-09T19:20:39 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: limansky

      I can, but I like to wait if some one else will confirm that issue has gone, 'couse I don't see any commits in this bug (and the gitlabhq/gitlab_git#7 is still opened as well). Anyway, it can be reopened if it still here.

      By Administrator on 2013-09-09T19:52:44 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    1
    Labels
    Graph
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help