Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Thunderbird/scripts/   (Thunderbird Email Client Version 5.6©)  Datei vom 22.9.2026 mit Größe 1 kB image not shown  

Quelle  README.md  Sprache: unbekannt

 
Spracherkennung für: .md vermutete Sprache: Python {Python[28] ABAP[24] MT940[20]} [Methode: maximale Elemente, drei Dimensionen]

# Scripts Directory

Various scripts for CI/CD, release automation, and development tasks.

## Python Scripts

### Setup

Install direct dependencies (hashed, no transitive deps):

```bash
python3 -m pip install -r scripts/requirements.txt
```

### Available Scripts

**CI Scripts** (`ci/`)
- `render-notes.py` - Fetches and renders release notes from thunderbird-notes
- `setup_release_automation` - Sets up GitHub release automation environments
- `merges/merge_gradle.py` - Custom git merge driver for Gradle files

**CLI Wrappers**
- `autodiscovery`, `html-cleaner`, `resource-mover`, `translation` - Gradle CLI tool wrappers

## Virtual Environment

It's recommended to use a virtual environment:

```bash
python3 -m venv venv
source venv/bin/activate  # On macOS/Linux
python3 -m pip install -r scripts/requirements.txt
```

To deactivate: `deactivate`

## Testing

To verify everything works:

```bash
./scripts/test_python_scripts.sh
```

This creates a temporary environment, installs dependencies, runs tests, and cleans up automatically.

## Dependencies

The `requirements.txt` includes **4 direct dependencies** (all pinned to specific versions):

- **PyNaCl** - Cryptography for GitHub secret encryption
- **PyYAML** - YAML parsing for release notes
- **Jinja2** - Template rendering for changelog files
- **requests** - HTTP client for GitHub API interactions

[Dauer der Verarbeitung: 0.3 Sekunden, vorverarbeitet 2026-10-24]