This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-03
Channels
- # aws (1)
- # beginners (5)
- # boot (46)
- # cider (6)
- # cljs-dev (421)
- # cljsrn (74)
- # clojure (77)
- # clojure-greece (1)
- # clojure-italy (7)
- # clojure-russia (12)
- # clojure-serbia (42)
- # clojure-sg (1)
- # clojure-spec (10)
- # clojure-uk (38)
- # clojurescript (40)
- # core-async (14)
- # data-science (1)
- # datomic (18)
- # emacs (2)
- # events (1)
- # garden (4)
- # gorilla (4)
- # graphql (5)
- # hoplon (69)
- # luminus (1)
- # lumo (1)
- # off-topic (31)
- # om (31)
- # om-next (2)
- # overtone (3)
- # pedestal (1)
- # precept (4)
- # re-frame (23)
- # reagent (2)
- # remote-jobs (1)
- # ring-swagger (23)
- # rum (7)
- # spacemacs (7)
- # sql (4)
- # unrepl (9)
- # untangled (5)
- # vim (11)
- # yada (5)
I'm looking for a way (a tool?) to enrich a git repository with binary blobs (e.g.external dependency jars, db seeds). Team members need the blobs to start the dev env, but the files are too large to be committed to git, especially if they change over time. What to do? I'm thinking ...:
- sync files from Google Cloud Storage (or S3)
- config file committed to git only holds pointers to current versions (hashes?)
- it's fine to require developers to run bin/sync-blobs
manually occasionally
- limit tooling complexity. I've had bad experiences with git-lfs and git-annex, but happy to hear about reports to the contrary.
Is there anything fitting this profile out there? Or am I missing any simple solutions?
pesterhazy: maybe dumb question but can you not simply store them in a server of yours and commit a config file with the url of those files? They can be downloaded into a lib/
dir and used onwards.
Or did I miss the point 😆 ?
I can, but for that I need to 1. run a server, 2. configure authentication and 3. write a script to download the right versions
I'm checking if someone has already done this before - seems like a common use case
if you can somehow wrap the db seeds into an maven artifact you can upload them there as well
@jgeraert an interesting idea, but not sure if storing a 100M db dump file in a jar is ideal
but I'll think about it. any suggestion for simple private maven hosting?
>- config file committed to git only holds pointers to current versions (hashes?) vote for this, for it's the simplest possible solution, AFAICS >- it's fine to require developers to run bin/sync-blobs manually occasionally why don't use git hooks instead?
im sure there's a library specifically for managing binary data in git... let me try and find it
>- limit tooling complexity. I've had bad experiences with git-lfs and git-annex, but happy to hear about reports to the contrary.
@pesterhazy you can also create a simple repository on s3
@sundarj like I said I tried it but found it horribly slow (with github's servers) and github's plan is way too expensive
@sundarj that still requires you to keep old versions around (in .git
) essentially forever, no?
@jgeraert http://s3auth.com is very interesting
I guess you have to trust the people behind http://s3auth.com?
hm all very interesting
s3auth seems dangerous (uses HTTP Basic Auth without encryption)