Commit Graph

5 Commits

Author SHA1 Message Date
andrew grant
708d88c052 Changed SyncScript syntax to use //workspace/path instead of //depot/path. This addresses issues when the workspace is in an uncertain state because the user used stream switching with a failed update
#tests Synced both existing and missing projects on Mac and Windows
#rb na
#jira nojira
#lockdown Nick.Penwarden

#ROBOMERGE-SOURCE: CL 10453808 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v595-10452236)

[CL 10453827 by andrew grant in Main branch]
2019-11-26 11:22:47 -05:00
andrew grant
47a03942a9 Editgrated latest SyncProject script from FN as part of UE-78832, UE-78826, and resolved issues with omitted / dangerous arguments.
Project arg is now optional and will simply sync the engine.
Passing -CL=0 will now require the -force argument before syncing files out of the workspace.
Fixed issue with deep samples (e.g AREnvProbe) not being discovered by FindProjectFileFromName
Added NativeProjects.ClearCache option for the case when syncing a project from P4 that isn't yet on disk

Fixed issue with P4.FileExistsInDepot returning true if passed a path that isn't in the users client view. Relates to UE-78832 but not the entire fix
Fixed issue with BuildEditor not working without a project arg.
Fixed issue building projects that don't have source

[CODEREVIEW] ben.marsh
#jira UE-78832, UE-78826
#rb na

#ROBOMERGE-OWNER: andrew.grant
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 8008332 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v396-7974030)

[CL 8008726 by andrew grant in Main branch]
2019-08-13 16:24:19 -04:00
andrew grant
6ac2a3bd5e Added -clean option to SyncProject (was lost in refactor)
#jira na
#rb josh.spivey

#ROBOMERGE-OWNER: andrew.grant
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 7817240 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v389-7813075)

[CL 7819562 by andrew grant in Main branch]
2019-08-06 16:06:27 -04:00
andrew grant
6b18803f46 Fixed issue where P4.FileExistsInDepot would return true when the path didn't exist
Bigly refactor of SyncProject script!

* If project file is not on disk will now attempt to find it in P4 (e.g no need to sync a project before you can sync a project).

*Added -projectonly option to skip updating of Engine dir (useful with -force when you've deleted files..)

* Changed default of maxwait to 0 based on new understanding of how this functions.

* Now works when the project is in a different P4 depot than the engine

[at]ben.marsh


#ROBOMERGE-SOURCE: CL 7688001 via CL 7688013 via CL 7688019 via CL 7690526
#ROBOMERGE-BOT: (v383-7686620)

[CL 7690676 by andrew grant in Main branch]
2019-08-01 13:28:12 -04:00
andrew grant
bb2842930b Moved SyncProject script out of notForLicensees, tidied it up a bit, added -build and -open commands
Added BuildTarget script that can builds specified targets for a project
Added OpenEditor utility script

[FYI] ben.marsh


#ROBOMERGE-SOURCE: CL 7553441 via CL 7553450 via CL 7568654
#ROBOMERGE-BOT: (v372-7473910)

[CL 7569064 by andrew grant in Main branch]
2019-07-23 15:25:57 -04:00