potiuk edited a comment on pull request #21032: URL: https://github.com/apache/airflow/pull/21032#issuecomment-1022032334
Good points @jedcunningham - I also updated it slightly to actually avoid copy&pasting alltogether and store automatically the commits lists in --output-folder (for example /tmp).  I've also added - in the docs - few more git/posix one-liners that allow you to inspect the suspicious file much easier: ```shell git show --format=tformat:"" --stat --name-only $(cat /tmp/doc-only-changes.txt) | sort | uniq ``` Then if you see suspicious file (example airflow/sensors/base.py) you can find details on where they came from: ```shell git log apache/v2-2-test --format="%H" -- airflow/sensors/base.py | \ grep -f /tmp/doc-only-changes.txt | xargs git show ``` And the URL to the PR it comes from: ```shell git log apache/v2-2-test --format="%H" -- airflow/sensors/base.py | grep -f /tmp/doc-only-changes.txt | \ xargs -n 1 git log --oneline --max-count=1 | \ sed s'/.*(#\([0-9]*\))$/https:\/\/github.com\/apache\/airflow\/pull\/\1/' ``` -- 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]
