Elixir
Elixir Core Team
Elixir v1.17.2 released
1. Bug fixes
Logger
- [Logger.Translator] Fix logger crash when
:gen_statem’sformat_status/2returns non-tuple
Mix
- [mix deps.get] Fix regression when fetching a git repository with a
:ref - [mix release] Validate
RELEASE_MODEand set ERRORLEVEL on.batscripts - [mix release] Fix invalid example in code comment inside the generated vm.args.eex
First Post!
rhcarvalho
I found Fix regression when fetching repo with a ref · elixir-lang/elixir@786f959 · GitHub.
Does anyone have more details on what the problem was with setting both ref and depth?
0
Most Liked
rhcarvalho
I’m sorry it took me some time to understand what the regression was.
Here’s a PR: Bring back support for Git :ref and :depth used together by rhcarvalho · Pull Request #13713 · elixir-lang/elixir · GitHub, I think we can move the conversation there.
Thanks, @josevalim ![]()
2
josevalim
Creator of Elixir
Fetch a :ref was not working at all and, once I addressed the :ref bug, I could not make it work together with :ref. If you can figure it out, a PR is welcome. ![]()
1
rhcarvalho
Short ref (error) and full ref (ok):
root@214431fdf2a5:/app# iex
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Interactive Elixir (1.17.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Mix.install [{:flame, github: "phoenixframework/flame", ref: "4600277"}]
* Getting flame (https://github.com/phoenixframework/flame.git - 4600277)
fatal: couldn't find remote ref 4600277
** (Mix.Error) Command "git --git-dir=.git fetch --force --quiet --progress origin 4600277" failed
(mix 1.17.1) lib/mix.ex:588: Mix.raise/2
(mix 1.17.1) lib/mix/scm/git.ex:136: Mix.SCM.Git.checkout/2
(elixir 1.17.1) lib/file.ex:1665: File.cd!/2
(mix 1.17.1) lib/mix/dep/fetcher.ex:64: Mix.Dep.Fetcher.do_fetch/3
(mix 1.17.1) lib/mix/dep/converger.ex:238: Mix.Dep.Converger.all/9
(mix 1.17.1) lib/mix/dep/converger.ex:170: Mix.Dep.Converger.init_all/8
(mix 1.17.1) lib/mix/dep/converger.ex:110: Mix.Dep.Converger.all/4
iex:1: (file)
iex(1)> Mix.install [{:flame, github: "phoenixframework/flame", ref: "46002774775fa5be947a970d7ff5aeefc0dd6707"}]
* Getting flame (https://github.com/phoenixframework/flame.git - 46002774775fa5be947a970d7ff5aeefc0dd6707)
remote: Enumerating objects: 767, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 767 (delta 206), reused 181 (delta 164), pack-reused 510
...
==> flame
Compiling 13 files (.ex)
Generated flame app
:ok
With full ref and depth:
root@214431fdf2a5:/app# iex
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Interactive Elixir (1.17.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Mix.install [{:flame, github: "phoenixframework/flame", ref: "46002774775fa5be947a970d7ff5aeefc0dd6707", depth: 1}]
* Getting flame (https://github.com/phoenixframework/flame.git - 46002774775fa5be947a970d7ff5aeefc0dd6707)
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 38 (delta 0), reused 17 (delta 0), pack-reused 0
Resolving Hex dependencies...
Resolution completed in 0.053s
...
==> flame
Compiling 13 files (.ex)
Generated flame app
:ok
1
Popular in News
Hello folks,
I am super excited to finally share what I’ve been working on in the last few months: StreamData, an Elixir library for dat...
New
moderators note:
A conclusion by @josevalim has been drawn in Proposal: Private modules (general discussion) - #143 by josevalim
While...
New
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.13.3
1. Enhancements
Mix
[mix format] Supply file and line to formatter ...
New
Note this release includes offline Elixir installers for Windows per supported Erlang/OTP version.
1. Enhancements
Elixir
[Module] Mark...
New
1. Enhancements
Elixir
[Code] Add :emit_warnings for Code.string_to_quoted/2
[File] Add :offset option to File.stream!/2
[Kernel] Auto i...
New
This release includes type inference of patterns to provide warnings for an initial set of constructs (binaries, maps, and atoms). It al...
New
Announcement: Elixir v1.20 released: now a gradually typed language - The Elixir programming language
This release requires Erlang/OTP 2...
New
Other popular topics
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something…
Haskell reminds me of Java, and e...
New
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
New
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar.
I p...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









