!etqgAEaQcsBuGJpEvE:matrix.org

Fedora Apps

210 Members
Please register to speak - https://da.gd/register | Fedora Infrastructure applications | https://apps.fedoraproject.org - bodhi, fas, mirrormanager, pagure etc11 Servers

Load older messages


SenderMessageTime
25 Jul 2024
@naraiank:fedora.imThe Exorcist changed their profile picture.19:05:35
@naraiank:fedora.imThe Exorcist removed their profile picture.19:05:56
@naraiank:fedora.imThe Exorcist set a profile picture.19:06:22
26 Jul 2024
@abompard:fedora.imAurélien B Mehmet Baran Geylani: Another important thing that you can do if you feel like there's nothing on your plate, is run the unit tests locally and look at the HTML generated in ./htmlcov/index.html. It will tell you which lines are covered by unit tests and which are not. The goal is to get to 100%! :-) 07:34:29
@abompard:fedora.imAurélien BOK I've made quite a few updates to the code in the webhook-to-fedora-messaging repo, please pull asap or you'll get conflicts! The good thing is that now CI passes.09:47:52
@abompard:fedora.imAurélien B Also, once you've pulled and rebased please run pre-commit install to have enable on-commit checks 09:48:34
@naraiank:fedora.imThe Exorcist changed their profile picture.14:37:05
30 Jul 2024
@ghostcasper:matrix.org@ghostcasper:matrix.org

https://github.com/fedora-infra/webhook-to-fedora-messaging/issues/45

Please check
Akashdeep Dhar Aurélien B

09:32:32
@ghostcasper:matrix.org@ghostcasper:matrix.org Hey Aurélien B , seen that flask-restx requires paths to be referenced per view. Is there a way to use different routes in the same class (view)? 11:09:04
@ghostcasper:matrix.org@ghostcasper:matrix.orgAlso, should I remove and make the param referenced in this default or set it to an optimal value? 11:11:42
@ghostcasper:matrix.org@ghostcasper:matrix.orgRedacted or Malformed Event11:19:32
@ghostcasper:matrix.org@ghostcasper:matrix.org *

Also, should I remove and make the param referenced in this default or set it to an optimal value?

https://github.com/fedora-infra/webhook-to-fedora-messaging/issues/45

Akashdeep Dhar Aurélien B

11:19:47
@ghostcasper:matrix.org@ghostcasper:matrix.org Guess there's an issue with sending a GET request with body in flask-restx Aurélien B Akashdeep Dhar 12:54:32
@ghostcasper:matrix.org@ghostcasper:matrix.org * Guess there's an issue with sending a GET request with body in flask-restx Aurélien B Akashdeep Dhar. Should I change the endpoints and use query params for endpoints that receive GET requests? 12:58:03
@abompard:fedora.imAurélien B Mehmet Baran Geylani: are you sure? It looks like Flask-RESTX can look into the body: https://flask-restx.readthedocs.io/en/latest/parsing.html#argument-locations. Does it not work with GET requests? 13:07:47
@ghostcasper:matrix.org@ghostcasper:matrix.org https://swagger.io/docs/specification/2-0/describing-request-body/ @abompard:fedora.im guess here it says get requests can't have body 13:12:10
@abompard:fedora.imAurélien BAh, so it's swagger that does not support it. Okay, we can maybe migrate them to query params. Flask-RestX will be able to read both locations anyway.13:14:21
@ghostcasper:matrix.org@ghostcasper:matrix.org Sure let me change the endpoints then. @abompard:fedora.im 13:16:44
@ghostcasper:matrix.org@ghostcasper:matrix.orgTests will also need to be changed. 13:17:07
@ghostcasper:matrix.org@ghostcasper:matrix.org
In reply to @ghostcasper:matrix.org

Also, should I remove and make the param referenced in this default or set it to an optimal value?

https://github.com/fedora-infra/webhook-to-fedora-messaging/issues/45

Akashdeep Dhar Aurélien B

Can you check the other ones please
13:19:19
@amedvede:fedora.imAnton Medvedev set a profile picture.14:13:52
@abdel:fedora.imabdel joined the room.21:10:51
@abdel:fedora.imabdel set a profile picture.21:31:28
31 Jul 2024
@ghostcasper:matrix.org@ghostcasper:matrix.org Akashdeep DharAurélien B any update guys? Is there an issue with google meet? 07:08:43
@t0xic0der:fedora.imAkashdeep Dhar Mehmet Baran Geylani: I have moved the meeting down by 30 minutes - It will now start in 20 minutes from now 07:10:16
@t0xic0der:fedora.imAkashdeep DharYou should have received an updated invitation prior to this informing about the same07:10:33
@t0xic0der:fedora.imAkashdeep Dhar Mehmet Baran Geylani: https://www.rfc-editor.org/rfc/rfc2616 08:15:07
@t0xic0der:fedora.imAkashdeep Dhar Mehmet Baran Geylani: We gotta stick with JSON https://stackoverflow.com/questions/978061/http-get-with-request-body 08:15:33
@abompard:fedora.imAurélien B So, support for OIDC auth only comes with OpenAPI 3.0 which Flask-RestX does not support, and will probably not support for a while according to this comment 09:07:42
@abompard:fedora.imAurélien B

I see 3 options:

  1. adding openapi 3.0 support to Falsk-RestX (not easy at all, according to the maintainer of the project, but useful to everyone)
  2. switching from flask-restx to something else, a candidate would be flask-openapi3
  3. not using OIDC for authentication.
    I'd prefer to keep OIDC for auth, so I think we should prototype with flask-openapi3 and evaluate it, see if it is maintained, if there's a team behind it, if it's likely to get abandoned, etc.
09:11:40

Show newer messages


Back to Room ListRoom Version: 5