Submit

Back to the channels

#repopack

  1. phaleth clanker dropped a ton of sh script, for some reason it still keeps some test sh scripts https://repopack.com/project/repopack/tasks/782
  2. phaleth actually some of that is bash
  3. phaleth also clanker should have developed rps against golang 1.27, not golang 1.24 which is obsolete
  4. blue yes, also hi
  5. phaleth hi blue
  6. blue hi
  7. blue repopack.com is down, I'm doing some maintenance, should be back up soon
  8. blue should be back
  9. blue most of the scripts are gone
  10. blue [blue@vmd170320 ~]$ ./rps
  11. blue rps: usage: rps <bootstrap|status|sync|deploy|rollbac
  12. blue you can build rps and copy it; but you'd need a ~/.ssh/repopack_deploy_ed25519 to deploy
  13. blue dreamreal: clankers are overengineers of the worst possible kind
  14. blue I feel like phaleth's input is valuable. we might be soon needing programming languages that work well for clankers
  15. blue phaleth: https://repopack.com/project/repopack/tasks/786
  16. phaleth didn't know task can be renamed
  17. phaleth cool, renamed a closed task
  18. blue yes
  19. blue phaleth: everything is so much faster and nice with go rps now
  20. blue that mvp thing was a terrible calnker hallucination
  21. phaleth yeah, I bet
  22. blue I think clanker should be 100% forbidden from writing a single code of bash
  23. blue maybe only go
  24. phaleth anyway, it seems like rps depends on a set of CLI tools
  25. blue what do you mean with CLI tools?
  26. phaleth yeah, I guess maybe you could put that into AGENTS.md or whatever it's called
  27. blue ya
  28. phaleth it looks like the rps code is calling into a lot of what the shell scripts used to do
  29. phaleth like tar and whatnot, instead of using golang standard lib
  30. phaleth one thing it does correct is that it uses the podman REST API
  31. phaleth it's too POSIX dependent it seems
  32. blue POSIX is the way to go no
  33. blue ?
  34. phaleth not when standard lib already has a solution
  35. phaleth the best approach is of course always stay within the process
  36. blue declankered https://repopack.com/project/repopack/tasks/792
  37. phaleth of course there are OS kernel calls, but those should also be minimized by teh runtime
  38. blue ya
  39. phaleth and anyway, writing to disk on a server if not really necessary is the dumbest thing a programmer can allow to happen
  40. phaleth if there is a streaming API then it's a no brainer
  41. blue we need a git streaming API :P
  42. phaleth yeah, clanker has some really tough task on repopack
  43. blue hm?
  44. phaleth well, there is a lib for storing git data into postgres
  45. phaleth forgot what it was called
  46. blue ya
  47. phaleth hopefully that one uses UUIDv7s everywhere by default
  48. blue that's another can of worms we'll have to handle, that uuidv7 migation
  49. blue but at least we don't have those terribly bash scripts anymore, what a nightmare
  50. phaleth yeah, should do it sooner rather than late
  51. phaleth replacing 50k lines of shell script with 4k lines of golang is not bad
  52. blue yup
  53. phaleth blue: sshd container is created but not started
  54. phaleth created 32 Minutes ago
  55. blue thanks phaleth, looking into it
  56. phaleth no problem
  57. blue phaleth: sshd is fixed
  58. phaleth ok, cool
  59. dreamreal blue: true but because humans are overengineers too
  60. blue ya
  61. blue dreamreal: could you look at what I asked on #primate please?
  62. blue phaleth: I wanna start working on the container registry. we need a short domain. any suggestions?
  63. blue rpcr.io ?
  64. phaleth can start with cr.repopack.com and buy another domain later
  65. blue ok. I don't mind buying the domain. I believe the shortness is that image names are short
  66. phaleth yeah, but you are not going to build a docker hub like website just yet right?
  67. blue well, we're going to do a proper container registry, no? like gcr.io
  68. blue rpcr.io/PROJECT/IMAGE
  69. phaleth I mean once you have somthing up and running and something depends on it why not
  70. phaleth but till then
  71. phaleth who knows how all these oci-image registries work anyway
  72. blue well, if we're doing one, we should do it seriously. PROJECT should be scoped privately if the project is private, and so on
  73. blue you suggested having a CR so that we don't need to depend on local caching of images
  74. phaleth yeah, but can the registry be distributed to multiple VPSes?
  75. blue distributed in what sense? it will be constructed such that it's publicly available. VPSes running user code will need to get a token that allows them to pull from the registry, scoped to the given project
  76. blue public projects could offer public images
  77. phaleth say there are two VPSes in different geo zones, rpcr.io points to both, now a user in zone A uploads new image or image version, how will the registry in zone B obtain that image?
  78. phaleth if repopack controls that process then it's just db record being copied and also a tar.gz file being copied and imported to podman on target VPS
  79. phaleth anyway, for now rebuilding images is fine, it's not being done too often and it's rather quick considering that the only optimization that happened is flog
  80. blue yes, it's my intention that it's part of repopack's database
  81. phaleth I'd highly recommend to focus on all those already existing tasks first
  82. phaleth maybe even squeeze primate a bit more for some optimizations
  83. blue do you have concrete suggestions?
  84. phaleth code splitting, ditching svelte, dropping the bloat off of auth pages, torturing clanker into doing more with modern css than with js
  85. phaleth I mean the app js bundle dropped from 1.81 MB to 1.13 MB with primate 0.43, but the site is far from feature complete and it will get back there eventually
  86. blue ok, can you create a task with all those things? I can work them off one by one
  87. phaleth sure, I can try
  88. blue thanks
  89. phaleth anyway, do you think existing tasks are not worth it?
  90. phaleth https://repopack.com/project/repopack/tasks/679
  91. blue there are many existing tasks
  92. blue I'm working on many fronts at once
  93. phaleth yeah, heh, I know
  94. phaleth it's insane
  95. blue yup
  96. phaleth https://repopack.com/project/repopack/tasks/794
  97. blue yes?
  98. blue dreamreal was 100% against this
  99. blue that's why it's generally in the icebox now until someone raises his voice in support
  100. phaleth not sure what you mean
  101. phaleth against code splitting?
  102. phaleth primate website is code splitted and it's working fine
  103. blue I mean 794
  104. blue oh wait
  105. blue I was looking at 784
  106. blue sorry
  107. blue yeah, I'm not sure we have such granular control over splitting. splitting occurs via groups, but we can try
  108. phaleth yeah, I think just routes is good enough
  109. blue k
  110. phaleth no clue what's 784 about, feel free to close I guess, up to you
  111. blue ya, will probably close
  112. phaleth I think the less features and fly out menus and UI crap are there the better
  113. phaleth for example the notification thing is very annoying
  114. phaleth and it does not work well anyway and testing of that is pain in the butt
  115. blue what notification thing?
  116. blue you mean desktop notification or bells?
  117. phaleth the bell thing in top left area
  118. blue how else can I know that I need to do something somewhere?
  119. blue if it's not working well we can fix it
  120. phaleth you open it when you want to know
  121. phaleth also it notifies about bullshit, for example did it notify you about this? https://repopack.com/project/flog/apps/flog
  122. phaleth I don't think so
  123. blue it didn't, show it? anyway you can opt out of notifs to my knowledge
  124. blue should it*
  125. phaleth oh, so let me turn that off then
  126. blue but if something needs to be improved, please create a task instead of completely turning it off
  127. blue like if you think something needs to be informed or not informed
  128. phaleth there are already so many tasks and it's not even the most important stuff :)
  129. phaleth you can't even look through all those tasks yourself, need a clanker to do that
  130. blue it's slowly improving, it's just a big scope, we've already got so much done, don't worry
  131. phaleth yeah, the codebase is huge already
  132. blue it's actually not installed I believe, but was in my HOME
  133. phaleth I guess there was a trust me bro installer doing that
  134. phaleth and that trust me bro installer should have uninstall option
  135. phaleth well, if it's not from pacman than it does not matter
  136. blue it's not
  137. phaleth so much RAM free after all those cleanups this week
  138. phaleth absolute waste, repopack app can grow ten times bigger
  139. blue ya well, now just need to get rid of granafa and all the java dumpster fire
  140. phaleth java is gone
  141. phaleth grafana is not going anywhere, it'll only be moving
  142. blue I don't even know what grafana does and why it needs so much memory
  143. phaleth we only have one instance of prometheus so far, will prolly have a couple more
  144. phaleth grafana is a beast system, good thing it's written in golang
  145. phaleth it's also amazing once you understand it at least a bit
  146. * phaleth still needs to expand those two HAProxy backend dashboards
  147. blue what is prometheus?
  148. phaleth time series data provider
  149. phaleth also written in golang
  150. blue why do we need all this complexity
  151. phaleth they work very well and actually not difficult to learn
  152. phaleth look into vaultwarden for grafana URLs and take a look at the dashboards yourself
  153. phaleth all we are after is total automation and dashboards and then more automation to be able to quickly recover crap we run
  154. blue ya
  155. phaleth only via well crafted dashboards we will be able to achieve the goal
  156. blue yeah let's just not fall in love with numbers like americans do
  157. blue numbers are meaningful, but they're not everything
  158. blue I'll look into grafana
  159. phaleth grafana and prometheus do very well on one important metric and that is their RAM usage
  160. phaleth currently there is not so much data in prometheus right now, cause I still didn't fully figure out backups, but grafana has no problem displaying one month of data from prometheus
  161. blue k

Search posts