On Wed, 3 Dec 2025 at 20:23, Thomas Neidhart <[email protected]> wrote:
>
>
> >> Begin forwarded message:
> >>
> >> *From: *sebb <[email protected]>
> >> *Subject: **Re: Does the BAT support reports generated by reporter.a.o?*
> >> *Date: *December 3, 2025 at 8:21:59 AM PST
> >> *To: *[email protected]
> >> *Reply-To: *<[email protected]>
> >>
> >> On Wed, 3 Dec 2025 at 15:25, Dave Fisher <[email protected]> wrote:
> >>>
> >>>
> >>>
> >>>> On Dec 3, 2025, at 3:39 AM, sebb <[email protected]> wrote:
> >>>>
> >>>> At present, reporter.a.o can be used to generate reports which are
> >>>> then added to the agenda via the Whimsy Board Agenda tool, which is
> >>>> now deprecated.
> >>>>
> >>>> Does the BAT have a corresponding API that can be used by reporter.a.o?
> >>>
> >>> Yes, recently added here:
> >>> https://github.com/apache/tooling-agenda/blob/main/app/integration/routes/reporter.py#L44
> >>
> >> I see.
> >>
> >> So
> >> https://agenda.apache.org/reporter/post
> >> corresponds to
> >> https://whimsy.apache.org/board/agenda/json/post
> >>
> >> Reporter also accesses the following Whimsy URLs (using GET):
> >>
> >> https://whimsy.apache.org/board/agenda/%s.json
> >> https://whimsy.apache.org/board/agenda/json/historical-comments
> >> https://whimsy.apache.org/board/agenda/calendar.json
> >>
> >> (Seehttps://svn.apache.org/repos/asf/comdev/reporter.apache.org/trunk/scripts/rapp/whimsy.py)
>
> Hi Sebb,
>
> yes I am aware, I wrote that to the slack channel were this was requested.
>
> Once somebody starts to work on reporter.a.o to integrate with the BAT
> we can also support the other calls ofc.

I don't think they can be easily separated like that; they are at
least partly interdependent.

> btw. the API URL should be:
> https://agenda.apache.org/integration/reporter/post
> <https://agenda.apache.org/reporter/post>

I see.

> >>
> >> Another aspect is auth: what is needed for non-interactive access?
>
> curl -u "asfid:password"
> https://agenda-dev.apache.org/integration/reporter/post
> <https://agenda-dev.apache.org/integration/reporter/post>-X POST -k -H
> "Content-Type: application/json" -d @test.json
>
> with a test.json file like that:
>
> { "agenda": "board_agenda_2025_11_19.txt", "project": "ant", "report":
> "test", "message": "Commit" }

Does report: test mean that the update is not applied?

> Cheers,
>
> Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to