Remove broken tallinn submodule gitlink blocking GitHub Pages - #2
Merged
Conversation
Co-authored-by: liikane <226742748+liikane@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove broken submodule reference causing GitHub Pages builds to fail
Remove broken tallinn submodule gitlink blocking GitHub Pages
May 11, 2026
liikane
marked this pull request as ready for review
May 11, 2026 21:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Pages builds were failing because the repo root contained a
tallinngitlink (mode 160000) with no corresponding.gitmodulesentry, causinggitto abort with exit 128.Changes
tallinngitlink viagit rm -f tallinn— no.gitmodulesexisted, so no further submodule metadata cleanup was neededindex.htmlandCNAME(leksiko.eu) are untouched; the repo remains a pure static Pages siteOriginal prompt
Remove the broken submodule reference causing GitHub Pages builds to fail in the repository
liikane/tallinn.Context:
No url found for submodule path 'tallinn' in .gitmodulesandgit failed with exit code 128.tallinnentry at the root that appears to be a leftover submodule/gitlink reference.leksiko.eu.Required changes:
tallinnsubmodule/gitlink reference from the repository root so it is no longer treated as a submodule by GitHub Pages..gitmodulesif it contains only the broken entry).index.htmlandCNAMEfor GitHub Pages.Acceptance criteria:
tallinnsubmodule reference.mainbranch root.After implementing, open a pull request with a concise summary of the cleanup and explain that merging it should restore Pages deployment.
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: Annotations
2 errors and 1 warning
build
The process '/usr/bin/git' failed with exit code 128
build
No url found for submodule path 'tallinn' in .gitmodules
build
The process '/usr/bin/git' failed with exit code 128
Assistant: Siin on probleem juba üsna selge: Pages build kukub submodule’i tõttu läbi.
Vigade tähendus:
No url found for submodule path 'tallinn' in .gitmodulestallinn.gitmodulesfailis puudub sellele korrektneurl/usr/bin/git failed with exit code 128Mõju:
Mida teha:
Kontrolli
.gitmodulesfailisubmodule "tallinn"path = tallinnurl = ...Kui
tallinnei peaks olema submodule, siis tuleb see Git ajaloost/submodule’ina eemaldada ja teha tavaliseks failiks või kaustaks.Kui see peab olema submodule, siis tuleb lisada korrektne repo URL
.gitmodulesfaili ja teha submodule’i init/update korralikult.Praktiline diagnoos:
Kui tahad, võin ma nüüd aidata sul:
.gitmodulessisuKui saadad mulle
.gitmodulesfaili sisu või lubad mul repo struktuuri uurida, ütlen täpselt, mida muuta.User: Kus on .gitmodules fail
Assistant:
.gitmodulesfaili ei paista selles repos olemas olevat.Mida ma leidsin:
contents/.gitmodulespäring vastas, et ressurssi ei leitudSee tähendab tavaliselt üht neist:
.gitmodulesfaili ei ole üldse commit’itudOluline: GitHub Actionsi veateade ütleb siiski, et build üritab käsitleda
tallinnkausta submodule’ina.Seega järgmine samm oleks kontrollida:
.git/config/ submodule metadataKui tahad, võin nüüd otsida:
tallinnon repo sees submodule’ina defineeritudUser: või aidata eemaldada submodule’i jäljed nii, et GitHub Pages hakkaks jälle töötama.
Assistant: Jah — ma näen nüüd olulise vihje.
Repo juurtes on olemas
tallinnelement, mille tüüp tuli GitHub API-st välja kui file ja millel pole tavalisthtml_url-i. See on väga tihti märk, et tegu on katkise submodule’i jäljega või Git-i erilise viitega, mitte tavalise failiga.Samuti on repo juures olemas:
index.htmlCNAMEREADME.mdSUMMARY.md.githubkana.txttest.txttallinnMis edasi:
tallinnei ole sul tegelikult vajalik, tuleb see eemaldada repo juurestMõistlik järgmine samm on:
tallinnon submodule’i gitlinkKui tahad, teen ma järgmise sammuna puhastusparanduse ja eemaldan selle katkenud
tallinnviite nii, et GitHub Pages jälle buildiks.User: tee palun järgmise sammuna puhastusparanduse ja eemaldan selle kat...
This pull request was created from Copilot chat.