From: "Rusty Howell" <rustyhowell@gmail.com>
To: poky@lists.yoctoproject.org
Subject: Ability to customize the prserver connection?
Date: Wed, 03 May 2023 10:03:32 -0700 [thread overview]
Message-ID: <wKCv.1683133412145731863.pxoj@lists.yoctoproject.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
Hello, is there a way to (or is there interest from others) in being able to customize the connection to the prserver? We have a need to send an extra parameter to the prserver (which we have also customized). We were able to do this by monkeypatching the prserv client during the do_packagedata task. (Rule #5 Never modify Poky) We had a custom TaskStarted handler which would monkeypatch the getPR() method and add the extra parameter we wanted. We recently upgraded to honister which broke our method of monkeypatching.
I know most Yocto users focus on images and don't bother with package feeds. But for those who do, I wanted to work on a way to allow one to create a custom prserver connection rather than being forced to use the client in bb/lib/prserv/client.py and hack at it via inherits and task handlers.
[-- Attachment #2: Type: text/html, Size: 859 bytes --]
next reply other threads:[~2023-05-03 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 17:03 Rusty Howell [this message]
2023-05-03 18:03 ` [poky] Ability to customize the prserver connection? Richard Purdie
2023-05-03 19:06 ` Rusty Howell
2023-05-04 12:58 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wKCv.1683133412145731863.pxoj@lists.yoctoproject.org \
--to=rustyhowell@gmail.com \
--cc=poky@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).