GitHub user janl opened a pull request:
https://github.com/apache/couchdb-couch-log/pull/1
Make git clone base URL configurable to enable full offline builds.
This is a first stab. I tried using Rebar's deps_dir as per
https://github.com/rebar/rebar/wiki/Dynamic-configuration
but I couldn't get it to recognise paths vs. URLs. Still
there might be a better way.
The eventual goal would be to have a full mirror of all repos
locally and being able to set the dep src for all CouchDB
dependencies via an environment variable. It is simple
enough for the main couchdb repo, but some modules, like
couch_log here define their own dependencies and they should
pick up the local dep src as well.
So yeah, weaving my hands a little, but wanted to throw this
into the ring for discussion. Let me know what you think and
how this can be done better :)
Thanks!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb-couch-log offline-builds
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-log/pull/1.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1
----
commit 44b69cfaad1ea29b3b02aa5852accded532447b2
Author: Jan Lehnardt <[email protected]>
Date: 2014-10-12T18:01:26Z
Make git clone base URL configurable to enable full offline builds.
This is a first stab. I tried using Rebar's deps_dir as per
https://github.com/rebar/rebar/wiki/Dynamic-configuration
but I couldn't get it to recognise paths vs. URLs. Still
there might be a better way.
The eventual goal would be to have a full mirror of all repos
locally and being able to set the dep src for all CouchDB
dependencies via an environment variable. It is simple
enough for the main couchdb repo, but some modules, like
couch_log here define their own dependencies and they should
pick up the local dep src as well.
So yeah, weaving my hands a little, but wanted to throw this
into the ring for discussion. Let me know what you think and
how this can be done better :)
Thanks!
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---