ByteCode.NewsSubmit
Use quotes for an exact word.

Subscribe

RSSPodcast
Log in

Chat Logs

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