You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2024/02/16 20:43:41 UTC

(solr) branch main updated: GH Labeler action: Category labels (#2190)

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new c7e9949add2 GH Labeler action: Category labels (#2190)
c7e9949add2 is described below

commit c7e9949add24b7d4f89d49ff46d1d25ce2d19dfc
Author: Jan Høydahl <ja...@apache.org>
AuthorDate: Fri Feb 16 21:43:34 2024 +0100

    GH Labeler action: Category labels (#2190)
---
 .github/labeler.yml | 84 ++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 77 insertions(+), 7 deletions(-)

diff --git a/.github/labeler.yml b/.github/labeler.yml
index ab2019fc498..793957db16d 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -47,7 +47,7 @@ tool:build:
           - buildSrc/**
 
 # Add 'tools' label for changes to dev tools
-tool:scripts:
+scripts:
   - changed-files:
       - any-glob-to-any-file:
           - dev-tools/**
@@ -61,6 +61,8 @@ jetty-server:
           - solr/server/contexts/**
           - solr/server/resources/**
           - solr/server/modules/**
+          - '**/org/apache/solr/servlet/**'
+          - '**/org/apache/solr/logging/**'
 
 # Add 'start-scripts' label for changes to start scripts
 start-scripts:
@@ -74,12 +76,6 @@ configs:
       - any-glob-to-any-file:
           - solr/server/solr/**
 
-# Add 'api' label
-api:
-  - changed-files:
-      - any-glob-to-any-file:
-          - solr/api/**
-
 # Add 'client:solrj' labels
 client:solrj:
   - changed-files:
@@ -170,3 +166,77 @@ module:sql:
   - changed-files:
       - any-glob-to-any-file:
           - solr/modules/sql/**
+
+# Any test source files
+tests:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/src/test/**'
+          - '**/src/test-files/**'
+
+# Add category labels loosely based on java packages
+# Add 'api' label
+cat:api:
+  - changed-files:
+      - any-glob-to-any-file:
+          - solr/api/**
+          - solr/core/src/java/org/apache/solr/api/**
+          - solr/core/src/java/org/apache/solr/cloud/api/**
+          - solr/core/src/java/org/apache/solr/jersey/**
+
+cat:cli:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/org/apache/solr/cli/**'
+
+cat:cloud:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/org/apache/solr/cloud/**'
+          - '**/org/apache/solr/cluster/**'
+
+cat:index:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/org/apache/solr/index/**'
+          - '**/org/apache/solr/hdfs/index/**'
+          - '**/org/apache/solr/update/**'
+          - '**/org/apache/solr/hdfs/update/**'
+          - '**/org/apache/solr/scripting/update/**'
+          - '**/org/apache/solr/handler/loader/**'
+
+cat:metrics:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/org/apache/solr/metrics/**'
+
+cat:packagemanager:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/org/apache/solr/packagemanager/**'
+          - '**/org/apache/solr/pkg/**'
+          - '**/org/apache/solr/filestore/**'
+
+cat:schema:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/org/apache/solr/rest/**'
+          - '**/org/apache/solr/schema/**'
+
+cat:search:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/org/apache/solr/search/**'
+          - '**/org/apache/solr/highlight/**'
+          - '**/org/apache/solr/request/**'
+          - '**/org/apache/solr/response/**'
+          - '**/org/apache/solr/parser/**'
+          - '**/org/apache/solr/query/**'
+          - '**/org/apache/solr/spelling/**'
+          - '**/org/apache/solr/analysis/**'
+          - '**/org/apache/solr/handler/component/**'
+
+cat:security:
+  - changed-files:
+      - any-glob-to-any-file:
+          - '**/org/apache/solr/security/**'