-
Notifications
You must be signed in to change notification settings - Fork 635
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
DYN-7337 Make TuneUp an Built-In package, part II #15536
Conversation
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.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7337
UI Smoke TestsTest: success. 11 passed, 0 failed. |
</ItemGroup> | ||
<MakeDir Directories="$(OutputPath)\viewExtensions\" /> | ||
<Copy SourceFiles="@(ExternTuneUpDll)" DestinationFolder="$(OutputPath)\Built-In Packages" /> | ||
<Copy SourceFiles="@(ExternTuneUpManifest)" DestinationFolder="$(OutputPath)\viewExtensions" /> | ||
<Copy SourceFiles="@(ExternTuneUpPkg)" DestinationFolder="$(OutputPath)\Built-In Packages\packages\TuneUp\%(RecursiveDir)" /> |
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.
Copy files recursively and keeping the folder structure
Log(String.Format( | ||
String.Format(Resources.InvalidPackageNoNodeLibrariesDefinedInPackageJson, | ||
discoveredPkg.Name, discoveredPkg.RootDirectory))); | ||
} |
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.
Remove the node library dll check because Built-In package moving forward may not always include nodes so this is no longer needed, even the logging
AnyCPU/ | ||
Debug/ | ||
Release/ | ||
originalBinaries/ |
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.
ignore dlls under built directory more precisely
Not sure if the two remaining tests about Node Autocomplete is related to this PR at all, re-running in https://master-5.jenkins.autodesk.com/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/16549/ |
@@ -10,7 +10,7 @@ | |||
<ItemGroup> | |||
<PackageReference Include="CommandLineParser" Version="2.8.0" /> | |||
<PackageReference Include="CsvHelper" Version="30.0.1" /> | |||
<PackageReference Include="Greg" Version="3.0.1.4707" /> | |||
<PackageReference Include="Greg" Version="3.0.2.6284" /> |
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.
Why are we changing the greg version only for this project?
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.
@reddyashish This project seems to be behind (not aligned with all the other project)
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.
Add this dll to the list of shipped binaries?
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.
This is a test dll generated runtime, I have removed it and updated gitignore
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.
LGTM
@reddyashish @zeusongit I updated to latest TuneUp, and all regressions are passing from previous run so this should be all good |
I dont think the error from the Build DynamoAll.sln is from this branch.. |
Interestingly, I was getting the same error |
One test failing, did it pass in another build? |
@zeusongit Yup, the reported failure is a sporadic one. The build errors is from master branch itself, most likely from #15439. I dont think we are supposed to merge that.. |
Purpose
Before:
After:
Expected folder structure under DynamoCore:
Common Errors:
When user have both Built-in package and downloaded package exist
When user tries to download the same package while Built-In package exist
When user tries to download a newer version of the package while Built-In package exist
When user tries to download an older version of the package while Built-In package exist
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
Make TuneUp an Built-In package and follow package folder structure, also improve Dynamo logging
Reviewers
@DynamoDS/dynamo
FYIs
(FILL ME IN, Optional) Names of anyone else you wish to be notified of