1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-13 18:14:21 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
David Leal
2b9faadbec Update many of the actions to their latest version (#1731)
* Update many of the actions to their latest version

* Fix CodeQL action

* Use the latest version for all images

* Whoops

* Use Ubuntu for the Peek Icons workflow

* Fix Peek Icons action

* Remove token

* chore: apply suggestions from code review

Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com>

---------

Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com>
2023-04-28 10:21:27 -06:00
Thomas Bui
bb589370da Update the check-bot (#970)
* Add check for strokes in check-bot

* Add check for svg file name

* Update gulpfile to remove x and y of svg elem

* Revert name changes to err file

* check-bot now check devicon object as well

* Fixed minor bugs

* Improve logging in check_icon

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-03-13 15:02:41 -07:00
Thomas Bui
2a8c499605 New Feature: Upgrade Peekbot (#966)
* Moved stroke detection down

* Add code to retry no connection in peekbot

* Change upload artifact to earlier version

* Clean up logging msg

* Add ability to customize port number

* Update Selenium and geckodriver

* Move upload-artifact version to 2.2.4

* Add logging for webdriver retry

* Add color checking to peek-bot
2021-12-21 12:33:41 -08:00
Thomas Bui
08aa325a84 Feature: Peek and Build-Bot Upgrade (#806)
* Refactored peek script into a class

* Post-peek workflow now upload the new screenshots

* Refactored BuildSeleniumRunner into a class

* Updated build_icons.yml to reflect new changes

* Fixed issue with building icons that were already in the app

* Build script will take screenshot of new icons

* Update post peek yaml message

* Added alerts

* Peek script now check for strokes in icons

* Updated post_peek's strokes in svgs message

* Updated post_peek script's message

* Updated post_peek's message

* Refactored get_release_message into icomoon_build

* Change devicon.css name to devicon-base.css

* Updated post_peek message

* Added update icon as a valid PR title for bot-peek

* Add \n char to SVG after it gets optimized

* Fixed error with 'update icon' regex

* Build script now batch issues when upload SVG

* Addressed build-bot's screenshot order

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-08-13 11:51:22 -07:00
Thomas Bui
62d022b074 Only build script will need token API 2021-06-23 16:57:23 -07:00
Thomas Bui
0486aa765a Build bot now check both PR and devicon.json 2021-06-17 18:22:01 -07:00
Thomas Bui
d60b334fa3 Build bot now build new SVGs in folder that were already built (#666)
* Refactor the pull request fetching code

* Refactor build script to use past PRs

* Added function to update icomoon json

* new icon: matlab (line) (#640)

* Add matlab-line

* Fixed issues reported by check svg bot

* optimisation for svg (#643)

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>

* Add better logging to icomoon_build

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-06-13 15:17:13 +02:00
Thomas Bui
0fb272f38f Peek bot won't check whether icon is in icomoon (#657)
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-05-30 14:08:45 -07:00
Thomas Bui
41790e615b Script upgrades and updated CONTRIBUTING.md and README.md (#576)
* Updated README and CONTRIBUTING

* Added check for devicon object when peeking

* Added PR template

* Added a script to create release messages

* Updated CONTRIBUTING about new script

* Update .github/PULL_REQUEST_TEMPLATE/new_icon.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update .github/scripts/build_assets/arg_getters.py

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update .github/workflows/get_release_message.yml

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update gulpfile.js

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update .github/PULL_REQUEST_TEMPLATE/new_feature.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update .github/PULL_REQUEST_TEMPLATE/new_feature.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Added a way for peek bot to comment error

* Update CONTRIBUTING.md

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>

* Update .github/scripts/get_release_message.py

Co-authored-by: Malte Jürgens <maltejur@web.de>

* Update .github/scripts/get_release_message.py

Co-authored-by: Malte Jürgens <maltejur@web.de>

* Update .github/PULL_REQUEST_TEMPLATE/new_feature.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Clean up and updated CONTRIBUTING

* Updated CONTRIBUTING

* Add set up steps for release message workflow

* Refactored peek workflow

* Added requests library

* Reformat devicon object error messages

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
Co-authored-by: Malte Jürgens <maltejur@web.de>
2021-04-29 10:04:32 +02:00
David Leal
bf58c68f35 Fix link reference in `.github/scripts/icomoon_peek.py (#557) 2021-04-09 20:04:08 +02:00
Thomas Bui
b1922925b7 Python now print traceback 2021-01-08 22:29:27 -08:00
Thomas Bui
82bccb11fd Added check script for the icons and fix icons with fill or viewBox issues (#460)
* Added script to check svg fill and viewBox

* Fix cucumber-plain-wordmark

* Fix various fill and viewBox issues in svgs

* Added check for height and width attr

* Added check_svgs workflow

* Fix an issue where the error is not log properly

* Added on push for testing

* Updated trigger so it now runs whenever PR is update

* Added sleep to script to make logs nicer

* Added script that create env var

* Updated the github_env to accomodate ubuntu

* Change format of log and allow filehandler to return Path

* Updated logging messages

* Updated refs for the checkout action

* Make logging nicer

* Updated fix messaging so it's more clear

* fix icons: icons/cucumber/cucumber-plain-wordmark.svg, icons/intellij/intellij-plain-wordmark.svg, icons/jenkins/jenkins-plain.svg, icons/twitter/twitter-original.svg, icons/yunohost/yunohost-plain.svg
2021-01-08 21:36:45 +01:00
Thomas Bui
1038b7a774 Added color tab error handling and better logging 2021-01-01 00:42:53 -08:00
Thomas Bui
6c0122648a Changed return to sys.exit in python script to show error 2020-12-31 12:21:13 -08:00
Thomas Bui
e51fb1ccd8 Fixed error with logging 2020-12-30 11:35:45 -08:00
Thomas Bui
a84cd46a9f Added comments and script now fail if can't find icon name 2020-12-30 10:57:06 -08:00
Thomas Bui
c388503d28 Refactored take screenshot and remove color functions 2020-12-29 15:44:57 -08:00
Thomas Bui
8a5ff05f01 Various bug fixes and reference update 2020-12-29 15:31:36 -08:00
Thomas Bui
eb6884db84 Added zoomed in snapshot for peek scripts 2020-12-28 18:32:49 -08:00
Thomas Bui
426d9507e3 Finalize new peek action workflow 2020-12-19 00:28:34 -08:00
Thomas Bui
ab0cba5eba Add the public-upload-to-imgur action 2020-12-18 23:24:27 -08:00
Clemens Bastian
7bf127d498 Revert "Revert "Fix a couple issues found in the build script"" 2020-12-12 04:41:25 +01:00
Thomas Bui
460cdf5bd8 Revert "Fix a couple issues found in the build script" 2020-12-11 16:57:57 -08:00
Thomas Bui
acdbed3075 Refactored peek and build scripts 2020-12-10 23:55:16 -08:00
Thomas Bui
bfe1569904 Added a peek script 2020-10-15 20:37:23 -07:00