•  
      story #9436 see git repositories read access
    Summary
    project admin
    see git repositories read access

    I can monitor git activity

    • For Project admin, in "Project access log",
      • Rename "Git pushes for the past ..." into "Git access for the past"
        • Distinguish Read and Write operations
          • Write are git push (not modified)
          • Read are git fetch, git clone and access to repository via gitphp
        • Unlike svn, the read access are recorded as is (no group by day)
    • On site admin "statistics" part, the following stats are updated:

      • "Frequencies" (number of access per day/month/...): one graph for Read, one graph for Write
      • "SCM statistics"
      • "Service usage"

    Technically speaking:

    • Need to parse gitolite logs (/var/lib/gitolite/.gitolite/logs/gitolite-YYYY-MM.log)
      • Format differs between g2 and g3. This should be taken into account
      • Warning on change of months & years
      • Ideally past logs can be imported on first run
      • Parse position is recorded on line number
    • The collect of data is done via a system event hooked on root_daily
    Empty
    Empty
    Status
    Empty
    Done
    Development
    • [ ] Does it involves User Interface? 
    • [ ] Are there any mockups?
    • [ ] Are permissions checked?
    • [ ] Does it need Javascript development?
    • [ ] Does it need a forge upgrade bucket?
    • [ ] Does it need to execute things in system events?
    • [ ] Does it impact project creation (templates)?
    • [ ] Is it exploratory?
    Empty
    Details
    #9436
    Manuel Vacelet (vaceletm)
    2016-10-10 17:15
    2016-08-31 10:13
    3250

    References

    Follow-ups

    User avatar
    gerrit #6613 integrated in Tuleap 8.19.99.74

    • So that
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Acceptance criteria
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes