[ 
https://issues.apache.org/jira/browse/COMDEV-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763231#comment-17763231
 ] 

Jan Høydahl commented on COMDEV-436:
------------------------------------

Uploaded a patch [^COMDEV-436.patch]

I ran the patched script locally and got the attached [^releases.json] file as 
result, and it looks good. Solr section looks like
{code:java}
"solr": {
  "solr-0.7.1": "2023-07-17",
  "solr-9.3.0": "2023-07-17",
  "solr-9.3.0-slim": "2023-07-17",
  "solr-operator-0.7.1": "2023-07-17",
  "solr-operator-v0.7.1": "2023-07-17"
} {code}
It's a bit sad that "solr-0.7.1" (solr helm chart) has the same prefix as the 
main solr release. 

Also, we have both a "solr-operator-0.7.1" (helm chart) and 
"solr-operator-v0.7.1" (operator binaries). Not much to do with it unless there 
is some hierarchy in the JSON and some standard way of detecting file types. 
But the input of the script is simply a bunch of download folders and files, so 
not easy,

> parsereleases produces false releases for solr
> ----------------------------------------------
>
>                 Key: COMDEV-436
>                 URL: https://issues.apache.org/jira/browse/COMDEV-436
>             Project: Community Development
>          Issue Type: Improvement
>            Reporter: Jan Høydahl
>            Priority: Major
>         Attachments: COMDEV-436.patch, releases.json
>
>
> See the "solr" section of 
> [https://projects.apache.org/json/foundation/releases.json]
> {code:java}
>     "solr": {
>         "all.yaml": "2021-11-11",
>         "index.yaml": "2021-11-11",
>         "solr-0.5.0": "2021-11-11",
>         "solr-0.5.0.tgz.prov": "2021-11-11",
>         "solr-operator-0.5.0": "2021-11-11",
>         "solr-operator-0.5.0.tgz.prov": "2021-11-11",
>         "solr-operator-v0.5.0": "2021-11-11",
>         "solrbackups.yaml": "2021-11-11",
>         "solrclouds.yaml": "2021-11-11",
>         "solrprometheusexporters.yaml": "2021-11-11",
>         "zookeeperclusters.yaml": "2021-11-11"
>     },
>  {code}
> The script mistakes some files as releases, which are really not.
> Currently the Solr downloads repo [https://downloads.apache.org/solr/] 
> contains only one release for the "solr-opereator" project, which is not a 
> traditional java code release, but rather k8s Helm-charts and CRDs. The Solr 
> main releases are currently in "lucene" so we don't expect them to show up 
> here until the 9.0 release.
> So the expected output for the current contents is simply:
> {code:java}
>     "solr": {
>         "solr-operator-0.5.0": "2021-11-11",
>     },
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
For additional commands, e-mail: dev-h...@community.apache.org

Reply via email to