NETTİM
← Kod Sonuçlarına Dön
YAML MySQL Form işlemleri Ağ işlemleri Yapılandırma dosyaları Lisans: MIT

Hata Bildirimi (Bug Report) Sorun Şablonu

Orijinal Kod Adı: YAML — 1_Bug_report.yml
Kullanıcıların geliştirici ekibe düzenli ortam bilgisi, yeniden üretme adımları ve beklenen sonuçla hata bildirmesini sağlar. Dosya ölçeği: 54 satır (~1.9 KB). Kaynak depo: laravel/jetstream.

💡 Püf Noktaları:
• `1_Bug_report.yml` dosyasındaki ortam bağımlı sabitleri (DSN, anahtar, URL) doğrudan kod yerine `.env` veya merkezi ayar katmanından okuyun.
• YAML kodunu canlı ortama taşımadan önce kenar durumları (boş girdi, zaman aşımı, hatalı format) için test senaryosu oluşturun.
• Üçüncü parti modüllerin bilinen zafiyet ve sürüm uyumluluğunu düzenli olarak denetleyip değişiklikleri sürüm geçmişinde izleyin.

🛠️ Uygulama Tarifi:
1. `1_Bug_report.yml` dosyasını projenin ilgili yapılandırma veya dokümantasyon dizinine ekleyin.
2. Örnek alanları (proje adı, sürüm, ortam yolları) kendi sisteminize göre güncelleyin.
3. Uygulama veya yardımcı aracın dosyayı hatasız ayrıştırdığını doğrulayıp sürüm kontrolüne dahil edin.
Dikkat Edilmesi Gerekenler:
• [Hata Yönetimi] Üretime almadan önce geçersiz girdi, eksik ortam değişkeni ve bağlantı kesilmesi senaryoları için istisna/hata loglamasını doğrulayın.
• [Sürüm & Test] Bağımlılık ve çalışma ortamı sürümlerini (PHP/Node/Python/DB) hedef sunucuyla eşleştirip test ortamında doğruladıktan sonra dağıtın.
.github/ISSUE_TEMPLATE/1_Bug_report.yml • YAML
name: Bug Report
description: "Report something that's broken."
body:
  - type: markdown
    attributes:
      value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem."
  - type: input
    attributes:
      label: Jetstream Version
      description: Provide the Jetstream version that you are using.
      placeholder: 3.1.0
    validations:
      required: true
  - type: dropdown
    attributes:
      label: Jetstream Stack
      options:
        - Inertia
        - Livewire
    validations:
      required: true
  - type: input
    attributes:
      label: Laravel Version
      description: Provide the Laravel version that you are using. [Please ensure it is still supported.](https://laravel.com/docs/releases#support-policy)
      placeholder: 10.4.1
    validations:
      required: true
  - type: input
    attributes:
      label: PHP Version
      description: Provide the PHP version that you are using.
      placeholder: 8.1.4
    validations:
      required: true
  - type: input
    attributes:
      label: Database Driver & Version
      description: If applicable, provide the database driver and version you are using.
      placeholder: "MySQL 8.0.31 for macOS 13.0 on arm64 (Homebrew)"
    validations:
      required: false
  - type: textarea
    attributes:
      label: Description
      description: Provide a detailed description of the issue you are facing.
    validations:
      required: true
  - type: textarea
    attributes:
      label: Steps To Reproduce
      description: Provide detailed steps to reproduce your issue. If necessary, please provide a GitHub repository to demonstrate your issue using `laravel new bug-report --github="--public"`.
    validations:
      required: true
      

Benzer Kod Örnekleri

YAML — feature_request.yml
YAML • Form işlemleri
YAML — feature_request.yml
YAML • Form işlemleri
YAML — bug_report.yml
YAML • Form işlemleri
YAML — bug_report.yml
YAML • Form işlemleri