Project

General

Profile

Actions

Feature #5256

open

Last repository access time.

Added by Alexey Vasiliev about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
22.03.2017
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:

Description

Dear RhodeCode support.
We are very needed to track last activities of our RhodeCode users include the last time of repository access (include pull operations).
The only way to do it now a log files parsing.

Am I right that all push/pull operations are covered by rhodecode service and there is possible to update last access time?
Our RH version is: RhodeCode Enterprise Edition, version 4.5.2
We really needed this for track alive users periodically. I have created simple python script for that but found that some users have information in logs about SCM activities but access time is not changed.
Probably it would be nice to have additional field for store last repository operations time.

Actions #1

Updated by Marcin Kuzminski [CTO] about 7 years ago

Hi Alexey,

Currently RhodeCode tracks last-activity of users, this fields stores any request to rhodecode system and updates it's time. So by that fields available under advanced view for users you can see when this user interacted with RhodeCode.

As for pull/push all of them are stored inside the admin journal, so you can filter it for particular user and see when he did any pulls/pushes.

We're soon to extend that with much more actions, do you seek anything special ?

We can push some of our internal tickets if there's a big need for certain functionality.

Actions #2

Updated by Alexey Vasiliev about 7 years ago

Hello Marcin,
Thank you
I didn't realized that.

But how to get it from api?
get_user doesn't have this information in result.

Best Regards,
Alexey Vasiliev

From: "redmine@rhodecode.com" redmine@rhodecode.com
Date: Wednesday, 22 March 2017 at 15:55
To: "marcin@rhodecode.com" marcin@rhodecode.com, Alexey Vasiliev alexey.vasiliev@genesys.com
Subject: RhodeCode CE/EE - Feature #5256 Last repository access time.

Issue #5256 has been reported by Alexey Vasiliev.


Feature #5256: Last repository access time.https://issues.rhodecode.com/issues/5256

  • Author: Alexey Vasiliev
  • Status: New
  • Priority: Normal
  • Assignee:
  • Category:
  • Target version:
  • Sorting:
  • Commit Number:

Dear RhodeCode support.
We are very needed to track last activities of our RhodeCode users include the last time of repository access (include pull operations).
The only way to do it now a log files parsing.

Am I right that all push/pull operations are covered by rhodecode service and there is possible to update last access time?
Our RH version is: RhodeCode Enterprise Edition, version 4.5.2
We really needed this for track alive users periodically. I have created simple python script for that but found that some users have information in logs about SCM activities but access time is not changed.
Probably it would be nice to have additional field for store last repository operations time.


You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: https://issues.rhodecode.com/my/accounthttps://issues.rhodecode.com/my/account

Actions #3

Updated by Marcin Kuzminski [CTO] about 7 years ago

Yes it's not available via API.

We can easily extend it and add last_activity into get_user, and maybe add new api endpoint for example get_user_logs, which would return all actions for user from journal.

We have scheduled a release in next 14 days so we can add it to that one if that works for you ?

Actions #4

Updated by Alexey Vasiliev about 7 years ago

Hello Marcin,
Great news.
Yes I can wait 14 days for such important features.

Best Regards,
Alexey Vasiliev

From: "redmine@rhodecode.com" redmine@rhodecode.com
Date: Wednesday, 22 March 2017 at 16:48
To: Alexey Vasiliev alexey.vasiliev@genesys.com
Subject: [RhodeCode CE/EE - Feature #5256] Last repository access time.

Issue #5256 has been updated by Marcin Kuzminski [staff].

Yes it's not available via API.

We can easily extend it and add last_activity into get_user, and maybe add new api endpoint for example get_user_logs, which would return all actions for user from journal.

We have scheduled a release in next 14 days so we can add it to that one if that works for you ?


Feature #5256: Last repository access time.https://issues.rhodecode.com/issues/5256#change-24754

  • Author: Alexey Vasiliev
  • Status: New
  • Priority: Normal
  • Assignee:
  • Category:
  • Target version:
  • Sorting:
  • Commit Number:

Dear RhodeCode support.
We are very needed to track last activities of our RhodeCode users include the last time of repository access (include pull operations).
The only way to do it now a log files parsing.

Am I right that all push/pull operations are covered by rhodecode service and there is possible to update last access time?
Our RH version is: RhodeCode Enterprise Edition, version 4.5.2
We really needed this for track alive users periodically. I have created simple python script for that but found that some users have information in logs about SCM activities but access time is not changed.
Probably it would be nice to have additional field for store last repository operations time.


You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: https://issues.rhodecode.com/my/accounthttps://issues.rhodecode.com/my/account

Actions

Also available in: Atom PDF