-
Notifications
You must be signed in to change notification settings - Fork 210
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
Bugwarrior not starting with Gitlab #986
Comments
Thanks for the report. Looks like a bug to me. I've noticed some similar but not identical errors on the latest development branch for the past month or so. However they aren't fatal so I'd ignored them. Since you're seeing this on an older version of bugwarrior -- presumably the latest 1.8.0 release -- I'm guessing that there was a change in the gitlab API (at least as implemented by gitlab.com) that we have not yet accommodated. I'll try to take a look at this soon. In the meantime, as a workaround, you might try the development version of bugwarrior. We have instructions for installing from source but they are dated (#987). The development branch is
Yes, the |
Looking at this further, i think your issue is likely due to not having any filters on your service definition, causing bugwarrior to try to pull all issues from all the thousands of public repositories on gitlab.com, which can result in a variety of errors. Since the last release we've added validation to make sure gitlab.com users use at least one filter -- such as |
I pinned down the error I was seing in #988. |
I've confirmed this works with both commands (though The documentation on Gitlab doesn't mention this requirement. Should I open a new issue for that? |
In the unreleased development version there is a validation check which requires |
Okay. Thanks for your help. |
It would be nice if we could more broadly catch rate-limit errors and give a nice error message explaining the problem. Historically though, I've found gitlab to demonstrate inconsistent error messages due to high volume requests -- several different error codes which could also indicate different problems. Without consistency it's unfortunately difficult to improve this aspect of the service. |
If the example file recommended |
I like that line of thought -- it is a bit weird that our example configuration is actually invalid. However, I think including In fact, the best improvement might be to change the default to |
Per discussion in GothenburgBitFactory#986, this has a few benefits: - Our example configuration will actually be valid since it uses gitlab.com as a host but does not define a filter. - More similar default behavior to other services, such as github. - Hopefully less confusion about the filtering requirements to avoid rate-banning and fewer bug reports caused by rate bans. We start off by implementing the first step, which is to raise a warning if 'owned' is undefined. The remainder of the migration plan is in the validator docstring.
Per discussion in GothenburgBitFactory#986, this has a few benefits: - Our example configuration will actually be valid since it uses gitlab.com as a host but does not define a filter. - More similar default behavior to other services, such as github. - Hopefully less confusion about the filtering requirements to avoid rate-banning and fewer bug reports caused by rate bans. We start off by implementing the first step, which is to raise a warning if 'owned' is undefined. The remainder of the migration plan is in the validator docstring.
Per discussion in GothenburgBitFactory#986, this has a few benefits: - Our example configuration will actually be valid since it uses gitlab.com as a host but does not define a filter. - More similar default behavior to other services, such as github. - Hopefully less confusion about the filtering requirements to avoid rate-banning and fewer bug reports caused by rate bans. We start off by implementing the first step, which is to raise a warning if 'owned' is undefined. The remainder of the migration plan is in the validator docstring.
Per discussion in #986, this has a few benefits: - Our example configuration will actually be valid since it uses gitlab.com as a host but does not define a filter. - More similar default behavior to other services, such as github. - Hopefully less confusion about the filtering requirements to avoid rate-banning and fewer bug reports caused by rate bans. We start off by implementing the first step, which is to raise a warning if 'owned' is undefined. The remainder of the migration plan is in the validator docstring.
task
version: 2.6.2bugwarrior-pull
version: unsure. I installed once through pip3 on Void (python 3.11.2), and tried again with the AUR version (and python 3.10.10). There is no output frombugwarrior-pull --version
, and nobugwarrior
executable in the $PATH.bugwarriorrc file:
Running
bugwarrior-pull
means it hangs for a long time, then outputs:Is this a problem with the Gitlab section, or my setup?
The text was updated successfully, but these errors were encountered: