From ec6a00abf71a2478c3dad5e13eea0a13ff52ce5c Mon Sep 17 00:00:00 2001 From: Thomas Bui <43018778+Thomas-Boi@users.noreply.github.com> Date: Sat, 10 Apr 2021 14:26:47 -0700 Subject: [PATCH] Added a section for common bugs in the CONTRIBUTING (#563) --- CONTRIBUTING.md | 68 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 56 insertions(+), 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bab00640..2f825964 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ First of all, thanks for taking the time to contribute! This project can only gr
  • Example
  • Requesting An Icon
  • Maintainer/Reviewer/Teams
  • -
  • Regarding the Build Script
  • +
  • The Build Script: how it works and its quirks
  • Discord server
  • Release strategy, conventions, preparation and execution
  • @@ -115,14 +115,29 @@ First of all, thanks for taking the time to contribute! This project can only gr
       
         {
    -        "name": string, // the official name of the technology. Must be lower case, no space and don't have the dash '-' character.
    -        "tags": string[], // list of tags relating to the technology for search purpose
    +        // the official name of the technology. Must be lower case, no space and don't have the dash '-' character.
    +        "name": string, 
    +
    +        // list of tags relating to the technology for search purpose
    +        "tags": string[], 
    +
    +        // keep tracks of the different versions that you have.
             "versions": {
    -            "svg": VersionString[], // list the svgs that you have 
    -            "font": VersionString[] // list the fonts acceptable versions that you have
    +            // list the svgs that you have 
    +            "svg": VersionString[], 
    +
    +            // list the fonts acceptable versions that you have
    +            "font": VersionString[] 
             },
    -        "color": string, // the main color of the logo. Only track 1 color
    -        "aliases": AliasObj[] // keeps track of the aliases for the font versions ONLY
    +
    +        // the main color of the logo. Only track 1 color
    +        "color": string, 
    +
    +        // keeps track of the aliases for the font versions ONLY
    +        // see the Example section for more details
    +        // NOTE: this attribute is not required from now on (see this)
    +        // it is only being kept for backward compatibility
    +        "aliases": AliasObj[] 
         }
       
     
    @@ -294,21 +309,50 @@ As an example, let's assume you have created the svgs for Redhat and Amazon Web


    -

    Regarding The Build Script

    +

    The Build Script: how it works and its quirks

    To make adding icons easier for repo maintainers, we rely on GitHub Actions, Python, Selenium, and Gulp to automate our tasks.

    So far, the tasks in the build script are:

    -

    There are also other tasks that we are automating, such as:

    - +

    There are some quirks and bugs that the build scripts might run into. Listed below are the common ones and their solution

    +
      +
    1. No connection could be made because the target machine actively refused it. (os error 10061) + +
    2. +
    3. SHA Integrity + +
    4. +
    5. Wrong PR Title + +
    6. +
    7. Peek bot fails when an icon is updated + +
    8. +
    +

    Discord server

    We are running a Discord server. You can go here to talk, discuss, and more with the maintainers and other people, too. Here's the invitation: https://discord.gg/hScy8KWACQ. If you don't have a GitHub account but want to suggest ideas or new icons, you can do that here in our Discord channel.