Hello,
I'm not sure if this the right place to ask, but I need to get the
following issue to be solved.
*Goal:* Setup a devpi server and install packages on micropython devices
with micropython upip.
*Issue:* devpi-server does not serve
http://<mypc>:3141/testuser/dev/<mypackage>/json, which is required by upip.
What I want to return is something like this:
curl -H "Accept: application/json"
https://micropython.org/pi/micropython-pystone_lowmem/json
{"info": {"version": "3.4.2.post4"},
"releases": {"3.4.2.post4": [{"url":
"https://micropython.org/pi/pystone_lowmem/pystone_lowmem-3.4.2.post4.tar.gz"}]}}
*Help:* I'm for now not sure if a whole devpi-plugin is required or if
there is a more simple way to achieve this.
If yes, how can I debug and develop efficiently a plugin? I tried to
start from devpi-lockdown project, but a all I get is a struggling
server.
*Unsuccessful trials so far:*
- Making upip to request "application/json" returns a huge JSON block
which can probably not handled by a memory limited device, especially
if there comes a lengthy "long_description".
*side information*
network and devpi-server is Ok, so the socket can be opened and I get
initial data. The only thing that is missing: getting this simple json
structure.
Thanks for any help,
Axel
PS: I also posted my question on stackoverflow:
https://stackoverflow.com/questions/63711923/devpi-how-to-get-root-package-…