Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ lock contention by bypassing IRIS compiler.
- #965: FileCopy on a directory with a Name without the leading slash now works
- #937: Publishing a module with a `<WebApplication>` containing a `Path` no longer errors out
- #957: Improved error messages for OS command execution. Now, when a command fails, the error message includes the full command and its return code. Also fixed argument separation for the Windows `attrib` command and removed misleading error handling for missing commands.
- #1024: Fixed issue where modules with python wheels and requirements.txt aren't published correctly

### Deprecated
- #828: The `CheckStatus` flag for `<Invoke>` action has been deprecated. Default behavior is now to always check the status of the method if and only if the method signature returns %Library.Status
Expand Down
9 changes: 5 additions & 4 deletions src/cls/IPM/Lifecycle/Base.cls
Original file line number Diff line number Diff line change
Expand Up @@ -1183,10 +1183,6 @@ Method %Export(
}
}
}
set exportPythonDependencies = $get(pParams("ExportPythonDependencies"), 0)
if exportPythonDependencies {
do ..ExportPythonDependencies(.pParams)
}

// Deployed items should be exported as a studio project to a designated directory
set tDeployedProjectName = ##class(%IPM.Utils.Module).GetDeployedProjectName(..Module.Name)
Expand All @@ -1209,6 +1205,11 @@ Method %Export(
do ..ExportSingleModule(.tSingleModuleArray, pTargetDirectory, .pDependencyGraph, .tParams, tVerbose)
}

set exportPythonDependencies = $get(pParams("ExportPythonDependencies"), 0)
if exportPythonDependencies {
do ..ExportPythonDependencies(.pParams)
}

// Export the deployed project to the target directory, if it's non-empty
if tDeployedProject.Items.Count() > 0 {
// Intentionally not calling .%Save() on the project; we don't want to persist it.
Expand Down
1 change: 1 addition & 0 deletions src/cls/IPM/Main.cls
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ This command is an alias for `module-action module-name publish`
<parameter name="module" required="true" description="Name of module on which to perform publish actions" />
<modifier name="repo" aliases="r" dataAlias="PublishTo" description="Namespace-unique name of repository for the module to publish to (if deployment is enabled)" />
<modifier name="use-external-name" aliases="use-ext" dataAlias="UseExternalName" dataValue="1" description="Publish the package under the &lt;ExternalName&gt; of the package. If ExternalName is unspecified or illegal, an error will be thrown."/>
<modifier name="export-python-deps" dataAlias="ExportPythonDependencies" dataValue="1" description="If specified, exports Python dependencies. If omitted, defaults to false." />
</command>

<command name="update" dataPrefix="D">
Expand Down