RepoSense icon indicating copy to clipboard operation
RepoSense copied to clipboard

[#2429] Allow different time period for different repos in report-config.yaml

Open lihongong opened this issue 4 months ago • 4 comments

Fixes #2429

Proposed commit message

Add since and until field in report-config.yaml under branches

Previously, the report-config.yaml doesn't support different time periods for 
different repos and relied on CLI flags for all repos.

Add two optional fields (since, until) with the format
- dd/MM/yyyy
- dd/MM/yyyy HH:mm
- dd/MM/yyyy HH:mm:ss

report-config.yaml input: p report-config yaml ss

Portfolio Mode: p main ss

Normal Mode: main ss visible barrier main ss header time ss

lihongong avatar Jul 28 '25 07:07 lihongong

Sorry for the late reply.

what happens when both CLI dates are provided but only one config date is set?

It will use the config date provided and fall back to the cli date for the other that isn't specified in the config file. Example: config: since = 1/2/2025 cli: since = 1/1/2025, until = 31/4/2025 effective: since = 1/2/2025, until = 31/4/2025 This behavior is handled in OneStopConfigRunConfiguration

lihongong avatar Aug 27 '25 17:08 lihongong

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 27 '25 00:09 github-actions[bot]

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 02 '25 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 Nov 09 '25 00:11 github-actions[bot]