Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make project configurable from a repository file #40

Closed
Siilwyn opened this issue Jan 13, 2020 · 2 comments
Closed

Make project configurable from a repository file #40

Siilwyn opened this issue Jan 13, 2020 · 2 comments

Comments

@Siilwyn
Copy link

Siilwyn commented Jan 13, 2020

It would be great to have repo settings available on the online Depfu dashboard page as configurable values in a config file.

Would need to decide on three things:
1) the location
Can be one location like the root of the project or multiple (fallback) locations, for example inside the .github directory would be nice to avoid an extra 'root' file.

2) the language
Looking at other tools TOML, JS or JSON seem to be the most common. Since JSON is not forgiving on (single) quotes and trailing commas TOML seems to be a good option for Depfu. A great Netlify example documentation page about their TOML config.

3) interaction with dashboard
Either the repo file or the dashboard settings take precedence, the first being the most common in my experience. It would also be great to be able to export settings from the dashboard as config file.

Example config content, including a required version for future flexibility:

version = 1
[strategy]
  outofspec = true
  [strategy.dev-dependencies]
    outofspec = false
[schedule]
  openlimit = 3
@andyw8
Copy link

andyw8 commented Apr 4, 2022

This is really the only Dependabot feature I miss. When I set up a project, it would be great if I could copy a previous config rather than having to set up everything again through the web UI.

@theflow
Copy link
Member

theflow commented Jul 20, 2022

@Siilwyn @andyw8 we recently shipped a beta of this, please give it a try and see if you run into any issues.

https://docs.depfu.com/article/41-config-files

@theflow theflow closed this as completed Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants