You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a follow-on to columnar-tech/dbc-internal#8, we will want to distribute dbc on a broader set of distribution channels than just PyPi. Things like Homebrew, manually-installable deb packages, etc.
For ~0.1, this can be just:
Homebrew (as a Cask)
For beyond, we should consider having more channels, in particular supporting at least one system package manager on each major OS:
Re-opening since this issue since we want to eventually add even more distribution channels, just not right this second. I'll update the original issue with a bit of context.
I created a PR to winget-pkgs using komac (microsoft/winget-pkgs#306279).
Please check the contents if you are interested.
Note that, winget doesn't currently have a concept of pre-releases, and there's nothing to prevent you from updating from 1.0.0 to 1.1.0-alpha, so I'm not sure if it's a good idea to register a beta version in general.
However, since there is no stable version for dbc at the moment, I created a PR just to try it out.
If you feel my PR is inappropriate, please let me know and I will close it (I know that go-releaser has the feature for winget release, but the initial package registration is important as it involves deciding the package name etc. and is likely to fail, so I decided to open it anyway).
@zeroshade Please take a look. We will need to make sure this is incorporated into our dbc release process. Can opening PRs in microsoft/winget-pkgs be fully automated? If not we will need to have a checklist.
Creating a PR for winget-pkgs must be done from a GitHub account, which can be a hassle as it requires linking to someone's personal account or a bot.
Personally, I think a checklist might be better for now than automating it.
Once we install komac and set up a GitHub token, creating a PR is pretty easy (I could do that for a while).
I left a few small suggestions.
Thanks, I've committed, so I'll see if it works out🤞
Thanks for the winget PR @eitsupi. My main concern was that users can install it with winget install dbc without having to qualify as winget install Columnar.dbc and it looks like you set it up perfectly (including the moniker in the locale file).
I was thinking it would be better to send the release after #168 is merged, but microsoft/winget-pkgs#306279 also passed the automated checks, so it looks like it might be merged by the moderators soon.
(The winget-pkgs verification process is quite mysterious, as I have no access to any useful logs and the checks sometimes suddenly succeed after several retries...)
If it is merged, I'll try sending 0.1.0 next.
From the second release onwards, it will be easy as we just need to specify the installer URL (with komac).
Thanks for the update @eitsupi, the winget CI process is very mysterious indeed. The logs don't show anything as far as I can tell? I'll be curious to see how sending 0.1.0 goes.
Before releasing a release with #168, I should see if I can find some good guidance on whether providing only a user-level install is best. We may want to revert #168.
Also, since winget supports standalone binary packages, it's possible to register the exe file instead of the MSI installer.
Since users may not have administrator privileges, it might be necessary to register the .exe file if the MSI package does not allow user-level installation.
It's truly a mystery why the automated checks keep repeating endlessly.
I recently saw that the DuckDB CLI 1.4.1 went through automated checks for several days before suddenly passing and being merged (microsoft/winget-pkgs#304080).
Before releasing a release with #168, I should see if I can find some good guidance on whether providing only a user-level install is best. We may want to revert #168.
Thanks for doing the work for winget @eitsupi. I updated the list in the OP to show this is done. I also tested on my Windows machine which already had dbc beta installed and everything seems to work nicely. The existing uninstall ran and the new installer ran.
Activity
amoeba commentedon Jul 15, 2025
https://goreleaser.com might be really useful for this (found via https://github.com/planetscale/cli which seems like a good place to draw other inspiration from)
ianmcook commentedon Jul 16, 2025
Let me know if we need a GoReleaser Pro license. Looks like it would be $22/month https://goreleaser.com/pro/
zeroshade commentedon Oct 21, 2025
Homebrew installation now supported!
amoeba commentedon Oct 22, 2025
Re-opening since this issue since we want to eventually add even more distribution channels, just not right this second. I'll update the original issue with a bit of context.
eitsupi commentedon Oct 23, 2025
I created a PR to winget-pkgs using komac (microsoft/winget-pkgs#306279).
Please check the contents if you are interested.
Note that, winget doesn't currently have a concept of pre-releases, and there's nothing to prevent you from updating from
1.0.0to1.1.0-alpha, so I'm not sure if it's a good idea to register a beta version in general.However, since there is no stable version for dbc at the moment, I created a PR just to try it out.
If you feel my PR is inappropriate, please let me know and I will close it (I know that go-releaser has the feature for winget release, but the initial package registration is important as it involves deciding the package name etc. and is likely to fail, so I decided to open it anyway).
amoeba commentedon Oct 24, 2025
Thanks @eitsupi, that's super helpful.
eitsupi commentedon Oct 25, 2025
@amoeba @ianmcook Could you please take a look at the package name etc?
https://github.com/microsoft/winget-pkgs/pull/306279/files
(Of course, we can change the package name and other things later, so there's no rush.)
At the moment it is not ready to be merged due to an automatic validation failure, but if it goes well, would it be okay to proceed as is?
ianmcook commentedon Oct 25, 2025
@eitsupi Thanks! I left a few small suggestions.
@zeroshade Please take a look. We will need to make sure this is incorporated into our dbc release process. Can opening PRs in microsoft/winget-pkgs be fully automated? If not we will need to have a checklist.
eitsupi commentedon Oct 25, 2025
go-releaser has support for winget, and for example, as far as I know, go-task used this feature to automate PR creation to winget-pkgs for a while (looking at it now, that doesn't success recently).
https://github.com/go-task/task/blob/88101613c836782220a9d326e3b35d27739adad9/.goreleaser.yml#L100-L138
microsoft/winget-pkgs#263987 (https://github.com/microsoft/winget-pkgs/blob/20a8bd8af8165fb675242a1bc178214e3bc8e536/manifests/t/Task/Task/3.44.0/Task.Task.yaml#L1)
Creating a PR for winget-pkgs must be done from a GitHub account, which can be a hassle as it requires linking to someone's personal account or a bot.
Personally, I think a checklist might be better for now than automating it.
Once we install komac and set up a GitHub token, creating a PR is pretty easy (I could do that for a while).
Thanks, I've committed, so I'll see if it works out🤞
ianmcook commentedon Oct 25, 2025
#160
amoeba commentedon Oct 27, 2025
Thanks for the winget PR @eitsupi. My main concern was that users can install it with
winget install dbcwithout having to qualify aswinget install Columnar.dbcand it looks like you set it up perfectly (including the moniker in the locale file).eitsupi commentedon Oct 29, 2025
I was thinking it would be better to send the release after #168 is merged, but microsoft/winget-pkgs#306279 also passed the automated checks, so it looks like it might be merged by the moderators soon.
(The winget-pkgs verification process is quite mysterious, as I have no access to any useful logs and the checks sometimes suddenly succeed after several retries...)
If it is merged, I'll try sending 0.1.0 next.
From the second release onwards, it will be easy as we just need to specify the installer URL (with komac).
amoeba commentedon Oct 29, 2025
Thanks for the update @eitsupi, the winget CI process is very mysterious indeed. The logs don't show anything as far as I can tell? I'll be curious to see how sending 0.1.0 goes.
Before releasing a release with #168, I should see if I can find some good guidance on whether providing only a user-level install is best. We may want to revert #168.
eitsupi commentedon Oct 30, 2025
Also, since winget supports standalone binary packages, it's possible to register the exe file instead of the MSI installer.
Since users may not have administrator privileges, it might be necessary to register the .exe file if the MSI package does not allow user-level installation.
It's truly a mystery why the automated checks keep repeating endlessly.
I recently saw that the DuckDB CLI 1.4.1 went through automated checks for several days before suddenly passing and being merged (microsoft/winget-pkgs#304080).
amoeba commentedon Oct 30, 2025
Good to know we can just package an EXE. Thanks for working on this @eitsupi!
eitsupi commentedon Nov 1, 2025
winget install dbcworks for now!Next, I will also submit a PR to register 0.1.0 (it will take a few more days).
Edit: Done (microsoft/winget-pkgs#309007) (by
komac update --version 0.1.0 --urls https://github.com/columnar-tech/dbc/releases/download/v0.1.0/dbc-0.1.0-x64.msi -- Columnar.dbc)eitsupi commentedon Nov 2, 2025
eitsupi commentedon Nov 3, 2025
@amoeba
I found microsoft/winget-pkgs#223503 (comment).
They say:
Conversely, I can imagine that an installer with only user scope would make sense.
eitsupi commentedon Nov 4, 2025
winget upgrade dbc(0.0.1-beta3 -> 0.1.0) also works now.ianmcook commentedon Nov 5, 2025
#188 adds the WinGet installation option to the dbc docs.
amoeba commentedon Nov 10, 2025
Thanks for doing the work for winget @eitsupi. I updated the list in the OP to show this is done. I also tested on my Windows machine which already had dbc beta installed and everything seems to work nicely. The existing uninstall ran and the new installer ran.
docs: add notes about installing via winget (#317)
docs: add notes about installing via winget (#317)