1
0
mirror of https://github.com/konpa/devicon.git synced 2025-02-24 09:12:36 +01:00

48 Commits

Author SHA1 Message Date
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
b6adba39e8
Script checks for visibility before screenshotting (#829)
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
2021-09-01 17:52:39 -07:00
Thomas Bui
80a384a994 Updated geckodriver 2021-08-23 16:58:17 -07: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
2bb95969b7
Fixed issue with wrong name referencing from github api (#677) 2021-06-14 00:59:15 +02: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
2c6a21d9f4
Clean up and CONTRIBUTING upgrade (#595)
* Updated CONTRIBUTING

* Clean up various scripts (no functional changes)

* Update CONTRIBUTING.md

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

* Change icons to use devicon in README and CONTRIBUTING

* Add optimize-bot into CONTRIBUTING.md

* Update CONTRIBUTING.md

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

* Update README.md

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

* Update README.md

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

* Change release message step name

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

* Changed all 'svg' to "SVG"

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-05-12 09:57:31 +02: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
Clemens Bastian
afc6a09594
Merge branch 'develop' into thomas/feature/actionMessageUpdate 2021-02-22 12:50:39 +01:00
Thomas Bui
2249c46f14 Added svg check status code 2021-02-21 20:15:28 -08:00
Thomas Bui
f246192fe6 Updated the logging of the actions 2021-02-21 18:50:09 -08:00
amacado
d249515c92 add check for directory /icons when workflow is executed (fixes #505) 2021-02-22 00:40:57 +01:00
Thomas Bui
3d2e655f81 Added working workflow file 2021-01-10 20:01:50 -08:00
Thomas Bui
d0d101a776 Moved check_svgs_monthly to draft 2021-01-10 17:23:09 -08:00
Thomas Bui
c9b19346b2 Updated file names in check_svgs_on_pr 2021-01-08 22:29:27 -08:00
Thomas Bui
b1922925b7 Python now print traceback 2021-01-08 22:29:27 -08:00
Thomas Bui
b7ae338d2f Create a monthly script that checks all svgs 2021-01-08 22:29:22 -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
4fce919b5a Clean up the peek_icons.yml 2021-01-03 13:33:56 -08:00
Thomas Bui
1038b7a774 Added color tab error handling and better logging 2021-01-01 00:42:53 -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
a9eb51aca5 Various bug fixes and added ability to comment multiple files 2020-12-29 21:49:39 -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
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
95655797af Added a comment action and fix async issue in python script 2020-10-16 19:32:26 -07:00
Thomas Bui
bfe1569904 Added a peek script 2020-10-15 20:37:23 -07:00
Thomas Bui
0757cec0a8 Add new_icons.png to gitignore. Fixed yunohost, clojure, clojurescript, and redux 2020-10-11 22:03:23 -07:00
Thomas Bui
e6cb7bb3fd Add screenshot code, update the CONTRIBUTING.md and fix clojure 2020-10-11 20:19:41 -07:00
Thomas Bui
940fd13c13 Updated the CONTRIBUTING.md, README.md and code doc 2020-10-09 14:57:36 -07:00
Clemens Bastian
e9d110bb70
add handling for no given aliases 2020-09-06 15:44:55 +02:00
amacado
220c3d8bce enhance readme about geckodriver 2020-09-06 13:56:53 +02:00
Thomas Bui
a7619e2330 Add try-except in icomoon_upload. Workflow will also upload geckodriver.log as an artifact for debugging purpose 2020-09-04 10:19:45 -07:00
Thomas Bui
dcdcc6060b Revert "Downgrade geckodriver to v0.26"
This reverts commit 96fb237dc7af8e73500962c03f650eb999d1fb97.
2020-09-03 22:56:46 -07:00
Thomas Bui
96fb237dc7 Downgrade geckodriver to v0.26 2020-09-03 22:20:21 -07:00
Thomas Bui
c6848be946 Fix a bug with the workflow 2020-09-02 22:47:15 -07:00
Thomas Bui
00b2996bfa download_path commandline arg doesn't have to exist for script to function 2020-09-02 10:40:44 -07:00
Thomas Bui
5aa1708d99 Removed .pyc files and add them to gitignore 2020-09-02 09:47:37 -07:00
Thomas Bui
33b07225bf Added __pycache__ to gitignore. Documented geckodriver. Invalid path now throws error 2020-09-02 09:29:39 -07:00
Thomas-Boi
24efc9af43 Built new icons, icomoon.json and devicon.css 2020-08-25 19:11:26 +00:00
Thomas Bui
9a33742b20 Added checks to see if devicon zip file is downloaded 2020-08-25 12:09:20 -07:00
Thomas Bui
d3ef8476e7 Workflow now takes path to geckodriver instead of manually adding it to PATH 2020-08-21 10:35:40 -07:00
Thomas Bui
330c994480 Added workflow for building the repo 2020-08-19 21:36:38 -07:00