https://github.com/cncf/count_kw
🧮Count given keyword across a given project
https://github.com/cncf/count_kw
blacklist count keywords master slave whitelist
Last synced: about 1 year ago
JSON representation
🧮Count given keyword across a given project
- Host: GitHub
- URL: https://github.com/cncf/count_kw
- Owner: cncf
- License: apache-2.0
- Created: 2020-06-18T09:08:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-06T13:36:11.000Z (almost 6 years ago)
- Last Synced: 2025-03-27T08:11:35.986Z (about 1 year ago)
- Topics: blacklist, count, keywords, master, slave, whitelist
- Language: Shell
- Homepage:
- Size: 93.8 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# count_kw
Count given keywords in a given project, example call:
- `./count_kw.sh '/path/1 /path/2' '*.go *.c* *.md' '(argument1|argument2)'`.
- Example: `VERBOSE=1 ./count_kw.sh '/root/devstats_repos/cncf /root/devstats_repos/crosscloudci /root/devstats_repos/cdfoundation' '*' master`.
Count predefined 4 keywords counts in LF projects:
- `[SRC_BASE=/root/devstats_repos/] [RESET=1] [ONLY='TiKV,NATS,Flux,Rook,Thanos,etcd,OpenEBS,containerd,Linkerd,Vitess,CoreDNS,OPA,Harbor,KubeEdge'] ./run.sh`.
- Example: `ONLY=Prometheus ./run.sh`
- Example: `SRC_BASE=/root/sources ONLY='Hyperledger Labs,Hyperledger' ./run.sh`
- Example: `SRC_BASE=/root/sources FN=cf.csv RESET=1 ONLY=CloudFoundry ./run.sh`
To cone entire GitHub organization use:
- `SRC_BASE=/root/sources/ ./clone_org.sh hyperledger`.