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 does not update divvungiellatekno #189

Open
Trondtr opened this issue Mar 10, 2024 · 5 comments
Open

gut does not update divvungiellatekno #189

Trondtr opened this issue Mar 10, 2024 · 5 comments

Comments

@Trondtr
Copy link
Contributor

Trondtr commented Mar 10, 2024

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
Copy link
Member

snomos commented Mar 10, 2024

What happens if you clone using gut?

@Trondtr
Copy link
Contributor Author

Trondtr commented Mar 10, 2024

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
Copy link
Contributor Author

Trondtr commented Mar 10, 2024

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
Copy link
Member

snomos commented Mar 26, 2024

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
Copy link
Member

snomos commented Apr 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants