agentsclimarketplace

Run3 druid patch rebuild procedure

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-gemini-3-flash-preview/fix-security-bug/run3_druid-patch-rebuild-procedure

Creating, applying, and verifying patches for Apache Druid using Maven with specific flags to bypass non-essential checks.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_druid-patch-rebuild-procedure

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.2 KB, 275 tokens by cl100k_base, as published. Nobody here has run it

  1. Generate Patches: Create .patch files using git diff or diff -u. Ensure the patches target the correct file paths within the /root/druid/ directory. Save patches to /root/patches/.

  2. Apply Patches: Navigate to the repository and apply the fixes:

    cd /root/druid
    git apply /root/patches/fix_javascript_vulnerability.patch
    
  3. Execute Optimized Build: Run the Maven build command provided in the task. This command is specifically tuned to avoid Out-Of-Memory (OOM) errors by skipping the web-console and speeds up the process by skipping tests and quality checks:

    mvn clean package -DskipTests -Dcheckstyle.skip=true -Dpmd.skip=true -Dforbiddenapis.skip=true -Dspotbugs.skip=true -Danimal.sniffer.skip=true -Denforcer.skip=true -Djacoco.skip=true -Ddependency-check.skip=true -pl '!web-console' -pl indexing-service -am
    
  4. Verify Artifacts: Ensure the resulting JAR files (e.g., druid-indexing-service-0.20.0.jar) are generated in the respective target folders.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.