| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 2 | 7 | 0% |
| Commands | 0 | 4 | 4 | 0% |
| Section tags | 0 | 0 | 2 | 0% |
What each file covers
Sections
0 shared · 2 only in A · 7 only in B- − Config
- − Translations
- + Database
- + Code Style
- + Database Migrations
- + Commands
- + Local
- + Docker
- + Important Note
Commands
0 shared · 4 only in A · 4 only in B- − bundle exec i18n-tasks missing
- − bundle exec i18n-tasks unused
- − bundle exec i18n-tasks normalize
- − bundle exec i18n-tasks check-consistent-interpolations
- + bundle exec rails g migration MigrationName
- + bundle exec rails db:migrate
- + bundle exec rails db:rollback
- + bundle exec rails db:seed
Section tags
0 shared · 0 only in A · 2 only in B- + code-style
- + database
Line diff
opf/openproject · config/AGENTS.md
@@ −1 @@
1# Config
2
3## Translations
4- UI strings must use translation keys (never hard-coded)
5- Source translations in `**/config/locales/en.yml` can be modified directly
6- Other translations managed via Crowdin
7
8```bash
9bundle exec i18n-tasks missing # Show missing translation keys
10bundle exec i18n-tasks unused # Show unused translation keys
11bundle exec i18n-tasks normalize # Fix/normalize translation files
12bundle exec i18n-tasks check-consistent-interpolations # Check interpolation consistency
13```
14
opf/openproject · db/AGENTS.md
@@ +1 @@
1# Database
2
3## Code Style
4
5### Database Migrations
6- Follow Rails migration conventions
7- Migrations are "squashed" between major releases (see `docs/development/migrations/`)
8
9## Commands
10
11### Local
12
13```bash
14bundle exec rails g migration MigrationName # Generate a migration
15bundle exec rails db:migrate # Run migrations
16bundle exec rails db:rollback # Rollback last migration
17bundle exec rails db:seed # Seed sample data
18```
19
20### Docker
21
22```bash
23bin/compose exec backend bundle exec rails db:migrate # Run migrations
24bin/compose exec backend bundle exec rails db:seed # Seed data
25```
26
27## Important Note
28
29**CRITICAL**: `config/database.yml` must NOT exist when using Docker (rename or delete it)
30
@@ −1 +1 @@
1−# Config
1+# Database
22
3−## Translations
4−- UI strings must use translation keys (never hard-coded)
5−- Source translations in `**/config/locales/en.yml` can be modified directly
6−- Other translations managed via Crowdin
3+## Code Style
74
5+### Database Migrations
6+- Follow Rails migration conventions
7+- Migrations are "squashed" between major releases (see `docs/development/migrations/`)
8+
9+## Commands
10+
11+### Local
12+
813 ```bash
9−bundle exec i18n-tasks missing # Show missing translation keys
10−bundle exec i18n-tasks unused # Show unused translation keys
11−bundle exec i18n-tasks normalize # Fix/normalize translation files
12−bundle exec i18n-tasks check-consistent-interpolations # Check interpolation consistency
14+bundle exec rails g migration MigrationName # Generate a migration
15+bundle exec rails db:migrate # Run migrations
16+bundle exec rails db:rollback # Rollback last migration
17+bundle exec rails db:seed # Seed sample data
1318 ```
19+
20+### Docker
21+
22+```bash
23+bin/compose exec backend bundle exec rails db:migrate # Run migrations
24+bin/compose exec backend bundle exec rails db:seed # Seed data
25+```
26+
27+## Important Note
28+
29+**CRITICAL**: `config/database.yml` must NOT exist when using Docker (rename or delete it)
1430
