Skip to content

Conversation

ddixit14
Copy link
Contributor

@ddixit14 ddixit14 commented Feb 23, 2023

This PR does 2 things:

  1. Adding readme_update.sh script which is responsible for adding annotations in all the valid readme.md files.
  2. After running the script, all the readme.md's have annotations in them, except a few modules.

Later on I will introduce how to use libraries-bom in all the readme's, along with automated version updates for it.

@ddixit14 ddixit14 requested a review from suztomo February 23, 2023 15:56
for module in $(find . -mindepth 2 -maxdepth 2 -name pom.xml | sort | xargs dirname); do

if [[ "${module}" = *java-core ]] || [[ "${module}" = *java-shared-dependencies ]] || [[ "${module}" = *java-iam ]]; then
continue
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


readme_file="${module}/README.md"

if [ -e ${module}/README.md ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -0,0 +1,38 @@
#!/bin/bash

config_line=""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, removed now.