Skip to content

Commit b3b6615

Browse files
committed
Add suggestions as comments for cfg configurations
This commit updates the cfg configs by commenting the optional/suggested configs in the example configurations. Signed-off-by: Venu Vardhan Reddy Tekula <[email protected]>
1 parent 93090dc commit b3b6615

2 files changed

Lines changed: 71 additions & 71 deletions

File tree

docs/data-sources/add-configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Replace the below configurations in the `setup.cfg` file.
4242
raw_index = git_raw
4343
enriched_index = git_enriched
4444
latest-items = true
45-
studies = [enrich_demography:git, enrich_git_branches:git, enrich_areas_of_code:git, enrich_onion:git, enrich_extra_data:git] (optional)
45+
studies = [enrich_demography:git, enrich_git_branches:git, enrich_areas_of_code:git, enrich_onion:git, enrich_extra_data:git] # (optional)
4646
4747
<!-- THE LINES BELOW ARE OPTIONAL -->
4848

docs/data-sources/configurations.md

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ Bugs from Bugzilla
6767
[bugzilla]
6868
raw_index = bugzilla_raw
6969
enriched_index = bugzilla_enriched
70-
backend-user = yyyy (optional)
71-
backend-password = xxxx (optional)
72-
no-archive = true (suggested)
70+
backend-user = yyyy # (optional)
71+
backend-password = xxxx # (optional)
72+
no-archive = true # (suggested)
7373
```
7474

7575
## bugzillarest
@@ -94,9 +94,9 @@ Bugs from Bugzilla server (>=5.0) using its REST API
9494
[bugzillarest]
9595
raw_index = bugzillarest_raw
9696
enriched_index = bugzillarest_enriched
97-
backend-user = yyyy (optional)
98-
backend-password = xxxx (optional)
99-
no-archive = true (suggested)
97+
backend-user = yyyy # (optional)
98+
backend-password = xxxx # (optional)
99+
no-archive = true # (suggested)
100100
```
101101

102102
## cocom
@@ -180,7 +180,7 @@ contents from Confluence
180180
[confluence]
181181
raw_index = confluence_raw
182182
enriched_index = confluence_enriched
183-
no-archive = true (suggested)
183+
no-archive = true # (suggested)
184184
```
185185

186186
## crates
@@ -229,7 +229,7 @@ Topics from Discourse
229229
[discourse]
230230
raw_index = discourse_raw
231231
enriched_index = discourse_enriched
232-
no-archive = true (suggested)
232+
no-archive = true # (suggested)
233233
```
234234

235235
## dockerhub
@@ -254,7 +254,7 @@ Repositories info from DockerHub
254254
[dockerhub]
255255
raw_index = dockerhub_raw
256256
enriched_index = dockerhub_enriched
257-
no-archive = true (suggested)
257+
no-archive = true # (suggested)
258258
```
259259

260260
## dockerdeps
@@ -335,7 +335,7 @@ Tests from functest
335335
[functest]
336336
raw_index = functest_raw
337337
enriched_index = functest_enriched
338-
no-archive = true (suggested)
338+
no-archive = true # (suggested)
339339
```
340340

341341
## gerrit
@@ -363,18 +363,18 @@ You have to add your public key in the gerrit server.
363363
raw_index = gerrit_raw
364364
enriched_index = gerrit_enriched
365365
user = xxxx
366-
no-archive = true (suggested)
367-
blacklist-ids = [] (optional)
368-
max-reviews = 500 (optional)
369-
studies = [enrich_demography:gerrit, enrich_onion:gerrit, enrich_demography_contribution:gerrit] (optional)
366+
no-archive = true # (suggested)
367+
blacklist-ids = [] # (optional)
368+
max-reviews = 500 # (optional)
369+
studies = [enrich_demography:gerrit, enrich_onion:gerrit, enrich_demography_contribution:gerrit] # (optional)
370370
371-
[enrich_demography:gerrit] (optional)
371+
[enrich_demography:gerrit] # (optional)
372372
373-
[enrich_onion:gerrit] (optional)
373+
[enrich_onion:gerrit] # (optional)
374374
in_index = gerrit_enriched
375375
out_index = gerrit-onion_enriched
376376
377-
[enrich_demography_contribution:gerrit] (optional)
377+
[enrich_demography_contribution:gerrit] # (optional)
378378
date_field = grimoire_creation_date
379379
author_field = author_uuid
380380
```
@@ -404,19 +404,19 @@ Commits from Git
404404
[git]
405405
raw_index = git_raw
406406
enriched_index = git_enriched
407-
latest-items = true (suggested)
408-
studies = [enrich_demography:git, enrich_git_branches:git, enrich_areas_of_code:git, enrich_onion:git, enrich_extra_data:git] (optional)
407+
latest-items = true # (suggested)
408+
studies = [enrich_demography:git, enrich_git_branches:git, enrich_areas_of_code:git, enrich_onion:git, enrich_extra_data:git] # (optional)
409409
410-
[enrich_demography:git] (optional)
410+
[enrich_demography:git] # (optional)
411411
412-
[enrich_git_branches:git] (optional)
413-
run_month_days = [1, 23] (optional)
412+
[enrich_git_branches:git] # (optional)
413+
run_month_days = [1, 23] # (optional)
414414
415-
[enrich_areas_of_code:git] (optional)
415+
[enrich_areas_of_code:git] # (optional)
416416
in_index = git_raw
417417
out_index = git-aoc_enriched
418418
419-
[enrich_onion:git] (optional)
419+
[enrich_onion:git] # (optional)
420420
in_index = git_enriched
421421
out_index = git-onion_enriched
422422
@@ -455,25 +455,25 @@ enriched_index = github_enriched
455455
api-token = xxxx
456456
category = issue
457457
sleep-for-rate = true
458-
no-archive = true (suggested)
458+
no-archive = true # (suggested)
459459
studies = [enrich_onion:github,
460460
enrich_geolocation:user,
461461
enrich_geolocation:assignee,
462462
enrich_extra_data:github,
463463
enrich_backlog_analysis,
464-
enrich_demography:github] (optional)
464+
enrich_demography:github] # (optional)
465465
466-
[enrich_onion:github] (optional)
466+
[enrich_onion:github] # (optional)
467467
in_index_iss = github_issues_onion-src
468468
in_index_prs = github_prs_onion-src
469469
out_index_iss = github-issues-onion_enriched
470470
out_index_prs = github-prs-onion_enriched
471471
472-
[enrich_geolocation:user] (optional)
472+
[enrich_geolocation:user] # (optional)
473473
location_field = user_location
474474
geolocation_field = user_geolocation
475475
476-
[enrich_geolocation:assignee] (optional)
476+
[enrich_geolocation:assignee] # (optional)
477477
location_field = assignee_location
478478
geolocation_field = assignee_geolocation
479479
@@ -513,11 +513,11 @@ enriched_index = github-pull_enriched
513513
api-token = xxxx
514514
category = pull_request
515515
sleep-for-rate = true
516-
no-archive = true (suggested)
516+
no-archive = true # (suggested)
517517
studies = [enrich_geolocation:user,
518518
enrich_geolocation:assignee,
519519
enrich_extra_data:github,
520-
enrich_demography:github] (optional)
520+
enrich_demography:github] # (optional)
521521
522522
[enrich_geolocation:user]
523523
location_field = user_location
@@ -559,7 +559,7 @@ enriched_index = github-repo_enriched
559559
api-token = xxxx
560560
category = repository
561561
sleep-for-rate = true
562-
no-archive = true (suggested)
562+
no-archive = true # (suggested)
563563
studies = [enrich_extra_data:github, enrich_demography:github]
564564
565565
[enrich_extra_data:github]
@@ -598,9 +598,9 @@ raw_index = github_event_raw
598598
enriched_index = github_event_enriched
599599
api-token = xxxxx
600600
sleep-for-rate = true
601-
sleep-time = "300" (optional)
602-
no-archive = true (suggested)
603-
studies = [enrich_duration_analysis:kanban, enrich_reference_analysis] (optional)
601+
sleep-time = "300" # (optional)
602+
no-archive = true # (suggested)
603+
studies = [enrich_duration_analysis:kanban, enrich_reference_analysis] # (optional)
604604
605605
[enrich_duration_analysis:kanban]
606606
start_event_type = MovedColumnsInProjectEvent
@@ -614,7 +614,7 @@ target_attr = label
614614
fltr_attr = label
615615
fltr_event_types = [LabeledEvent]
616616
617-
[enrich_reference_analysis] (optional)
617+
[enrich_reference_analysis] # (optional)
618618
```
619619

620620
## github2
@@ -648,14 +648,14 @@ raw_index = github2-issues_raw
648648
enriched_index = github2-issues_enriched
649649
sleep-for-rate = true
650650
category = issue
651-
no-archive = true (suggested)
652-
studies = [enrich_geolocation:user, enrich_geolocation:assignee, enrich_extra_data:github2, enrich_feelings] (optional)
651+
no-archive = true # (suggested)
652+
studies = [enrich_geolocation:user, enrich_geolocation:assignee, enrich_extra_data:github2, enrich_feelings] # (optional)
653653
654-
[enrich_geolocation:user] (optional)
654+
[enrich_geolocation:user] # (optional)
655655
location_field = user_location
656656
geolocation_field = user_geolocation
657657
658-
[enrich_geolocation:assignee] (optional)
658+
[enrich_geolocation:assignee] # (optional)
659659
location_field = assignee_location
660660
geolocation_field = assignee_geolocation
661661
@@ -691,14 +691,14 @@ raw_index = github2-pull_raw
691691
enriched_index = github2-pull_enriched
692692
sleep-for-rate = true
693693
category = pull_request
694-
no-archive = true (suggested)
695-
studies = [enrich_geolocation:user, enrich_geolocation:assignee, enrich_extra_data:git, enrich_feelings] (optional)
694+
no-archive = true # (suggested)
695+
studies = [enrich_geolocation:user, enrich_geolocation:assignee, enrich_extra_data:git, enrich_feelings] # (optional)
696696
697-
[enrich_geolocation:user] (optional)
697+
[enrich_geolocation:user] # (optional)
698698
location_field = user_location
699699
geolocation_field = user_geolocation
700700
701-
[enrich_geolocation:assignee] (optional)
701+
[enrich_geolocation:assignee] # (optional)
702702
location_field = assignee_location
703703
geolocation_field = assignee_geolocation
704704
@@ -751,10 +751,10 @@ raw_index = gitlab-issues_raw
751751
enriched_index = gitlab-issues_enriched
752752
api-token = xxxx
753753
sleep-for-rate = true
754-
no-archive = true (suggested)
755-
studies = [enrich_onion:gitlab-issue] (optional)
754+
no-archive = true # (suggested)
755+
studies = [enrich_onion:gitlab-issue] # (optional)
756756
757-
[enrich_onion:gitlab-issue] (optional)
757+
[enrich_onion:gitlab-issue] # (optional)
758758
in_index = gitlab-issues_enriched
759759
out_index = gitlab-issues-onion_enriched
760760
data_source = gitlab-issues
@@ -787,10 +787,10 @@ raw_index = gitlab-mrs_raw
787787
enriched_index = gitlab-mrs_enriched
788788
api-token = xxxx
789789
sleep-for-rate = true
790-
no-archive = true (suggested)
791-
studies = [enrich_onion:gitlab-merge] (optional)
790+
no-archive = true # (suggested)
791+
studies = [enrich_onion:gitlab-merge] # (optional)
792792
793-
[enrich_onion:gitlab-merge] (optional)
793+
[enrich_onion:gitlab-merge] # (optional)
794794
in_index = gitlab-mrs_enriched
795795
out_index = gitlab-mrs-onion_enriched
796796
data_source = gitlab-merges
@@ -821,8 +821,8 @@ raw_index = gitter_raw
821821
enriched_index = gitter_enriched_raw
822822
api-token = xxxxx
823823
sleep-for-rate = true
824-
sleep-time = "300" (optional)
825-
no-archive = true (suggested)
824+
sleep-time = "300" # (optional)
825+
no-archive = true # (suggested)
826826
```
827827

828828
## google_hits
@@ -925,7 +925,7 @@ Builds from a Jenkins
925925
[jenkins]
926926
raw_index = jenkins_raw
927927
enriched_index = jenkins_enriched
928-
no-archive = true (suggested)
928+
no-archive = true # (suggested)
929929
```
930930

931931
## jira
@@ -950,10 +950,10 @@ Issues data from JIRA issue trackers
950950
[jira]
951951
raw_index = jira_raw
952952
enriched_index = jira_enriched
953-
project = JIRAPROJECT (optional)
954-
no-archive = true (suggested)
955-
backend-user = yyyy (optional)
956-
backend-password = xxxx (optional)
953+
project = JIRAPROJECT # (optional)
954+
no-archive = true # (suggested)
955+
backend-user = yyyy # (optional)
956+
backend-password = xxxx # (optional)
957957
```
958958

959959
## kitsune
@@ -1055,7 +1055,7 @@ Pages and revisions from MediaWiki
10551055
[mediawiki]
10561056
raw_index = mediawiki_raw
10571057
enriched_index = mediawiki_enriched
1058-
no-archive = true (suggested)
1058+
no-archive = true # (suggested)
10591059
```
10601060

10611061
## meetup
@@ -1087,8 +1087,8 @@ raw_index = meetup_raw
10871087
enriched_index = meetup_enriched
10881088
api-token = xxxx
10891089
sleep-for-rate = true
1090-
sleep-time = "300" (optional)
1091-
no-archive = true (suggested)
1090+
sleep-time = "300" # (optional)
1091+
no-archive = true # (suggested)
10921092
10931093
```
10941094

@@ -1170,8 +1170,8 @@ raw_index = pagure_raw
11701170
enriched_index = pagure_enriched
11711171
api-token = xxxx
11721172
sleep-for-rate = true
1173-
sleep-time = "300" (optional)
1174-
no-archive = true (suggested)
1173+
sleep-time = "300" # (optional)
1174+
no-archive = true # (suggested)
11751175
```
11761176

11771177
## phabricator
@@ -1197,7 +1197,7 @@ Tasks from Phabricator
11971197
raw_index = phabricator_raw
11981198
enriched_index = phabricator_enriched
11991199
api-token = xxxx
1200-
no-archive = true (suggested)
1200+
no-archive = true # (suggested)
12011201
```
12021202

12031203
## pipermail
@@ -1322,7 +1322,7 @@ enriched_index = rocketchat_enriched
13221322
api-token = xxxx
13231323
sleep-for-rate = true
13241324
user-id = xxxx
1325-
no-archive = true (suggested)
1325+
no-archive = true # (suggested)
13261326
```
13271327

13281328
## rss
@@ -1375,7 +1375,7 @@ The information needed to monitor slack channels is the channel id.
13751375
raw_index = slack_raw
13761376
enriched_index = slack_enriched
13771377
api-token = xxxx
1378-
no-archive = true (suggested)
1378+
no-archive = true # (suggested)
13791379
```
13801380

13811381
## stackexchange
@@ -1405,7 +1405,7 @@ Questions, answers and comments from StackExchange
14051405
raw_index = stackexchange_raw
14061406
enriched_index = stackexchange_enriched
14071407
api-token = xxxx
1408-
no-archive = true (suggested)
1408+
no-archive = true # (suggested)
14091409
```
14101410

14111411
## supybot
@@ -1523,9 +1523,9 @@ page <instance>/accounts/profile/#api
15231523
raw_index = weblate_raw
15241524
enriched_index = weblate_enriched
15251525
api-token = XXXX
1526-
no-archive = true (suggested)
1527-
sleep-for-rate = true (suggested)
1528-
studies = [enrich_demography:weblate] (optional)
1526+
no-archive = true # (suggested)
1527+
sleep-for-rate = true # (suggested)
1528+
studies = [enrich_demography:weblate] # (optional)
15291529
1530-
[enrich_demography:weblate] (optional)
1530+
[enrich_demography:weblate] # (optional)
15311531
```

0 commit comments

Comments
 (0)