-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem displaying repo status properly #240
Comments
what gita version are you using? do u run |
gita 0.16.3 installed with pip yesterday color differs to from run to run, but also the * status for some repos the repos are not uppdating heres status of one repo:
atm gita ll reports it as
status in green this is so strange Im thinking a problem in dependencies or something? |
example:
so the asterisk shows up in the 3rd run, but nothing happened with the repo in between. |
could you try 0.16.2.4 and see if the problem persists? 0.16.3 contains an optimization with threadpool #238 I wonder if that causes any race conditions |
Actually I can reproduce your problem with 0.16.3 locally with my own repos (only about 10 of them) and it doesn't exist in 0.16.2.4 |
Do you mean I should try commit 6389470? The one before the threadool commit? I cant find a 0.16.2.4 tag. |
you can do either |
I know what the problem is. To get the repo information, I changed directory in a bad way. It should be done in the subprocess call via https://github.com/nosarthur/gita/blob/master/gita/info.py#L203 |
@jave it should be fixed if you update gita to 0.16.3.1 thanks for reporting, I will close the case after fixing the unit tests |
the asterisk display seems to work properly with 0.16.2.4 the color white, local has no remote, shows up randomly still, ill double check that its not on my end |
I think the problem with "white" repos are on my end now. Ghorg cloned a bunch of repos in our org that where empty, and these get the color white. So it was a combination of problems |
let me know if you find anything that doesn't make sense you can always compare to 0.16.2.4 which should give the correct result |
Hello,
I have an odd problem displaying repo status properly.
I run "gita ll" several times after each other.
each run status is reported randomly for different repositories, that is, the status color changes from green to white, to back again.
This of course makes the functionality unusable, so I suspect something fundamentally wrong in my local setup, but I cant figure out what.
Any debugging help would be appreciated. Im sorry for the vagueness in the report, but its a really odd problem.
Some more info:
Python 3.10.11
The repos I try to work with are from: gitlab.com/arbetsformedlingen, a group of about 400 repos. They where initially cloned with Ghorg.
I run gita in an emacs shell buffer, but the problem is the same in a terminal.
The text was updated successfully, but these errors were encountered: