Skip to content

Commit 2f49f62

Browse files
committed
Merge remote-tracking branch 'origin/bugfix' into dedupe-order-stable-tiebreak
2 parents ae9fca1 + fa391eb commit 2f49f62

98 files changed

Lines changed: 4113 additions & 1115 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
1-
# Any kind of package updates only need 2 approvals,
2-
# So let's add three folks here
3-
requirements.txt @cneill @mtesauro @Maffooch
4-
# Any dockerfile or compose changes will need to be viewed by
5-
# these people
6-
Dockerfile.* @mtesauro @Maffooch
7-
docker-compose.* @mtesauro @Maffooch
8-
/docker/ @mtesauro @Maffooch
91
# Documentation changes
10-
/docs/content/ @paulOsinski @valentijnscholten @Maffooch
11-
# Kubernetes should be reviewed by reviewed first by those that know it
12-
/helm/ @cneill @kiblik @Maffooch
13-
# Anything UI related needs to be checked out by those with the eye for it
14-
/dojo/static/ @blakeaowens @Maffooch
15-
/dojo/templates/ @blakeaowens @Maffooch
16-
# Any model changes should be closely looked at
17-
/dojo/models.py @Maffooch
2+
/docs/content/ @paulOsinski @Maffooch
183
# All other code changes should be reviewed by someone
19-
* @Maffooch @mtesauro
4+
* @Maffooch @blakeaowens

.github/release-drafter.yml

Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,50 +6,65 @@ branches:
66

77
categories:
88
- title: '💣 Breaking changes'
9-
labels:
10-
- 'Breaking Changes'
9+
when:
10+
labels:
11+
- 'Breaking Changes'
1112
- title: '🚩 Changes to `settings.dist.py` / `local_settings.py`'
12-
labels:
13-
- 'settings_changes'
13+
when:
14+
labels:
15+
- 'settings_changes'
1416
- title: '🚩 Database migration'
15-
labels:
16-
- 'New Migration'
17+
when:
18+
labels:
19+
- 'New Migration'
1720
- title: '🚩 Requires hash code recomputation'
18-
labels:
19-
- 'hashcode-update-needed'
21+
when:
22+
labels:
23+
- 'hashcode-update-needed'
2024
- title: '🚩 Security'
21-
labels:
22-
- 'security'
25+
when:
26+
labels:
27+
- 'security'
2328
- title: '🚀 New importers'
24-
labels:
25-
- 'Import Scans'
29+
when:
30+
labels:
31+
- 'Import Scans'
2632
- title: '🚀 General features and enhancements'
27-
labels:
28-
- 'feature'
29-
- 'enhancement'
30-
- 'performance'
33+
when:
34+
labels:
35+
- 'feature'
36+
- 'enhancement'
37+
- 'performance'
3138
- title: '🚀 API features and enhancements'
32-
label: 'apiv2'
39+
when:
40+
label: 'apiv2'
3341
- title: '🐛 Bug Fixes'
34-
labels:
35-
- 'fix'
36-
- 'bugfix'
37-
- 'bug'
42+
when:
43+
labels:
44+
- 'fix'
45+
- 'bugfix'
46+
- 'bug'
3847
- title: 📝 Documentation updates
39-
label: 'documentation'
48+
when:
49+
label: 'documentation'
4050
- title: '🖌 Updates in UI'
41-
label: 'ui'
51+
when:
52+
label: 'ui'
4253
- title: '🗣 Updates in localization'
43-
label: 'localization'
54+
when:
55+
label: 'localization'
4456
- title: '🔧 Improved code quality with linters'
45-
label: 'lint'
57+
when:
58+
label: 'lint'
4659
- title: '⚙️ Improvemets of GitHub Actions'
47-
label: 'gha'
60+
when:
61+
label: 'gha'
4862
- title: '🧰 Maintenance'
4963
collapse-after: 3
50-
labels:
51-
- 'dependencies'
52-
- 'maintenance'
64+
when:
65+
labels:
66+
- 'dependencies'
67+
- 'maintenance'
5368
exclude-labels:
5469
- 'skip-changelog'
5570

.github/workflows/fetch-oas.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2626
with:
27-
ref: release/${{ env.release_version }}
27+
ref: ${{ env.release_version }}
2828

2929
- name: Load docker images
3030
run: |-

docker/entrypoint-first-boot.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# called from entrypoint-initializer.sh when no admin user exists (first boot)
3-
cat <<EOD | python manage.py shell
3+
cat <<EOD | python manage.py shell --no-imports
44
import os
55
from django.contrib.auth.models import User
66
User.objects.create_superuser(
@@ -27,8 +27,13 @@ EOD
2727
python3 manage.py loaddata "${i%.*}"
2828
done
2929

30-
echo "Installing watson search index"
31-
python3 manage.py installwatson
30+
watson_enabled=$(echo "${DD_WATSON_SEARCH_ENABLED:-True}" | tr '[:upper:]' '[:lower:]')
31+
if [ "$watson_enabled" != "false" ] && [ "$watson_enabled" != "0" ] && [ "$watson_enabled" != "off" ] && [ "$watson_enabled" != "no" ]; then
32+
echo "Installing watson search index"
33+
python3 manage.py installwatson
34+
else
35+
echo "Skipping watson search index (DD_WATSON_SEARCH_ENABLED=${DD_WATSON_SEARCH_ENABLED})"
36+
fi
3237

3338
# surveys fixture needs to be modified as it contains an instance dependant polymorphic content id
3439
echo "Migration of textquestions for surveys"

docker/reach_database.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ wait_for_database_to_be_reachable() {
1313
exit 1
1414
fi
1515
done
16-
cat <<EOD | python manage.py shell
16+
cat <<EOD | python manage.py shell --no-imports
1717
from django.db import connections
1818
connections['default'].cursor()
1919
EOD
452 KB
Loading
600 KB
Loading
639 KB
Loading
665 KB
Loading
259 KB
Loading

0 commit comments

Comments
 (0)