You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrong dependency resolution plus performance optimizations when building (#3757)
Two new parameter in Sort-AppFoldersByDependencies -
onlyTheseAppFoldersPlusDepending and SkipApps. If specified, then only
the appFolders specified in the first array plus the apps depending on
these recursively will be sorted. The remaining folder not included in
the sorted appfolders list will be returned in skipApps. This is used
for incrementals builds in AL-Go for GitHub.
Remove some excessive logging
If Import-TestToolkitToBcContainer was running with useCompilerFolder,
then it would require a container to be present at that time.
Make Run-AlPipeline do just-in-time creation of CompilerFolder and
Containers - meaning that if you are using useCompilerFolder and do not
have doNotPublishApps set - it will create a compilerFolder and compile
all apps using that, and afterwards - it will create the container,
publish the apps and run the tests.
Also...
Fixesmicrosoft/AL-Go#1338
---------
Co-authored-by: freddydk <[email protected]>
if ($dependencyAppid-ne'63ca2fa4-4f03-4f2b-a480-172fef340d3f'-and$dependencyAppId-ne'437dbf0e-84ff-417a-965d-ed2bb9650972'-and$dependencyAppId-ne'f3552374-a1f2-4356-848e-196002525837') {
106
106
Write-Warning"Dependency $($dependencyAppId):$appFileName not found"
if ($appJson.psobject.Members|Where-Object name -eq"application") {
71
-
if ($appJson.Id-ne"63ca2fa4-4f03-4f2b-a480-172fef340d3f") {
79
+
if ($appJson.Id-ne"63ca2fa4-4f03-4f2b-a480-172fef340d3f"-and$appJson.Id-ne"f3552374-a1f2-4356-848e-196002525837"-and$appJson.Id-ne"437dbf0e-84ff-417a-965d-ed2bb9650972") {
if ($dependencyAppid-ne'63ca2fa4-4f03-4f2b-a480-172fef340d3f'-and$dependencyAppId-ne'437dbf0e-84ff-417a-965d-ed2bb9650972'-and$dependencyAppId-ne'f3552374-a1f2-4356-848e-196002525837') {
108
132
Write-Warning"Dependency $($dependencyAppId):$appFileName not found"
109
133
}
110
134
$script:unresolvedDependencies+=@($dependency)
111
135
}
112
136
}
137
+
return$includeThis
113
138
}
114
139
115
140
functionAddDependencies { Param($anApp)
141
+
$includeThis=$false
116
142
if ($anApp) {
117
143
if ($anApp.psobject.Members|Where-Object name -eq"dependencies") {
Copy file name to clipboardexpand all lines: ReleaseNotes.txt
+5
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,11 @@ Issue 1303 from AL-Go repository - renew federated token when access token needs
5
5
Issue 3590 EarliestMatching select option added to Download-BcNuGetPackageToFolder
6
6
Regression when from PR 3760 - Push-BcNuGetPackage doesn't work on PowerSHell 5
7
7
Issue 3772 Get-BcNuGetPackageId name length limit
8
+
Two new parameter in Sort-AppFoldersByDependencies - selectSubordinates and SkippedApps. If specified, then only the appFolders specified in the first array plus the apps depending on these recursively will be sorted. The remaining folder not included in the sorted appfolders list will be returned in skippedApps.
9
+
Remove some excessive logging
10
+
If Import-TestToolkitToBcContainer was running with useCompilerFolder, then it would require a container to be present at that time.
11
+
Make Run-AlPipeline do just-in-time creation of CompilerFolder and Containers
12
+
Issue 1338 from AL-Go repository: Multi-Project Repository Test App Dependencies Not Resolved
8
13
9
14
6.0.29
10
15
Issue 3591 When using Publish-NAVApp to publish an app, which fails compilation in the service, the command might hang forever - the fix for this is a temporary hack put in place for the versions which doesn't work.
0 commit comments