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

Chris M. Hostetter commented on SOLR-17619:
-------------------------------------------

~15 years after suggesting Lucene & Solr build a tool like this, I am so 
excited to see that someone did, and now we're using it.

Thank you all very much!
----
One question: is there any reason why (our) top level {{:check}} target doesn't 
depend on the top level {{"logchangeLint}} target (provided by the gradle 
plugin) ?

As things stand right now if you accidentally keyboard mash in one of the 
changelog files so it's not valid yaml (or it is valid yaml but is missing 
something mandatory like the {{title}} attribute) {{./gradlew check}} will 
still pass, but somewhere down the road (IIUC not until a release RC is being 
cut?) generating the CHANGELOG.md will fail.

> Generate CHANGELOG.md (formerly CHANGES.txt) via logchange
> ----------------------------------------------------------
>
>                 Key: SOLR-17619
>                 URL: https://issues.apache.org/jira/browse/SOLR-17619
>             Project: Solr
>          Issue Type: Task
>          Components: Build
>            Reporter: David Smiley
>            Assignee: Jan Høydahl
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 9.10
>
>          Time Spent: 4h 40m
>  Remaining Estimate: 0h
>
> The [logchange|https://github.com/logchange/logchange] tool helps projects 
> maintain a log of changes. Each change (e.g. from a PR) will no longer edit a 
> CHANGES.txt file; instead it will include a _new_ YAML file in an appropriate 
> directory with others for the next Solr version.  The release process will 
> execute the tool, which will build a CHANGELOG.md file and will probably also 
> do something with the YAML files (remove?).
> Decide the most convenient way for us to run the tool for change authors.  
> Could a gradle task do it?  See [this 
> issue|https://github.com/logchange/logchange/issues/397] filed on the 
> logchange project.
> Outcome of this issue:
>  * a logchange tool configuration file -- logchange-config.yml
>  * Solr 10's CHANGES.txt entries converted to YAML.  (start this issue by 
> doing only a few before over-investing)
>  * a dev-docs page
>  ** for contributors/everyone: basic info explaining how each new change 
> should be recorded. Explain how to run the tool to generate the YAML file.  
> What field(s) matter the most; what should be ignored.  Link to further 
> details.
>  ** for release manager: how to produce CHANGELOG.md. Link to further 
> details.  Ultimately this will probably move to the release wizard in some 
> fashion.
> TBD: CHANGES.txt < 10 and CHANGELOG.md > 10 ?
> TBD: changes.html generation in the release process will be removed or will 
> change.



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

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

Reply via email to