#config-directory #package-manager #generate #scan #found #dependabot #yaml

app dependabot-generator

Scans directories and generates a dependabot config based on found package manager files

6 releases (2 stable)

1.0.1 Jan 26, 2025
0.1.3 May 9, 2022
0.1.2 May 9, 2022
0.1.1 May 8, 2022
0.1.0 Apr 25, 2022

#659 in Development tools

Download history 1/week @ 2024-10-30 182/week @ 2025-01-22 36/week @ 2025-01-29

218 downloads per month

MIT license

10KB
174 lines

rust-dependabot-generator

Generates a dependabot config for a given directory.

CI

Scans a directory for package manager config files, and generates the dependabot.yaml.

Note This is a work in progress, and not everything works properly, assumptions are made, things are hardcoded 👌, but it provides at least a starting point for a config file.

Usage

cargo run ~/workspace/rust-dependabot-generator

Scanning directory ~/rust-dependabot-generator.
Found package managers: cargo.

The program will write the dependabot yaml file to disk.

Acknowledgements

This is based on Taiki Endo's great work with dependabot-config crate; without it, I wouldn't have been able to get such a complete version working in such little time.

Dependencies

~4–11MB
~130K SLoC