-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script to update weekly progress #338
Comments
Support RSS. Reference document:https://docs.google.com/document/d/1AjPYfqUrD39wBuErgJ6eSXG2lo2xH1bau0Zy2_Kkftk/edit?usp=sharing |
I think we can create a new repository, possibly called 'Weekly Reports' or something similar. In this repository, we can set up GitHub Actions to take a complete snapshot of the current board data at a specific time each week (e.g., weekends). Once the snapshot is obtained, an automated PR can be created and submitted to this repository itself. The relevant stakeholders can review and make corrections before merging. Additionally, there will be other GitHub Actions responsible for detecting changes in the snapshots. Based on the latest and previous snapshots, these actions can automatically generate the current weekly report data to be displayed. Another automated PR can be created and submitted to this repository, allowing the relevant stakeholders to review and make corrections before merging. This repository will also include a backend component (possibly implemented using Vercel + Next.js) that exposes the current weekly report data through various response formats such as JSON and RSS. The advantage of this approach is that it provides a space for manual intervention through PRs, allowing for content review and corrections. Moreover, it is a separate repository, ensuring complete isolation of the weekly report functionality from other projects. @Keith-CY What do you think? |
Keep it simple, fetching the latest status of various kanbans and generating a report in the website repo requires less code and fewer steps. Manual intervention can be introduced by submitting automated PR in https://github.com/Magickbase/websites, and isolation of content is unnecessary because https://github.com/Magickbase/websites is a repo of content(branding, projects, team, vision, etc.), the generated reports could be considered as a part of it. |
Without (at least one) historical snapshot, it is not possible to obtain a weekly change report. Instead, it will be a complete snapshot of the board.
Sure, I initially thought that this data might be used in multiple places in the future. However, now it seems that regardless of whether it is used in multiple places, we can consider it as a service under the |
There are 3 solutions to generate a weekly report:
curl 'https://github.com/memexes/3142018/items?memexProjectItemId=45943610' \
-H 'authority: github.com' \
-H 'accept: application/json' \
--compressed
# {"memexProjectColumnId":33536694,"value":{"value":"2023-12-12T00:00:00+00:00"} After getting target issues, weekly report can be generated with their The 3rd solution is to compare two complete reports(freshly generated, previously generated) to get a diff as the weekly report, e.g. Report 1
Report 2
Get diff as the weekly report
|
All three options sound feasible, but I am still planning to use the third option because it reduces reliance on manual workflows (updating issues, setting dates, etc.). |
Automatically synchronize weekly project progress to the PM channel on discord using a script.
Project:
[Neuron]
[CKB Explorer]
Contents:Issue title and links
The text was updated successfully, but these errors were encountered: