Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Yaml merge#152

Merged
andrueastman merged 5 commits intomicrosoftgraph:devfrom
jasonjoh:yaml-merge
May 6, 2021
Merged

Yaml merge#152
andrueastman merged 5 commits intomicrosoftgraph:devfrom
jasonjoh:yaml-merge

Conversation

@jasonjoh
Copy link
Member

Description

  • Moved YAML processing into the YamlHeader class and simplified code in RepositoriesService around using the header.
  • YAML will now be read from 3 places (if present): README, repo-name.yml, and devx.yml and combined. In case the same setting is present in more than one of these places, values are overwritten with devx.yml taking precedence over repo-name.yml taking precedence over README

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing

  • Added YamlHeaderTests.cs to test functionality
  • Ran the app locally and loaded all samples/repositories, verified values match expected

jasonjoh and others added 3 commits April 28, 2021 12:43
- Moved YAML processing into the `YamlHeader` class and simplified code in `RepositoriesService` around using the header.
- YAML will now be read from 3 places (if present): README, repo-name.yml, and devx.yml and combined. In case the same setting is present in more than one of these places, values are overwritten with devx.yml taking precedence over repo-name.yml taking precedence over README
@jasonjoh jasonjoh requested review from andrueastman and baywet April 30, 2021 15:50
@andrueastman andrueastman merged commit 51e7544 into microsoftgraph:dev May 6, 2021
@jasonjoh jasonjoh deleted the yaml-merge branch May 12, 2021 19:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants