You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@solr.apache.org by David Smiley <ds...@apache.org> on 2026/05/26 13:36:18 UTC

Correcting emails/github-id in published changes.html

I got a request from a user to fix his github ID in
https://solr.apache.org/docs/9_10_1/changes/Changes.html#v9.10.1.fixed
The "-sar" suffix appears visually tacked onto his visible name but it
should have been tacked onto the github ID.

Interestingly, the changelog yaml file is correct
https://github.com/apache/solr/blob/a5f8380d3f1695eecbd3bacc08a3b270890a2c4e/changelog/v9.10.1/SOLR-18006-Fix%20reverse%20dist%20sorting%20on%20LatLonPointSpatialField.yml#L7

Can we update published changelog html files?  How?

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley

Re: Correcting emails/github-id in published changes.html

Posted by David Smiley <ds...@apache.org>.
I fixed it—the website is updated.
Here's the PR to prevent this from happening again:
https://github.com/apache/solr/pull/4481

On Tue, May 26, 2026 at 9:59 AM Jan Høydahl <ja...@cominvent.com> wrote:

> It would be the script that converts CHANGELOG.md to Changes.html
>
> https://github.com/apache/solr/blob/main/gradle/documentation/changes-to-html/changes2html.py
>
> The CHANGELOG:md line in question is
>
> - Fix reverse distance sorting on LatLonPointSpatialField and "SRPT"
> fields when combined with the filter cache. This is a regression since Solr
> 9.9. [SOLR-18006](https://issues.apache.org/jira/browse/SOLR-18006)
> [SOLR-18016](https://issues.apache.org/jira/browse/SOLR-18016) ([Jan
> Høydahl](https://home.apache.org/phonebook.html?uid=janhoy)) (Umut
> Saribiyik @umut-sar) (David Smiley)
>
> So there is likely a bug when converting list of contributor names, each
> in its own parenthesis. In this one entry we have three variants. My entry
> is with a URL, Umut's is with a github nick and yours is without any:
>
> authors:
>   - name: Jan Høydahl
>     url: https://home.apache.org/phonebook.html?uid=janhoy
>   - name: Umut Saribiyik
>     nick: umut-sar
>   - name: David Smiley
>
> So the bug is likely in some regex parsing the github-id. It probably
> doesn't expect dash in user names.
>
> Jan
>
> > 26. mai 2026 kl. 15:36 skrev David Smiley <ds...@apache.org>:
> >
> > I got a request from a user to fix his github ID in
> > https://solr.apache.org/docs/9_10_1/changes/Changes.html#v9.10.1.fixed
> > The "-sar" suffix appears visually tacked onto his visible name but it
> > should have been tacked onto the github ID.
> >
> > Interestingly, the changelog yaml file is correct
> >
> https://github.com/apache/solr/blob/a5f8380d3f1695eecbd3bacc08a3b270890a2c4e/changelog/v9.10.1/SOLR-18006-Fix%20reverse%20dist%20sorting%20on%20LatLonPointSpatialField.yml#L7
> >
> > Can we update published changelog html files?  How?
> >
> > ~ David Smiley
> > Apache Lucene/Solr Search Developer
> > http://www.linkedin.com/in/davidwsmiley
>
>

Re: Correcting emails/github-id in published changes.html

Posted by Jan Høydahl <ja...@cominvent.com>.
It would be the script that converts CHANGELOG.md to Changes.html
https://github.com/apache/solr/blob/main/gradle/documentation/changes-to-html/changes2html.py

The CHANGELOG:md line in question is

- Fix reverse distance sorting on LatLonPointSpatialField and "SRPT" fields when combined with the filter cache. This is a regression since Solr 9.9. [SOLR-18006](https://issues.apache.org/jira/browse/SOLR-18006) [SOLR-18016](https://issues.apache.org/jira/browse/SOLR-18016) ([Jan Høydahl](https://home.apache.org/phonebook.html?uid=janhoy)) (Umut Saribiyik @umut-sar) (David Smiley)

So there is likely a bug when converting list of contributor names, each in its own parenthesis. In this one entry we have three variants. My entry is with a URL, Umut's is with a github nick and yours is without any:

authors:
  - name: Jan Høydahl
    url: https://home.apache.org/phonebook.html?uid=janhoy
  - name: Umut Saribiyik
    nick: umut-sar
  - name: David Smiley

So the bug is likely in some regex parsing the github-id. It probably doesn't expect dash in user names.

Jan

> 26. mai 2026 kl. 15:36 skrev David Smiley <ds...@apache.org>:
> 
> I got a request from a user to fix his github ID in
> https://solr.apache.org/docs/9_10_1/changes/Changes.html#v9.10.1.fixed
> The "-sar" suffix appears visually tacked onto his visible name but it
> should have been tacked onto the github ID.
> 
> Interestingly, the changelog yaml file is correct
> https://github.com/apache/solr/blob/a5f8380d3f1695eecbd3bacc08a3b270890a2c4e/changelog/v9.10.1/SOLR-18006-Fix%20reverse%20dist%20sorting%20on%20LatLonPointSpatialField.yml#L7
> 
> Can we update published changelog html files?  How?
> 
> ~ David Smiley
> Apache Lucene/Solr Search Developer
> http://www.linkedin.com/in/davidwsmiley