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

Remove location from scaffolded application #5601

Closed
ytimocin opened this issue May 25, 2023 · 0 comments · Fixed by #5600
Closed

Remove location from scaffolded application #5601

ytimocin opened this issue May 25, 2023 · 0 comments · Fixed by #5600
Assignees
Labels
bug Something is broken or not working as expected

Comments

@ytimocin
Copy link
Contributor

ytimocin commented May 25, 2023

Bug information

Steps to reproduce (required)

Run rad init --dev and observe the app.bicep that it creates.

Observed behavior (required)

Scaffolded application creates app.bicep which has location property. This should be removed.

Desired behavior (required)

No location property

Workaround (optional)

System information

rad Version (required)

0.21

Operating system (required)

Additional context

AB#8007

@ytimocin ytimocin added the bug Something is broken or not working as expected label May 25, 2023
@ytimocin ytimocin self-assigned this May 25, 2023
ytimocin added a commit that referenced this issue May 25, 2023
# Description
Removing location from scaffolded application. `app.bicep` has location
but docs don't show location in the `app.bicep`.

## Issue reference
Fixes: #5601 

## Checklist

Please make sure you've completed the relevant tasks for this PR, out of
the following list:

* [ ] Code compiles correctly
* [ ] Adds necessary unit tests for change
* [ ] Adds necessary E2E tests for change
* [ ] Unit tests passing
* [ ] Extended the documentation / Created issue for it

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at ea6ec87</samp>

### Summary
🗑️🛠️📝

<!--
1. 🗑️ - This emoji conveys the idea of removing or deleting something,
which is what the first change did by removing an unnecessary field from
the `rad-config.yaml` template.
2. 🛠️ - This emoji conveys the idea of fixing or repairing something,
which is what the second change did by fixing the comment indentation in
the `rad.yaml` template.
3. 📝 - This emoji conveys the idea of writing or editing something,
which is what both changes did by modifying the code of the templates.
-->
Simplified and improved `rad` CLI setup command by removing unused field
and fixing comment indentation in config templates.

> _`rad-config.yaml`_
> _Simpler and clearer now_
> _Autumn leaves of code_

### Walkthrough
* Remove redundant location field from rad-config.yaml template
([link](https://github.com/project-radius/radius/pull/5600/files?diff=unified&w=0#diff-1b0ac5c011aaaf6673a23365f05fe4d2ebdc793c135984d7b3410e59ef92fa75L33))
* Fix indentation of comment explaining trailing newline in rad.yaml
template
([link](https://github.com/project-radius/radius/pull/5600/files?diff=unified&w=0#diff-1b0ac5c011aaaf6673a23365f05fe4d2ebdc793c135984d7b3410e59ef92fa75L46-R49))
lakshmimsft pushed a commit that referenced this issue May 26, 2023
# Description
Removing location from scaffolded application. `app.bicep` has location
but docs don't show location in the `app.bicep`.

## Issue reference
Fixes: #5601

## Checklist

Please make sure you've completed the relevant tasks for this PR, out of
the following list:

* [ ] Code compiles correctly
* [ ] Adds necessary unit tests for change
* [ ] Adds necessary E2E tests for change
* [ ] Unit tests passing
* [ ] Extended the documentation / Created issue for it

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at ea6ec87</samp>

### Summary
🗑️🛠️📝

<!--
1. 🗑️ - This emoji conveys the idea of removing or deleting something,
which is what the first change did by removing an unnecessary field from
the `rad-config.yaml` template.
2. 🛠️ - This emoji conveys the idea of fixing or repairing something,
which is what the second change did by fixing the comment indentation in
the `rad.yaml` template.
3. 📝 - This emoji conveys the idea of writing or editing something,
which is what both changes did by modifying the code of the templates.
-->
Simplified and improved `rad` CLI setup command by removing unused field
and fixing comment indentation in config templates.

> _`rad-config.yaml`_
> _Simpler and clearer now_
> _Autumn leaves of code_

### Walkthrough
* Remove redundant location field from rad-config.yaml template
([link](https://github.com/project-radius/radius/pull/5600/files?diff=unified&w=0#diff-1b0ac5c011aaaf6673a23365f05fe4d2ebdc793c135984d7b3410e59ef92fa75L33))
* Fix indentation of comment explaining trailing newline in rad.yaml
template
([link](https://github.com/project-radius/radius/pull/5600/files?diff=unified&w=0#diff-1b0ac5c011aaaf6673a23365f05fe4d2ebdc793c135984d7b3410e59ef92fa75L46-R49))

(cherry picked from commit c715d39)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken or not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant