Commit Graph

13 Commits

Author SHA1 Message Date
Patrick Enfedaque
6b7399fa24 PackageSourceControlHelper: Add optional bErrorsAsWarnings param to AddToSourceContro/Checkout/Delete operations (defaults to false)
WorldPartitionHelpers: Add optional callback when releasing ActorReferences to allow caller to batch operations
WorldPartitionBuilder: Add SavePackages/DeletePackages statics that can be used by the different Builders (takes care of the SCC batching)
WorldPartitionRenameDuplicateBuilder & WorldPartitionResaveActorsBuilder use the new new SavePackages/DeletePackages

#jira UE-142940

#rb richard.malo, sebastien.lussier
#preflight 620f9de5a96c65b0d81997e9
#rnx

[CL 19052770 by Patrick Enfedaque in ue5-main branch]
2022-02-18 13:23:27 -05:00
aris theophanidis
4daaab1d1a [WP Navmesh] Optimize Perforce access when building WP navmesh
Change FPackageSourceControlHelper::Delete(const TArray<UPackage*>& Packages) to be batched
Also update dialog being displayed when an error occurred during the build process
#rb JeanFrancois.Dube
#jira UE-114032
#lockdown julien.marchand
#rnx
#preflight 6206a396c663666c89aa38bb

#ROBOMERGE-OWNER: aris.theophanidis
#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18958276 in //UE5/Release-5.0/... via CL 18959442 via CL 18959974
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18960295 by aris theophanidis in ue5-main branch]
2022-02-11 15:38:51 -05:00
patrick enfedaque
4e36bb9e18 PackageSourceControlHelper: Batched Add
#rb richard.malo, jeanfrancois.dube
#preflight 61e85213e543b825456ffd56

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18661156 in //UE5/Release-5.0/... via CL 18661181 via CL 18661205
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18661245 by patrick enfedaque in ue5-main branch]
2022-01-19 13:35:45 -05:00
aurel cordonnier
ae01a18791 Fixes for no unity errors
#rnx

[CL 16631670 by aurel cordonnier in ue5-main branch]
2021-06-10 18:04:34 -04:00
jeanfrancois dube
53e7303a98 Avoid calling UPackageTools::UnloadPackages in FPackageSourceControlHelper::Delete because it triggers garbage collection, which is illegal during some commandlets.
Instead, call ResetLoaders on the packages that needs to be deleted to make sure the process doesn't have an open handle.

#jira UE-117377
#rb sebastien.lussier
[FYI] julien.lheureux


#ROBOMERGE-SOURCE: CL 16604937
#ROBOMERGE-BOT: (v828-16531559)

[CL 16605114 by jeanfrancois dube in ue5-main branch]
2021-06-09 10:40:40 -04:00
sebastien lussier
b5db26cde4 Fix inverted return condition
[FYI] julien.lheureux

#ROBOMERGE-SOURCE: CL 16505949 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v826-16501804)

[CL 16505950 by sebastien lussier in ue5-main branch]
2021-05-29 22:58:02 -04:00
julien lheureux
8feaaa0222 Added multiple packages checkout at the same time, making it fail completely or not at all.
#rb luc.eygasier

#ROBOMERGE-SOURCE: CL 16492613 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v823-16466674)

[CL 16492625 by julien lheureux in ue5-main branch]
2021-05-27 17:46:31 -04:00
julien lheureux
879e88712a Source-control & World Partition changes needed for Mantle support
#rb jeanfrancois.dube

[CL 15808954 by julien lheureux in ue5-main branch]
2021-03-24 17:18:08 -04:00
danny couture
a3ea580864 Avoid a syscall by only removing the readonly flags on readonly files
#rb JeanFrancois.Dube

[CL 15177114 by danny couture in ue5-main branch]
2021-01-25 07:29:46 -04:00
Patrick Enfedaque
1e95731c79 When reverting Open for Adds. Also delete the files.
#rb jeanfrancois.dube, sebastien.lussier

[CL 15019962 by Patrick Enfedaque in ue5-main branch]
2021-01-08 12:11:56 -04:00
JeanFrancois Dube
56e7dfab7f Fix typo in comment.
#rb none

[CL 14444778 by JeanFrancois Dube in ue5-main branch]
2020-10-08 06:15:36 -04:00
JeanFrancois Dube
ac80abc8c6 World Partition
- Unified actor descriptors serialization code to avoid code duplication.
- Actors don't need to overload GetAssetRegistryTags anymore to serialize custom metadata.
- WorldPartitionConvertCommandlet: don't rely on the asset registry anymore to delete old conversion results.
- Fixed FPartitionActorDesc not updating its hash properly.
- Removed asset registry specific code from FPackageSourceControlHelper.
- Deleted unused class FActorRegistry.

#rb patrick.enfedaque

[CL 14328061 by JeanFrancois Dube in ue5-main branch]
2020-09-16 12:09:36 -04:00
JeanFrancois Dube
5d11121e76 WorldPartitionBuilderCommandlet
- Created the world partition builder commandlet which loads a partitioned world and run builders on it deriving from UWorldPartitionBuilder.
- For now, the whole world is loaded but the plan is to support partial world loading to allow running world builders on multiple machines or doing incremental builds.
- World partition builders are meant to be run either through the world partition builder commandlet or from the editor, when it makes sense.
- The world partition builder and builders can be configured via a ini file with the same name as the umap file, in the same folder.
- Converted UWorldPartitionBuildHLODsCommandlet to UWorldPartitionBuilder that can now be run through the world partition builder commandlet.
- Renamed CommandletPackageHelper class to PackageSourceControlHelper since it's now used outside commandlets.

#rb sebastien.lussier
#fyi aris.theophanidis

[CL 14310979 by JeanFrancois Dube in ue5-main branch]
2020-09-14 13:54:21 -04:00