WIP: config: Rename .yaml to .yml #192

Closed
fyrchik wants to merge 1 commit from fyrchik:test-2261352199 into master
Owner

Fasten your seatbelts.
The following script was applied:

#!/bin/sh

# s3, http
mv config/config.y{a,}ml && \
    fd . | xargs -n1 sed -i 's|config\.yaml|config.yml|g'

mv config/example/cli.y{a,}ml && \
    fd . | xargs -n1 sed -i 's|cli\.yaml|cli.yml|g'

mv config/example/ir-control.y{a,}ml && \
    fd . | xargs -n1 sed -i 's|ir-control\.yaml|ir-control.yml|g'

mv config/example/node-control.y{a,}ml && \
    fd . | xargs -n1 sed -i 's|node-control\.yaml|node-control.yml|g'

mv config/example/node.y{a,}ml && \
    fd . | xargs -n1 sed -i 's|node\.yaml|node.yml|g'

git add **/*.yml

exit 0
Fasten your seatbelts. The following script was applied: ``` #!/bin/sh # s3, http mv config/config.y{a,}ml && \ fd . | xargs -n1 sed -i 's|config\.yaml|config.yml|g' mv config/example/cli.y{a,}ml && \ fd . | xargs -n1 sed -i 's|cli\.yaml|cli.yml|g' mv config/example/ir-control.y{a,}ml && \ fd . | xargs -n1 sed -i 's|ir-control\.yaml|ir-control.yml|g' mv config/example/node-control.y{a,}ml && \ fd . | xargs -n1 sed -i 's|node-control\.yaml|node-control.yml|g' mv config/example/node.y{a,}ml && \ fd . | xargs -n1 sed -i 's|node\.yaml|node.yml|g' git add **/*.yml exit 0 ```
fyrchik self-assigned this 2023-03-30 16:08:45 +00:00
Author
Owner

Oh my god, the commit is not formatted. The PR index is 192, let me force-push to update the message, should not take long.

Oh my god, the commit is not formatted. The PR index is 192, let me force-push to update the message, should not take long.
fyrchik force-pushed test-2261352199 from e41848e716 to ca77ef11aa 2023-03-30 16:08:56 +00:00 Compare
Member

what's wrong with .yaml? should we also change to .jon or jsn then?

what's wrong with `.yaml`? should we also change to `.jon` or `jsn` then?
Author
Owner

Nothing wrong, we had a discussion in chat, and we use .yml in our deployments, wanted to check how fast can I change this in multiple repos :)

Nothing wrong, we had a discussion in chat, and we use `.yml` in our deployments, wanted to check how fast can I change this in multiple repos :)
fyrchik changed title from config: Rename `.yaml` to `.yml` to WIP: config: Rename `.yaml` to `.yml` 2023-03-31 07:28:26 +00:00
fyrchik closed this pull request 2023-03-31 08:43:04 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#192
No description provided.