1
0
mirror of https://github.com/agarrharr/awesome-cli-apps synced 2024-12-22 04:40:23 +01:00

Add script for checking apps for deprecation (#483)

This commit is contained in:
Jonathan Neidel 2021-10-01 10:42:03 +02:00 committed by GitHub
parent 241464a394
commit f07a78b201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 2 deletions

21
check-for-deprecation.sh Executable file
View File

@ -0,0 +1,21 @@
#! /bin/sh
OUT_FILE=deprecated.txt
if [ "$1" = "--help" ] || [ "$1" = "-h" ] || [ "$1" = "help" ]; then
cat <<EOF
$ check-for-deprecation.sh
Check all github apps in the readme for deprecation.
Found deprecated repos are written to: $OUT_FILE
Parallel execution (100% cpu).
EOF
exit
fi
APPS=$(cat readme.md | grep -e "- \[.\+\]\(.\+\)\s" | grep 'github.com' | awk -F "(" '{ print $2 }' | cut -d ")" -f1)
for i in $(echo $APPS); do
echo $(if [[ -n $(curl -SsL "$i" | grep "This repository has been archived by the owner. It is now read-only.") ]]; then echo DEPRECATED $i | tee >>deprecated.txt >(cat /dev/stdin); else echo CHECKED $i | cat /dev/stdin; fi) &
done

View File

@ -94,13 +94,11 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
- [itunes-remote](https://github.com/mischah/itunes-remote) - Control iTunes via CLI.
- [pianobar](https://6xq.net/pianobar/) - Pandora client.
- [somafm-cli](https://github.com/rockymadden/somafm-cli) - Listen to SomaFM in your terminal.
- [nehm](https://github.com/bogem/nehm) - Download tracks from SoundCloud.
- [mpd](https://github.com/MusicPlayerDaemon/MPD) - Music Player Daemon.
- [ncmpcpp](https://github.com/arybczak/ncmpcpp) - mpd client.
- [moc](http://moc.daper.net/) - Console audio player for Linux/UNIX.
- [musikcube](https://github.com/clangen/musikcube) - Cross-platform, terminal-based music player, audio engine, metadata indexer, and server.
- [beets](https://github.com/beetbox/beets) - Music library manager and tagger.
- [playx](https://github.com/NISH1001/playx) - Stream songs/playlists from various sources.
- [spotify-tui](https://github.com/Rigellute/spotify-tui) - Spotify client.
- [swaglyrics-for-spotify](https://github.com/SwagLyrics/SwagLyrics-For-Spotify) - Spotify lyrics.