davisusanibar commented on PR #39901:
URL: https://github.com/apache/arrow/pull/39901#issuecomment-1927069370

   > @kou
   > 
   > 1.) Upload Task: 
https://github.com/ursacomputing/crossbow/actions/runs/7777032405/job/21205283534
   > 
   > ```
   >   $ archery crossbow \
   >     --queue-path $(pwd)/crossbow \
   >     --queue-remote https://github.com/ursacomputing/crossbow \
   >     status \
   >     --task-filter 'java-jars' \
   >     --no-fetch \
   >     --validate \
   >     actions-5ebbc05652
   > ```
   > 
   > 2.) Download Test on local project: 
https://github.com/davisusanibar/poc-arrow-windows-dll/actions/runs/7784764642/job/21225925978
   > 
   > ```
   > $ archery crossbow download-artifacts -f java-jars -t binaries 
actions-5ebbc05652
   > 
   >                    arrow-maven-plugins-16.0.0-SNAPSHOT-cyclonedx.json [    
 OK]
   >                     arrow-maven-plugins-16.0.0-SNAPSHOT-cyclonedx.xml [    
 OK]
   >                           arrow-maven-plugins-16.0.0-SNAPSHOT-src.zip [    
 OK]
   >                               arrow-maven-plugins-16.0.0-SNAPSHOT.pom [    
 OK]
   > 
   >        arrow-memory-netty-buffer-patch-16.0.0-SNAPSHOT-cyclonedx.json [    
 OK]
   >         arrow-memory-netty-buffer-patch-16.0.0-SNAPSHOT-cyclonedx.xml [    
 OK]
   >           arrow-memory-netty-buffer-patch-16.0.0-SNAPSHOT-javadoc.jar [    
 OK]
   >           arrow-memory-netty-buffer-patch-16.0.0-SNAPSHOT-sources.jar [    
 OK]
   >             arrow-memory-netty-buffer-patch-16.0.0-SNAPSHOT-tests.jar [    
 OK]
   >                   arrow-memory-netty-buffer-patch-16.0.0-SNAPSHOT.jar [    
 OK]
   >                   arrow-memory-netty-buffer-patch-16.0.0-SNAPSHOT.pom [    
 OK]
   > 
   >      module-info-compiler-maven-plugin-16.0.0-SNAPSHOT-cyclonedx.json [    
 OK]
   >       module-info-compiler-maven-plugin-16.0.0-SNAPSHOT-cyclonedx.xml [    
 OK]
   >         module-info-compiler-maven-plugin-16.0.0-SNAPSHOT-javadoc.jar [    
 OK]
   >         module-info-compiler-maven-plugin-16.0.0-SNAPSHOT-sources.jar [    
 OK]
   >             module-info-compiler-maven-plugin-16.0.0-SNAPSHOT-src.zip [    
 OK]
   >                 module-info-compiler-maven-plugin-16.0.0-SNAPSHOT.jar [    
 OK]
   >                 module-info-compiler-maven-plugin-16.0.0-SNAPSHOT.pom [    
 OK]
   > ```
   
   We have uploaded all the libraries correctly to Github Assets, but the 
download process applies a filter `java-jars` I assume for local validations. 
In order to provide more validation, it may also be beneficial to only upload 
files according to the filter java-jars.
   
   **Upload: Java-jar filters are not considered or applied**
   ````
   archery crossbow \
       --queue-path $(pwd)/crossbow \
       --queue-remote https://github.com/ursacomputing/crossbow \
       upload-artifacts \
       --sha actions-5ebbc05652-github-java-jars \
       --tag actions-5ebbc05652-github-java-jars \
       "arrow/java-dist/*.jar" \
       "arrow/java-dist/*.json" \
       "arrow/java-dist/*.pom" \
       "arrow/java-dist/*.xml" \
       "arrow/java-dist/*.zip"
   ````
   
   **Verify: Apply filter java-jars**
   ````
   archery crossbow \
       --queue-path $(pwd)/crossbow \
       --queue-remote https://github.com/ursacomputing/crossbow \
       status \
       --task-filter 'java-jars' \
       --no-fetch \
       --validate \
       actions-5ebbc05652
   ````
   
   **Download: Apply filter java-jars**
   ````
   
   archery crossbow download-artifacts -f java-jars -t binaries  
actions-5ebbc05652
   ````


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to