On Fri, 3 Oct 2025 at 11:41, Niall Pemberton <[email protected]> wrote:
>
> On Fri, 3 Oct 2025 at 00:11, sebb <[email protected]> wrote:
> >
> > I think it would be useful to publish a JSON version of the YAML files.
> > This would make it easier to get data on all retired (sub)projects.
>
> Good idea - I thought the same when building the new site. Personally
> I would also like to provide a CSV version as well as that would be
> easy to import to a spreadsheet.

Not sure how one can represent the hierarchical data as a CSV, but I
won't object.

> > It's easy to do, because the data is already present in the
> > site.data['projects'] hash
> > The data can easily be written out in project-data-plugin.rb.
> >
> > Maybe the defaults currently applied in the page layout for entries
> > such as issue_trackers and wiki could be expanded as well - i.e. if
> > the name is implied, then provide it.
>
> Yes, I started a little bit of this in that plugin - the "Attic Issue"
> link and "Project Domain" are currently expanded to make the page
> layouts simpler along with various project names being set.
>
> Niall
>
> > This would make the published JSON data easier to use, and the page
> > layouts themselves could be simplified.
> >
> > e.g.. for the ACE project:
> >
> > issue_trackers:
> > - type: JIRA
> > wiki:
> >   type: CWIKI
> >
> > would become:
> >
> > issue_trackers:
> > - type: JIRA
> >   keys:
> >      - ACE
> > wiki:
> >   type: CWIKI
> >   keys:
> >     - ACE
> >
> > Sebb

Reply via email to