divvun / gut

A Git(Hub) multirepo maintenance tool
6 stars 0 forks source link

gut does not update divvungiellatekno #189

Open Trondtr opened 8 months ago

Trondtr commented 8 months ago

Here is the output of gut pull -o divvungiellatekno -r .:

| Repo                Pull Status  Repo Status  Stash Status |
+============================================================+
| a-tastatur               Failed        Clean             - |
| courses-HU-2024          Failed        Clean             - |
| divvun.no                     -        Clean             - |
| divvun.org                    -        Clean             - |
| giellalt.uit.no               -        Clean             - |
| plan-IDIL                     -        Clean             - |
| samarbeid-NB             Failed        Clean             - |
| samarbeid-UAlberta       Failed        Clean             - |
| samarbeid-maya           Failed        Clean             - |
| skuvla                        -        Clean             - |
| statped-dysleksi         Failed        Clean             - |
+------------------------------------------------------------+

Here is the error message:


There 5 errors when process command:

+-----------------------------------------------------------------------+
| Repo                Error                                             |
+=======================================================================+
| a-tastatur          unexpected http status code: 404; class=Http (34) |
| samarbeid-NB        unexpected http status code: 404; class=Http (34) |
| samarbeid-UAlberta  unexpected http status code: 404; class=Http (34) |
| samarbeid-maya      unexpected http status code: 404; class=Http (34) |
| statped-dysleksi    unexpected http status code: 404; class=Http (34) |
+-----------------------------------------------------------------------+

I deleted and re-cloned the 5 repositories prior to this message, but the result was exactly the same. The clone command was (with https): git clone https://github.com/divvungiellatekno/samarbeid-maya.git etc.

snomos commented 8 months ago

What happens if you clone using gut?

Trondtr commented 8 months ago

I do not know how to clone repositories with gut, and neither the 2-3 most intuitive commands, nor RTFM gave any result. So so far, I am not in a position to answer that question. But strange it is, since the literally hundreds of other repositories I have cloned all update nicely with gut. It thus seems logical to search for the error neither in git nor in gutprograms, but in the 5 culprits. But what do I know.

Trondtr commented 8 months ago

The gut clone command works for giellalt e.g. gut clone -o giellalt -r lang-fk, but for both the 6 working and 5 non-working repositories I get the same message. I tried with different versions of regex (with and without ^ and full name).

uit-mac-443 divvungiellatekno $ gut clone -o divvungiellatekno -r ^samarbeid
 2024-03-10T16:10:07.324Z DEBUG gut > Arguments: Args { command: Clone(CloneArgs { organisation: Some("divvungiellatekno"), regex: Some(Filter { regex: ^samarbeid }), use_https: false }) }
Error: When fetching repositories

Caused by:
    invalid response when fetching repositories
snomos commented 8 months ago

Have you tried again? It could be just a network error. It works for me, so by default I assume it is either the net, or something on your computer.

snomos commented 7 months ago

unexpected http status code: 404

This is the Not found error code. When it comes to GitHub, it usually means that you do not have access to the repos. But that is strange, since you are an owner of the divvungiellatekno organisation in GH. It does not make sense.

Please test again with:

gut clone -u -o divvungiellatekno

and report here all error messages you get.