On Fri, 4 Sept 2026 at 17:54, Dave Fisher <[email protected]> wrote: > > > > > On Sep 4, 2026, at 9:39 AM, sebb <[email protected]> wrote: > > > > On Fri, 4 Sept 2026 at 16:36, Dave Fisher <[email protected] > > <mailto:[email protected]>> wrote: > >> > >> Hi Rich, > >> > >>> On Sep 4, 2026, at 5:14 AM, Rich Bowen <[email protected]> wrote: > >>> > >>> I would like to publish this: > >>> > >>> https://boxofclue.com/comdev-metrics/ > >>> > >>> to https://projects.apache.org/metrics > >>> > >>> The goal is that over time I’m going to integrate the two more, with > >>> interlinks and so on, but for now it would be standalone. > >>> > >>> That metrics stuff is currently here - > >>> https://github.com/rbowen/comdev-metrics - and I’d like to move it into > >>> https://github.com/apache/comdev-projects > >> > >> > >>> > >>> See https://boxofclue.com/comdev-metrics/about.html for more about how > >>> that stuff works. > >>> > >>> I’m looking for suggestions/opinions/advice as to: > >>> > >>> 1) Where exactly to put that stuff into the comdev-projects repo, or if > >>> it should go into another new repo > >> > >> Actually that’s a Git mirror of svn. You make changes by committing to > >> https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk > >> <https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk> > >> > >> > >>> 2) The comdev-metrics stuff runs a weekly cronjob, which uses a Github > >>> API key, and the ponymail MCP, to generate static HTML/js/json files, > >>> which can then be published to wherever. The generated files don’t need > >>> to be in version control. I presume I should move all of these cronjobs > >>> to projects-vm3 and run them there. Where would be the best place to drop > >>> the output files - just under site/ on the projects site, or somewhere > >>> else? > >> > >> You cannot just drop those files onto the VM without knowing how the svn > >> repository is checked out, the server does both svn up and svn commit > >> commands. > >> > >> Cronjob python goes here: > >> https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk/scripts/cronjobs/ > >> but actual crontab setup is defined in Infrastructure’s P6. It’s a > >> private repository. I’ve studied the code. You will need help from Infra > >> with EYAML to install the GH API key. > >> > >>> > >>> 3) What am I not thinking of that I’m likely to break? > >> > >> You need to be aware of what is stored in svn and what is not. It may be > >> tricky to serve generated code. The site uses gunicorn perhaps a symbolic > >> link can be used, but I’m not sure. > > > > The comdev VM already hosts two independent HTTP installations: > > projects and reporter. > > > > Should be possible to set up another, and use a rewrite from > > https://projects.apache.org/metrics <https://projects.apache.org/metrics> > > to access it. > > It would, but the actual vm has a proxy in front of it and that would need > the route to a new domain like project-metrics.apache.org.
I was assuming that the rewrite would use the local IP address - no need for a new domain. > I would just add a link to the new domain in projects.apache.org and > reporter.apache.org (and likely in agenda.apache.org) > > Sebb are you willing to help Rich with the P6 work? Yes. > HTH, > Dave > > > > > Sebb > >> HTH, > >> Dave > >> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [email protected] > >>> For additional commands, e-mail: [email protected] > >>> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > <mailto:[email protected]> > > For additional commands, e-mail: [email protected] > > <mailto:[email protected]> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
