# Thoughts on releasing Gramps via WinGet?

**URL:** <https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709>\
**Category:** Development\
**Created:** [July 6, 2024, 2:03am UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709 "2024-07-06T02:03:59Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![awg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/awg/32/4781_2.png) [@awg](https://gramps.discourse.group/u/awg)\
**Post date:** [July 6, 2024, 2:03am UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/1 "2024-07-06T02:03:59Z")

</div>

Hi folks,

I see that Gramps for Windows is available via Chocolatey. How difficult would it be to add to the release pipeline a step to [push a manifest to winget](https://github.com/microsoft/winget-pkgs/blob/master/doc/README.md) as well?

I looked around for where the Chocolatey release happens, I didn’t see it in [GitHub workflows](https://github.com/gramps-project/gramps/tree/master/.github/workflows).

---

<div class="post-metadata">

**Author:** ![Patsyblefebre](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/patsyblefebre/32/1315_2.png) [@Patsyblefebre](https://gramps.discourse.group/u/Patsyblefebre)\
**Post date:** [July 6, 2024, 3:13am UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/2 "2024-07-06T03:13:06Z")

</div>

> How difficult would it be to add to the release pipeline

If somebody provides the integration then I believe it would be welcomed as every thing here is supplied by volunteers.

> winget

The **Windows Package Manager** (also known as **winget** ) is a free and open-source package manager designed by Microsoft for Windows 10 and Windows 11. It consists of a command-line utility and a set of services for installing applications. Independent software vendors can use it as a distribution channel for their software packages. (From Wikipedia, the free encyclopedia)

> [@awg](#):
>
> I looked around for where the Chocolatey release happens, I didn’t see it in [GitHub workflows](https://github.com/gramps-project/gramps/tree/master/.github/workflows).

The Chocolatey release is provided by the volunteer Package Maintainer [![gravatar](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/9/956217f16a1eefec8ff8757ae4ad1c3aaa3f2e72.png "tunisiano") tunisiano ](https://community.chocolatey.org/profiles/tunisiano) on the Chocolatey website, don’t believe they have ever interacted with this project.

---

<div class="post-metadata">

**Author:** ![trlvn](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/trlvn/32/1148_2.png) [@trlvn](https://gramps.discourse.group/u/trlvn)\
**Post date:** [July 6, 2024, 2:21pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/3 "2024-07-06T14:21:03Z")

</div>

Isn’t Gramps already available? From the briefest of looks, it appears that this formula downloads and installs GrampsAIO-5.2.1-1\_win64.exe from -

[https://github.com/gramps-project/gramps/releases/download/v5.2.1/GrampsAIO-5.2.1-1\_win64.exe](https://github.com/gramps-project/gramps/releases/download/v5.2.1/GrampsAIO-5.2.1-1_win64.exe)

The latest changes, 4 months ago, were by a user Okeanos.

Craig

---

<div class="post-metadata">

**Author:** ![daleathan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/daleathan/32/1701_2.png) [@daleathan](https://gramps.discourse.group/u/daleathan)\
**Post date:** [July 6, 2024, 9:59pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/4 "2024-07-06T21:59:32Z")

</div>

> [@trlvn](#):
>
> Isn’t Gramps already available?

Yes looks like it , haven’t tried to install but the actual winget page ( [https://winget.run/pkg/Gramps/Gramp](https://winget.run/pkg/Gramps/Gramps)s ) only list Gramps 5.1.5 and an open [waiting for review pr](https://github.com/microsoft/winget-pkgs/pull/161724) for Gramps 5.2.2 !

[Edit: A further look around shows that as Craig mentioned above user [Okeanos ( Nikolas Grottendieck )](https://github.com/Okeanos) submitted the last release Gramps 5.2.1 shown here [https://github.com/microsoft/winget-pkgs/tree/master/manifests/g/Gramps/Gramps](https://github.com/microsoft/winget-pkgs/tree/master/manifests/g/Gramps/Gramps) the page above that shows Gramps 5.1.5 is outdated! ]

Raised a Gramps feature request to track this see [13351 Make Gramps avaiable via [Windows Package Manager] (also known as winget) from Microsoft.](https://gramps-project.org/bugs/view.php?id=13351)

---

<div class="post-metadata">

**Author:** ![awg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/awg/32/4781_2.png) [@awg](https://gramps.discourse.group/u/awg)\
**Post date:** [July 7, 2024, 1:05am UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/5 "2024-07-07T01:05:33Z")

</div>

Thanks for the quick replies here!

@Patsyblefebre , what do you mean by “provides the integration”? I had thought the Chocolatey publishing workflow was integrated into Gramps releases somehow, but as you mention, maybe not.

@daleathan , thanks for filing the feature request. The open PR for including Gramps 5.2.2 is mine 🙂  
After manually submitting that, I wanted to see if we can automate it as part of the GrampsAIO Windows build/release process, but I am not clear on how that works. I can’t fully tell if the .exe binary hosted on GitHub (the URL used in winget, for each GitHub release) is built by [this workflow](https://github.com/gramps-project/gramps/blob/master/.github/workflows/windows-aio.yml). If so, I was thinking another step or sequential workflow there could open the PR for winget.

Any pointers are welcome. Or I can wait for the feature request to get processed, I’m not familiar with how that works yet either.

---

<div class="post-metadata">

**Author:** ![trlvn](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/trlvn/32/1148_2.png) [@trlvn](https://gramps.discourse.group/u/trlvn)\
**Post date:** [July 7, 2024, 12:41pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/6 "2024-07-07T12:41:22Z")

</div>

There are lots of repositories out there[1]; what makes winget stand out? I contribute a bit to the MacPorts project which does sort of the same thing as winget but on the Macintosh platform. On MacPorts, each software package (“port”) has a volunteer maintainer who normally watches for updates. When they decide to, they’ll test and prepare an update which is then committed to the MacPorts repository. If users of MacPorts want new packages or updates to existing ones, there is a system to submit a request or report a bug, etc.

For Gramps users on Windows, the Gramps project makes an all-in-one (GUI) installer that can be downloaded with minimal effort. AIUI, winget provides a command-line interface to install or upgrade packages. So winget would mostly appeal to people that are comfortable with the [command line](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Command_Line) and especially if they are managing several packages via winget. (Pretty much the same as MacPorts.) As such, the majority of Windows users aren’t likely to use winget. In consequence, the Gramps project doesn’t have a big motivation to commit time and resources to specifically support winget.

Just saying that if you want winget to carry an up-to-date Gramps, it is probably best to contact the winget project team.

Craig

[1] There are at least 25 repositories carrying Gramps:

> **[gramps packages - Repology](https://repology.org/project/gramps/packages)**
>
> Information on all packages for project gramps

(The winget repository isn’t listed on Repology so that would make 26.)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 7, 2024, 1:39pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/7 "2024-07-07T13:39:05Z")

</div>

Could a bookend 32-bit Windows release be created with WinGet?

It is awkward that the discontinuation 32-bit support in the MSYS2 packaging tool meant that support stopped with the 5.1.5 version of Gramps instead of the final 5.1.6 version. Having a 5.1.6 version for all platforms in the Previous Releases would simplify future support.

5.1.x will be the final version where full (read _ **and** _ _write_) support for SQLite and BSDDB exists. This creates another stumbling point for legacy database recovery.

 

| Year | [App Version](https://gramps-project.org/wiki/index.php/Previous_releases_of_Gramps) | [XML schema](https://gramps-project.org/wiki/index.php/Gramps_XML) | Database schema | |
| --- | --- | --- | --- | --- |
| 2006 | Gramps [2.0.10](https://github.com/gramps-project/gramps/releases/tag/v2.0.10) | 0.0.0 to 1.0.0 | BSDDB 1 to 8 | |
| 2008 | Gramps [2.2.10](https://github.com/gramps-project/gramps/releases/tag/v2.2.10) | 0.0.0 to 1.1.4 | BSDDB 5 to 12 | |
| 2008 | Gramps [3.0.4](https://github.com/gramps-project/gramps/releases/tag/v3.0.4) | 1.1.0 to 1.2.0 | BSDDB 9 to 14 | |
| 2023 | Gramps [5.1.5](https://github.com/gramps-project/gramps/releases/tag/v5.1.5) | 1.0.0 to 1.7.1 | SQLite 19 to 19 / BSDDB 13 to 19 | Last Win32-bit |
| 2023 | Gramps [5.1.6](https://github.com/gramps-project/gramps/releases/tag/v5.1.6) | 1.0.0 to 1.7.1 | SQLite 19 to 19 / BSDDB 13 to 19 | |
| 2024 | Gramps [5.2.0](https://github.com/gramps-project/gramps/releases/tag/v5.2.0) | 1.0.0 to _1.7.1_ | SQLite 19 to _20_ (BSDDB 13 to 19 read only) | |
| | | | | |

---

<div class="post-metadata">

**Author:** ![Mihle](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/mihle/32/612_2.png) [@Mihle](https://gramps.discourse.group/u/Mihle)\
**Post date:** [July 7, 2024, 11:10pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/8 "2024-07-07T23:10:40Z")

</div>

> [@trlvn](#):
>
> what makes winget stand out?

It built in to windows by standard now in later versions. No need to install it, just open terminal/power shell and write winget install whatever.

I personally just download the AIO. But different stuff for different folks.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 7, 2024, 11:15pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/9 "2024-07-07T23:15:39Z")

</div>

> [@emyoulation](#):
>
> Could a bookend 32-bit Windows release be created with WinGet?

No. Because WinGet did not exist in those old versions of Windows.

> Windows Package Manager (winget) was first announced at the Microsoft Build developer conference in May 2020  
> The initial release of winget was on May 13, 2020
> 
> Winget is designed for Windows 10 and Windows 11 operating systems
> 
> While winget was introduced in 2020, its inclusion in Windows as a built-in tool has been gradual. It’s not tied to a specific Windows version or release date, as its availability can depend on updates and whether the App Installer package is present on the system.

---

<div class="post-metadata">

**Author:** ![awg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/awg/32/4781_2.png) [@awg](https://gramps.discourse.group/u/awg)\
**Post date:** [July 8, 2024, 2:43am UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/10 "2024-07-08T02:43:13Z")

</div>

> [@trlvn](#):
>
> what makes winget stand out?

@Mihle addressed this as well, my main thought was that it is a Windows package manager directly supported by Microsoft.

> [@trlvn](#):
>
> AIUI, winget provides a command-line interface to install or upgrade packages. So winget would mostly appeal to people that are comfortable with the [command line](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Command_Line) and especially if they are managing several packages via winget. (Pretty much the same as MacPorts.) As such, the majority of Windows users aren’t likely to use winget. In consequence, the Gramps project doesn’t have a big motivation to commit time and resources to specifically support winget.

This is a good point about the Gramps project not having a big motivation to support a comman-line-centric package manager.

Given the discussion about Chocolatey earlier, and the reference to [Repology for Gramps](https://repology.org/project/gramps/packages), is there any Gramps documentation that indicates which release channels are connected to the “main” release process? Or is it none of them, and all 25 package manager listings are community maintained?

> [@trlvn](#):
>
> Just saying that if you want winget to carry an up-to-date Gramps, it is probably best to contact the winget project team.

Package updates for winget are mostly community-managed, not managed centrally by Microsoft, hence the origin of this discussion to see if it can be automated within the existing Windows AIO release process.

---

<div class="post-metadata">

**Author:** ![trlvn](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/trlvn/32/1148_2.png) [@trlvn](https://gramps.discourse.group/u/trlvn)\
**Post date:** [July 8, 2024, 12:46pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/11 "2024-07-08T12:46:08Z")

</div>

> [@awg](#):
>
> This is a good point about the Gramps project not having a big motivation to support a comman-line-centric package manager.

No, that was not my point. If winget somehow became the dominant way that Gramps users on Windows obtained their software then it would make sense for the Gramps project to directly support that release path. Right now, and for the forseeable future, it seems to me that most Windows users are simply going to download the installer that the Gramps team already prepares and offers. For many users, winget just introduces another layer of complexity between them and what they want to do. The same applies to MacPorts. A package management system pays off when managing multiple software packages…so it appeals to a subset of users. Which is (still) fine.

Craig

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [July 8, 2024, 1:11pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/12 "2024-07-08T13:11:18Z")

</div>

> [@awg](#):
>
> Given the discussion about Chocolatey earlier, and the reference to [Repology for Gramps](https://repology.org/project/gramps/packages), is there any Gramps documentation that indicates which release channels are connected to the “main” release process? Or is it none of them, and all 25 package manager listings are community maintained?

All packages are community maintained. We only support the source distribution.

> [@Patsyblefebre](#):
>
> If somebody provides the integration then I believe it would be welcomed as every thing here is supplied by volunteers.

Yes. In the case of the Windows AIO and Debian package a GitHub action was provided by a volunteer.

We accept contributions from packagers if they would like to automate the packaging process. This may involve adding configuration files to Gramps, creating a GitHub action or uploading release assets.

---

<div class="post-metadata">

**Author:** ![awg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/awg/32/4781_2.png) [@awg](https://gramps.discourse.group/u/awg)\
**Post date:** [July 15, 2024, 11:06pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/13 "2024-07-15T23:06:40Z")

</div>

Got it, thanks for clarifying!

---

<div class="post-metadata">

**Author:** ![awg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/awg/32/4781_2.png) [@awg](https://gramps.discourse.group/u/awg)\
**Post date:** [July 15, 2024, 11:13pm UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/14 "2024-07-15T23:13:04Z")

</div>

> [@Nick-Hall](#):
>
> All packages are community maintained. We only support the source distribution.

> [@Nick-Hall](#):
>
> We accept contributions from packagers if they would like to automate the packaging process. This may involve adding configuration files to Gramps, creating a GitHub action or uploading release assets.

Thanks for this context, @Nick-Hall , very helpful!

I’ll take a look at the GitHub workflows to see if it is possible to automate the winget package process, maybe others could be automated as well.

---

<div class="post-metadata">

**Author:** ![awg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/awg/32/4781_2.png) [@awg](https://gramps.discourse.group/u/awg)\
**Post date:** [July 30, 2024, 2:49am UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/15 "2024-07-30T02:49:16Z")

</div>

I did some research on the GitHub workflows, looks like this action is fairly popular: [WinGet Releaser · Actions · GitHub Marketplace · GitHub](https://github.com/marketplace/actions/winget-releaser)

Though, I believe it requires forking `github.com/microsoft/winget-pkgs` within `github.com/gramps-project` and having a repository owner (or delegate) configure an access token for the GitHub API as a secret value in the `github.com/gramps-project/gramps` repo.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [August 29, 2024, 2:49am UTC](https://gramps.discourse.group/t/thoughts-on-releasing-gramps-via-winget/5709/16 "2024-08-29T02:49:19Z")

</div>

Closed on August 29, 2024, 2:49am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
