Comments (10)
Do you have the rebar version that Mix installs, otherwise which version do you have? When rebar compiles the project it should generate a poolboy.app file with the correct version from the poolboy.app.src file.
from poolboy.
Yes, I believe that's the version I have (the one mix uses). I'm on Windows, maybe rebar doesn't work with Windows to correctly build the app with the version file?
from poolboy.
This is a poolboy bug. Rebar (Erlang build tool) allows users to inject custom code in their application files and poolboy is using this feature to read the VERSION from the filesystem using specific OS commands. It works on Linux but it is going to fail on Windows.
from poolboy.
The solution here is basically to stop using echo cat VERSION
. @devinus, what do you propose? It is super important to get poolboy to nicely work on Windows.
from poolboy.
I guess we're just going to have to hardcode the version for now?
from poolboy.
Yes. Which places use the version? Are they many?
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Lead Developer
from poolboy.
Just the .app.src
. Unfortunately, my laptop got stolen on Friday and the earliest I can release the next version is on Monday.
from poolboy.
Ouch, sorry to hear. No problem at all, thanks for looking into this!
from poolboy.
ooh, that's unfortunate. Thanks for looking at the problem.
from poolboy.
why not just use {version, git}
? rebar will automatically substitute it with the output of git describe --always --tags
from poolboy.
Related Issues (20)
- Allow poolboy to manage supervisors
- Can you update the version in hex.pm? HOT 6
- pool size question HOT 2
- Failure to start worker crashes pool HOT 8
- Question: Is it possible to use an alternative process registry for worker processes?
- Improvements to Project's README Introduction
- No Labels for Issues
- Contributing Doc or Information
- Issues for readme.md HOT 3
- Improving the performance of Poolboy up 2 to 3 times HOT 2
- No error message when process is crashed
- WorkerArgs specs are too narrow HOT 1
- exception exit: timeout in gen_server:call HOT 1
- please Publishing a new package to hex.pm for fifo performance
- All connections timeout when doing high enough number of concurrent transactions HOT 1
- Where is the `lifo` strategy? HOT 2
- erlang:get_stacktrace/0 removed from Erlang 24 HOT 1
- hexdocs are down HOT 1
- Proper handling of exceptions in workers
- Is it possible to make the example on the `README.md` more obvious? HOT 1
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 poolboy.