-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enable POGO builds in MBv2 daily config, automatic NuGet generation and publication. Add build composition script. #863
Conversation
@digitalinfinity If you have a moment, please review? |
@echo off | ||
|
||
if "%PogoConfig%"=="False" ( | ||
echo "---- Not a Pogo Config. Skipping step." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double quotes are unnecesasry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming %PogoConfig% can only be controlled by the script, that's true, but to insulate in case of other possible values, I'd rather keep the quotes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mean the double quotes around %PogoConfig%, the double quotes for echo is really unnecessary.
In reply to: 61509205 [](ancestors = 61509205)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but I think you could argue this is personal preference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a grep for it, and all other instances of echo in cmd/bat files have no quotes. I'll make the change to be consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Emm, not just personal preference, the extra double quotes will be put into console output or log file, echo command doesn't interpret them.
In reply to: 61511010 [](ancestors = 61511010)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wow I forgot about that. I've been using Git bash too much... bash's echo treats those quotes as parameter delimiters like is the case with other commands.
Anyway I'll remove them.
@Cellule Any review feedback or is this good to merge? |
…nd publication. Add build composition script.
@@ -105,6 +106,13 @@ if (-not (Test-Path $flavorBuildIncompleteFile)) { | |||
| Out-File $flavorBuildIncompleteFile -Encoding Ascii | |||
} | |||
|
|||
$PogoConfig = "False" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should pass as argument which flavor we want to pogo.
This is okay for the time being, but we should consider changing it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, we can follow up on desired changes for future iterations.
lgtm |
Thanks, @Cellule! Merging this. |
Includes progress on #85
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)