Comments (3)
Very odd, there's been some churn to the way umbrella projects work in Elixir as of late, so I'm guessing this is a bug with the way exrm handles umbrellas not having been updated to reflect those changes. I may not get to this tonight yet, but I'll for sure address sometime tomorrow.
Just for extra background, conform is indeed an internal dependency of exrm, and is used solely for handling the .conf file in production. It also generates the .schema.exs and .conf if one is not present, but beyond that it doesn't do anything until the release is booted, at which point it merges config settings it contains over the top of the existing sys.config file for the release. This is so you can expose a friendly config to sysadmins, and make sure that those config values are validated/transformed to something more useful behind the scenes. There is no requirement that you use the .conf (simply remove any content from the .conf and .schema.exs files), but it's there as a useful convenience. I'll likely extract conform back out of exrm in a future release, and make it an optional plugin which you can install, but I haven't worked out how to handle plugins which also require boot script integration. @alco and I had some ideas, primarily around the concept of sourcing in bash scripts which add functionality. There is a great deal of complexity to sort out around that though, since it has the potential to make troubleshooting release issues significantly more complex. All of this is on my list of future improvements though, so if you have ideas/comments/requests, feel free to voice them.
from exrm.
@novabyte This has now been fixed in the latest versions of exrm and conform (0.12.7 and 0.8.3 respectively). I merged your PR for exrm-umbrella-test
and used that to validate that things are working again, so please let me know if you run into any new issues. Thanks for the help!
from exrm.
@bitwalker I'm glad I could help. Next time I'll try to submit the fix for the problem rather than just update the test project that makes it reproduceable. I'm going to test the latest release with my umbrella project and let you know if I encounter any trouble.
from exrm.
Related Issues (20)
- Mix.env/1 being used with string instead of atom when `--env="prod"` passed from script HOT 1
- Generating upgrade fails when attaching git revision to version HOT 1
- "/rel/<projectname>/bin/<projectname> stop" does not work HOT 3
- `mix release` fails with `{unreachable_package, cowlib}` HOT 4
- Error when following Phoenix Walkthrough Documentation
- [Bug?] Not responding to pings HOT 1
- RELX_REPLACE_OS_VARS boot script fails on awk with env vars containing certain characters HOT 3
- Color codes always output
- Release on ubuntu but cannot use in macOS HOT 2
- Can't generate release if config contains values set by an anonymous function HOT 3
- Remote console doesn't seem to have access to all applications in an umbrella app HOT 1
- Running mix release in docker cause MatchError. HOT 1
- Upgrade releases and storage... HOT 1
- deploy: module Experimental.Flow is not available
- mix release fails with 'no case clause matching: :eacces' HOT 8
- Raspbian Jessie with erlang 19 failed to start release HOT 1
- using a different erts version when deploying a release
- Default protocols are not replaced by consolidated in release. HOT 3
- Error while trying to rewrite app file HOT 2
- Mix.Shell.cmd/2 no longer exists, could we get an update to use the new Mix.Shell.cmd/3?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exrm.