'app deploy' reports ''wordpress' has locally unstaged changes' when it doesn't #226
Closed
opened 2021-11-01 09:29:11 +00:00 by 3wordchant
·
9 comments
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#226
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Trying to redeploy an app, seeing
FATA[0005] wordpress has locally unstaged changes, butCouldn't reproduce but added debug logging in case we run into again.
I think your debug logging found the problem!
I have a global
~/.gitignorefile which excludes vim swapfiles.~/.gitconfig:~/.gitignore:Is it possible that abra isn't picking up that config?
Global
excludefilesgets taken into account now forIsCleancall as far as I can tell. It seems like settingForce: Trueon the check outs is just causing misery so I switched that off for now (commit linked above too).Now I get a crash, weirdly on the Wordpress repo again 😬
The debugging output I added says that
getExcludesFile(cfg)is getting an empty response 🤔If I comment out these lines it works again:
But I assume back to not taking
~/.gitignoreinto account.Tried to fix this again. Could you give latest another test run @3wordchant 🙏
/cc @knoflook so i don't lose you more time on some random stack trace in a coop-cloud/abra#141 round 2 🙃
btw, just in case we have different configs, here is my setup:
~/.gitconfig:~/.gitignore_global:It reads the
~/.gitconfigfirst for thisexcludefilesconfig but I guess if you're not using that line, it could just try the default~/.gitignorefile? Will throw this in as well.Yep I've got basically the same config:
I'll test out the new change ASAP!
I've tested this manually a few times, think it is fixed 🙏