Comments (4)
Yeah, I also first thought it could be handled by Elixir itself:
elixir-lang/elixir#5232
I think the best way to handle is to change the app name of this uuid to something more unique. (elixir_uuid)? Looks like the only way to resolve it. However it breaks backwards compatibility.
from elixir-uuid.
Then make it a major version bump. Or rerelease as :ex_uuid
and deprecate the old :uuid
package.
This bug is open for ~18 months now. There have been 3 or 4 PATCH-releases since then.
None of this has mentioned the problem.
Questions because of this name clash occur on a regular base on the elixirforum. Often the only solution is to drop some dependencies and replace them by other ones which do not rely on one of the both UUID implementations (or their forks).
In my opinion the rename is less painfull in the long term then making your users angry because of breaking dep-trees.
from elixir-uuid.
I've run into this myself as well, also colliding with https://github.com/okeuday/uuid. Elixir has no way to handle duplicate app names.
Any thoughts on how to handle this?
from elixir-uuid.
Tagged and released as elixir_uuid
with version 1.2.0
.
from elixir-uuid.
Related Issues (20)
- Offer safe functions that return error tuples on failure instead of raising an exception HOT 3
- UUID.uuid1 fails on docker for mac beta
- Warnings with Erlang 19.0 HOT 2
- uuid1 issue on osx ? HOT 13
- Why doesn't UUID version 5 give expected results? HOT 3
- UUID.valid?/2 HOT 1
- Instructions in the README don't show change in version and package-name HOT 1
- could not find an app file at "_build/prod/lib/uuid/ebin/uuid.app" HOT 5
- function UUID.uuid4/0 is undefined (module UUID is not available) HOT 3
- string_to_slug and vice versa
- could not find an app file at "_build/dev/lib/uuid/ebin/uuid.app". HOT 1
- uuid1/0 is slow because it gets the MAC address every time HOT 10
- UUID.info parses invalid uuid as valid HOT 1
- V6 UUID HOT 2
- New releases not available on hex.pm HOT 3
- What is this state of this project? HOT 11
- Add a note about the rename in the 1.1 documentation HOT 2
- Non-unique values for UUID.uuid4/0 HOT 2
- Crypto warning when compiling HOT 2
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 elixir-uuid.