dosubot[bot] commented on issue #7991:
URL:
https://github.com/apache/incubator-devlake/issues/7991#issuecomment-2324566911
<!-- Answer -->
The issue you're encountering with not being able to get GitHub deployment
data from the previous year might be related to the configuration of the data
time range in DevLake. By default, DevLake is set to collect data from the past
six months. You can adjust this setting to include data from the previous year.
To specify the date range for data ingestion from GitHub, follow these steps:
1. **Set the Sync Policy**:
- **Data Time Range**: Adjust the time range to include the previous
year. The default is set to the past six months, so you'll need to extend this
range.
- **Sync Frequency**: Set how often you want to sync your data.
- **Skip Failed Tasks**: Optionally, choose to skip failed tasks to
optimize the data collection process.
Here is an example configuration for the sync policy:
```yaml
data_time_range: "last_year"
sync_frequency: "daily"
skip_failed_tasks: true
```
Make sure to update your configuration to reflect the desired time range.
This should allow you to collect and analyze deployment data from the previous
year.
For more detailed instructions, you can refer to the [DevLake
documentation](https://github.com/apache/incubator-devlake-website/blob/main/docs/Configuration/GitHub.md)
<sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.19/Configuration/GitHub.md)</sup><sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.18/Configuration/GitHub.md)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]