Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: clojure/clojure
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Loading
...
head repository: clojure/clojure
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: asm-update
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 35 files changed
  • 2 contributors

Commits on Aug 20, 2024

  1. vendor asm to sha 0e57baee3373d9ee40068ceb78dc0dbc4bf8484a

    the following script vendors asm + GeneratorAdapter.java and its deps
    in $CLOJURE/src/main/java under the package clojure.asm
    
    #!/bin/bash
    
    # author Ghadi Shayban <gshayban@gmail.com>
    set -e
    
    ASMURI=https://gitlab.ow2.org/asm/asm.git
    if [ -z ${1+x} ]
    then
      echo error: provide an asm git sha / ref
      echo recent asm tags:
      git ls-remote --refs --tags $ASMURI \
        | cut -f 3 -d / | tac | head -n 10
      exit 1
    fi
    
    ASMROOT=asmvendor
    CLJASM=src/jvm/clojure/asm
    
    echo shallow clone
    git clone --quiet --no-checkout --depth 30 $ASMURI $ASMROOT
    pushd $ASMROOT > /dev/null
    GITREF=$(git rev-parse $1)
    git checkout --quiet $GITREF
    popd > /dev/null
    
    echo removing existing clojure.asm
    git rm -r --ignore-unmatch $CLJASM > /dev/null
    mkdir -p $CLJASM $CLJASM/commons
    
    echo copying vendored files
    cp $ASMROOT/asm/src/main/java/org/objectweb/asm/*.java $CLJASM
    
    for cls in GeneratorAdapter Method LocalVariablesSorter TableSwitchGenerator;
    do
    cp \
       $ASMROOT/asm-commons/src/main/java/org/objectweb/asm/commons/${cls}.java \
       $CLJASM/commons
    done
    
    echo rewriting package names
    find $CLJASM -name '*.java' -print0 | xargs -0 sed -iBAK 's/org.objectweb.asm/clojure.asm/g'
    find $CLJASM -name '*BAK' -delete
    
    echo git commit
    git add $CLJASM
    
    cat - "${BASH_SOURCE[0]}" > COMMIT_MSG <<EOM
    vendor asm to sha $GITREF
    
    the following script vendors asm + GeneratorAdapter.java and its deps
    in \$CLOJURE/src/main/java under the package clojure.asm
    
    EOM
    
    git commit \
        -F COMMIT_MSG \
        --author='Ghadi Shayban <gshayban@gmail.com>' \
        > /dev/null \
      && rm COMMIT_MSG
    rm -rf $ASMROOT
    ghadishayban authored and JarrodCTaylor committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    33c1dd7 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Configuration menu
    Copy the full SHA
    ecf0b55 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Configuration menu
    Copy the full SHA
    1a2bdca View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.