Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Post url updated before site is actually deployed and new urls are available in site.posts

Aperta
#758 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
github, jekyll, ruby
Ambito
build-system

Direzione di ricerca

Inizia riproducendo i tempi del deployment con il sito live collegato e il repository sorgente, confrontando l'overview link, la old URL, la new URL e le voci in site.posts tra i push e il completamento del deployment. Poiché nell'issue non sono indicati né un file sorgente né un test, traccia prima il modo in cui GitHub Pages crea e pubblica gli URL dei post, prima di decidere quale comportamento possa essere modificato. Il lavoro è completato quando l'overview link non rimanda a un post non disponibile durante il deployment.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

This issue affects
  • The site generated by GitHub Pages
  • Building sites locally

The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.

What did you do (e.g., steps to reproduce)
  • Pushed a post
  • Renamed the date to correctly reflect today and pushed it
What did you expect to happen?
  • The post to have the old date until a new deployment is finished.
What happened instead?

Between pushing the ammended post and that deployment being finished, the site is partially broken:

  • The ammended post is displayed in the overview with the old date and a link to the old url
  • When clicking on that url, the post is not available and returns a 404
  • When navigating to the new url, the post is available
Additional information
Lingua principale
Ruby
Stelle
1.9k
Fork
361
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/pages-gem

Tutte le issue di github/pages-gem

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.