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

Update workload build tasks #7362

Merged
merged 7 commits into from
May 17, 2021
Merged

Update workload build tasks #7362

merged 7 commits into from
May 17, 2021

Conversation

joeloff
Copy link
Member

@joeloff joeloff commented May 10, 2021

  • Add support for locating workload manifests in data folder
  • Generate MSI JSON manifests for payload packages
  • Generate MSI payload projects
  • Add installation record registry keys to workload pack MSIs

@joeloff
Copy link
Member Author

joeloff commented May 10, 2021

@marcpopMSFT @lewing @pranavkm next round of updates for build tasks, most impact CLI installs which we won't need until preview6

@joeloff
Copy link
Member Author

joeloff commented May 17, 2021

@chcosta if you get a chance to look at this I'd appreciate it. This is for Preview5

Copy link
Member

@chcosta chcosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have much interesting feedback. looks fine to me.

@@ -124,7 +127,7 @@ protected IEnumerable<ITaskItem> Generate(string sourcePackage, string swixPacka

if (string.IsNullOrWhiteSpace(nupkg.Title))
{
Log?.LogWarning($"'{sourcePackage}' should have a non-empty title. The MSI ProductName will be set to the package ID instead.");
Log?.LogMessage(MessageImportance.High, $"'{sourcePackage}' should have a non-empty title. The MSI ProductName will be set to the package ID instead.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this should be either a warning, or a normal importance message, but high importance seems weird to me. Also, this is just a nit and it's fine (to me) to leave this as-is.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's not a problem if these items are missing because of how folks are building workloads. When it's a warning though, the builds in the installer repo will fail, and any changes to the packages requires respinning the full net stack since the workload packages for WASM originate in the dotnet/runtime repo

@joeloff joeloff merged commit f211f0e into dotnet:main May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants