Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 160 additions & 0 deletions .github/default-labels/component-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
---
# This is for now only list of standard Espressif issue/PR labels as a reference.
# Config files can be combined and projects grouped. For example, all org projects
# will have set 'global-labels'+'jira-labels', then defined subset of projects also 'component-labels'

# We plan to integrate it with GitHub action https://github.com/EndBug/label-sync
# and sync labels to org projects from one place. This needs to be tested first.

# Properties explanation:
# name - The name of the label.
# color - The color of the label.
# description - [optional] The description of the label.
# aliases - [optional] An array containing the "aliases" of the label. If an existing label's name is an alias that label will be edited to match your config: this way you don't loose issues and PRs that have been labeled previously.


# (List of components based on https://github.com/espressif/idf-extra-components)
- name: 'Component: bdc_motor'
description: 'Component: bdc_motor'
color: '#caedfb'
aliases: []

- name: 'Component: coap'
description: 'Component: coap'
color: '#caedfb'
aliases: []

- name: 'Component: coremark'
description: 'Component: coremark'
color: '#caedfb'
aliases: []

- name: 'Component: dhara'
description: 'Component: dhara'
color: '#caedfb'
aliases: []

- name: 'Component: esp_delta_ota'
description: 'Component: esp_delta_ota'
color: '#caedfb'
aliases: []

- name: 'Component: esp_driver_sccb'
description: 'Component: esp_driver_sccb'
color: '#caedfb'
aliases: []

- name: 'Component: esp_encrypted_img'
description: 'Component: esp_encrypted_img'
color: '#caedfb'
aliases: []

- name: 'Component: esp_jpeg'
description: 'Component: esp_jpeg'
color: '#caedfb'
aliases: []

- name: 'Component: esp_serial_slave_link'
description: 'Component: esp_serial_slave_link'
color: '#caedfb'
aliases: []

- name: 'Component: fmt'
description: 'Component: fmt'
color: '#caedfb'
aliases: []

- name: 'Component: freetype'
description: 'Component: freetype'
color: '#caedfb'
aliases: []

- name: 'Component: jsmn'
description: 'Component: jsmn'
color: '#caedfb'
aliases: []

- name: 'Component: json_generator'
description: 'Component: json_generator'
color: '#caedfb'
aliases: []

- name: 'Component: json_parser'
description: 'Component: json_parser'
color: '#caedfb'
aliases: []

- name: 'Component: led_strip'
description: 'Component: led_strip'
color: '#caedfb'
aliases: []

- name: 'Component: libsodium'
description: 'Component: libsodium'
color: '#caedfb'
aliases: []

- name: 'Component: network_provisioning'
description: 'Component: network_provisioning'
color: '#caedfb'
aliases: []

- name: 'Component: new request'
description: 'Component: new request'
color: '#caedfb'
aliases: []

- name: 'Component: nghttp'
description: 'Component: nghttp'
color: '#caedfb'
aliases: []

- name: 'Component: onewire_bus'
description: 'Component: onewire_bus'
color: '#caedfb'
aliases: []

- name: 'Component: openCV'
description: 'Component: openCV'
color: '#caedfb'
aliases: []

- name: 'Component: pcap'
description: 'Component: pcap'
color: '#caedfb'
aliases: []

- name: 'Component: pid_ctrl'
description: 'Component: pid_ctrl'
color: '#caedfb'
aliases: []

- name: 'Component: qrcode'
description: 'Component: qrcode'
color: '#caedfb'
aliases: []

- name: 'Component: sh2lib'
description: 'Component: sh2lib'
color: '#caedfb'
aliases: []

- name: 'Component: spi_nand_flash'
description: 'Component: spi_nand_flash'
color: '#caedfb'
aliases: []

- name: 'Component: supertinycron'
description: 'Component: supertinycron'
color: '#caedfb'
aliases: []

- name: 'Component: thorvg'
description: 'Component: thorvg'
color: '#caedfb'
aliases: []

- name: 'Component: usb'
description: 'Component: usb'
color: '#caedfb'
aliases: []
134 changes: 134 additions & 0 deletions .github/default-labels/global-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
---
# This is for now only list of standard Espressif issue/PR labels as a reference.
# Config files can be combined and projects grouped. For example, all org projects
# will have set 'global-labels', then defined subset of projects 'global-labels' + 'component-labels', etc ...

# We plan to integrate it with GitHub action https://github.com/EndBug/label-sync
# and sync labels to org projects from one place. This needs to be tested first.

# Properties explanation:
# name - The name of the label.
# color - The color of the label.
# description - [optional] The description of the label.
# aliases - [optional] An array containing the "aliases" of the label. If an existing label's name is an alias that label will be edited to match your config: this way you don't loose issues and PRs that have been labeled previously.

# Issue types
- name: 'Type: Bug'
description: 'Bug report'
color: '#ee0701'
aliases: ['bug']

- name: 'Type: Feature Request'
description: 'Feature request'
color: '#84b6eb'
aliases: []

- name: 'Type: Enhancement'
description: 'Issue related to project performance'
color: '#adecee'
aliases: ['enhancement']

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels starting with 'Type: ' indicate that this label represents Jira issue type. Enhancement is not an issue type in Jira. Also this type is synonymous to Improvement type that exists and is used in Jira.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And description is the same as for 'Type: Performance'


- name: 'Type: Question'
description: 'Further information is requested'
color: '#c1437a'
aliases: ['question']

- name: 'Type: Infrastructure'
description: 'Issue related to project performance'
color: '#c5a251'
aliases: ['infrastructure']

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels starting with 'Type: ' indicate that this label represents Jira issue type. Infrastructure is not an issue type in Jira.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And description is the same as for 'Type: Performance'


- name: 'Type: Doc'
description: 'Issue related to project documentation'
color: '#2076c4'
aliases: ['documentation']

- name: 'Type: Performance'
description: 'Issue related to project performance'
color: '#fbca04'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels starting with 'Type: ' indicate that this label represents Jira issue type. Performance is not an issue type in Jira.


- name: 'Type: Dependencies'
description: 'Dependencies and version updates'
color: '#FE8547'
aliases: ['dependencies']

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels starting with 'Type: ' indicate that this label represents Jira issue type. Dependencies is not an issue type in Jira.


- name: 'Type: Security'
description: 'Security updates'
color: '##D9AEC5'
aliases: []

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels starting with 'Type: ' indicate that this label represents Jira issue type. Security is not an issue type in Jira.


# Community labels
- name: 'Help wanted'
description: 'Need some help with this one'
color: '#008672'
aliases: ['help wanted']

- name: 'Good first issue'
description: 'Good for newcomers'
color: '#6960f6'
aliases: ['good first issue']

- name: 'Invalid'
description: "This doesn't seem right"
color: '#e5e47a'
aliases: ['invalid']

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This label is sort of duplicated by Cannot Reproduce, Won't Do and Duplicate resolutions.


# JIRA Resolutions
- name: 'Resolution: Cannot Reproduce'
description: 'Issue cannot be reproduced'
color: '#C2E0C6'

- name: 'Resolution: Duplicate'
description: 'This issue or pull request already exists'
color: '#C2E0C6'
aliases: ['duplicate']

- name: "Resolution: Won't Do"
description: 'This will not be worked on'
color: '#C2E0C6'
aliases: ['wontfix']

- name: 'Resolution: Done'
description: 'Issue is done internally'
color: '#C2E0C6'

- name: 'Resolution: NA'
description: 'Issue resolution is unavailable'
color: '#C2E0C6'

# JIRA Work status
- name: 'Status: In Progress'
description: 'Work is in progress'
color: '#1D76DB'

- name: 'Status: Pending'
description: 'Blocked by some other factor'
color: '#fef2c0'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though some projects use this status in Jira, I couldn't find a single one GH issue or PR with this status. Can be removed.


- name: 'Status: Opened'
description: 'Issue is new, not started'
color: '#EDEDED'

- name: 'Status: Done'
description: 'Issue is done internally'
color: '#0E8A16'

- name: 'Status: Reviewing'
description: 'Issue is being reviewed'
color: '#1D76DB'

- name: 'Status: Resolved'
description: 'Issue is done internally'
color: '#0E8A16'

- name: 'Status: Cancelled'
description: 'Canceled in progress'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Canceled in progress' sounds ambiguous.
'Issue was cancelled' sounds better.

color: '#0E8A16'

- name: 'Status: Awaiting Response'
description: 'Awaiting a response from the author'
color: '#FF1493'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not status. Should be:
name: 'Awaiting Response'
color: '#C5DEF5'

There is also rule automation mirroring this label from Jira to GH and vice versa. Also for this reason, this cannot be 'Status: Awaiting Response'


- name: 'Status: Selected for Development'
description: 'We will start soon'
color: '#ededed'