1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-11 00:54:36 +02:00

79 Commits

Author SHA1 Message Date
ReenigneArcher
ade880f6f4 build(deps): bump requests from 2.31.0 to 2.32.3 2025-02-09 10:01:57 -05:00
Alex Canales
5503ce33c5 Merge branch 'develop' into dependabot/pip/dot-github/scripts/requests-2.31.0 2025-02-08 23:46:35 -05:00
dependabot[bot]
7d85a0cdcb Bump requests from 2.25.1 to 2.31.0 in /.github/scripts
Bumps [requests](https://github.com/psf/requests) from 2.25.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.25.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 01:19:57 +00:00
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
Jørgen Kalsnes Hagen
70df11eef5 Bugfix/fix in-develop labeler (#1410)
* fix issue not being labeled with in-develop

* restrict to only run on merge to develop

* Remove Python setup

Co-authored-by: Josélio Júnior <76992016+lunatic-fox@users.noreply.github.com>

---------

Co-authored-by: Josélio Júnior <76992016+lunatic-fox@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-04-26 10:44:36 -06:00
David Leal
b6e387d942 Major build improvements (#1668)
* Major build improvements

* Cleanup and fix path

* chore: apply suggestions from code review

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

* Remove `selenium` from the NPM dependencies

* Revert `nano` icon changes

* Use quote notes

* Update

* chore: apply suggestions from code review

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

* Snailedlt/improve build changes (#187)

* Make README more readable

* move logic from index.html to script.js

* fix devicon min css in head

* Fix build script missing token error

* Add more print statements to local build script

* Change from ng-href to href in code view

* Minor readme improvements

---------

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

---------

Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com>
2023-04-21 08:46:43 -06:00
Jørgen Kalsnes Hagen
c97a0bb00a Only check stroke for icons in devicon.json's font objects (#1491)
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-04-14 11:25:41 -06:00
Jørgen Kalsnes Hagen
67c06f451f Feature/update check icon pr py (#1406)
* add check for 'name' attribute

* add check for 'altnames' attribute

* add extra check for content of aliases field in devicon.json

* Change from single quotes to escaped double quotes

Apply suggestions from code review. Thanks @lunatic-fox

Co-authored-by: Josélio Júnior <76992016+lunatic-fox@users.noreply.github.com>

* Replace ' with \"

Apply suggestions from code review

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

---------

Co-authored-by: Josélio Júnior <76992016+lunatic-fox@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-03-17 10:03:40 +01:00
David Leal
771daeb74d Update and use Geckodriver for Linux64 (#1675)
* Update and use Geckodriver for Linux64

* Fix NPM commands
2023-03-03 12:45:17 -03:00
Josélio Júnior
2160753bf1 add feature: svgo auto optimization to pull requests (#1554)
* Add a workflow to SVGO Optimizer

* update `svgo.config.js`

* Update optimize_icons.yml

---------

Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-25 22:55:49 -06:00
Jørgen Kalsnes Hagen
3d20d58cd3 Feature/sort devicon json and add sort check (#1405)
* indent and sort devicon.json

* add check to see if devicon.json is sorted

* Update devicon.json

Sort `devicon.json`  of commit `77ff589df1fcffde36d9f3239d658046663d5588` from `develop` branch.

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Josélio Júnior <76992016+lunatic-fox@users.noreply.github.com>

* Update `devicon.json` with eb35d73a01

Co-authored-by: unknown <joseliojrx25@gmail.com>
Co-authored-by: Josélio Júnior <76992016+lunatic-fox@users.noreply.github.com>
2022-12-11 23:18:36 +01:00
Thomas Bui
29ffe6fd83 Fix checkbot's check version issue 2022-03-22 22:13:21 -07:00
Thomas Bui
39dfa5416e Add fix for bad zip file and logging for build (#1069) 2022-03-20 10:04:09 -07:00
Thomas Bui
ba9b395dc6 Fix invalid function name (#1063) 2022-03-14 14:23:08 -07:00
Thomas Bui
3d3c750161 Fix check icon not running for update icon pr (#1060) 2022-03-14 10:10:51 -07:00
Thomas Bui
47a19322a1 Changed to select all rather before take a pic (#1058) 2022-03-13 16:43:38 -07: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
824cc7d59c New Feature: Add an Issue in-develop labeler and functions to close these issues (#990)
* Working on labeler

* Add in_develop_labeler

* Build bot can close issues based on labels

* Test mode for build

* Fixed errors in labeler_bot

* Update build-bot

* Update .github/scripts/icomoon_build.py

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

* Remove test url

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
2022-01-28 10:58:30 -08: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
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
e5aa8a9cad Check-svgs won't check for styles in SVGs (#807)
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
2021-08-13 11:25:09 -07:00
Thomas Bui
62d022b074 Only build script will need token API 2021-06-23 16:57:23 -07:00
Thomas Bui
2f116f1ed5 Uncomment test code 2021-06-18 10:42:25 -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
794e8592ba Fix duplicated past icons in build process (#674) 2021-06-13 23:32:49 +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
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
48ebd6a93c Optimize bot is now a part of the build script (#624)
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
2021-05-27 16:24:59 +02:00
Thomas Bui
d98a72cb9a Optimized SVG using SVGO (#597)
* Added script to optimize svgs

* Updated the svgs using svgo

* Made the optimize svg script into a workflow

* Added npm install step

* Change the env variable bug

* Clean up and updated check svg

* Change label name
2021-05-15 21:14: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
David Leal
bf58c68f35 Fix link reference in `.github/scripts/icomoon_peek.py (#557) 2021-04-09 20:04:08 +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
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