andytaylor commented on code in PR #31: URL: https://github.com/apache/activemq-artemis-console/pull/31#discussion_r1763157725
########## Releasing.md: ########## @@ -0,0 +1,154 @@ +## Generating the licenses for the NPM dependencies + +Before a release can be the npm license need to be updated with any new dependencies. This file is found under `artemis-console-distribution/src/main/resources/licenses/NPMLicenses.txt`. + +This is done using the NPM [yarn-plugin-licenses](https://github.com/mhassan1/yarn-plugin-licenses) plugin, you will need to install this if you havent already. + +To regenerate the licenses cd into `artemis-console-extension/artemis-extension` and run + +```shell +yarn license +``` + +Note that a check can be made to identify any possible problematic licenses by running in the `artemis-console-extension/artemis-extension` directory: + +```shell +npx license-checker --out licenses.csv --csv --onlyAllow "Apache-2.0;ISC;MIT;CC0-1.0;BSD-2-Clause;BSD-3-Clause;Python-2.0;UNLICENSED;MPL-2.0;CC-BY-4.0;Unlicense;0BSD" +``` + +dependencies marked as unlicensed will need to be manually checked. + +## Checking out a new empty git repository + +Before starting make sure you clone a brand new git as follows as the release plugin will use the upstream for pushing the tags: + +```sh +git clone https://github.com/apache/activemq-artemis-console.git +cd activemq-artemis-console + +git remote add upstream https://gitbox.apache.org/repos/asf/activemq-artemis-console.git Review Comment: changed as suggested -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
