Skip to content

Conversation

@zeroshade
Copy link
Member

closes #262

@zeroshade zeroshade changed the title Install-local-pkg feat(install): allow install from local package Jan 21, 2026
}

func (m progressiveInstallModel) Init() tea.Cmd {
if strings.HasSuffix(m.Driver, ".tar.gz") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also allow .tgz? Though it looks like CI only uses .tar.gz

Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It installed the package to /home/lidavidm/.config/adbc/drivers/drivername_linux_amd64_v0.1.0.toml which isn't what I'd expect, is it possible to get the 'right' name from the package itself? I guess the info isn't there...

@zeroshade
Copy link
Member Author

Yea, I don't think the info is there, the only option I have is to use the base name of the file. Otherwise we'd need to enforce the name of the package for us to parse it out?

I guess I could just check if the filename matches that pattern?

@lidavidm
Copy link
Member

I think it should at least reject the package or maybe ask you to specify a name since the name as-is isn't usable by the driver manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Idea: dbc install from local archive

3 participants