plantuml / plantuml-stdlib

Contains official Standard Library for PlantUML
556 stars 122 forks source link

Upgrade to tupadr3 v3.0.0 #107

Closed groovytron closed 5 months ago

groovytron commented 5 months ago

I just upgraded the tupadr3 library.

Some files look like they were renamed or removed. I'm new contributing to this library so is there a way to test it ?

I'm trying to upgrade this library because I'm using kroki (which uses PlantUML under the hood) and I would like to use the latest icons.

Thanks for your review.

groovytron commented 5 months ago

If that helps, I ran the following commands to update it:

# Download 
curl -L --output tupadr3.tar.gz https://github.com/tupadr3/plantuml-icon-font-sprites/archive/refs/tags/v3.0.0.tar.gz
# Remove old version
rm -rf tupadr3
# Extract new version into the tupadr3 folder
tar xzvf tupadr3.tar.gz
mv plantuml-icon-font-sprites-3.0.0 tupadr3
# Remove unncessary files to keep only .puml files
find ./tupadr3 -mindepth 1 ! -regex '^./tupadr3/icons\(/.*\)?' -delete
find ./tupadr3 -type f ! -name '*.puml' -delete
rm -rf ./tupadr3/icons/index.html
# Move icons folders directly in tupadr3 folder
mv ./tupadr3/icons/* ./tupadr3/
rm -rf ./tupadr3/icons
# Update INFO file
echo 'VERSION=3.0.0' > ./tupadr3/INFO
echo 'SOURCE=https://github.com/tupadr3/plantuml-icon-font-sprites' >> ./tupadr3/INFO
arnaudroques commented 5 months ago

Thanks for your contribution! This will be integrated in next beta and official releases.