ByteCode.NewsSubmit
Use quotes for an exact word.

Subscribe

RSSPodcast
Log in

Chat Logs

  1. * phaleth joined #repopack
  2. * dreamrea1 joined #repopack
  3. * dreamreal quit (*.net *.split)
  4. * phaleth quit (Remote host closed the connection)
  5. * phaleth joined #repopack
  6. phalethI was trying to read #392, but it's just like walls of text
  7. phalethI think only the description of the current state is useful, the rest should just be abandoned, it's not helpful at all
  8. blueok, I'll make it better phaleth
  9. phalethwait, it's just like waste of tokens
  10. phalethit doesn't give any important detail, except for the git to ssh part, but that part of the description is difficult to read
  11. blueno I mean, I'll separate what we currently have, from the desireable state, and break it up into tasks
  12. bluebreaking up something big into small digestable parts is a central part of making things work :)
  13. bluewe'll create an `architecture` directory, with different documents
  14. blueinstead of a huge file
  15. phalethyeah, but the new ideas there are not great :D
  16. bluesome of them we need to retain somewhere. like using *.in.repopack.app etc.
  17. phaleththat one we will need for sure, but why not just implement that already for each user?
  18. phalethbtw you should change porkbun credentials since clanker was in the haproxy dir it knows them
  19. blueyou mean the API ones?
  20. blueI can change the API key, but where do I need to update it?
  21. bluehttps://repopack.com/project/repopack/tasks/560
  22. bluethis is on your suggestion phaleth
  23. phalethit's stored in vaultwarden as two values
  24. phalethI do not have those keys anywhere else
  25. bluenow I mean, if I revoke the old API key, and cfeate a new one, where do I need to record it on the server
  26. bluejust haproxy config?
  27. blues/now/no/
  28. phalethjust in vaultwarden, haproxy configs do not matter at the moment, I will be moving haproxy to a container
  29. bluek
  30. phalethI like https://repopack.com/project/repopack/tasks/560
  31. blueyes, will be done done
  32. bluesoon done*
  33. bluephaleth: #570 is active
  34. phalethyeah, clanker has no idea what to do prolly
  35. blueI think it's almost ready
  36. blueas you can see the problem was that the full job json object, with id, wasn't accepted
  37. blueI'm now moving to a flag-based design which is anyway easier to work with
  38. blueI also discovered that the route code it produced was terrible
  39. blueso told it to make it more the way it should be in primate
  40. bluewith proper pema validation
  41. phalethit looked terrible when I looked at it yesterday
  42. phalethit's prolly not using rcompat as well in majority of the places
  43. blueyes
  44. phalethit does not tell what should I run instead of that command above, it's just mudding the waters
  45. blueit's not done yet
  46. bluebtw pha
  47. bluephaleth
  48. bluehttps://repopack.com/project/repopack/code/blob/web/routes/api/v0/jobs/%5Bjob%5D/index.ts?ref=task%2F570-unable-to-make-job-artifacts-public-for-a-projec
  49. blueif you look at lines 39-41
  50. bluethat's a pema gap
  51. bluehttps://repopack.com/project/primate/tasks/192
  52. blueso sometimes the ugly isn't the clanker: it's upstream primate lacking smth
  53. bluethose unknown keys, or at least one key must be present, those are missing pema capabilities that will be added in 0.43
  54. phalethtime to go back to the roots
  55. blueya
  56. blueplanning primate 0.43 for today
  57. phalethgreat
  58. bluethis release already kinda has too much
  59. bluephaleth: https://repopack.com/project/repopack/tasks/569
  60. bluethis is just for public repos, yes?
  61. bluewe don't have yet proper support for public repos, until I can figure out excluding .js from it
  62. phalethit mentions that there should be some sort of access token for private repos provided via query string param
  63. bluehm, ok
  64. * dreamrea1 is now known as dreamreal
  65. * nevet joined #repopack
  66. * blue!~blue@user/blue changed the topic to: https://repopack.com | This channel is logged: https://bytecode.news/logs/irc/libera/repopack
  67. phalethyeah, it means scope for the token and so on, it's a rabbit hole
  68. bluek, yeah
  69. bluephaleth: could you do me a favour
  70. bluerun `rp update`
  71. bluethen in flog project, update the job;s artifacts to public?
  72. blue`rp job update` will help you
  73. blueusage: rp job update <job-number> [--source <ref|trigger:branch-ref>] [--artifact-access project|public] [--description <text>]
  74. blue`rp job update 1 --artifact-access public`
  75. bluecan you try it?
  76. * phaleth quit (Ping timeout: 244 seconds)
  77. * phaleth joined #repopack
  78. phalethyeah, it updated the access to public
  79. bluegreat
  80. blueand now you can download artifacts?
  81. phalethyeah, the download urls are public
  82. bluegood
  83. bluephaleth: soon rebuilding flog with your fix
  84. bluejust making it build automatically from master, and I need a small fix in repopack for that
  85. * phaleth quit (Remote host closed the connection)
  86. * phaleth joined #repopack
  87. bluephaleth: flog job now automatically rebuild on master merges
  88. phalethok
  89. bluedid it fix your issue that you reported?
  90. phalethI'm gonna try
  91. bluewould be nice to completely move to flog, as part of 0.43
  92. blueand get rid of all nub/pnpm nonsense in the monorepo
  93. phalethneither curl or wget can download the new artifact file
  94. phalethI guess it's a problem of quotes
  95. phalethnope, just can't download that
  96. phalethcurl -v -L -C - -o flog.tar.gz 'https://repopack.com/project/flog/jobs/1/runs/4/artifacts/flog-0.0.0-dev.98af3a547abd-linux-amd64.tar.gz'
  97. phalethseems to be blocked again
  98. bluelet me see
  99. phalethwill have to put it to superarch.org again :D
  100. bluephaleth: curl -fL -o flog.tar.gz 'https://repopack.com/api/v0/jobs/1/runs/4/artifacts/flog-0.0.0-dev.98af3a547abd-linux-amd64.tar.gz?project=flog'
  101. bluethis should work. but I will improve the ergonomics of it so you don't need to go via the api
  102. bluephaleth: https://repopack.com/project/repopack/tasks/591
  103. phalethyeah, that works, no need to worry about ergonomics
  104. phaleth[1/2] STEP 9/12: RUN flog install --ignore-scripts --no-lockfile
  105. phalethflog: error: install importer . dependency apekit: validate typescript@6.0.3 package manifest: /app/primate/.flog-install-1628046316/node_modules/apekit/node_modules/typescript/package.json: field "devDependencies.@types/node" has invalid value "latest": invalid registry range: invalid comparator "latest": expected decimal digits
  106. phalethError: building at STEP "RUN flog install --ignore-scripts --no-lockfile": while running runtime: exit status 1
  107. phalethI can report that
  108. blueyes report, I'll have it fixed
  109. phalethflog#22
  110. bluethx
  111. bluephaleth: flog 22 is in, https://repopack.com/project/flog/jobs/1?run=8
  112. blueoof, the job failed
  113. phalethhmm
  114. phaleththat one should be easy for clanker to fix
  115. blueyes
  116. phalethhow to push a commit to remote branch without triggering a review?
  117. bluehttps://repopack.com/project/flog/jobs/1?run=9
  118. bluephaleth: commits never trigger a review automatically, that's an rp/API actoin
  119. phalethgit push does not work
  120. bluewhat do you get
  121. bluebtw the build succeeded phaleth
  122. phalethhttps://paste.debian.net/plainh/099c19fc
  123. phalethanother error
  124. phalethflog#24
  125. bluephaleth: https://dpaste.com/9FH9BL47J
  126. blue24 is in flight
  127. phalethI will not be able to access dpaste
  128. phalethactually I can access that
  129. phalethok, that helped, got few of those files to remote without changing state of the task
  130. blueok. if you need rp helpers for that, tell me. trying to kill git
  131. bluehttps://repopack.com/project/flog/jobs/1?run=10
  132. bluephaleth: ^
  133. phalethclanker just barfled more go files
  134. blueyes
  135. blueactually, #24's commit didn't add any new files
  136. phalethinstalled 561 packages and 0 workspace links (431 cache hits, 130 downloads)
  137. phalethfails on build step
  138. bluetask?
  139. phalethsure, will create
  140. phalethbut 431 cache hits sounds cool
  141. blueya, aiming for the stars here
  142. phalethflog#25
  143. blueon it
  144. phalethmore go code
  145. blueyes
  146. phalethit learns to parse pnpm-workspace.yaml, that's nice
  147. phalethmaybe it'll be a drop in replacement for pnpm
  148. blueI intend to remove that, pnpm-workspace.yaml is an abomination
  149. blueit's better to support workspaces inside package.json
  150. blueit's so nice now that rp can reparent tasks
  151. phalethheh, ok
  152. bluebecause sometimes you have code dependencies you don't know about from the get-go
  153. bluelook at this
  154. bluehttps://repopack.com/project/repopack/tasks/564
  155. blue564 started with 593, 594 and 595 all being its direct children
  156. bluebut they kind of build on each other, so rp needed to reparent 594 on 593, and 595 on 594
  157. bluethis reduces the amount of times you need to solve conflicts
  158. blue#25 is merged, job rebuilding
  159. phalethyeah, but I'm building pnpm monorepo with flog
  160. bluethe primate repo?
  161. phalethand if it can support that then that means it's usable
  162. phalethyeah, I'm building old primate repo
  163. phalethfrom github
  164. blueok, fair enough. I get we can leave pnpm support in
  165. blueI guess*
  166. phalethyeah, absolutely
  167. bluepnpm-workspace.yaml* support
  168. bluebut I'm not gonna support foreign lock files like bun.lock
  169. blueflog.lock will be the standard
  170. phalethclanker just gotta figure out how to fix all the security problems so repos can be made public
  171. blueya
  172. phalethwhy make another lock file?
  173. bluefor identity, mostly
  174. phalethand probably json
  175. blueya it's json
  176. phalethyou can take a look at nub.lock
  177. phalethlarge json is difficult to process
  178. bluewhat does nub.lock do?
  179. phalethnot sure, but not json
  180. phalethhttps://repopack.com/project/primate/code/blob/nub.lock
  181. bluethat's ugly
  182. phalethlol, all of them are ugly
  183. phaleththe thing is to not make yet another standard
  184. phalethdeno.lock, nub.lock, bun.lock, ...
  185. phalethcan you tell how to execute primate with flog?
  186. phaleth[1/2] STEP 12/12: RUN flog primate build --target=node
  187. phalethflog: error: unknown command "primate"
  188. phalethit got very far
  189. blueit should be `flog run`, no?
  190. blueor better, `flog x`
  191. phalethok, help isn't saying anything about x
  192. phalethflog: error: unknown command "x"
  193. blueyes, flog x doesn't exist yet :)
  194. phalethheh
  195. bluebecause flog isn't a runtime
  196. bluethough it should work anyway
  197. bluethere's npx, pnpx
  198. phalethok, then I ll use npx
  199. bluecan you create a task for `flog x`?
  200. bluewe wnat to be able to use primate without npm / pnpm / bun
  201. phalethnpx cannot find packages
  202. phalethok, sure
  203. bluehttps://repopack.com/project/flog/tasks/13
  204. bluehype
  205. phalethhttps://repopack.com/project/flog/tasks/27
  206. bluethx
  207. bluephaleth: https://flog.repopack.app/
  208. nevetflog — predictable JavaScript package management
  209. bluemaybe you can point flog.run at that
  210. bluephaleth: https://repopack.com/project/flog/code/blob/flog.lock?ref=task%2F13-launch-the-self-hosted-flog-run-primate-website
  211. phalethcool
  212. bluephaleth: flog x is being done
  213. phalethhttps://flog.run/
  214. nevetflog — predictable JavaScript package management
  215. blueNICE!
  216. * phaleth quit (Quit: phaleth)
  217. * blue!~blue@user/blue changed the topic to: https://repopack.com | This channel is logged: https://bytecode.news/logs/irc/libera/repopack
  218. * nevet joined #repopack