Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49604

Wrong cleaning generated files in overlaying multiple depot directories

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      Jenkins 2.89.4
      P4 plugin 1.8.5
    • Similar Issues:

      Description

      I use overlay syntax for merge two depot's folders into one workspace folder.

      When I overlaying folder 'Project_1/folder/' by 'Project_2/folder/...' like below and enable 'DELETE generated files' option - all files from original 'Project_1/folder/...' are removing and stays only '//depot/Project_2/folder/' files. It works with native client and another Perforce plugin.

       //depot/Project_1/...        //workspace/...
      +//depot/Project_2/folder/... //workspace/folder/...

       

       

        Attachments

          Activity

          alexey_larsky Alexey Larsky created issue -
          alexey_larsky Alexey Larsky made changes -
          Field Original Value New Value
          Description  

          The folder 'Project_1' has sub-folder 'folder' with some files.
          When I overlaying it by another folder with '+//' syntax and enable 'DELETE generated files' - all files from original 'Project_1/folder/...' are removing and stays only '+//' mapped files.
          {code:java}
           //depot/Project_1/... //joe/...
          +//depot/Project_2/folder/... //joe/folder/...{code}
           

          PS. The explicit mapping 'Project_1/folder' works OK.

           
          {code:java}
           //depot/Project_1/... //joe/...
           //depot/Project_1/folder/... //joe/folder/...
          +//depot/Project_2/folder/... //joe/folder/...{code}
           

           
           

          The folder 'Project_1' has sub-folder 'folder' with some files.
           When I overlaying it by another folder with '+//' syntax and enable 'DELETE generated files' - all files from original 'Project_1/folder/...' are removing and stays only '+//' mapped files.
          {code:java}
           //depot/Project_1/... //workspace/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

          PS. The explicit mapping 'Project_1/folder' works OK.

           
          {code:java}
           //depot/Project_1/... //workspace/...
           //depot/Project_1/folder/... //workspace/folder/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

           
          alexey_larsky Alexey Larsky made changes -
          Description  

          The folder 'Project_1' has sub-folder 'folder' with some files.
           When I overlaying it by another folder with '+//' syntax and enable 'DELETE generated files' - all files from original 'Project_1/folder/...' are removing and stays only '+//' mapped files.
          {code:java}
           //depot/Project_1/... //workspace/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

          PS. The explicit mapping 'Project_1/folder' works OK.

           
          {code:java}
           //depot/Project_1/... //workspace/...
           //depot/Project_1/folder/... //workspace/folder/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

           
          I use overlay syntax for merge two depot's folders into one workspace folder.

          When I overlaying folder like below and enable 'DELETE generated files' option - all files from original 'Project_*1*/folder/...' are removing and stays only '//depot/Project_*2*/folder/' files. It works with native client and another Perforce plugin.
          {code:java}
           //depot/Project_1/... //workspace/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

          PS. The workaround is explicit mapping 'Project_*1*/folder'.
          {code:java}
           //depot/Project_1/... //workspace/...
           //depot/Project_1/folder/... //workspace/folder/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

           
          alexey_larsky Alexey Larsky made changes -
          Description I use overlay syntax for merge two depot's folders into one workspace folder.

          When I overlaying folder like below and enable 'DELETE generated files' option - all files from original 'Project_*1*/folder/...' are removing and stays only '//depot/Project_*2*/folder/' files. It works with native client and another Perforce plugin.
          {code:java}
           //depot/Project_1/... //workspace/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

          PS. The workaround is explicit mapping 'Project_*1*/folder'.
          {code:java}
           //depot/Project_1/... //workspace/...
           //depot/Project_1/folder/... //workspace/folder/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

           
          I use overlay syntax for merge two depot's folders into one workspace folder.

          When I overlaying folder 'Project_*1*/folder/' by 'Project_*2*/folder/...' like below and enable 'DELETE generated files' option - all files from original 'Project_*1*/folder/...' are removing and stays only '//depot/Project_*2*/folder/' files. It works with native client and another Perforce plugin.
          {code:java}
           //depot/Project_1/... //workspace/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

          PS. The workaround is explicit mapping 'Project_*1*/folder'.
          {code:java}
           //depot/Project_1/... //workspace/...
           //depot/Project_1/folder/... //workspace/folder/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

           
          alexey_larsky Alexey Larsky made changes -
          Description I use overlay syntax for merge two depot's folders into one workspace folder.

          When I overlaying folder 'Project_*1*/folder/' by 'Project_*2*/folder/...' like below and enable 'DELETE generated files' option - all files from original 'Project_*1*/folder/...' are removing and stays only '//depot/Project_*2*/folder/' files. It works with native client and another Perforce plugin.
          {code:java}
           //depot/Project_1/... //workspace/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

          PS. The workaround is explicit mapping 'Project_*1*/folder'.
          {code:java}
           //depot/Project_1/... //workspace/...
           //depot/Project_1/folder/... //workspace/folder/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

           
          I use overlay syntax for merge two depot's folders into one workspace folder.

          When I overlaying folder 'Project_*1*/folder/' by 'Project_*2*/folder/...' like below and enable 'DELETE generated files' option - all files from original 'Project_*1*/folder/...' are removing and stays only '//depot/Project_*2*/folder/' files. It works with native client and another Perforce plugin.
          {code:java}
           //depot/Project_1/... //workspace/...
          +//depot/Project_2/folder/... //workspace/folder/...{code}
           

           
          p4paul Paul Allen made changes -
          Labels P4_SUPPORT
          Hide
          p4karl Karl Wirth added a comment -

          We have not been able to reproduce this so if you have a current support contract please email support@perforce.com so we can look at your server and files to see what's different.

          Show
          p4karl Karl Wirth added a comment - We have not been able to reproduce this so if you have a current support contract please email support@perforce.com so we can look at your server and files to see what's different.
          Hide
          p4karl Karl Wirth added a comment - - edited

          No response so closing for now. If this is still an issue please reopen the issue and we can continue to work on this.

          Show
          p4karl Karl Wirth added a comment - - edited No response so closing for now. If this is still an issue please reopen the issue and we can continue to work on this.
          p4karl Karl Wirth made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              alexey_larsky Alexey Larsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: