1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-30 09:40:04 +02:00
Commit Graph

163 Commits

Author SHA1 Message Date
Thomas Bui
26e2c64f4f Minor update to CONTRIBUTING and post peek (#672) 2021-06-13 22:45:51 +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
b59e103835 Update issue and PR templates (#658)
* Update issue and PR templates

* Added icon requirements to contributing

* Update .github/ISSUE_TEMPLATE/bug_report.md

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

* Update .github/ISSUE_TEMPLATE/bug_report.md

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

* Update .github/ISSUE_TEMPLATE/feature_request.md

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

* Update .github/ISSUE_TEMPLATE/feature_request.md

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

* Update .github/ISSUE_TEMPLATE/feature_request.md

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

* Update .github/ISSUE_TEMPLATE/icon-request.md

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update bug_report.md

* 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>

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-06-01 18:31:33 -07:00
Thomas Bui
d2254e4e9f Fix svg checker double posting comment (#660)
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
2021-05-31 11:48:20 +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
Clemens Bastian
9700cdddba update public-upload-to-imgur action v2.2.2 (#651)
* update public-upload-to-imgur action v2.2.2

* update imgur upload action to v2.2.2
2021-05-27 17:19:34 -07:00
Thomas Bui
9806f6e397 Add extra requirement in new icon pr template (#642)
* Add extra requirement in new icon pr template

* Update .github/PULL_REQUEST_TEMPLATE/new_icon.md

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

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
2021-05-27 21:11:44 +02: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
Thomas Bui
a23a1cd2f6 Build preparation for Release v2.11.0 (#559)
* bump npm version to v2.11.0

* Rebuilt package-lock.json

* Built new icons, icomoon.json and devicon.css

* Updated logging

Co-authored-by: Thomas-Boi <Thomas-Boi@users.noreply.github.com>
2021-04-10 10:26:41 +02:00
David Leal
bf58c68f35 Fix link reference in `.github/scripts/icomoon_peek.py (#557) 2021-04-09 20:04:08 +02:00
Amacado
b7ce626718 Merge remote-tracking branch 'origin/develop' into amacado/feature/readme-release-strategy
# Conflicts:
#	CONTRIBUTING.md
2021-04-09 11:26:16 +02:00
Amacado
573a8af18e rename the branch created by the workflow and set the base branch to the same branch which executed the action 2021-04-09 11:24:35 +02:00
Thomas Bui
921dd884c0 Check svg now fails if there's error and updated CONTRIBUTING 2021-03-28 21:27:01 -07:00
David Leal
2e041e2515 feat: Setup Stale workflow (#524)
* feat: Setup Stale workflow

* Change stale pull request message

Thanks, @Thomas-Boi!

* Add a note on `README.md` about stale PRs

* Fix some issues with the workflow

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Clemens Bastian <amacado@users.noreply.github.com>
2021-03-08 14:04:40 -06:00
Thomas Bui
cb34247467 Fix issue with "post_peek_screenshot" action failing when it's not supposed to (#520)
* Change the boolean in post_check_svgs_comment

* Fixed issue where post_peek action would fail randomly

* Fixed post_peek action not acting correctly

* Apply suggestions from code review (change to PR Number)

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

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-25 14:34:21 +01:00
Thomas Bui
c841a95117 Change the boolean in post_check_svgs_comment (#515) 2021-02-23 22:58:23 +01:00
Clemens Bastian
570f6ac2a7 add environment for npm publish workflow (#513) 2021-02-23 19:45:20 +01:00
Thomas Bui
173d070f9e Remove \n from bot:peek workflow (#511)
* Remove \n from script

* Update .github/workflows/post_peek_screenshot.yml

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

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-23 08:10:53 +01: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
Clemens Bastian
bdf2627157 automate workflow for npm publish (#497)
* setup npm_publish workflow and update package.json with new repo info

* refactoring npm publish workflow to reduce dependencies

* npm publish to 2.9.0

* reduce npm publish workflow to publishing task only

* npm publish to 2.9.0

* testing npm publish

* update npm version to 2.9.0 (latest release)

* enhance CONTRIBUTING.md with sentence about npm release workflow
2021-02-21 23:02:40 +01:00
Thomas Bui
38db4a1d60 Removed 'default fall back icon' from build_icons.yml 2021-01-19 22:19:16 -08:00
Thomas Bui
4ea84460cc Changed to file read action 2021-01-10 20:28:03 -08: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
5bcd269f00 Redo the workflow archs so we can comment on pr 2021-01-10 16:38:53 -08:00
Thomas Bui
2e49bfa1e1 Change comment action to a new action 2021-01-09 13:25:56 -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
5fea57350f Fix the ref issue of the checkout action and sqlalchemy (#472)
* Remove head_ref from checkout action

* Fixed the svg errs in sqlalchemy
2021-01-09 01:06:35 +01: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
a1d95e3e41 Added name for the upload action 2021-01-03 16:02:57 -08:00
Thomas Bui
4fce919b5a Clean up the peek_icons.yml 2021-01-03 13:33:56 -08:00
Thomas Bui
3c4e8bcd87 Change the screenshot upload to using upload-artifacts 2021-01-03 13:24:03 -08:00
Clemens Bastian
ee2645b5ea fix typo in imgur output 2021-01-03 01:42:44 +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
d217bcfa37 Update imgur action ref 2020-12-30 15:19:50 -08:00
Thomas Bui
33c56b259e Made eps requirements optional and clear up some terms 2020-12-30 15:19:09 -08:00
Thomas Bui
34a1866490 Merge pull request #412 from devicons/TB_peekUpgrade
Make the peek script (bot:peek) take screenshot of individual files
2020-12-30 13:28:13 -08:00
Thomas Bui
799878ea39 Update handling outputs in build_icons.yml 2020-12-30 13:21:35 -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
a9eb51aca5 Various bug fixes and added ability to comment multiple files 2020-12-29 21:49:39 -08:00