Keep `gh-pages` history out of source clones

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
40/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, github

Direzione di ricerca

The issue names the gh-pages branch and the main-only clone workaround; first inspect how docs are published and which workflow pushes to gh-pages. Check whether the clone/fetch configuration can exclude gh-pages while retaining other branches, and measure clone size before and after. Done looks like a documented clone or CI setup that avoids fetching gh-pages by default, or an agreed decision to move docs to a separate repository.

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

Descrizione

A fresh clone of ess downloads 354.58 MiB, mostly from the published docs on gh-pages. Cloning only main is a workaround. Is there a simple way to skip gh-pages while fetching all the other branches?

If that’s cumbersome, would it be worth publishing the docs from a separate repo?

Lingua principale
Python
Stelle
3
Fork
6
Merge medio
2g 13h
PR unite (30g)
35

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 scipp/ess

Tutte le issue di scipp/ess

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.