This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-31
Channels
- # admin-announcements (4)
- # alda (3)
- # aws (1)
- # beginners (2)
- # boot (33)
- # braid-chat (4)
- # braveandtrue (20)
- # cider (52)
- # cljs-dev (13)
- # cljsrn (55)
- # clojure (111)
- # clojure-belgium (4)
- # clojure-brasil (6)
- # clojure-dusseldorf (1)
- # clojure-greece (116)
- # clojure-mexico (1)
- # clojure-nl (3)
- # clojure-russia (56)
- # clojure-spec (72)
- # clojure-uk (13)
- # clojurescript (66)
- # community-development (2)
- # component (24)
- # core-async (1)
- # cursive (19)
- # datomic (27)
- # devcards (5)
- # emacs (1)
- # funcool (34)
- # hoplon (313)
- # jobs (1)
- # lein-figwheel (11)
- # luminus (5)
- # mount (30)
- # off-topic (63)
- # om (375)
- # onyx (67)
- # perun (8)
- # proton (1)
- # reagent (4)
- # rum (1)
- # specter (55)
- # spirituality-ethics (7)
- # test-check (2)
- # untangled (34)
- # yada (20)
Hey guys, I’m having fun with Perun but I did run into a snag with the s3-deploy in that it’s wanting a sync the target/public dir. But in all the examples I’ve seen nothing is writing out to that dir. I’m new to boot and I feel like I’m missing something simple here.
I got it to work but I needed to add the target
task before the sync. What’s odd though is in all other build.boot files this wasn’t done.
@kingoftheknoll: I think you are right about this problem with s3-sync. I made s3-sync
but it has this bug from the inception. I was thinking that it might work as you suggested (adding target
task before sync
) but never tried myself and never updated docs. I think I should do it soon. I’m personally using s3-sync
even with mentioned bug, but you might also checkout https://github.com/confetti-clj/confetti by @martinklepsch
@kingoftheknoll: the sync-bucket
task that's part of confetti can sync your fileset, you may want to modify it beforehand by using sift
— let me know if you have any questions
@podviaznikov: and @martinklepsch thanks! I had seen confetti while working on this, I’ll check it out. I do have one question. Boot has the concept of passing a fileset along the pipeline, do I always need to write to disk before syncing or could I just pipe the fileset value to the sync task. Granted, that might be part of sync-bucket
and sift
but without time right now to look at the source code I thought I’d throw out the question.
@kingoftheknoll: so I think the s3-sync
task by @podviaznikov does sync from target
. In contrast the sync-bucket
task syncs directly from the fileset (by default)
The fileset ultimately is a collection of files spread in a bunch of temporary directories so these files will be uploaded and you don't need to put them all into a single place like target/
before
Nice, I assumed it was possible since boot-http seems to take that approach. I'll jump in tonight and give it a try!