-
Notifications
You must be signed in to change notification settings - Fork 404
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
Feature: Make brm generate more directory aware #137
Comments
I have run |
@shenglol, I know you where not in favor of the automated GitHub approach, but that PR does contain some code which might be helpful for using Git to figure out which directories should updated.
|
I would still like to brainstorm a way that the need to run the command can be eliminated. Once the majority of the work has been completed for a PR, one can not make minor changes without having to return to Codespace or Desktop to regenerate the files. |
I'll find some time this week to working on this and other
@dciborow Actually I thought about this approach before setting up the CI. One thing that's preventing us from implementing it is that each module update PR will end up leaving two commits on the main branch. As a result, the patch version created by |
@shenglol , one option then is that we can use "git commit --amend && git push --force", to "edit" the commit made by the PR, after it commits to main. This will keep just one commit in the history. Is the main.json stored in the repo because this is where the bicep module looks it up from? Or is it just for reference. |
We had an internal discussion on |
For what its worth, I'm not against the json being generated by brm as part of the wider generate process. |
Thank you!!!! |
I've lost count of the number of times that i've done a
brm generate
in the test folder of a module i'm working on.Yes i know it's my fault, and i probably should never
cd
into the test folder.... but you know if brm knows that i'm in a folder called test - it could help me out by asking for confirmation. 😸The text was updated successfully, but these errors were encountered: