Closed randmon closed 1 month ago
Idea: Separate the code that scans the repositories from the code that builds the web page.
The output of the repository scan could be saved to a separate file, then used by a second script to build the web page.
This way, changing something only in the UI doesn't require the one-hour-long scan action to be triggered, only a separate smaller "web page build".
graph LR; scanChange(Change in scan script) --> scan([Run repository scan]); chron(Scheduled scan) --> scan; uiChange(Change in UI) --> web([Build web page]); scan -.saves-.-> file(File); scan --> web web -.uses-.-> file(📄 Scan results);
I was considering helping more with the UI, so I thought this would be a nice-to-have 😄
Idea: Separate the code that scans the repositories from the code that builds the web page.
The output of the repository scan could be saved to a separate file, then used by a second script to build the web page.
This way, changing something only in the UI doesn't require the one-hour-long scan action to be triggered, only a separate smaller "web page build".