Scripts packaging and distribution network
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
Have some infra where people can submit their BPF 'analysis script bundles' and easily access and download scripts written by other people. For example, a person willing to do an analysis can search through scripts, their descriptions, public rating, certification, number of downloads etc. We can extend it to a minimal bundle packaging system as well. There can be commands like,
```
# Install an analysis script bundle
bpf-get install syscall-latency
# Search analysis scripts
bpf-get search task-switch
# Show details about script, examples, if it's stable or testing etc.
bpf-get info task-switch
# List all analysis scripts
bpf-get --list all
# List all scripts containing 'sched_switch' tracepoint
bpf-get --list --tracepoint sched_switch
# Remove script
bpf-get remove task-switch
# Upgrade scripts
bpf-get update task-switch
# Get source files of the script bundle
bpf-get source task-switch
# Package the script directory to a BPF bundle
bpf-bundle package ./task-switch
# Submit scripts to public review pool. After certain karma threshold or
# moderator intervention we can add it to the stable distribution pool
bpf-bundle submit task-switch-0.3.bun
```
Then, run them using `bpf-run`
In the long run, we could also provide a web interface to browse different scripts and see what they do just as in https://atlas.hashicorp.com/boxes/search with the history of all the addition to the scripts. In addition, we can also show description and how a typical analysis and output would look.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.