Submit

Back to the channels

#primate

  1. * nevet joined #primate
  2. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  3. chovy surrealdb just launched 3.0. or as i like to call it "Fuck The Developer 2"
  4. blue chovy: then it's good I dropped support for surrealdb in the last version :)
  5. chovy honestly, i don't know anything but us who used it
  6. chovy do you support supabase? everyone i see is using it now
  7. blue chovy: not that I know of. I don't even know what supabase is
  8. blue supabase sounds more like an api than a db
  9. chovy its a firebase-like layer ontop of postgres
  10. chovy its awesome. i have like 19 projects on it right now
  11. chovy would definitely add official support for primate if i were you
  12. chovy you can either self host it or use their cloud version for $10/db
  13. blue primate already supports postgres. if it's just a matter of connecting to a remote server, that's already doable
  14. blue also, calling a db over an API sounds like a version of hell
  15. * dreamreal glares at dynamodb
  16. blue dreamreal: wth is THAT
  17. blue dreamreal: https://github.com/primate-run/primate/issues/248
  18. nevet blue mentioned url: https://github.com/primate-run/primate/issues/248 ("Proposal: route schema API for typed validation and OpenAPI generation · Issue #248 · primate-run/primate")
  19. dreamreal dynamodb
  20. nevet Dynamo is an AWS document database that guarantees eventual consistency. That means it usually responds within a short amount of time... but there are no guarantees. It's fully acceptable that a write takes place after a month of being issued. Good luck out there! URL: https://aws.amazon.com/dynamodb/ See also: virtually anything else
  21. dreamreal ... also worth noting: it's acceptable that a READ takes place a month after being issued.
  22. * phaleth joined #primate
  23. * phaleth joined #primate
  24. phaleth hi blue, was the deployment website process all the same as usual?
  25. phaleth deployment of website*
  26. blue phaleth: yes
  27. blue also hi
  28. blue phaleth: https://github.com/primate-run/primate/issues/248
  29. nevet blue mentioned url: https://github.com/primate-run/primate/issues/248 ("Proposal: route schema API for typed validation and OpenAPI generation · Issue #248 · primate-run/primate")
  30. phaleth ok, at least that
  31. phaleth anyway, I redeployed the website to use node as runtime again, bun was taking too much memory
  32. blue right
  33. blue I need to set up a script for openapi.primate.run
  34. blue I don't have the docker file anymore, and the docs different from what's deployed :(
  35. phaleth the openapi source is not buildable, been that way for quite some time
  36. phaleth not sure which dockerfile you mean
  37. phaleth you can take a look at nspawn/containers/openapi.md in the provision repo
  38. phaleth hmm, for some reason the openapi container has a wrong ip address
  39. blue yes. it refers to /app, and currently the openapi container is from /var/www
  40. blue I think I need to create it completely anew
  41. phaleth what is the url for the json? https://openapi.primate.run/manifest.json?
  42. phaleth yeah, it's broken
  43. blue hm? it wored just earlier today
  44. blue did you change anything
  45. phaleth nope, but now it has wrong IP
  46. phaleth trying to fix that
  47. blue oh
  48. phaleth hmm, it's not really an nginx container
  49. phaleth it looks like primate repo is deployed in that openapi container, weird
  50. phaleth looks like the only option is to rebuild the container, which should fail
  51. blue ya
  52. blue it should be a static container that serves `generated` from that repo
  53. blue I'm not sure why the git repo is actually inside the container
  54. phaleth actually, it works https://openapi.primate.run/manifest.json
  55. blue nice, how to redeploy?
  56. blue dreamreal: https://openapi.primate.run/spec/bytenews.json
  57. phaleth yeah, well, sometimes it does not build so need to retry
  58. phaleth weird
  59. blue do you have a script for it?
  60. blue I got many containers scripted, but not this one
  61. phaleth to redeploy you gotta follow all the steps in nspawn/containers/openapi.md in provision repo in our gitea
  62. phaleth I've just updated the container file, if the build fails then simply retry
  63. blue ah, where is the containerfile?
  64. phaleth in nspawn/containers/openapi.md in provision repo in our gitea
  65. blue ah ok
  66. blue if you're not updating the gh one, can I delete it?
  67. blue that way I don't accidentally go there and see old stuff
  68. phaleth yeah, sure
  69. phaleth that one is too old by now
  70. blue done, deleted
  71. blue anything else I need to delete?
  72. blue provisor-cli-wrapper, docs, website, orglist, provisor-zig-fail, nginx-old-cfg
  73. blue if you don't need anything, I'll delete all of them
  74. blue I'll leave the repopack org to retain the name, but not have any repos there
  75. blue I mean I'll leave it in place and not delete it
  76. phaleth nginx-old-cfg can still be useful, but the rest can be wiped out from the face of the earth
  77. phaleth I think the map cache trick in that nginx config is really cool and confusing at the same time, but it works
  78. blue done, all deleted aside from that one
  79. phaleth node 25 is still not LTS, that is strange
  80. phaleth I think they still consider odd number versions not be well just odd and not LTS

Search posts