stagasfirst time i'm doing a deploy through Codex, all i had to do is change the nameservers, create the repo, run a script and type my sudo server pass, and it's looking like it's finishing it all, a very complex deploy with lots of remote dependencies
blue922 will likely be solved when we upgrade to primate 0.45, phaleth
stagasblue: does repopack have persistent disk storage, or everything needs to be fetched again?
blueapps do have mounts, stagas
bluewe're mostly using podman/docker in the background, so we're using their mechanisms
bluethe way it works, you create an app with `rp app create`, and then you attach units to them. could be a db, a web server, or anything else, and units may have bind mounts
blueif you type `rp app unit` you'll see the help
stagasmaybe you tell the AI to create a skill so then Codex can do that work for me?
blueyour codex will generally figure it out on its own if it runs `rp bootstrap` in the project directory
stagasnow i am just using Caddy/systemd on a vps
stagasi see
blueyou don't even need a skill. all you need is either to tell your agent to run `rp bootstrap`, or add it to your AGENTS.md
bluewe will add an MCP server and skills to repopack.com, but it's easiest to just have it run rp bootstrap
blueif you want to get started with a project on repopack, all you need is `rp project create`. you can also import projects from other git repos with `rp project import`
bluerepopack doesn't have org/project structure like github. so you just choose a project name, like `textlog`
bluefor apps you deploy, you can choose whatever hostname you like. for production you'd probably take `textlog.repopack.app` and for test maybe `textlog-test.repopack.app`, up to you
blueproject names, and hostnames, are on a first-come, first-serve basis
blueredeploying apps is as simply as running `rp app deploy <app-name>`
blueas simple as*
blue(within the project directory)
bluebut as said. your codex will figure it all on its own. how to create apps, how to deploy them, how to create units and dbs and volumes
stagasand custom domains?
bluethey're not supported yet automatically but phaleth will be happy to configure haproxy to route any custom domain you have to the *.repopack.app app. you will need to add the DNS entries yourself though, once
bluewe will have automated support for them though, just not yet
phalethstagas: I can add a domain if you need, but just let me know what it is upfront before you change the public DNS record to let me type in the configuration to haproxy
phalethwe already figured out how to automated the process
phalethit's just clanker keeps making itself busy with something else all the time
phalethblue: you think I can just update primate then?
stagasit takes a bit to load i haven't put a spinner yet
bluephaleth: update to what?
blueyou mean to .45?
blueI can do it
blueI need to publish a 0.45.2, there's missing capability we need
bluealso yes, I verified, 922 is solved in 0.45
blueI'm updating now, will soon redeploy
bluethis is something I think lioloc already reported but it wasn't backpotred to 0.44
blueupgrading to 0.45 involves two steps. the first one is the pure, the second one is use the ORM transactions that were introduced there. I'll only be doing the first step for now
bluethe pure upgrade*
phalethblue: yeah, i put a note on that task as I ran into another problem after updating locally to 0.45.1
blueoh ok, hold on then
phalethsure, no hurry
blue[ERROR] error in config file /home/user/repopack/repopack/web/config/app.ts: SyntaxError: The requested module '@rcompat/error' does not provide an export named 'CodeError'
bluethis is an rcompat API breakage issue. the code will need to be ported, the export no longer exists
blueinstead, oyu use the default export, and .CodeError. don't worry, I'll fix it as part of the 0.45 port
phalethI guess there are hunderds of places using that call
phalethjust a guess
blueit's possible. the rcompat exports were standardised
bluesome other things changed like @rcompat/fs.create -> .createDirectory
blueclanker is fixing
bluephaleth, regarding 921, I was thinking of pagination instead of infinite scroll
bluewe can start with 20 tasks per page, that'll make things load fast
bluephaleth, dreamreal suggested, and I tend to concur, that a body must be submitted on task creation
bluethoughts?
bluehe also suggested an --editor flag that will bring up your editor, git commit-style, for human uses of rp, which I also tend to concur with
blueso `rp task create --title <title> --editor`
bluewe would have three competing ways, --editor, --file <path> or --text <text>. currently we only have file and text
blueclankers usually use the `--file <path>` flag. they create a task description in /tmp, then refer to it
bluebbiab
phalethinfinite scroll is better for mobile, but of course not easy to implement as the previous elements should be removed at some treshold
phalethmandatory body can be a project preference I guess, I tend to write short descriptions that fit into the title
phalethanyway, there are other problems to solve
phalethas long as the --editor flag uses whatever is git configured to use then I guess that's a good option
blueI can leave the body optional, and add the --editor flag support
bluestagas: I'm in a conundrum. I have 1d 9h left till weekly limit reset, and a full reset. I don't want to "waste it"
blueI think strategically, it's better to hold on to that reset
blueI try only to use full resets if I have 3d or more left until the weekly limit reset
blueotherwise it feels like a waste
stagasxD
bluebut maybe it's wrong thinking, because if you're blocking from working, you're blocked and you cannot do much
blueif you're blocked*
stagasi wasted mine i didn't know how to use it
stagasi thought it will be additive
blueyeah, it isn't. and also it resets your weekly limit. so you start from 7d again
blueI only have 2% left though
stagashow often do these free resets are handed out?
bluebut it is lasting longer since I switched from 5.6 to 6 and 6.1 completely
bluehard to tell. sometimes they come every 3-4 days, sometimes it's only once a week
blueon average I think four times a month
stagasah not bad
blueI got one on Nov 13, Nov 2, and Oct 31
blueyeah it's not bad
blueyou just need to use it cleverly
blueI will never use a reset under 1d, that's a waste
stagasthat's what i did
bluebut again, it's a matter of thinking
stagaswell now i know
bluebecause since the reset resets you back to 7d, maybe it doesn't matter
stagasnext time i have one i will run 10 jobs in parallel of my weekly so that i can use it effectively
bluewith repopack chat coming, I think I will spend my pro 100 too fast. that's the only problem
bluebecause now my main problem is coordination
blueI have four tmux sessions, each running 3 opencode tabs (implementer, reviewer, then security reviewer)
blueevery tmux session is a project. so like repopack, primate, etc.
stagasmy new favorite prompt "aggressively optimize more" for the game i'm doing, it's always finding things, and it's benchmarking so it's always gains 1.2 1.5 2x 3x lol
blueyes that's what I did for flog
blueyou might want to try flog out, it's faster than pnpm
blueit's going to do a lot more than pnpm/npm/yarn. I'm working on `flog format` and `flog lint` to replace eslint/prettier, just much faster
blueoh wow, that's cool stagas, I'm gonna try it out
stagasit prints whatever the llm is doing so you have something to browse and get an idea
stagaswhile waiting
blueI wonder if we can add a nice functionality like that to repopack
bluethat will be very helpful
bluemaybe `rp livediff`?
blueI'll think about it... that is a cool idea
stagasyeah
stagasblue: do you have a business entity in Germany?
stagasi'm asking because i looked up ways to get funding for the game, and you can get up to 200K euro but you have to have a business entity there
stagasthere are plenty of orgs that offer funding but all of them need you to be there
stagasbecause what i'm doing is basically cultural preservation, a virtual tour of Berlin
stagasso it would be eligible
stagasa snapshot of the city before it becomes all skyscrapers and offices
bluestagas: I don't, but if you want, I can help you set it up. Just remember that running a UG or GmbH in Germany is expensive.
bluefor Repopack, I was planning to set up an estonian OA but after doing some research a British Ltd would be cheaper. but that would not qualify for funding
blueGermany also has the concept of Einzelkaufmann - you do business as a private person. That could be an option for you (still eligible for funding, I believe), but you might need to be based here
blueEinzelkaufmann means "single businessperson"
bluelook up what kind of business entity they ask for
stagasmaybe it would be wiser to contact some game studio already established probably
blueif Einzelkaufmann is enough, I would try that, it doesn't require a lot of bureaucracy
stagasso it launches under their umbrella
blueyes but make sure you retain the rights and are compensated properly
bluealso remember berlin has a tld, so you might want to get a nice tld for that. virtual.berlin or so