-
Notifications
You must be signed in to change notification settings - Fork 99
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
Automate Website Update on Processing Release with GitHub Workflows #435
Comments
I can work on this! Can u assign this to me ? |
Hi @shahnoor-khan! Sure. Let me know if you need any input on this. I would suggest you post on the corresponding issue on the Processing repo so I can assign it to you too: processing/processing4#665 Thanks in advance for your help! |
Thanks @SableRaf! I work on this issue and will ping u, if help is needed. yeah pls assign me that issue as well. |
Hi @shahnoor-khan. I'd like to suggest a small change to the proposed solution. Instead of automatically updating the website, it would be better to automatically create a Pull Request. This way, there would still be a human in the loop to review and approve the changes before they go live. |
Okay @SableRaf. Will definitely try it that way. |
Hi @SableRaf, I was working on fixing this issue to ease the manual efforts of the maintainers. Can you please help me, I have a query. Why is |
Apolgies for my silly query, I just visited the https://processing.org/releases page on the website and now I know why |
@SableRaf should we fix If we don't decide on keeping lmk your thoughts on this. |
Hi @adwait-godbole, It's not silly! 😃 Sorry it took me a while to get back to you. The reason is that 2.2.1 is the last stable release of Processing 2 so if people need to use this legacy version for any reason, this is the release we recommend they use. Same for 3.5.4 and Processing 3. No further development is planned on these legacy version of Processing, therefore they can stay in Great that you're interested in helping with this issue. Let me know if you need any support! |
Problem Statement
The Processing download page does not currently update automatically when a new version is released. As a result, the website must be updated manually through a multi-step process, which can be time-consuming for maintainers.
Proposed Solution
Instead of manually triggering
fetchReleases.js
, the update of the website can be automated with GitHub workflows whenever a new version of Processing is released. The automation process will fetch the releases from both the Processing and Processing4 repositories and write them to JSON files in thecontent/download/releases
directory. For more information, refer tofetchReleases.js
.The action should make a new release for the website and deploy it by interacting with the existing deploy workflow.
Note: this change will require the Processing4 repository to dispatch an event upon the creation of a new release.
Benefits
References
Dispatch event: https://github.com/orgs/community/discussions/26323#discussioncomment-3251448
Notes
The corresponding issue on the processing4 repository can be found at processing/processing4#665
The text was updated successfully, but these errors were encountered: