-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat: add property for issue tracker status #684
Conversation
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! It's a really old one..;)
Add property to GitProject class that denotes whether issue tracker is enabled on the specific project or not. Fixes packit#664 Signed-off-by: Matej Focko <[email protected]>
@lachmanfrantisek Should I inspect the thrown exception or rather check Positive for |
Build succeeded.
|
Build failed.
|
Signed-off-by: Matej Focko <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
neat
(I'm in favour of doing an extra request)
alternatively, in case of an issue, we could try checking in the exc handler - not sure if that's better
Build succeeded.
|
Build succeeded (gate pipeline).
|
Do you mean here in the |
Add property to GitProject class that denotes whether issue tracker is
enabled on the specific project or not.
Signed-off-by: Matej Focko [email protected]
TODO:
Fixes #664
RELEASE NOTES BEGIN
We have added a new property to git projects
has_issues
that indicates whether project has enabled issues or not. Following up on the property,create_issue
now raisesIssueTrackerDisabled
when the project doesn't have issues enabled.RELEASE NOTES END