Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Retry / switch to source build on connection errors

Ouverte
#792 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
php
Domaine
backend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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...

Langage dominant
PHP
Étoiles
2.1k
Forks
76
Merge moyen
16 h 58 min
PR mergées (30 j)
19

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de php/pie

Toutes les issues de php/pie

Issues similaires

Plus d'issues PHP

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.