[JIRA] (JENKINS-59977) P4 Plugin creates invalid AppleDouble files
Title: Message Title Joel Brown commented on JENKINS-59977 Re: P4 Plugin creates invalid AppleDouble files This is a P4Java bug and has been reproduced. Perforce internal job number is job100626. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202781.1572367041000.2790.1574101800171%40Atlassian.JIRA.
[JIRA] (JENKINS-59977) P4 Plugin creates invalid AppleDouble files
Title: Message Title Joel Brown updated an issue Jenkins / JENKINS-59977 P4 Plugin creates invalid AppleDouble files Change By: Joel Brown Labels: P4_VERIFY Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202781.1572367041000.2786.1574101680264%40Atlassian.JIRA.
[JIRA] (JENKINS-59977) P4 Plugin creates invalid AppleDouble files
Title: Message Title Doug Whitfield commented on JENKINS-59977 Re: P4 Plugin creates invalid AppleDouble files Just a quick note to say that this appears to have never worked in P4Jenkins. I hope to have more information to provide on Monday Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202781.1572367041000.7314.1572641040095%40Atlassian.JIRA.
[JIRA] (JENKINS-59977) P4 Plugin creates invalid AppleDouble files
Title: Message Title Doug Whitfield commented on JENKINS-59977 Re: P4 Plugin creates invalid AppleDouble files Unclear at this time what issues this might cause, but the newest P4Java doesn't support the version of the server mentioned here. Rather, it supports "Perforce server at Release 2015.1 or higher": https://www.perforce.com/perforce/doc.current/user/p4javanotes.txt Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202781.1572367041000.5386.1572446940109%40Atlassian.JIRA.
[JIRA] (JENKINS-59977) P4 Plugin creates invalid AppleDouble files
Title: Message Title Doug Whitfield commented on JENKINS-59977 Re: P4 Plugin creates invalid AppleDouble files Leaving this P4Java link here for any community investigation https://www.perforce.com/manuals/p4java-javadoc/com/perforce/p4java/io/apple/AppleFile.FileFormat.html Often, the Jenkins plugin will inherit bugs from P4Java Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202781.1572367041000.5379.1572446760666%40Atlassian.JIRA.
[JIRA] (JENKINS-59977) P4 Plugin creates invalid AppleDouble files
Title: Message Title Peter DB commented on JENKINS-59977 Re: P4 Plugin creates invalid AppleDouble files Some background information: Perforce's handling of resource forks is partially described here: https://community.perforce.com/s/article/2999#FILEMGMT-FORK One source of the technical details of this AppleDouble file type (and the related AppleSingle type) is RFC 1740: https://tools.ietf.org/html/rfc1740 Note that this AppleDouble format is also used when copying a file with a resource fork from a Mac to a non-Mac system (such as Windows) f.i. over a network share or with a USB drive, except then the header file is called "._myfile" (with dot and underscore) instead of "%myfile". Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202781.1572367041000.4634.1572367140054%40Atlassian.JIRA.
[JIRA] (JENKINS-59977) P4 Plugin creates invalid AppleDouble files
Title: Message Title Peter DB created an issue Jenkins / JENKINS-59977 P4 Plugin creates invalid AppleDouble files Issue Type: Bug Assignee: Unassigned Components: p4-plugin Created: 2019-10-29 16:37 Environment: P4 Plugin version: 1.10.5 Jenkins version: 2.190.1 Java version: 1.8.0_222 OS version: Windows 7 Professional SP1 P4V version: 2019.2 P4 version: 2019.1 Perforce server version: P4D/NTX64/2014.2/1014956 (2015/02/26) Priority: Minor Reporter: Peter DB When syncing a file of the Perforce "apple" file type (i.e. an old Mac file with a resource fork) from a depot, the expected behaviour (in recent versions of the Perforce tools) is that this "apple" file is created on the client in the AppleDouble format. That is: as two separate files "myfile" and "%myfile", where "myfile" contains the data fork of the original file and "%myfile" contains the resource fork of the original file. Importantly, "%myfile" is also supposed to contain a header with some structural information, starting with the 4-byte magic number 0x00051607. (For this reason, "%myfile" is also referred to as the header file.) When syncing such an "apple" file using the latest P4V visual client or the latest P4 command line tool, this works as just described. However, when syncing with the latest P4 Plugin for Jenkins the "%myfile" portion only contains the bare bytes of the original resource fork; the header is missing. This is easily verified by looking for the magic number 0x00051607; it's not there. This means that a "%myfile" created by P4Jenkins is invalid; it cannot be recognized as part of the AppleDouble format by various tools that are otherwise able to work with this format.