Commit Graph

77 Commits

Author SHA1 Message Date
justin marcus
e2aefaf3d4 Install Bundle Sources now provide bunld edependencies to bundle manager.
[at]Hongyi.Yu [at]Daniel.Lamb
[FYI] [at]Eric.Knapik


#ROBOMERGE-SOURCE: CL 12633678 via CL 12634014 via CL 12634048 via CL 12634083
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12634102 by justin marcus in Main branch]
2020-04-06 16:49:07 -04:00
eric knapik
af864a526f #Jira: none
Adding new InstallBundleType GameCustom to allow for custom game mode install bundle sources.


#ROBOMERGE-SOURCE: CL 12631162 via CL 12631163 via CL 12631171 via CL 12631178
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12631192 by eric knapik in Main branch]
2020-04-06 15:44:40 -04:00
justin marcus
1f2cd0ecd0 Bundle Manager Init no longer directly reads bundle config during Init. Still need to fix dependencies.
[at]Hongyi.Yu [at]Daniel.Lamb
[FYI] [at]Eric.Knapik


#ROBOMERGE-SOURCE: CL 12579031 via CL 12579055 via CL 12579059 via CL 12579066 via CL 12579070
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12579074 by justin marcus in Main branch]
2020-04-02 17:42:44 -04:00
justin marcus
0f60836587 Add EInstallBundlePriority that maps to background download priority.
[at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 12503926 via CL 12503932 via CL 12503938 via CL 12503941
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12503948 by justin marcus in Main branch]
2020-03-31 22:09:31 -04:00
fernando pereira
8b0c328ab0 Make FFortEmbeddedCommunication::CheckLatestClient return an enum as the result instead of a bool
This change will allow PartyHub to better respond to the different cases (including not logged in and only content being out of date).

Test Plan

Updated kthe kairos protubufs and kairos iOS and run the app on device with the new framework and verified that the CheckLatestClient does rerturn a EInstallBundleManagerPatchCheckResult enum,

2020-03-26 22:38:54.673480-0700 Kairos[1282:419578] [UE4] [2020.03.27-05.38.54:673][279]LogBridge: [KairosNative] UE4Client: completed command KairosCore.EngineCommand.Fortnite.CheckLatestClient:
 with error: <nil> response: "EInstallBundleManagerPatchCheckResult::NoPatchRequired"

Run a test EC build.

#ROBOMERGE-SOURCE: CL 12473299 via CL 12473314 via CL 12473324 via CL 12473326
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12473330 by fernando pereira in Main branch]
2020-03-27 14:56:59 -04:00
justin marcus
b2b5e08f86 Add content patch check to bundle source interface.
[at]Daniel.Lamb




#ROBOMERGE-SOURCE: CL 12306068 via CL 12306076 via CL 12306078 via CL 12306080
#ROBOMERGE-BOT: (v670-12295787)

[CL 12306082 by justin marcus in Main branch]
2020-03-19 14:19:39 -04:00
justin marcus
7d4b42bf3d Fix typos
#ROBOMERGE-SOURCE: CL 12248111 via CL 12248112 via CL 12248117
#ROBOMERGE-BOT: (v668-12245121)

[CL 12248121 by justin marcus in Main branch]
2020-03-18 11:45:29 -04:00
justin marcus
2f92b8e2fc Add backwards compatibility layer to Patch check refactor.
#jira UE-90766
#jira UE-90764

[at]Daniel.Lamb [at]Sam.Zamani [at]Eric.Newman [at]Marc.Audy



#ROBOMERGE-SOURCE: CL 12235622 via CL 12235630 via CL 12244047
#ROBOMERGE-BOT: (v667-12241502)

[CL 12244151 by justin marcus in Main branch]
2020-03-18 09:14:26 -04:00
justin marcus
ecec13800d Add patch checking to install bundle manager interface.
[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 12216402 via CL 12216561 via CL 12216591
#ROBOMERGE-BOT: (v662-12191386)

[CL 12216614 by justin marcus in Main branch]
2020-03-16 14:48:59 -04:00
justin marcus
ac5b8c01d1 - Add MinimumBundleWeight constant in InstallBundleUtil so it isn't duplicated everywhere.
[at]Hongyi.Yu [at]Daniel.Lamb



#ROBOMERGE-SOURCE: CL 11896043 via CL 11896051 via CL 11896056
#ROBOMERGE-BOT: (v656-11643781)

[CL 11896065 by justin marcus in Main branch]
2020-03-04 10:35:13 -05:00
justin marcus
454d4323b0 Stub Out IntelligentDelivery install bundle source.
Drive XBox packaging from install bundle config if available.


[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 11604706 via CL 11604734 via CL 11604741
#ROBOMERGE-BOT: (v656-11643781)

[CL 11743592 by justin marcus in Main branch]
2020-02-28 11:31:52 -05:00
thomas ross
00638696c8 PersistentStats
- Removed some pass-by-value FStrings to use correct const FString& reference instead.
- Added RemoveSessionStats and RemoveBundleStats functions to remove items from the underlying data to clean them up.
#rb none
#tests iOS Client


#ROBOMERGE-SOURCE: CL 11428103 via CL 11428881 via CL 11428920
#ROBOMERGE-BOT: (v654-11333218)

[CL 11428996 by thomas ross in Main branch]
2020-02-13 16:47:22 -05:00
justin marcus
20a55057e4 Install Bundle Manager Interface
- Allow Synchronous Init to Fail
- Allow requests stats to be reset


[at]Hongyi.Yu [at]Daniel.Lamb



#ROBOMERGE-SOURCE: CL 11311471 via CL 11311508 via CL 11311525
#ROBOMERGE-BOT: (v653-11302973)

[CL 11311533 by justin marcus in Main branch]
2020-02-10 16:13:00 -05:00
thomas ross
601797ab21 Improvements for PersistentStats.
- Added ensures to flag problems where you attempt to start stats on bundles that haven't yet been started.
- Adding ability to pass in an FInstallBundleCombinedContentState to StartPersistentStatTrackingSession on InstallBundleManager as this is a useful thing to react to when starting your session tracking.
- Removing bShouldSaveStatsOnUpdate as this is really a trap that noone should ever do. Instead should just set it to save to disk every tick by setting bShouldSaveDirtyStatsOnTick and DirtyStatSaveToDiskRate to 0.
- Changed LoadFromDisk code so that you can load stats from disk without calling StatsBegin. There was a need for stats to be loaded from disk, but not yet active for Sessions (which now call this code automatically when starting a Session PersistentStats for all of it's RequiredBundles).
#rb none
#tests iOS Client


#ROBOMERGE-SOURCE: CL 11221346 via CL 11221348 via CL 11221355
#ROBOMERGE-BOT: (v644-11213502)

[CL 11241252 by thomas ross in Main branch]
2020-02-04 22:24:15 -05:00
justin marcus
22e29392c5 Install Bundle Manager
- Allow "invalid" (empty, not generated for this build, etc.) bundles to be skipped.


[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 11206172 via CL 11206175 via CL 11206177
#ROBOMERGE-BOT: (v643-11205221)

[CL 11206179 by justin marcus in Main branch]
2020-02-03 10:24:11 -05:00
justin marcus
8abd375815 Install Bundle Source Interface
- Add GetBundleSkipReason() to allow bundle sources to reject bundles early.  This prevents attempting to wait on language chunks that don't match the current language mask.  Currently not tested because I need a new build.


[at]Hongyi.Yu [at]Daniel.Lamb



#ROBOMERGE-SOURCE: CL 11179620 via CL 11181074 via CL 11181324
#ROBOMERGE-BOT: (v640-11091645)

[CL 11181749 by justin marcus in Main branch]
2020-01-30 14:07:22 -05:00
justin marcus
cfcec74362 Add LexFromString for EInstallBundleSourceType.
#ROBOMERGE-SOURCE: CL 11121828 via CL 11121844 via CL 11121850
#ROBOMERGE-BOT: (v640-11091645)

[CL 11121853 by justin marcus in Main branch]
2020-01-27 16:47:32 -05:00
justin marcus
b434d4c28e Make InstallBundleConfig a hierarchical INI.
Fix FConfigCacheIni::GetSectionNames returning names in reverse order.
Make sure build scripts properly respect bundle order.

change 2/2 - everything not internal

[at]Daniel.Lamb [at]Hongyi.Yu




#ROBOMERGE-SOURCE: CL 11047646 via CL 11047649 via CL 11047656
#ROBOMERGE-BOT: (v637-11041722)

[CL 11047666 by justin marcus in Main branch]
2020-01-17 12:25:29 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
thomas ross
7df2c24bf2 Adding system to track persistent install stats between launches of the app. Re-submit of previous CL: 10784102 with fix for Editor build failures and some other improvements.
#tests iOS Client
#rb none


#ROBOMERGE-SOURCE: CL 10805576 via CL 10805577 via CL 10805580 via CL 10805581 via CL 10805582
#ROBOMERGE-BOT: (v610-10636431)

[CL 10805583 by thomas ross in Main branch]
2019-12-18 19:27:49 -05:00
justin marcus
3d602492ee Merging //Fortnite/Release-11.40 to Main (//Fortnite/Main)
Integrate CL 10801881 manually to try to resolve robomerge mess.




#ROBOMERGE-SOURCE: CL 10802431 via CL 10802432
#ROBOMERGE-BOT: (v610-10636431)

[CL 10802435 by justin marcus in Main branch]
2019-12-18 16:03:01 -05:00
bob tellez
f85cfa653f Merging CL#10787106
Back out changelist 10784102. CIS errors

[FYI] Thomas.Ross


#ROBOMERGE-SOURCE: CL 10787133 via CL 10787256
#ROBOMERGE-BOT: (v610-10636431)

[CL 10787261 by bob tellez in Main branch]
2019-12-18 03:27:19 -05:00
thomas ross
eee35d72d7 Adding system to track persistent install stats between launches of the app.
#tests iOS Client
#rb none


#ROBOMERGE-SOURCE: CL 10784102 via CL 10784117 via CL 10787065 via CL 10787096 via CL 10787127
#ROBOMERGE-BOT: (v610-10636431)

[CL 10787156 by thomas ross in Main branch]
2019-12-18 02:34:14 -05:00
justin marcus
abb86f5b4e Install Bundle Manger
- remove EInstallBundleContentState::InitializationError since it can never happen
- Remove FInstallBundleCombinedContentState::State - this has limited value because calling code may want to combine state in different ways
- Add utility functions to FInstallBundleCombinedContentState::GetAllBundlesHaveState and FInstallBundleCombinedContentState::GetAnyBundleHasState


[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10764371 via CL 10764381 via CL 10764388 via CL 10764391 via CL 10764397
#ROBOMERGE-BOT: (v610-10636431)

[CL 10764398 by justin marcus in Main branch]
2019-12-17 11:11:46 -05:00
justin marcus
76d903109a Install Bundle Manager Refactor
- Cleanup Interface
- Fix some failing asserts
- Fix engine sleeping during PSO caching
- Enable New Bundle Manager

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10708901 via CL 10714861 via CL 10714946
#ROBOMERGE-BOT: (v610-10636431)

[CL 10715183 by justin marcus in Main branch]
2019-12-13 14:44:37 -05:00