RepoSense icon indicating copy to clipboard operation
RepoSense copied to clipboard

[#2196] Use git blame line info for aggregate blame author modified and date info

Open logical-1985516 opened this issue 1 year ago • 8 comments

Fixes #2196

Proposed commit message

Uses blameLine to abstract away the string wrangling and improve
understandability. Magic numbers are also replaced to improve code
quality.

In order to use blameLine however, it is also changed to use 
author-time instead of commit-time, as there is a discrepancy
between the two, causing some test cases to fail.

The naming of the timestamp field in GitBlameLineInfo is changed
to reflect that it is in seconds, as author-time is in seconds.

Other information

Surrounding code which states milliseconds is also changed to state seconds correctly, as this PR is meant to resolve a code quality issue anyways. If this is not ok, I can revert the last commit.

logical-1985516 avatar Jul 03 '24 16:07 logical-1985516

Hi, I have noticed that some test cases take a very long time to finish. Could this be due to the additional overhead incurred from running git blame command in blameLine?

logical-1985516 avatar Jul 07 '24 16:07 logical-1985516

Hi, would anyone like to approve the workflow? I am not sure why the local test cases run indefinitely, so I am unable to verify that it passes all test cases. Thank you!

logical-1985516 avatar Jul 15 '24 10:07 logical-1985516

Hi, would anyone like to approve the workflow? I am not sure why the local test cases run indefinitely, so I am unable to verify that it passes all test cases. Thank you!

done

damithc avatar Jul 15 '24 11:07 damithc

Hi, would anyone like to help me for this issue? I could not seem to figure why the test cases are failing. More information at this discussion.

logical-1985516 avatar Jul 17 '24 14:07 logical-1985516

Hi, We are going to mark this PR as stale because it has been inactive for the past 30 days. If no further activity occurs within the following 7 days, it will be automatically closed so that others can take up the issue. If you are still working on this PR, please make a follow-up commit within 7 days and leave a comment to remove the stale label. Do let us know if you are stuck so that we can help you!'

github-actions[bot] avatar Sep 14 '24 00:09 github-actions[bot]

This PR was closed because it has been marked as stale for 7 days with no activity. Feel free to reopen this PR if you would like to continue working on it.

github-actions[bot] avatar Sep 21 '24 00:09 github-actions[bot]

@logical-1985516 Are you planning to wrap up this PR and #2238? I think this PR is mostly good to merge and is just pending some updates to tests.

gok99 avatar Sep 21 '24 07:09 gok99

Hi @gok99, for this PR, I may be able to wrap up this PR within next week, if I have the time. However, I probably would not wrap up PR #2238. Sorry about that.

logical-1985516 avatar Sep 22 '24 06:09 logical-1985516

@logical-1985516 thanks for the fixes. made a minor name change.

gok99 avatar Oct 24 '24 12:10 gok99

Hi, We are going to mark this PR as stale because it has been inactive for the past 30 days. If no further activity occurs within the following 7 days, it will be automatically closed so that others can take up the issue. If you are still working on this PR, please make a follow-up commit within 7 days and leave a comment to remove the stale label. Do let us know if you are stuck so that we can help you!'

github-actions[bot] avatar Nov 30 '24 00:11 github-actions[bot]

This PR was closed because it has been marked as stale for 7 days with no activity. Feel free to reopen this PR if you would like to continue working on it.

github-actions[bot] avatar Dec 07 '24 00:12 github-actions[bot]

The following links are for previewing this pull request:

  • Dashboard Preview: https://dashboard-2232-pr-reposense-reposense.surge.sh
  • Docs Preview: https://docs-2232-pr-reposense-reposense.surge.sh

github-actions[bot] avatar Jan 06 '25 03:01 github-actions[bot]