Submit

Back to the channels

#repopack

  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. phaleth I was trying to read #392, but it's just like walls of text
  7. phaleth I think only the description of the current state is useful, the rest should just be abandoned, it's not helpful at all
  8. blue ok, I'll make it better phaleth
  9. phaleth wait, it's just like waste of tokens
  10. phaleth it doesn't give any important detail, except for the git to ssh part, but that part of the description is difficult to read
  11. blue no I mean, I'll separate what we currently have, from the desireable state, and break it up into tasks
  12. blue breaking up something big into small digestable parts is a central part of making things work :)
  13. blue we'll create an `architecture` directory, with different documents
  14. blue instead of a huge file
  15. phaleth yeah, but the new ideas there are not great :D
  16. blue some of them we need to retain somewhere. like using *.in.repopack.app etc.
  17. phaleth that one we will need for sure, but why not just implement that already for each user?
  18. phaleth btw you should change porkbun credentials since clanker was in the haproxy dir it knows them
  19. blue you mean the API ones?
  20. blue I can change the API key, but where do I need to update it?
  21. blue https://repopack.com/project/repopack/tasks/560
  22. blue this is on your suggestion phaleth
  23. phaleth it's stored in vaultwarden as two values
  24. phaleth I do not have those keys anywhere else
  25. blue now 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. blue just haproxy config?
  27. blue s/now/no/
  28. phaleth just in vaultwarden, haproxy configs do not matter at the moment, I will be moving haproxy to a container
  29. blue k
  30. phaleth I like https://repopack.com/project/repopack/tasks/560
  31. blue yes, will be done done
  32. blue soon done*
  33. blue phaleth: #570 is active
  34. phaleth yeah, clanker has no idea what to do prolly
  35. blue I think it's almost ready
  36. blue as you can see the problem was that the full job json object, with id, wasn't accepted
  37. blue I'm now moving to a flag-based design which is anyway easier to work with
  38. blue I also discovered that the route code it produced was terrible
  39. blue so told it to make it more the way it should be in primate
  40. blue with proper pema validation
  41. phaleth it looked terrible when I looked at it yesterday
  42. phaleth it's prolly not using rcompat as well in majority of the places
  43. blue yes
  44. phaleth it does not tell what should I run instead of that command above, it's just mudding the waters
  45. blue it's not done yet
  46. blue btw pha
  47. blue phaleth
  48. blue https://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. blue if you look at lines 39-41
  50. blue that's a pema gap
  51. blue https://repopack.com/project/primate/tasks/192
  52. blue so sometimes the ugly isn't the clanker: it's upstream primate lacking smth
  53. blue those unknown keys, or at least one key must be present, those are missing pema capabilities that will be added in 0.43
  54. phaleth time to go back to the roots
  55. blue ya
  56. blue planning primate 0.43 for today
  57. phaleth great
  58. blue this release already kinda has too much
  59. blue phaleth: https://repopack.com/project/repopack/tasks/569
  60. blue this is just for public repos, yes?
  61. blue we don't have yet proper support for public repos, until I can figure out excluding .js from it
  62. phaleth it mentions that there should be some sort of access token for private repos provided via query string param
  63. blue hm, 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. phaleth yeah, it means scope for the token and so on, it's a rabbit hole
  68. blue k, yeah
  69. blue phaleth: could you do me a favour
  70. blue run `rp update`
  71. blue then in flog project, update the job;s artifacts to public?
  72. blue `rp job update` will help you
  73. blue usage: 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. blue can you try it?
  76. * phaleth quit (Ping timeout: 244 seconds)
  77. * phaleth joined #repopack
  78. phaleth yeah, it updated the access to public
  79. blue great
  80. blue and now you can download artifacts?
  81. phaleth yeah, the download urls are public
  82. blue good
  83. blue phaleth: soon rebuilding flog with your fix
  84. blue just 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. blue phaleth: flog job now automatically rebuild on master merges
  88. phaleth ok
  89. blue did it fix your issue that you reported?
  90. phaleth I'm gonna try
  91. blue would be nice to completely move to flog, as part of 0.43
  92. blue and get rid of all nub/pnpm nonsense in the monorepo
  93. phaleth neither curl or wget can download the new artifact file
  94. phaleth I guess it's a problem of quotes
  95. phaleth nope, just can't download that
  96. phaleth curl -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. phaleth seems to be blocked again
  98. blue let me see
  99. phaleth will have to put it to superarch.org again :D
  100. blue phaleth: 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. blue this should work. but I will improve the ergonomics of it so you don't need to go via the api
  102. blue phaleth: https://repopack.com/project/repopack/tasks/591
  103. phaleth yeah, that works, no need to worry about ergonomics
  104. phaleth [1/2] STEP 9/12: RUN flog install --ignore-scripts --no-lockfile
  105. phaleth flog: 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. phaleth Error: building at STEP "RUN flog install --ignore-scripts --no-lockfile": while running runtime: exit status 1
  107. phaleth I can report that
  108. blue yes report, I'll have it fixed
  109. phaleth flog#22
  110. blue thx
  111. blue phaleth: flog 22 is in, https://repopack.com/project/flog/jobs/1?run=8
  112. blue oof, the job failed
  113. phaleth hmm
  114. phaleth that one should be easy for clanker to fix
  115. blue yes
  116. phaleth how to push a commit to remote branch without triggering a review?
  117. blue https://repopack.com/project/flog/jobs/1?run=9
  118. blue phaleth: commits never trigger a review automatically, that's an rp/API actoin
  119. phaleth git push does not work
  120. blue what do you get
  121. blue btw the build succeeded phaleth
  122. phaleth https://paste.debian.net/plainh/099c19fc
  123. phaleth another error
  124. phaleth flog#24
  125. blue phaleth: https://dpaste.com/9FH9BL47J
  126. blue 24 is in flight
  127. phaleth I will not be able to access dpaste
  128. phaleth actually I can access that
  129. phaleth ok, that helped, got few of those files to remote without changing state of the task
  130. blue ok. if you need rp helpers for that, tell me. trying to kill git
  131. blue https://repopack.com/project/flog/jobs/1?run=10
  132. blue phaleth: ^
  133. phaleth clanker just barfled more go files
  134. blue yes
  135. blue actually, #24's commit didn't add any new files
  136. phaleth installed 561 packages and 0 workspace links (431 cache hits, 130 downloads)
  137. phaleth fails on build step
  138. blue task?
  139. phaleth sure, will create
  140. phaleth but 431 cache hits sounds cool
  141. blue ya, aiming for the stars here
  142. phaleth flog#25
  143. blue on it
  144. phaleth more go code
  145. blue yes
  146. phaleth it learns to parse pnpm-workspace.yaml, that's nice
  147. phaleth maybe it'll be a drop in replacement for pnpm
  148. blue I intend to remove that, pnpm-workspace.yaml is an abomination
  149. blue it's better to support workspaces inside package.json
  150. blue it's so nice now that rp can reparent tasks
  151. phaleth heh, ok
  152. blue because sometimes you have code dependencies you don't know about from the get-go
  153. blue look at this
  154. blue https://repopack.com/project/repopack/tasks/564
  155. blue 564 started with 593, 594 and 595 all being its direct children
  156. blue but they kind of build on each other, so rp needed to reparent 594 on 593, and 595 on 594
  157. blue this reduces the amount of times you need to solve conflicts
  158. blue #25 is merged, job rebuilding
  159. phaleth yeah, but I'm building pnpm monorepo with flog
  160. blue the primate repo?
  161. phaleth and if it can support that then that means it's usable
  162. phaleth yeah, I'm building old primate repo
  163. phaleth from github
  164. blue ok, fair enough. I get we can leave pnpm support in
  165. blue I guess*
  166. phaleth yeah, absolutely
  167. blue pnpm-workspace.yaml* support
  168. blue but I'm not gonna support foreign lock files like bun.lock
  169. blue flog.lock will be the standard
  170. phaleth clanker just gotta figure out how to fix all the security problems so repos can be made public
  171. blue ya
  172. phaleth why make another lock file?
  173. blue for identity, mostly
  174. phaleth and probably json
  175. blue ya it's json
  176. phaleth you can take a look at nub.lock
  177. phaleth large json is difficult to process
  178. blue what does nub.lock do?
  179. phaleth not sure, but not json
  180. phaleth https://repopack.com/project/primate/code/blob/nub.lock
  181. blue that's ugly
  182. phaleth lol, all of them are ugly
  183. phaleth the thing is to not make yet another standard
  184. phaleth deno.lock, nub.lock, bun.lock, ...
  185. phaleth can you tell how to execute primate with flog?
  186. phaleth [1/2] STEP 12/12: RUN flog primate build --target=node
  187. phaleth flog: error: unknown command "primate"
  188. phaleth it got very far
  189. blue it should be `flog run`, no?
  190. blue or better, `flog x`
  191. phaleth ok, help isn't saying anything about x
  192. phaleth flog: error: unknown command "x"
  193. blue yes, flog x doesn't exist yet :)
  194. phaleth heh
  195. blue because flog isn't a runtime
  196. blue though it should work anyway
  197. blue there's npx, pnpx
  198. phaleth ok, then I ll use npx
  199. blue can you create a task for `flog x`?
  200. blue we wnat to be able to use primate without npm / pnpm / bun
  201. phaleth npx cannot find packages
  202. phaleth ok, sure
  203. blue https://repopack.com/project/flog/tasks/13
  204. blue hype
  205. phaleth https://repopack.com/project/flog/tasks/27
  206. blue thx
  207. blue phaleth: https://flog.repopack.app/
  208. nevet flog — predictable JavaScript package management
  209. blue maybe you can point flog.run at that
  210. blue phaleth: https://repopack.com/project/flog/code/blob/flog.lock?ref=task%2F13-launch-the-self-hosted-flog-run-primate-website
  211. phaleth cool
  212. blue phaleth: flog x is being done
  213. phaleth https://flog.run/
  214. nevet flog — predictable JavaScript package management
  215. blue NICE!
  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

Search posts