Update home page and asciinema poster

Also remove trailing whitespace in all files
This commit is contained in:
2025-05-28 17:31:56 -04:00
parent 67bdd8b49a
commit 88ab4756e4
3 changed files with 11 additions and 9 deletions

View File

@ -45,7 +45,7 @@ set base url
## Dumb crawlers problem
My gitea [instance][3] is public and had all mirror repos public as well. This
caused a huge network traffic from bots.
caused a huge network traffic from bots.
I created an [organization][4] without public visibility and made it own all
the mirror repos.
@ -55,7 +55,7 @@ the mirror repos.
yq (https://github.com/mikefarah/yq/) version v4.44.1
curl -V | head -c 11
curl 8.8.0
curl 8.8.0
```
## API token
@ -141,7 +141,7 @@ Fix the issue url setting in first repo as shown [here][7].
Get the json representataion.
```bash
yq '.data[] | .external_tracker ' mirror-repos.json | head
yq '.data[] | .external_tracker ' mirror-repos.json | head
```
Sample output
@ -159,7 +159,7 @@ Now loop throug all repos and update. Making sure only add to github repos and
they are not already updated
```bash
yq -r '.data[]
yq -r '.data[]
| select(.original_url == "*github*" and has("internal_tracker") )
| "\(.full_name) \(.original_url)"' mirror-repos.json | while read -r repo og; do
echo "Repo is $repo and github origin url is $og"