question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider allowing to use .yaml instead of .yml as file extension

See original GitHub issue

According to Wikipedia, the

… official recommended filename extension for YAML files has been .yaml since 2006.

Last time I checked, it was not possible to use .yml as file extension for the configuration file.

GitHub Actions allows to use .yaml files.

I’m aware that this is probably not a very important issue, and I’m aware that this might cause issues, such as

  • what should be done when people provide both .github/settings.yml and .github/settings.yaml

but I’m a bit curious - have you considered allowing users to use .yaml as file extension?

💁‍♂ For reference, see https://github.com/probot/settings/issues/213.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gr2mcommented, Dec 8, 2020

The current API requires the app developer to pass the file name, so it’s up to them. Probot supports both. Often times the app has read access to only one specific file, in which case we couldn’t just support both extensions, we would only have access to one of them.

I’d say we should close this

0reactions
stale[bot]commented, May 16, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the difference between .yaml and .yml extension?
You can hold YAML content in files with any extension: .yml , .yaml ... they use a .yml extension instead of the correct...
Read more >
So is it .yaml? Or .yml? - DEV Community ‍ ‍
I prefer .yml for one simple reason - I grew up in a time when file names were at most eight characters long,...
Read more >
Why should we prefer the YAML file over the properties file for ...
In my opinion, the main advantages of YAML files over properties file in Spring Boot projects are the Hierarchical Structure and Popularity ...
Read more >
What is YAML? - Red Hat
YAML is a data serialization language that is often used for writing configuration files. ... YAML files use a .yml or .yaml extension....
Read more >
Using application.yml vs application.properties in Spring Boot
As well as Java properties files, we can also use YAML-based configuration files in our Spring Boot application. YAML is a convenient format...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found