Skip to content
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

gut status does not report all modified repos #166

Open
snomos opened this issue Nov 11, 2020 · 2 comments
Open

gut status does not report all modified repos #166

snomos opened this issue Nov 11, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@snomos
Copy link
Member

snomos commented Nov 11, 2020

Compare the following (sorry for the long post, but I think it is best to include everything to make the bug clear):

gut status --quiet -o giellalt -r .
+------------------------------------------------------+
| Repo              branch      ±origin  U  D  M  C  A |
+======================================================+
| giella-core       master           -9  0  0  0  0  0 |
| lang-crk          develop          -1  0  0  0  0  0 |
| lang-fkv          develop          -1  0  0  0  0  0 |
| lang-kal          develop          -3  0  0  0  0  0 |
| lang-mdf          develop          -1  0  0  0  0  0 |
| lang-sma          develop          -2  0  0  0  0  0 |
| lang-sme          develop           1  0  0  1  0  0 |
| lang-smj          develop          -4  0  0  1  0  0 |
| lang-sms          develop          -1  0  0  0  0  0 |
| ================                                     |
| Repo Count        Dirty    fetch/push  U  D  M  C  A |
| 9                 2                 9  0  0  2  0  0 |
+------------------------------------------------------+

vs

gut pull -o giellalt -r .          
+-----------------------------------------------------------------+
| Repo                     Pull Status  Repo Status  Stash Status |
+=================================================================+
| conf-clicit2021                    -        Clean             - |
| corpus-kal                         -        Clean             - |
| giella-core                   Pulled        Clean             - |
| giella-shared                      -        Clean             - |
| keyboard-bla                       -        Clean             - |
| keyboard-bxr                       -        Clean             - |
| keyboard-ces                       -        Clean             - |
| keyboard-ckt                       -        Clean             - |
| keyboard-crk                       -        Clean             - |
| keyboard-cux                       -        Clean             - |
| keyboard-grn                       -        Clean             - |
| keyboard-hak                       -        Clean             - |
| keyboard-hdn                       -        Clean             - |
| keyboard-ike                       -        Clean             - |
| keyboard-ine                       -        Clean             - |
| keyboard-izh                       -        Clean             - |
| keyboard-kca                       -        Clean             - |
| keyboard-kio                       -        Clean             - |
| keyboard-kon                       -        Clean             - |
| keyboard-kpv                       -        Clean             - |
| keyboard-lin                       -        Clean             - |
| keyboard-liv                       -        Clean             - |
| keyboard-mdf                       -        Clean             - |
| keyboard-mhr                       -        Clean             - |
| keyboard-mns                       -        Clean             - |
| keyboard-mrj                       -        Clean             - |
| keyboard-myv                       -        Clean             - |
| keyboard-nch                       -        Clean             - |
| keyboard-nds                       -        Clean             - |
| keyboard-niv                       -        Clean             - |
| keyboard-nno                       -        Clean             - |
| keyboard-rcf                       -        Clean             - |
| keyboard-rom                       -        Clean             - |
| keyboard-see                       -        Clean             - |
| keyboard-sjd                       -        Clean             - |
| keyboard-sju                       -        Clean             - |
| keyboard-sma                       -        Clean             - |
| keyboard-sme                       -        Clean             - |
| keyboard-smj                       -        Clean             - |
| keyboard-smn                       -        Clean             - |
| keyboard-sms                       -        Clean             - |
| keyboard-srs                       -        Clean             - |
| keyboard-tau                       -        Clean             - |
| keyboard-tyv                       -        Clean             - |
| keyboard-udm                       -        Clean             - |
| keyboard-urj                       -        Clean             - |
| keyboard-vot                       -        Clean             - |
| keyboard-vro                       -        Clean             - |
| keyboard-yrk                       -        Clean             - |
| lang-aka                           -        Clean             - |
| lang-amh                           -        Clean             - |
| lang-apu                           -        Clean             - |
| lang-ara                           -        Clean             - |
| lang-aym                           -        Clean             - |
| lang-bak                           -        Clean             - |
| lang-bla                           -        Clean             - |
| lang-bul                           -        Clean             - |
| lang-bxr                           -        Clean             - |
| lang-ces                           -        Clean             - |
| lang-chp                           -        Clean             - |
| lang-chr                           -        Clean             - |
| lang-ciw                           -        Clean             - |
| lang-ckt                           -        Clean             - |
| lang-cor                           -        Clean             - |
| lang-crj                           -        Clean             - |
| lang-crk                      Pulled        Clean             - |
| lang-crl                           -        Clean             - |
| lang-cwd                           -        Clean             - |
| lang-dan                           -        Clean             - |
| lang-deu                           -        Clean             - |
| lang-dgr                           -        Clean             - |
| lang-eng                           -        Clean             - |
| lang-epo                           -        Clean             - |
| lang-ess                           -        Clean             - |
| lang-est-x-plamk                   -        Clean             - |
| lang-est-x-utee                    -        Clean             - |
| lang-esu                           -        Clean             - |
| lang-eus                           -        Clean             - |
| lang-evn                           -        Clean             - |
| lang-fao                           -        Clean             - |
| lang-fin                           -        Clean             - |
| lang-fit                           -        Clean             - |
| lang-fkv                      Pulled        Clean             - |
| lang-gle                           -        Clean             - |
| lang-got                           -        Clean             - |
| lang-grn                           -        Clean             - |
| lang-hdn                           -        Clean             - |
| lang-hin                           -        Clean             - |
| lang-hun                           -        Clean             - |
| lang-iku                           -        Clean             - |
| lang-ipk                           -        Clean             - |
| lang-isl                           -        Clean             - |
| lang-izh                           -        Clean             - |
| lang-kal                      Pulled        Clean             - |
| lang-kca                           -        Clean             - |
| lang-kek                           -        Clean             - |
| lang-khk                           -        Clean             - |
| lang-kio                           -        Clean             - |
| lang-kjh                           -        Clean             - |
| lang-kmr                           -        Clean             - |
| lang-koi                           -        Clean             - |
| lang-kpv                      Pulled        Clean             - |
| lang-krl                           -        Clean             - |
| lang-lav                           -        Clean             - |
| lang-liv                           -        Clean             - |
| lang-luo                           -        Clean             - |
| lang-lut                           -        Clean             - |
| lang-mdf                      Pulled        Clean             - |
| lang-mhr                           -        Clean             - |
| lang-mns                           -        Clean             - |
| lang-moe                           -        Clean             - |
| lang-moh                           -        Clean             - |
| lang-mrj                           -        Clean             - |
| lang-myv                           -        Clean             - |
| lang-ndl                           -        Clean             - |
| lang-nds                           -        Clean             - |
| lang-nio                           -        Clean             - |
| lang-nno                           -        Clean             - |
| lang-nno-x-ext-apertium            -        Clean             - |
| lang-nob                           -        Clean             - |
| lang-non                           -        Clean             - |
| lang-nso                           -        Clean             - |
| lang-oji                           -        Clean             - |
| lang-olo                           -        Clean             - |
| lang-otw                           -        Clean             - |
| lang-quc-x-ext-apertium            -        Clean             - |
| lang-rmf                           -        Clean             - |
| lang-rmn                           -        Clean             - |
| lang-rmu                           -        Clean             - |
| lang-rmy                           -        Clean             - |
| lang-ron                           -        Clean             - |
| lang-rup                           -        Clean             - |
| lang-rus                           -        Clean             - |
| lang-sel                           -        Clean             - |
| lang-sjd                           -        Clean             - |
| lang-sje                      Pulled        Clean             - |
| lang-sjt                           -        Clean             - |
| lang-skf                           -        Clean             - |
| lang-sma                      Pulled        Clean             - |
| lang-sme                           -        Dirty             - |
| lang-smj                      Pulled        Clean             - |
| lang-smn                           -        Clean             - |
| lang-sms                      Pulled        Clean             - |
| lang-som                           -        Clean             - |
| lang-spa-x-ext-apertium            -        Clean             - |
| lang-sqi                           -        Clean             - |
| lang-srs                           -        Clean             - |
| lang-sto                           -        Clean             - |
| lang-swe                           -        Clean             - |
| lang-tat                           -        Clean             - |
| lang-tau                           -        Clean             - |
| lang-tel                           -        Clean             - |
| lang-tgl                           -        Clean             - |
| lang-tir                           -        Clean             - |
| lang-tku                           -        Clean             - |
| lang-tlh                           -        Clean             - |
| lang-tur-x-ext-trmorph             -        Clean             - |
| lang-tuv                           -        Clean             - |
| lang-tyv                           -        Clean             - |
| lang-udm                           -        Clean             - |
| lang-vep                           -        Clean             - |
| lang-vot                           -        Clean             - |
| lang-vot-x-ext-kkankain            -        Clean             - |
| lang-vro                           -        Clean             - |
| lang-xal                           -        Clean             - |
| lang-xwo                           -        Clean             - |
| lang-yrk                           -        Clean             - |
| lang-zul                           -        Clean             - |
| lang-zul-x-exp                     -        Clean             - |
| lang-zxx                           -        Clean             - |
| regtest-kal                   Pulled        Clean             - |
| template-keyboard-und              -        Clean             - |
| template-lang-und                  -        Clean             - |
+-----------------------------------------------------------------+

Successfully pulled 172 repos!

There is no error!

The interesting thing is that gut status reported 9 repos with modifications, pushes or pulls available, whereas when I do gut pull I actually got 11! So I got more than I thought I asked for 👍

But seriously, a status report you can't trust is no good. Thus bug report.

@snomos snomos added the bug Something isn't working label Nov 11, 2020
@ZoeyR
Copy link
Contributor

ZoeyR commented Nov 11, 2020

It would have been nice to see what a non-quiet status said as well, to know what the quiet check is missing.

@snomos
Copy link
Member Author

snomos commented Nov 11, 2020

I have confirmed earlier that the non-quiet and quiet status reports are the same (except for the suppressed lines). Ie the bug is independent of the use of --quiet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants