Bug 265381 - [NEW PORT] devel/asdf-vm: Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
Summary: [NEW PORT] devel/asdf-vm: Extendable version manager with support for Ruby, N...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dave Cottlehuber
URL: https://asdf-vm.com
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-22 13:51 UTC by Bryan Frimin
Modified: 2026-03-25 15:07 UTC (History)
7 users (show)

See Also:


Attachments
0001-devel-asdf-vm-initial-import.patch (5.46 KB, patch)
2022-07-22 13:51 UTC, Bryan Frimin
no flags Details | Diff
updated asdf port to 0.16.7 (2.10 KB, patch)
2025-05-03 15:39 UTC, Al Hoang
no flags Details | Diff
updated asdf port to 0.16.7 (2.07 KB, patch)
2025-05-08 06:03 UTC, Al Hoang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Frimin 2022-07-22 13:51:35 UTC
Created attachment 235426 [details]
0001-devel-asdf-vm-initial-import.patch

Manage multiple runtime versions with a single CLI tool, extendable via plugins - docs at asdf-vm.com

asdf is a CLI tool that can manage multiple language runtime versions on a per-project basis. It is like gvm, nvm, rbenv & pyenv (and more) all in one! Simply install your language's plugin!
Comment 1 Koichiro Iwao freebsd_committer freebsd_triage 2023-08-07 02:33:22 UTC
I think asdf is better for this package name. 

Because project name is asdf on GitHub, asdf-vm is an organization name.
https://github.com/asdf-vm/asdf
Comment 2 Dave Cottlehuber freebsd_committer freebsd_triage 2024-09-05 23:04:35 UTC
hi Bryan

this patch (thank-you!) just needs you to OK switching the change and it can go in.
apologies for the delay.
Comment 3 Dave Cottlehuber freebsd_committer freebsd_triage 2024-09-05 23:05:14 UTC
sigh, changing the *name* as proposed by meta@ previously to asdf.
Comment 4 Al Hoang 2025-04-30 20:27:20 UTC
I noticed that asdf-vm was rewritten to use Go (From 0.16.0) https://github.com/asdf-vm/asdf/blob/master/CHANGELOG.md#0160-2025-01-30 however what is submitted looks like it is 0.10.2. I think the last bash version was in the 0.15.x line. 

Would it better to bump to the Go version or is there cases where keeping the bash version around would make more sense?
Comment 5 Al Hoang 2025-05-03 15:39:25 UTC
Created attachment 260120 [details]
updated asdf port to 0.16.7

i have attached a suggested update that uses the latest asdf release (0.16.7) that builds from the go port. if there is a preferred way to keep the original port submitted for attribution, i will be happy to update the patch to reflect that
Comment 6 Al Hoang 2025-05-03 15:40:40 UTC
i meant keep the original port author attributed rather than just the original port attributed. pardon for the confusion.
Comment 7 Paul Ivanov 2025-05-08 04:30:08 UTC
@Al Hoang, the new 0.16.7 patch needs some fixes, it currently refers to treetop, a different port.

```
7	COMMENT=	Treetop is a fast, animated disk summarizer
8	WWW=		https://github.com/eigenhombre/treetop
```
Comment 8 Al Hoang 2025-05-08 06:03:16 UTC
Created attachment 260254 [details]
updated asdf port to 0.16.7

updates to 0.16.7 and fixes COMMENT and WWW
Comment 9 Al Hoang 2025-05-08 06:06:47 UTC
(In reply to Paul Ivanov from comment #7)

thank you for catching that fat finger typo. i have updated the port patch to refer to the proper software package.
Comment 10 commit-hook freebsd_committer freebsd_triage 2026-03-25 14:45:11 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1d3c827fd029f7fd0e055a1944ccf011b294056c

commit 1d3c827fd029f7fd0e055a1944ccf011b294056c
Author:     Torsten Zuehlsdorff <tz@FreeBSD.org>
AuthorDate: 2026-03-23 20:12:29 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2026-03-25 14:43:00 +0000

    devel/asdf: new port, extendable version manager

    Supports managing multiple runtime versions (Ruby, Node.js, Elixir,
    Erlang and more) via a single CLI tool.

    PR:             265381

 devel/asdf/Makefile (new)  | 22 ++++++++++++++++++++++
 devel/asdf/distinfo (new)  |  5 +++++
 devel/asdf/pkg-descr (new) |  3 +++
 3 files changed, 30 insertions(+)