Feature #5256
openLast repository access time.
0%
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.
Updated by Marcin Kuzminski [CTO] over 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.
Updated by Alexey Vasiliev over 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
Updated by Marcin Kuzminski [CTO] over 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 ?
Updated by Alexey Vasiliev over 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
Updated by Redmine Integration over 7 years ago
Commit 107da576d8ef by Marcin Kuzminski marcin@rhodecode.com on default branch references this issue. https://internal-code.rhodecode.com/rhodecode-enterprise-ce/changeset/107da576d8ef7c534c3d919b6730c39486c589a7
Commit 6a97fe2fdde1 by Marcin Kuzminski marcin@rhodecode.com on default branch references this issue. https://internal-code.rhodecode.com/rhodecode-enterprise-ce/changeset/6a97fe2fdde1e6d1566226656cfb9046dd495fe6