<mnutt>
I briefly discussed davros/powerbox/keeweb with jamborjan but I think powerbox file selection is going to be a special cased UI so we're holding off for the time being
<kentonv>
mnutt: why do you imagine file selection would be special-cased?
<mnutt>
I thought I remembered hearing that the file picker would be handled by sandstorm. maybe I'm misremembering?
<kentonv>
I think it would be a standard powerbox interaction. There might be a special option added for "upload" just because it would be a bit silly to spin up a grain for that, but the flow when choosing a file from another app seems like it would be standard
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
neynah has joined #sandstorm
neynah has quit [Client Quit]
<frigginglorious>
is it just me, or is Ghost CMS a little buggy?
<frigginglorious>
Nah, i think its just a little slow on the uptake.
neynah has joined #sandstorm
jadewang has joined #sandstorm
jadewang_ has joined #sandstorm
jadewang has quit [Read error: Connection reset by peer]
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
raoulzecat has quit [Ping timeout: 250 seconds]
asheesh has quit [Ping timeout: 250 seconds]
asmyers has quit [Quit: Leaving]
asmyers has joined #sandstorm
asmyers has quit [Remote host closed the connection]
asheesh has joined #sandstorm
asmyers has joined #sandstorm
asmyers has quit [Remote host closed the connection]
asmyers has joined #sandstorm
<pod>
oh neato! someone is porting owntracks
<pod>
was thinking just last night that it'd be a great thing to have in sandstorm :)
jadewang has quit [Remote host closed the connection]
raoulzecat has joined #sandstorm
<neynah>
:D
NhanH_ has joined #sandstorm
NhanH has quit [Ping timeout: 250 seconds]
synchrone has quit [Ping timeout: 248 seconds]
paroneay` has joined #sandstorm
paroneayea has quit [Remote host closed the connection]
NhanH_ is now known as NhanH
<pod>
does it not need a bunch of background services? I don't know enough about how sandstorm would handle such things
raoulzecat has quit [Ping timeout: 268 seconds]
<asheesh>
pod: Sandstorm starts the grain's processes when it sees an API request that is authorized to reach the app.
<asheesh>
https://docs.sandstorm.io/en/latest/developing/http-apis/ explains how HTTP APIs work on some level; the key thing in this case is that it's OK to stop the app when it's not being used, so long as Sandstorm can detect when someone legitimate is accessing the app.
frigginglorious has quit [Quit: frigginglorious]
<pod>
asheesh: somewhat confused - must all sandstorm apps run only one process?
<pod>
guess I should RFTM and find out! :)
mnutt has joined #sandstorm
<asheesh>
No, but they all have a root process, from the perspective of Sandstorm, that starts the rest of them.
<pod>
ah ok.
<asheesh>
The root (let's call it "launcher" process) is defined in sandstorm-pkgdef.capnp for each app.
frigginglorious has joined #sandstorm
jadewang has joined #sandstorm
<pod>
very very neat indeed. it seems like every time I look closer at sandstorm the better it gets!
<mrdomino>
wow, openproject literally receives incoming emails by scraping an IMAP or POP server via cron
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mrdomino>
okay, i am going to try something new, which is that while i package this rails app i will try not to snark endlessly about rails and instead just package the app
<kentonv>
lol
<mrdomino>
but i would like to note up front that i'm still not entirely psychologically recovered from my stint in rails startup-land
<mrdomino>
so hopefully this'll be good and healing. >_>
<dwrensha>
oh hm... you're probably going to want me to ship my `spk dev` performance improvements
<mrdomino>
i would definitely not complain about that
<mrdomino>
is it foolhardy of me to try and do this via vagrant-spk as opposed to just plain spk?
<mrdomino>
i suppose i've already run into some wackiness wrt using vagrant in a ruby app
<mrdomino>
namely that it seems to be trying to respect Gemfile.plugins or Gemfile.lock (i can't really tell which) from the webapp dir when run from .sandstorm
<dwrensha>
^ a working setup for gitlab in vagrant-spk
<mrdomino>
rad. i guess lobste.rs uses plain spk and gitlab uses vagrant-spk?
<dwrensha>
yeah, I only recently got gitlab working in vagrant-spk
<mrdomino>
huh, is unprivileged-setup.sh an automatic .sandstorm thing?
<dwrensha>
no
<dwrensha>
I put it in a separate file because there was a bunch of stuff I wanted to install as non-root
<mrdomino>
oh i see now
<dwrensha>
called with `sudo -c` from setup.sh
paroneay` has quit [Ping timeout: 250 seconds]
<mrdomino>
anyone tried using memcached on sandstorm yet? openproject seems to want it. dunno whether to invest efforts in getting it into the grain or in getting the app to not use it.
<dwrensha>
I think BrowserQuest uses memcached
<BigShip>
dwrensha: God I hope someone turns that game into a runescape clone.
<mrdomino>
dwrensha: hmm, so i see that you basically use the pattern of "modify app to work with sandstorm in a fork, then use a separate repo to pull in the app plus sandstorm config". that seems worth doing in this case since otherwise vagrant is going to try to use openproject's ruby config. is it documented anywhere, and/or are there any gotchas to watch out for if i just try and copy it?
frigginglorious has quit [Quit: frigginglorious]
<dwrensha>
you might want to try gitsubmodules instead
<dwrensha>
why will vagrant use openproject's ruby config, and why is that a bad thing?
<mrdomino>
my guess is because of the Gemfile.{plugins,lock} in the parent dir
<mrdomino>
and i think it's bad because it conflates host config with app/guest config
<mrdomino>
(it's possible/likely that my mental model is crazy somewhere on this, and i appreciate correction)
<mrdomino>
(tbh i don't know why vagrant is using openproject's bundle setup, i just notice it via errors on gems i don't have on my host)
<mrdomino>
ok, cool. so parent repo contains .sandstorm and global env stuff. child project is ready to run in that env. makefile clones child project, sets up db... then you run vagrant-spk stuff yourself?
<mrdomino>
(frankly i think git submodules are the devil so i probably won't use them)
<dwrensha>
makefile is intended to be run in guest
<dwrensha>
... I see how that could be confusing
<dwrensha>
you're intended to just run `vagrant-spk up` and be good to go
<mrdomino>
ah ok that makes sense
<dwrensha>
(after maybe waiting 20 minutes for everything to install)
<dwrensha>
The main reason I do the fake git submodule thing is that gitlab needs both the main gitlab repo and also the gitlab-shell repo
<mrdomino>
urf, i can almost see how git submodules would be a good fit for this
<mrdomino>
i just have at this point multiple years of instinct of watching git submodules never be a good fit no matter how much it seems like it would
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gkoz has joined #sandstorm
rustyrazorblade has quit [Quit: rustyrazorblade]
<kentonv>
simonv3: How much time would you estimate you spent writing Annotate? (I'm curious because it seems like such a great example of a simple app that does something really useful.)
asmyers has quit [Ping timeout: 248 seconds]
<mrdomino>
i don't suppose there's anyone listening on port 25 inside a sandbox, is there?
<mrdomino>
holy crap, openproject apparently even manages source repositories
<kentonv>
mrdomino: I think Jason wrote an SMTP proxy thing that you can run in the sandbox.
<kentonv>
(Jason = jparyani)
<mrdomino>
cool. is it something i'd pull in as a dependency then?
tdfischer has quit [Ping timeout: 264 seconds]
tdfischer has joined #sandstorm
paroneayea has joined #sandstorm
jadewang has quit [Remote host closed the connection]
<asheesh>
You can do it more imperatively than that at first, but eventually you'll probably want something like that in your .sandstorm/setup.sh
mnutt has joined #sandstorm
raoulzecat has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
rustyrazorblade has joined #sandstorm
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mnutt has joined #sandstorm
jadewang has joined #sandstorm
quickQuestion has joined #sandstorm
<quickQuestion>
Hey guys, I want to install sandstorm on a minimal debian server, and I haven't been able to find any documentation on what packages are required by sandstorm, all iv'e been able to deduce is that the sandstorm install script want's to have the following installed: sudo, curl, bash. Are there any other packages wich I need to install before running
<quickQuestion>
the sandstorm installer script?
<kentonv>
quickQuestion: The installer script will let you know if anything is missing, but I think that is about it!
<quickQuestion>
Thanks kentonv ill try running it now then :-)
<kentonv>
quickQuestion: Oh, it also wants gpg. I think if gpg is not installed, it skips verifying the download, which is probably fine because it's HTTPS, but better to verify if possible. :)
<quickQuestion>
ahh awesome ill check if i got gpg installed aswell