Hi ! I’m trying to create my own self-hosted hand-coded scoped registry server so that I can host my own packages online. I could then add my registry to my projects and the package manager should be able to discover my own packages that I can then add, update, remove from my projects.
But there’s very little information out there about what kind of information Unity is expecting from such a server.
I do receive the unity request: /-/v1/search.text=“myscope”&from=0&size=250.
I then proceed to return it this response (I gathered it from some other response that I found on some registries on the internet):
{
"objects": [
{
"package": {
"name": "com.me.core",
"scope": "com.me",
"version": "0.0.1",
"unity": "2018.3",
"displayName": "Me Core",
"description": "This is the core package for using my tools",
"author": {
"name": "me",
"email": "me@me.com",
"url": "www.me.com"
},
"dependencies": []
},
"flags": {
"insecure": 0
},
"score": {
"final": 1,
"detail": {
"quality": 1,
"popularity": 1,
"maintenance": 1
}
},
"searchScore": 100000
}
],
"total": 1,
"time": "Thu Nov 21 2024 9:25:28 CET"
}
But the package manager then “fails” silently and never show up anything.
Is there a page that I missed where I could find the type of response the package manage is expecting so that I can conform to that and provide valuable information to the package manager ?
At this point I’m stuck so anyhelp is appreciated.
For the people who might think of providing me with some other solutions than the one I’m trying to build => I don’t want to put my packages out publicly. I cannot pay for a private registry. I cannot install software on my web hosting service.
I am trying to build this out of php, and it might be dumb… but where’s the fun if you only ever do sound things ? Plus I figured that it couldn’t be that hard after all…
Thanks for reading