Skip to content

Start transitioning to Git for Windows' new Pacman repository #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dscho
Copy link
Member

@dscho dscho commented Feb 17, 2025

To disentangle Git for Windows' Pacman repository from my personal Azure account a bit, I started transitioning it to https://github.com/git-for-windows/pacman-repo.

In git-for-windows/build-extra#595, I prepare pacman-helper.sh (which is Git for Windows' work horse for Pacman package deployments) to dual-deploy both to the old and to the new Pacman repository. Naturally, this needs the appropriate GitHub token to work. So here is the PR to adjust the two remaining call sites in Git for Windows' automation to provide said token.

The step that writes out the token required to upload to the Azure Blob
container is unneeded; The `pacman-helper.sh` script accepts it as an
environment variable (using a lower-cased name), too.

The `release-git` workflow already does it that way, and so can the
`build-and-deploy` workflow.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In git-for-windows/build-extra#595, I started
the official transition of Git for Windows' Pacman repository away from
an Azure Blob container in my personal account to
https://github.com/git-for-windows/pacman-repo.

For the transition period, this still requires the token to upload to
the Azure Blob container, but it also already requires the token to push
to `pacman-repo` and to create GitHub releases there.

The two users of `pacman-helper.sh quick_add` that now need this token
are hereby adapted accordingly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho merged commit 67701cd into git-for-windows:main Feb 17, 2025
@dscho dscho deleted the start-transitioning-to-the-new-pacman-repo branch February 17, 2025 15:19
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.

2 participants