Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Retry / switch to source build on connection errors

Offen
#792 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
php
Bereich
backend

Rechercherichtung

Start by tracing the package download flow that raises CouldNotDetermineDownloadUrlMethod.php and check how it selects the pre-packaged-source method versus a source download. The issue does not name the relevant implementation files or tests, so first locate that error and the download method tests. Done means a connection error can trigger a retry or source-download fallback, with tests covering the behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

What are you trying to do?
Last night several docker image builds failed due to GitHub reachability,

   > [frankenphp-8-2 linux/arm64 stage-0 3/5] RUN --mount=type=bind,from=ghcr.io/php/pie:bin,source=/pie,target=/usr/local/bin/pie <<EOF (set -e...):
  67.99 ✅ PIE package phpredis/phpredis (redis) is already installed and verified.
  68.86 
  68.87 In CouldNotDetermineDownloadUrlMethod.php line 31:
  68.87                                                                                
  68.87   Could not download kjdev/zstd using pre-packaged-source method: Could not a  
  68.87   uthenticate against github.com                                               
  68.87                                                                                
  68.87 
  68.87 install [-j|--make-parallel-jobs MAKE-PARALLEL-JOBS] [--skip-enable-extension] [--force] [--suppress-download-url-method SUPPRESS-DOWNLOAD-URL-METHOD] [-d|--working-dir WORKING-DIR] [--with-php-config WITH-PHP-CONFIG] [--with-php-path WITH-PHP-PATH] [--with-phpize-path WITH-PHPIZE-PATH] [--no-cache] [--allow-non-interactive-project-install] [--no-dev] [--select SELECT] [--auto-install-build-tools] [--no-build-tools-check] [--auto-install-system-dependencies] [--no-system-dependencies-check] [--from-lock] [--] [<requested-package-and-version>...]

What platform, and PIE version are you using?
(add the output of pie show -v, and information about which OS you're using etc.)

Steps to reproduce the issue

What do you expect to happen?
Retry or fallback to source download

What is actually happening
Pipeline failed could maybe worked with an source download

Complete logs/output
Complete error messages and/or logs, including stack traces (hint: use -v for verbose), but please redact sensitive information.

Anything else?
other information that might be helpful...

Vorherrschende Sprache
PHP
Sterne
2.1k
Forks
76
Ø Merge
16 Std. 58 Min.
Gemergte PRs (30 T.)
19

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus php/pie

Alle Issues in php/pie

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.