Conversation
|
Otherwise, LGTM. Thanks! cc @janvorli |
da6555b to
657e8c8
Compare
|
@jessicah, is this still valid? I was testing it locally today and found this: $ wget -qO- \
--post-data='{"jsonrpc":"2.0","method":"getPkg","params":[{"name":"'gmp'","repositorySourceCode":"haikuports_x86_64","versionType":"LATEST","naturalLanguageCode":"en"}],"id":0}' \
--header='Content-Type:application/json' https://depot.haiku-os.org/__api/v1/pkg
{"jsonrpc":"2.0","id":0,"error":{"code":-32601,"message":"method not found"}}According to the linked docs in first commit https://depot.haiku-os.org/__docs/api.html#d0e1599, BTW, if these kind of bold/merciless breaking changes are inevitable on Haiku servers, we can simplify this workflow by uploading the distilled version of these few packages on some GitHub repo's releases (e.g. https://github.com/illumos/sysroot/releases/tag/20181213-de6af22ae73b-v1 is where we get illumos archive) and pull it from there in build-rootfs script. This is an internal script and its real usage is to create docker images for dotnet CI, those docker images always have the distilled versions of installed software (the docker layers do not rebuild unless someone touches the corresponding Docker file). |
|
@am11 The code mentioned above is mine. |
Do they have to be "official" repos of Haiku? |
Ideally, official repo would be a good place, but I think it is not necessary. I will defer to @jkotas and @janvorli for a conclusive answer. For example, if you are going to work on the .NET port for a foreseeable future, then you can upload the required artifacts in your dotnet/arcade repo fork's release page. For Haiku servers, breaking change disregarding their own API version is really a bad idea. What's worse is not only |
|
If official repos are not required, then @jessicah can you update the krb5 and libunwind hpkgs to the packages folder on your GitHub repo? And... If possible, can you say something about the server to the devs since you're a member of Haiku... |
|
Replacing with this: works. |
|
Ah yeah, there was a recent update to the Haiku Depot server 3 days ago. I'll get some feedback from the dev about it. |
|
@am11 would it be okay to say require I've also had confirmation that this new API shouldn't change in future, so should be able to rely on it. |
|
Yup, |
Seems like the function in the commit above tries to detect
I also heard of |
657e8c8 to
3e083aa
Compare
|
I personally have not came across any Linux or Unix-y OS where jq is not available via package manager. :) The good thing about Current revision looks good. Please resolve the merge conflicts. Thanks! @akoeplinger, could you please take look? |
But it's not available by default. I can confirm for Ubuntu 22.04. Also, browsing through the sources here for Ubuntu 22.04, none of the files seem to install jq. Should something be done about that? |
|
We can install stuff as we need. |
|
Conflicts resolved :) |
|
Looks like failed job needs retrying? |
* Currently only x64 is supported
167f164 to
77e2880
Compare
This work is split-off from https://github.com/jessicah/dotnet-runtime for merging into dotnet/arcade, being tracked in dotnet/runtime#55803.