Comments (7)
It's because the AUR pipe pushes to https://aur.archlinux.org only, and the only way of auth there is private keys.
FWIW you can create another private key just for your account there.
huge thanks for creating and maintaining this tool!
thank you! 🙏
from goreleaser.
It's because the AUR pipe pushes to https://aur.archlinux.org/ only, and the only way of auth there is private keys.
Ah yeah, this makes sense. Thank you. But I am using aurs
in my GoReleaser to push to my private AUR repo. See here. Is this the valid usecase?
I do not plan on pushing to "official" AUR.
from goreleaser.
I think you could set the git_url to the the one of that repo, but yeah, it will not be as "clean" as brews for example 🤔
from goreleaser.
you could set the git_url to the the one of that repo
Sorry, I don't think I understand. Do you mean this?
"In the .goreleaser.yaml
file in the bartekpacia/fhome
repository, set git_url
to [email protected]:bartekpacia/fhome.git
? So in other words, eliminate bartekpacia/aur
repository"?
from goreleaser.
I mean, you could do something like this:
aurs:
- # ...
git_url: "[email protected]:bartekpacia/aur.git"
# ...
from goreleaser.
I'm already doing this: https://github.com/bartekpacia/fhome/blob/40d11f11f2393cfc7139f2669ab36d8c4db819de/.goreleaser.yaml#L100. It requires me to specify an SSH key in private_key
.
I mean, if in brews
I can specify repo A to push to using a PAT, I'd also like to be able, in aurs
, to specify repo B and push to it using a PAT as well.
from goreleaser.
yes, pat would not work, you'll need to set a private key as well
Thinking more about it now, I think you might be able to workaround it with
aur:
- # ...
# set a https url authing with the PAT
git_url: "https://{{ .Env.GH_PATH }}@github.com/bartekpacia/aur"
# path to a key generated at runtime, would not be used
private_key: ./foo
# by default this will use the private_key value, override so it doesn't
git_ssh_command: "ssh"
# ...
PS: i havent tested this, but I think it might work
from goreleaser.
Related Issues (20)
- Trigger `ko` target in `snapshot` mode HOT 1
- Store all of packages in one GitLab project HOT 1
- Request a release flag that enables only the specified functionality
- Supports replacing existing draft artifacts HOT 1
- nfpm: do not create archlinux packages for architectures other than `amd64` and `arm64` HOT 2
- Document how to upload documents to GCS with json credentials. HOT 4
- Integrate go-licenses to provides licenses of used libraries HOT 3
- Add support for APKBUILD (Alpine Linux) HOT 4
- Support .config/ directory HOT 2
- Ability to specify the platform for publishing in homebrew
- Winget: base branch not updated before committing HOT 1
- Incorrect default documentation for `build.id` HOT 1
- Naming inconsistency betweeen `folder` for Homebrew and `directory` for AUR HOT 1
- Allow intermediate (multi-stage) copies in Docker builds HOT 2
- GoReleaser edit draft status even for published release HOT 3
- `skip_upload: false` skip not only artifact upload, but also git tag pushing HOT 1
- Prebuilt binaries cannot be used with dockers HOT 4
- v1.25.0 creates draft GitHub releases with the wrong tag name HOT 2
- Support for `--draft` flag in `goreleaser release` command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goreleaser.