3 years agoPerforce maintenance committed change 28804 into Added checkpoints. | ||
Add a comment | ||
6 years agoPerforce maintenance modified job000742 for perforce_software-p4nagios: | ||
6 years agoPerforce maintenance modified job000741 for perforce-software-p4convert: Labels with spaces cause a crash in the converter. From case 00369890, dump files are on warp:/warp/cases/00369890 Conversion has no problem...s until we enable the "exclude.map", which throws this exception: 03 Dez 2018 11:31:25,356 ERROR com.perforce.common.process.ProcessChange ... Caught exception on exit java.lang.ArrayIndexOutOfBoundsException: 2 at com.perforce.p4java.impl.generic.core.MapEntry.parseViewMappingString(MapEntry.java:279) at com.perforce.p4java.impl.generic.core.MapEntry.<init>(MapEntry.java:74) at com.perforce.p4java.impl.generic.core.Label$LabelMapping.<init>(Label.java:117) at com.perforce.common.label.LabelImport.buildViewMap(LabelImport.java:183) at com.perforce.common.label.LabelImport.submit(LabelImport.java:170) at com.perforce.common.process.ProcessLabel.submit(ProcessLabel.java:143) at com.perforce.common.process.ProcessChange.submit(ProcessChange.java:195) at com.perforce.svn.process.SvnProcessChange.processChange(SvnProcessChange.java:187) at com.perforce.common.process.ProcessChange.call(ProcessChange.java:59) at com.perforce.common.process.ProcessChange.call(ProcessChange.java:21) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 03 Dez 2018 11:31:25,366 INFO com.perforce.common.process.ProcessChange ... Caught EXIT shutting down ... cat exclude.map # exclude Subversion tags: ^tags/.* I am able to reproduce this, in the debugger the crash happens in com.perforce.p4java.impl.generic.core.MapEntry.parseViewMappingString(MapEntry.java:279) which seems to get confused by spaces in the client entry. « | ||
6 years agoPerforce maintenance modified job000740 for perforce_software-p4python: check_ssl() fails to support LibreSSL on OSX. Currently running OSX 10.14 (Mojave) with python 3.7.0 ``` $ pip install p4python Collecting p4pyth...on Using cached https://files.pythonhosted.org/packages/37/2f/ae9214f6b08bde402d88a9cdf6faf307cfbe50fee04aeb4b15f89bf09fcd/p4python-2017.2.1615960.tar.gz Complete output from command python setup.py egg_info: Attempting to load API from ftp.perforce.com Loaded API into /var/folders/3n/6jmv45nx3q78_n6rjk4cqtjrfmt6lc/T/p4api-2017.2.1611521 **************************************************** Cannot match OpenSSL Version string 'LibreSSL 2.6.4 ' **************************************************** *********************************************** ** Cannot build P4Python without SSL support ** *********************************************** ``` « | ||
6 years agoPerforce maintenance modified job000739 for perforce-software-p4convert: | ||
6 years agoPerforce maintenance modified job000738 for perforce-software-p4convert: | ||
6 years agoPerforce maintenance modified job000735 for perforce-software-p4convert: | ||
6 years agoPerforce maintenance modified job000731 for Project page contains links to 404-not-found pages for the following links: https://swarm.workshop.perforce.com/projects/p4-jenkins/docs/SETUP.md htt...ps://swarm.workshop.perforce.com/projects/p4-jenkins/docs/WORKFLOW.md https://swarm.workshop.perforce.com/projects/p4-jenkins/docs/LIBRARY.md https://swarm.workshop.perforce.com/projects/p4-jenkins/docs/MULTI.md https://swarm.workshop.perforce.com/projects/p4-jenkins/docs/BUILDINGJOBS.md https://swarm.workshop.perforce.com/projects/p4-jenkins/docs/POSTBUILD.md https://swarm.workshop.perforce.com/projects/p4-jenkins/docs/P4GROOVY.md https://swarm.workshop.perforce.com/projects/p4-jenkins/docs/NOTES.md « | ||
6 years agoPerforce maintenance modified job000733 for perforce_software-p4sl: Clicking 'validate' in P4SL, using MATLAB R2016a/b the following error is reported: Could not check out p4://P4CLIENT=xxxx@ipaddress:port to C:\MATLA...B\Projects\ with error "Unable to get connection" This works with MATLAB R2015, so possibly a compatibility issue. Please update the P4SL plug-in to allow it to work with the later R2016 MATLAB release. « | ||
6 years agoPerforce maintenance modified job000721 for perforce-software-p4convert: | ||
6 years agoPerforce maintenance modified job000719 for perforce-software-p4transfer: the Documentation for PerforceExchange is wrong and says PerforceTransfer in the title. https://swarm.workshop.perforce.com/files/guest/robert_cowha...m/perforce/utils/python/scripts/PerforceExchange.docx « | ||
6 years agoPerforce maintenance modified job000717 for perforce-software-p4api-net: Function calls like "GetChangelists" (RepositoryChangelist.cs) will call "FileSpec.ToString(files)", which can include a revision specifier of some fo...rm. If the revision identified is a timestamp, only the date portion is being returned, despite the full date-and-time being set correctly. This appears to be due to the ToString function in DateTimeVersion, which only references the date portion of the timestamp: public override string ToString() { return String.Format("@{0}", Version.ToString("yyyy/M/d")); } (VersionSpec.cs) It's likely that the fix is simply to extend the format string to include the timestamp - so something like this: return String.Format("@{0}", Version.ToString("yyyy/M/d:HH:mm:ss"));" « | ||
6 years agoPerforce maintenance modified job000716 for perforce-software-p4convert: Update documentation to include more accurate dump filter When dumping an SVN repo the dump sometimes incorrectly marks a merge of multiple revisions... to a target branch as only a merge of the first revision to target. When converted this causes inaccurate contents on the target branch. To avoid this take the SVN dump in this specific way: svnadmin dump /path/to/repo | svndumpfilter include /path--drop-empty-revs --renumber-revs > my.dmp « | ||
6 years agoPerforce maintenance modified job000715 for perforce-software-p4api-net: P4API.NET Connection.TrustAndConnect() causes a Microsoft Visual C++ Runtime Library Error Always have message: R6025: - pure virtual function ca...ll Tested on versions: 2015.2/1248831, 2016.1/1407015, 2017.1/1537030 Testing environment: Windows 10x64 VS 2015 Update3 Debugging show that it fails for this call: [DllImport("p4bridge.dll", CallingConvention = CallingConvention.Cdecl)] public static extern int Severity(IntPtr pObj); « | ||
6 years agoPerforce maintenance modified job000714 for perforce_software-p4polarion: P4Polarion does not work with Polarion ALM 17.1. 2017-06-28 14:33:43,867 [main | u:p] ERROR com.polarion.platform.repository.internal.config.Reposito...ryConfigService$ConfigProblemCatcher - Failed to work with configuration: Unable to construct service com.polarion.platform.repository.repositoriesDataHandler: Error building service com.polarion.platform.repository.repositoriesDataHandler: Failure invoking constructor for class com.polarion.platform.repository.external.internal.RepositoriesDataHandler: com/polarion/platform/repository/external/IExternalRepositoryProvider$IExternalRepositoryConfiguration [configId=externalRepositories, locations=[Location[repository default, path /.polarion/repositories/repositories.xml]]] org.apache.hivemind.ApplicationRuntimeException: Unable to construct service com.polarion.platform.repository.repositoriesDataHandler: Error building service com.polarion.platform.repository.repositoriesDataHandler: Failure invoking constructor for class com.polarion.platform.repository.external.internal.RepositoriesDataHandler: com/polarion/platform/repository/external/IExternalRepositoryProvider$IExternalRepositoryConfiguration [bundleresource://31/META-INF/hivemodule.xml, line 102, column 19] at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:169) « | ||
6 years agoPerforce maintenance modified job000712 for perforce-software-p4eclipse: "REFRESH" error on CTRL-C anywhere in Eclipse with P4Eclipse Some users report that the message: "occasionally there are messages thrown into the ter...minal of which Eclipse is running from", e.g. REFRESH:preExec >>> Selection= org.eclipse.jface.text.TextSelection@4ddf3b46 is reported occasionally in the terminal from which Eclipse is running, and they occur when the user presses CTRL-C anywhere in Eclipse. They see this only when P4Eclipse is added to their Eclipse environment. They are using Eclipse Platform Version: Mars.2 (4.5.2) Build id: M20160212-1500 P4Eclipse - Perforce Team Provider Version: 2016.1.1409747 Potential reference to the warning on line 126/127 in here: https://swarm.workshop.perforce.com/projects/perforce-software-p4eclipse/files/2015-1/src/3.7/plugins/com.perforce.team.ui/src/com/perforce/team/ui/PerforceUIPlugin.java « | ||
6 years agoPerforce maintenance modified job000708 for perforce-software-p4api-net: Repository.GetUser() should be case-insensitive against a case-insensitive server. Line 566 of Repository.user.cs has this, which is fine for the cas...e-sensitive server. if (to.ContainsKey("User") && to["User"] == user) But it should be something like this against a case-insensitive server. if (to.ContainsKey("User") && to["User"].Equals(user, StringComparison.OrdinalIgnoreCase) Case-sensitivity is maintained in Server.ServerMetaData.CaseSensitive. « | ||
6 years agoPerforce maintenance modified job000697 for During initialization Unity is passing absolute paths to internal DLL's to the OnPostProcessAllAssets() callback. We need to ignore these. | ||
6 years agoPerforce maintenance modified job000644 for After updating to the latest Unity version (5.4.3f1, released 17th of November 2016) I get this error with P4Connect: get_dataPath is not allowed t...o be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'Config'. See "Script Serialization" page in the Unity Manual for further details. UnityEngine.Application:get_dataPath() P4Connect.Main:SetupRootDirectory() (at c:/tmp/69516846/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Main.cs:123) P4Connect.Main:Initialize() (at c:/tmp/69516846/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Main.cs:84) P4Connect.Main:.cctor() (at c:/tmp/69516846/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Main.cs:75) P4Connect.Utils:FullPathToAssetPath(String) (at c:/tmp/69516846/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Utils.cs:764) P4Connect.Utils:FullPathToAssetPath(String) (at c:/tmp/69516846/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Utils.cs:764) P4Connect.Utils:GetEditorAssetRelativeDirectory() (at c:/tmp/69516846/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Utils.cs:921) P4Connect.Config:.cctor() (at c:/tmp/69516846/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Config.cs:898) « | ||
6 years agoPerforce maintenance modified job000625 for perforce_software-p4python: pip install fails on Windows 7 64 bit Python 2.7.9+ C:\Python27\Scripts>.\pip install p4python Collecting p4python Downloading p4python-2...016.1.1447008.tar.gz (84kB) �[K 100% |################################| 86kB 422kB/s ta 0:00:01 Complete output from command python setup.py egg_info: Attempting to load API from ftp.perforce.com Loaded API into None **************************************************** Cannot determine the version of openssl Building without SSL **************************************************** Traceback (most recent call last): File "<string>", line 20, in <module> File "c:\users\testUser\appdata\local\temp\pip-build-e1dtqx\p4python\setup.py", line 639, in <module> do_setup(p4_api_dir, ssl) File "c:\users\testUser\appdata\local\temp\pip-build-e1dtqx\p4python\setup.py", line 460, in do_setup apiVersion = VersionInfo(p4_api_dir) File "c:\users\testUser\appdata\local\temp\pip-build-e1dtqx\p4python\setup.py", line 217, in __init__ verFile = os.path.join(p4ApiDir, "sample", "Version") File "c:\python27\lib\ntpath.py", line 65, in join result_drive, result_path = splitdrive(path) File "c:\python27\lib\ntpath.py", line 115, in splitdrive if len(p) > 1: TypeError: object of type 'NoneType' has no len() ---------------------------------------- �[31mCommand "python setup.py egg_info" failed with error code 1 in c:\users\testUser\appdata\local\temp\pip-build-e1dtqx\p4python�[0m « | ||
6 years agoPerforce maintenance modified job000607 for p4perl: P4Perl P4::MergeData::RunMergeTool, quote filename arguments to protect from shell metacharacters Also Perforce internal job088679 has been l...ogged against p4api. Using P4Perl to do a merge that uses P4::MergeData::RunMergeTool to call out to a bash script as the merge tool. On Linux, if filenames have the shell metacharacter "(" in their names it causes bash to fail with "h: -c: line 0: syntax error near unexpected token `(' " Other shell metacharacters would likely cause issues as well. This is expected shell behaviour and you would normally either quote a filename that contains metacharacters or escape the metacharacters. For "(" it works on windows as "(" isn't a windows cmd shell metacharacter. Quoting the arguments passed from RunMergeTool should escape the special meaning of any shell metacharacters. It doesn't seem to be a P4Perl problem directly; invoking P4::MergeData::RunMergeTool, the control is handed over to the native P4.so. Somewhere in P4.so, there's probably a call like system("mergeTool BASE THEIRS YOURS MERGED"). Perhaps that could be adjusted to allow for special characters especially in the parameters. Currently filename args are quoted if they contain spaces which appears to be referred to in the C api that P4Perl interfaces with: https://www.perforce.com/perforce/doc.current/manuals/p4api/index.html include\p4\runcmd.h has the following commends on line 67/68: * NT: quote with " all args, and use CreateProcess() * UNIX: quote with ' args with spaces, and use system() « | ||
6 years agoPerforce maintenance modified job000599 for perforce-software-p4convert: Branching a file to the same path with a different case can cause the branch to fail and the source file to be deleted. From case 00251808 Durin...g a case sensitive conversion on Linux Configuration: com.p4convert.p4.caseMode=FIRST com.p4convert.p4.lowerCase=true SVN ------------------- Node-path: trunk/cedi/cedi-jbehave/jbehave-integration-tests/src/test/resources/us19_egate_e2e_volume_test.story Node-kind: file Node-action: add Node-copyfrom-rev: 54573 Node-copyfrom-path: trunk/cedi/cedi-jbehave/jbehave-integration-tests/src/test/resources/Us19_egate_e2e_volume_test.story LOG ------------------- 21 Jul 2016 08:33:01,867 INFO com.perforce.common.process.ProcessNode ... 54575.2 B:F - trunk/cedi/cedi-jbehave/jbehave-integration-tests/src/test/resources/us19_egate_e2e_volume_test.story (UTF-8) 21 Jul 2016 08:33:01,904 WARN com.perforce.common.client.P4Factory ... p4java: //idxedi_s2_t4/trunk/cedi/cedi-jbehave/jbehave-integration-tests/src/test/resources/us19_egate_e2e_volume_test.story - file(s) not on client. 21 Jul 2016 08:33:01,922 WARN com.perforce.common.client.P4Factory ... p4java: //idxedi_s2_t4/trunk/cedi/cedi-jbehave/jbehave-integration-tests/src/test/resources/us19_egate_e2e_volume_test.story - file(s) not opened on this client. The result is the new file does not get created, and the original file gets deleted. « | ||
6 years agoPerforce maintenance modified job000593 for perforce-software-p4convert: Renaming a directory or a file (in case only) will fail to remove the old file or old directory contents. From case 00251808 During a case sensi...tive conversion on Linux Configuration: com.p4convert.p4.caseMode=FIRST com.p4convert.p4.lowerCase=true Renaming the .../FileQueuer directory to .../fileQueuer works, but a copy of .../FileQueuer remains. ---- SVN entry ------ Node-path: trunk/batch/java/src/com/idx/ec/web/struts/actions/queue/fileQueuer Node-kind: dir Node-action: add Node-copyfrom-rev: 40642 Node-copyfrom-path: trunk/batch/java/src/com/idx/ec/web/struts/actions/queue/FileQueuer Node-path: trunk/batch/java/src/com/idx/ec/web/struts/actions/queue/FileQueuer Node-action: delete ----conversion log------ 19 Jul 2016 18:14:36,746 INFO com.perforce.common.process.ProcessNode ... 40643.0 B:D - trunk/batch/java/src/com/idx/ec/web/struts/actions/queue/fileQueuer 19 Jul 2016 18:14:36,757 INFO com.perforce.svn.process.SvnProcessNode ... detected CASE rename operation 19 Jul 2016 18:14:36,757 INFO com.perforce.common.process.ProcessNode ... 40643.1 R:D - trunk/batch/java/src/com/idx/ec/web/struts/actions/queue/FileQueuer 19 Jul 2016 18:14:38,060 INFO com.perforce.common.process.ProcessChange ... mapping: r40643 => @137707 « | ||
6 years agoPerforce maintenance modified job000563 for perforce_software-p4python: Display where a P4 environment variable comes from When using the P4 binary running 'p4 set' now shows the source of the currently used variable. For... example: $ p4 set P4CLIENT=test_ws (config '/p4/ws/.p4config') P4PORT=20161 (config '/p4/ws/.p4config') P4USER=test (config '/p4/ws/.p4config') Would be good if P4Python had a similar ability. « | ||
6 years agoPerforce maintenance modified job000555 for When adding more than 1000 files, a crash occurs on Windows 7(x64). Since the customer is a prospect, and currently evaluating Perforce with P4Connect..., it would be appreciated if we could fix the problem as soon as possible. Reproduce Steps; 1. Download the customer's project from the following link; https://drive.google.com/file/d/0B3CpP6A8uVmkRHZYUHN5NC1TLWs/view?usp=sharing 2. Go to ~\Assets\"New Folder" in Windows Explorer, and copy & paste *.cs files to make more than 1000 files 3. Open the project in Unity 4. Install P4Connect (2016.2.138.5874-Release) 5. Select all files in Project -> Assets -> "New Folder" in Unity, and right-click on the files, and go to Perforce -> "Add to depot" 6. Crash occurs « | ||
6 years agoPerforce maintenance modified job000554 for | ||
6 years agoPerforce maintenance modified job000544 for Let user know which fields are required in order to make a connection Test Case: 1.) Click Edit | Perforce Settings There are 5 different fields i...n the "Connection Settings" section. It would be nice to know which was ones are required fields in order to make a connection. Fields: Server URI: Username: Password: Workspace: P4HOST: P4CHARSET: « | ||
6 years agoPerforce maintenance modified job000542 for | ||
6 years agoPerforce maintenance modified job000536 for perforce-software-p4api-net: PROCESSOR MISMATCH P4API.NET should identify as MSIL instead of AMD64. This is a build issue which generates warnings when the assembly is used. | ||
6 years agoPerforce maintenance modified job000535 for FBX imports lose associated materials. From internal case 00240915 When importing a .fbx file into Unity, P4Connect adds the .fbx but not its associ...ated material files. This means that artists have to manually add the materials or remember to do a reconcile offline work to find the added materials. Unfortunately it’s easy to forget or to miss a material which results in missing materials issues in the game build. « | ||
6 years agoPerforce maintenance modified job000531 for Configuration Asset doesn't work if project assets are not in default location. If P4Connect is not put in its default location (Assets/P4Conn...ect) then it will throw the following exceptions Parent directory must exist before creating asset at Assets/P4Connect/Editor/Config.asset. UnityEditor.AssetDatabase:CreateAsset(Object, String) P4Connect.Config:WriteConfigAsset() P4Connect.ConfigWindow:OnGuiStatusBar() (at c:/tmp/64590263/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.ConfigWindow.cs:422) P4Connect.ConfigWindow:OnGUI() (at c:/tmp/64590263/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.ConfigWindow.cs:1027) UnityEditor.DockArea:OnGUI() UnityException: Creating asset at path Assets/P4Connect/Editor/Config.asset failed. P4Connect.Config.WriteConfigAsset () P4Connect.ConfigWindow.OnGuiStatusBar () (at c:/tmp/64590263/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.ConfigWindow.cs:422) P4Connect.ConfigWindow.OnGUI () (at c:/tmp/64590263/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.ConfigWindow.cs:1027) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) From internal case 00240703 « | ||
6 years agoPerforce maintenance modified job000523 for perforce-software-workshop: Allow users to have a readme.md file in their home path that's rendered on their user page. Suggested by @trina | ||
6 years agoPerforce maintenance modified job000521 for perforce-software-workshop: | ||
6 years agoPerforce maintenance modified job000528 for perforce-software-p4api-net: FileIntegrationRecord is incorrectly parsing the IntegrateAction from tagged output. A local variable is "shadowing" the class variable, so the Integ...rateAction is always stored as the default "BranchFrom" Changing the code at line 186 of FileIntegrationRecord.cs fixes the issue. if (obj.ContainsKey("how")) { StringEnum<IntegrateAction> seHow = obj["how"]; How = seHow; } « | ||
6 years agoPerforce maintenance modified job000527 for perforce-software-p4api-net: Duplicate of job000174. Already fixed. Problem parsing FileAction enum in ParseFilesCmndTaggedData() Tagged data is incorrectly parsed in thi...s code at line 78 of File.cs if (obj.ContainsKey("action")) { StringEnum<FileAction> Action = obj["action"]; } With this code the local variable Action is not stored in the class correctly. It needs to be changed to: if (obj.ContainsKey("action")) { StringEnum<FileAction> seAction = obj["action"]; Action = seAction } « | ||
6 years agoPerforce maintenance modified job000509 for perforce-software-p4api-net: | ||
6 years agoPerforce maintenance modified job000505 for perforce-software-p4convert: CVS import mode conversions do not properly escape some special characters in filepaths. In particular '%' java.lang.Exception: Cannot creat...e diretory: /home/realsupport/PUBLIC.Main.11901/p4_root/rti/main/RTI/RTI/devroot/rti-projects/SimConvert/examples/abrams.cdb/rotational_bumpstops.tbl/msc_0001.rbu25,d This is the file in CVS: /cvsroot/RTI/RTI/devroot/rti-projects/SimConvert/examples/abrams.cdb/rotational_bumpstops.tbl/Attic /msc_0001.rbu%25,d Example from case 00234251 « | ||
6 years agoPerforce maintenance modified job000501 for | ||
6 years agoPerforce maintenance modified job000488 for null texture passed to GUI.DrawTexture. Caused by failure to load icons.pack in Unity 5.3.0p1 or higher | ||
6 years agoPerforce maintenance modified job000487 for perforce-software-p4api-net: Documentation for Repository.GetReviewers is incorrect. Some kind of cut and paste confusion with Repository.GetProtectionEntries. ----------------...---- GetReviewersCmdOptions opts = new GetReviewersCmdOptions(GetReviewersCmdFlags.None, 0); FileSpec filespec = new FileSpec(new DepotPath("//depot/main/src/..."), null); IList<FileSpec> filespecs = new List<FileSpec>(); filespecs.Add(filespec); IList<ProtectionEntry> target = Repository.GetProtectionEntries(filespecs, opts);To get the list of users who are reviewing submitted changelist 83476: « | ||
6 years agoPerforce maintenance modified job000486 for perforce-software-p4api-net: Parallel syncs do not return Overwrite issues as exceptions. When a normal sync is run, any writable files in the workspace will cause P4Exception t...o be raised for the overwrite issue. When the same sync is run with parallel arguments, No exceptions are raised, instead the overwrite reports are spewed to stdout (or stderr), but they do not generate exceptions. From internal case 00228015 Recreated internally - this looks like a change in the underlying C++ API behavior. It may be possible to modify the bridge to compensate. « | ||
6 years agoPerforce maintenance modified job000478 for perforce_software-slack: From user @rtande on the forums: http://forums.perforce.com/index.php?/topic/4693-slack-integration-for-swarm/ I'm trying the Slack integration for... Swarm and I think I have everything setup correctly. I'm using the instructions from https://swarm.worksh...software-slack/ but I'm not seeing anything in the Slack channel that I've created to receive updates from Swarm. I've done the following - copied across the files mentioned in the instructions to the relevant locations in my Swarm install - changed the file permissions on the files and directories to ensure that they are writeable and executable as required - set up the webhook in my Slack channel - copied that webhook into the settings for the Swarm project that I'm using I don't see any error messages in my Swarm error log or any POSTs from Swarm to the Slack webhook URL in my Swarm access log. Any help or pointers gratefully accepted. « | ||
6 years agoPerforce maintenance modified job000482 for | ||
6 years agoPerforce maintenance modified job000481 for perforce-software-p4api-net: Can't get metadata for newly added files From internal case 00228248 1. Add a file to a depot (e.g. p4.exe add //depot/file.txt) 2. Get a list of... opened files (IList<p4.File> p4Files = this.p4Repo.GetOpenedFiles(null, null);) 3. Get metadata for the newly opened file (foreach (p4.File p4File in p4Files) { IList<p4.FileMetaData> metaList = this.p4Repo.GetFileMetaData(null, p4File); } Result: The metadata for that file will be null This is caused by two things: 1. The FileSpec object that is returned by GetOpenedFiles has a revision number of 1 (see below.) Since this is a newly added file it doesn't actually have a revision number yet. - p4File {//depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config#1} Perforce.P4.File - base {//depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config#1} Perforce.P4.FileSpec {Perforce.P4.File} + ClientPath {//dtunnell_T10-A8-DTUNNELL_FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config} Perforce.P4.ClientPath + DepotPath {//depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config} Perforce.P4.DepotPath LocalPath null Perforce.P4.LocalPath + Version {#1} Perforce.P4.VersionSpec {Perforce.P4.Revision} 2. Internal to GetFileMetaData in Repository.cs the revision number is added to the file. So in the example above it would run fstat on //depot/file.txt#1. That returns "no such files" As a workaround I'm setting the revision number to null for anything that is an add. By doing that it will successfully run p4 fstat and return the proper metadata. You can reproduce this behavior on the command line: p4 fstat //depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config ... depotFile //depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config ... clientFile F:\Perforce\All\FMThresholdP4\external\SCAPI\Binaries\Microsoft.Scapi.Test.dll.config ... isMapped ... action add ... change 486786 ... type utf8 ... actionOwner REDMOND\dtunnell p4 fstat //depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config#1 //depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config#1 - no such file(s). Note that setting the revision to zero will not work: p4 fstat //depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config#0 //depot/FMThresholdP4/external/SCAPI/Binaries/Microsoft.Scapi.Test.dll.config#0 - no such file(s). « | ||
6 years agoPerforce maintenance modified job000480 for Icon Package is in fixed location. It fails to load if P4Connect is relocated deeper into the Asset tree. | ||
6 years agoPerforce maintenance modified job000476 for perforce-software-p4api-net: Client.GetResolvedFiles is missing version number of resolved files. They always come back zero. I’ve traced it down to the FromResolvedCmdTagg...edOutput function in FileResolveRecord.cs. In that function there are several int parsing commands. Such as: int.TryParse(obj["startFromRev"], out startRev); Unfortunately startToRev, startFromRev, endToRev, and endFromRev all have a # character in them which means that the parsing fails. In each case you can simply trim that out that character which fixes the issue: int.TryParse(commandResult["startFromRev"].Trim('#'), out startRev); « | ||
6 years agoPerforce maintenance modified job000472 for perforce-software-workshop: Broken changelist link when viewing WebUI. See this ULR: https://swarm.workshop.perforce.com/projects/perforce-software-baseline-and-branch-import/jo...bs/job000459 This has a linked changelist; job job000459 is linked to changelist 18401. However, if you click the link on the text '18401' for the changelist, or simply do the "mouse over" thing to see the target URL, the target URL is the exact same behvaior as for the "Edit this job." link. That is to say, it pops up the WebUI form for editing the job. That is, the link you get is: https://swarm.workshop.perforce.com/projects/perforce-software-baseline-and-branch-import/jobs/job000459 But of course the link you expect and want when you click on '18401' text is: https://swarm.workshop.perforce.com/changes/18401 « | ||
6 years agoPerforce maintenance modified job000473 for In OSX, the default log name is incorrect. In the "Perforce Settings" window, in the tab "Diagnostics + Utilities” the default log file name is "~/De...sktop\p4connect.log". That “\” comes from expecting a Windows system; it creates a file named “Desktop\p4connect.log” at the top level of the user directory rather than a “p4connect.log" in the “Desktop" directory. Additionally, the default location for the log file should be in ~/Library/Logs/. « | ||
6 years agoPerforce maintenance modified job000471 for perforce-software-workshop: | ||
6 years agoPerforce maintenance modified job000470 for perforce-software-workshop: Jobs edited with Web UI have Windows line endings. Jobs edited in The Workshop with the Web UI contain evil Windows '^M' line endings introduced whe...n using the Web UI. I'm not sure if it's got anything to do with Windows being in the mix, but somehow those Windows line endings how up in the job fields when viewed on Mac/Unix platforms. « | ||
Adjust when notifications are sent to you about reviews that you're associated with (as an author, reviewer, project member or moderator).