Skip to content

Instantly share code, notes, and snippets.

@iainelder
Last active September 12, 2025 15:51
Show Gist options
  • Select an option

  • Save iainelder/e7242c63b2dca00ad2140f8478bf83f3 to your computer and use it in GitHub Desktop.

Select an option

Save iainelder/e7242c63b2dca00ad2140f8478bf83f3 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
list=(
https://github.com/boto/boto3.git
https://github.com/boto/botocore.git
https://github.com/boto/s3transfer.git
)
for repo in "${list[@]}"; do
dir=$(basename "$repo" ".git")
git -C "$dir" pull -q || git clone -q --depth=1 "$repo"
printf "%s: %s\n" "$dir" "$(git -C "$dir" rev-parse HEAD)"
done
printf "names:\n"
grep -R -l -F "getLogger" --exclude-dir=docs --exclude-dir=tests |
cut -d/ -f2- |
sed 's:\(/__init__\)\?.py$::' |
tr '/' '.' |
sort
@iainelder
Copy link
Author

Output:

boto3: 12750f67abef3ee8aa1c4a2677d17df033d5c3b7
botocore: 0354465b046987e4fcaa48875414d8598f7eb73c
s3transfer: 5454d970c3eaa29ae44ae96bf3644c2b94d5ad39
names:
boto3
boto3.dynamodb.table
boto3.resources.action
boto3.resources.base
boto3.resources.collection
boto3.resources.factory
boto3.resources.model
boto3.s3.inject
boto3.s3.transfer
botocore
botocore.args
botocore.auth
botocore.awsrequest
botocore.client
botocore.compat
botocore.compress
botocore.configprovider
botocore.credentials
botocore.discovery
botocore.endpoint
botocore.endpoint_provider
botocore.handlers
botocore.history
botocore.hooks
botocore.httpchecksum
botocore.httpsession
botocore.loaders
botocore.monitoring
botocore.paginate
botocore.parsers
botocore.plugin
botocore.regions
botocore.response
botocore.retries.adaptive
botocore.retries.special
botocore.retries.standard
botocore.retryhandler
botocore.session
botocore.tokens
botocore.useragent
botocore.utils
botocore.waiter
s3transfer
s3transfer.crt
s3transfer.download
s3transfer.futures
s3transfer.manager
s3transfer.processpool
s3transfer.tasks
s3transfer.utils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment