Skip to content

Commit 10444da

Browse files
authored
Merge branch 'rename-master-to-main' of 'https://github.com/jjmerchante/grimoirelab-elk'
Merges #1179 Closes #1179
2 parents 89bbab5 + c226e9e commit 10444da

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
check-changelog:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: bitergia/release-tools-check-changelog@master
12+
- uses: bitergia/release-tools-check-changelog@main

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Build package using Poetry and store result.
14-
uses: chaoss/grimoirelab-github-actions/build@master
14+
uses: chaoss/grimoirelab-github-actions/build@main
1515
with:
1616
artifact-name: grimoire-elk-dist
1717
artifact-path: dist
@@ -97,7 +97,7 @@ jobs:
9797
runs-on: ubuntu-latest
9898
steps:
9999
- name: Create a new release for the repository.
100-
uses: chaoss/grimoirelab-github-actions/release@master
100+
uses: chaoss/grimoirelab-github-actions/release@main
101101
with:
102102
github-token: ${{ secrets.GITHUB_TOKEN }}
103103

@@ -106,7 +106,7 @@ jobs:
106106
runs-on: ubuntu-latest
107107
steps:
108108
- name: Publish the package in PyPI.
109-
uses: chaoss/grimoirelab-github-actions/publish@master
109+
uses: chaoss/grimoirelab-github-actions/publish@main
110110
with:
111111
artifact-name: grimoire-elk-dist
112112
artifact-path: dist

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Welcome to GrimoireELK [![Build Status](https://github.com/chaoss/grimoirelab-elk/workflows/tests/badge.svg)](https://github.com/chaoss/grimoirelab-elk/actions?query=workflow:tests+branch:master+event:push) [![Coverage Status](https://coveralls.io/repos/github/chaoss/grimoirelab-elk/badge.svg?branch=master)](https://coveralls.io/github/chaoss/grimoirelab-elk?branch=master) [![PyPI version](https://badge.fury.io/py/grimoire-elk.svg)](https://badge.fury.io/py/grimoire-elk)
1+
# Welcome to GrimoireELK [![Build Status](https://github.com/chaoss/grimoirelab-elk/workflows/tests/badge.svg)](https://github.com/chaoss/grimoirelab-elk/actions?query=workflow:tests+branch:main+event:push) [![Coverage Status](https://coveralls.io/repos/github/chaoss/grimoirelab-elk/badge.svg?branch=main)](https://coveralls.io/github/chaoss/grimoirelab-elk?branch=main) [![PyPI version](https://badge.fury.io/py/grimoire-elk.svg)](https://badge.fury.io/py/grimoire-elk)
22

33
GrimoireELK is the component of [GrimoireLab](https://github.com/chaoss/grimoirelab) that interacts with the ElasticSearch database. Its goal is two-fold, first it aims at offering a convenient
44
way to store the data coming from Perceval, second it processes and enriches the data in a format that can be consumed by Kibiter.
@@ -115,7 +115,7 @@ profile information (i.e., identity fields) or (iv) to the project listed in the
115115
- **extra_** (anything): Extra fields added using the `enrich_extra_data` study.
116116

117117
#### Data source specific fields
118-
Details of the fields of each data source is available in the [Schema](https://github.com/chaoss/grimoirelab-elk/tree/master/schema) folder.
118+
Details of the fields of each data source is available in the [Schema](https://github.com/chaoss/grimoirelab-elk/tree/main/schema) folder.
119119

120120
## Installation
121121

@@ -165,18 +165,18 @@ $ poetry shell
165165

166166
## Running tests
167167

168-
Tests are located in the folder [tests](https://github.com/chaoss/grimoirelab-elk/tree/master/tests).
168+
Tests are located in the folder [tests](https://github.com/chaoss/grimoirelab-elk/tree/main/tests).
169169
In order to run them, you need to have in your machine instances (or Docker containers) of ElasticSearch and MySQL
170170

171171
Then you need to:
172-
- update the file [tests.conf](https://github.com/chaoss/grimoirelab-elk/blob/master/tests/tests.conf) file:
172+
- update the file [tests.conf](https://github.com/chaoss/grimoirelab-elk/blob/main/tests/tests.conf) file:
173173
- in case your ElasticSearch instance isn't available at `http://localhost:9200`. For example, if you are using the secure edition of elasticsearch, it will be located at `https://admin:admin@localhost:9200`
174174
- in case you are using non-default credentials for your SortingHat database, you will need to include the `[Database]` section of the file with both `user` and `password` parameters
175175
- create the databases `test_sh` and `test_projects` in your MySQL instance (e.g., `mysql -u root -e "create database test_sh"`, if you are running mysql in a container use `docker exec -i <container id> mysql -u root -e "create database test_sh"`)
176-
- populate the database `test_projects` with the SQL file [test_projects.sql](https://github.com/chaoss/grimoirelab-elk/blob/master/tests/test_projects.sql) (e.g., `mysql -u root test_projects < tests/test_projects.sql`)
176+
- populate the database `test_projects` with the SQL file [test_projects.sql](https://github.com/chaoss/grimoirelab-elk/blob/main/tests/test_projects.sql) (e.g., `mysql -u root test_projects < tests/test_projects.sql`)
177177

178-
The full battery of tests can be executed with [run_tests.py](https://github.com/chaoss/grimoirelab-elk/blob/master/tests/run_tests.py). However, it is also possible to execute
179-
a sub-set of tests by running the single test files (`test_*` files in the [tests folder](https://github.com/chaoss/grimoirelab-elk/tree/master/tests))
178+
The full battery of tests can be executed with [run_tests.py](https://github.com/chaoss/grimoirelab-elk/blob/main/tests/run_tests.py). However, it is also possible to execute
179+
a sub-set of tests by running the single test files (`test_*` files in the [tests folder](https://github.com/chaoss/grimoirelab-elk/tree/main/tests))
180180

181181
The tests can be run in combination with the Python package `coverage`. The steps below show how to do it:
182182
```buildoutcfg

doc/studies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ It expects to find an input index named `git_aoc-raw`, a git raw index containin
1717
data to apply this study on.
1818

1919
### Results
20-
As output, you will get an index following our [areas of code index fields convention](https://github.com/chaoss/grimoirelab-elk/blob/master/schema/areas_of_code.csv). This index will be named `git_aoc-enriched`.
20+
As output, you will get an index following our [areas of code index fields convention](https://github.com/chaoss/grimoirelab-elk/blob/main/schema/areas_of_code.csv). This index will be named `git_aoc-enriched`.
2121

2222
Additionally, an alias named `git_areas_of_code` pointing to above's index is created if it doesn't exist.
2323

@@ -104,7 +104,7 @@ filter out, for instance, **bots** and **empty commits** in Git.
104104

105105
### Results:
106106

107-
As output, you will get an index following our [onion index fields convention](https://github.com/chaoss/grimoirelab-elk/blob/master/schema/onion.csv).
107+
As output, you will get an index following our [onion index fields convention](https://github.com/chaoss/grimoirelab-elk/blob/main/schema/onion.csv).
108108
This index will be named:
109109
* **Git**: `git_onion-enriched`.
110110
* **GitHub Issues**: `github_issues_onion-enriched`.

0 commit comments

Comments
 (0)