Submit

Back to the channels

#repopack

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

Search posts