A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go
81
fork

Configure Feed

Select the types of activity you want to include in your feed.

brew instructions no longer work #6

open opened by softprops.tngl.sh

I was following along with the credential helper instructions here

Thew current instructions read but this uses homebrew's short hand for github repo expansion

 brew tap atcr-io/tap
...

==> Tapping atcr-io/tap
Cloning into '/opt/homebrew/Library/Taps/atcr-io/homebrew-tap'...
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Error: Failure while executing; `git clone https://github.com/atcr-io/homebrew-tap /opt/homebrew/Library/Taps/atcr-io/homebrew-tap --origin=origin --template= --config core.fsmonitor=false` exited with 128.

Presumably this repo used to be hosted on GitHub and since moved to Tangled.

The can be addressed by providing another arg which is the repo to clone.

 brew tap atcr-io/tap https://tangled.org/evan.jarrett.net/at-container-registry
==> Tapping atcr-io/tap
Cloning into '/opt/homebrew/Library/Taps/atcr-io/homebrew-tap'...
remote: Enumerating objects: 8366, done.
remote: Counting objects: 100% (8366/8366), done.
remote: Compressing objects: 100% (6541/6541), done.
remote: Total 8366 (delta 6073), reused 2234 (delta 1452), pack-reused 0
Receiving objects: 100% (8366/8366), 131.24 MiB | 5.93 MiB/s, done.
Resolving deltas: 100% (6073/6073), done.
Tapped 1 formula (583 files, 158.6MB).

brew install docker-credential-atcr                                                                                         29s
==> Fetching downloads for: docker-credential-atcr
โœ˜ Formula docker-credential-atcr (0.0.1)                                                                                                Verifying     2.4MB/-------
Error: Formula reports different checksum:  replace_with_sha256
       SHA-256 checksum of downloaded file: 80c71988008d40c6283f0840048f0526a1ebdffc4212f9b20f27c4a2c499d1d0

additionally it looks like a checksum doesn't match also preventing this tool from being downloaded from brew

brew install docker-credential-atcr
โœ”๏ธŽ JSON API cask.jws.json                                                                                                                Downloaded   15.4MB/ 15.4MB
โœ”๏ธŽ JSON API formula.jws.json                                                                                                             Downloaded   32.0MB/ 32.0MB
==> Fetching downloads for: docker-credential-atcr
โœ˜ Formula docker-credential-atcr (0.0.1)                                                                                                Verifying     2.4MB/-------
Error: Formula reports different checksum:  replace_with_sha256
       SHA-256 checksum of downloaded file: 80c71988008d40c6283f0840048f0526a1ebdffc4212f9b20f27c4a2c499d1d0

Brew has never worked, that was a placeholder for when I get brew working. I have every intention to get it working, but hasn't been a priority. (I don't personally use brew, and no one has asked for it.

Iโ€™m a brew use. Let me know of if I can help

I can probably open a PR for it in the next few days, all that needs to be done is:

  • Use Cask instead of Formula (it's installed from a pre-built binary and not from source)
  • Replace version number in URLs with #{version}
  • Update version number to 0.1.2
  • Replace hashes with the correct values
  • Update instructions
  • (optional) Add docker-credential-atcr configure-docker in postflight
  • (optional) Update caveats

I've done some of the updates listed here. I need to get it hooked up to my CI to update the formula file on new version releases still.

Awesome. Thanks Evan!

Ok so this work as is now to download from this current repo. but its not ideal since it clones all the source code just to look for the Formula files. So i'm going to keep this for now, but i'm probably going to change it to point to something like tangled.org/atcr.io/homebrew-tap in the future.

I'm just going to leave this ticket open in the mean time

confirmed this works for me now. thanks for your work on this project

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 3
AT URI
at://did:plc:bedhffw7uiw5w2aev7i6cob7/sh.tangled.repo.issue/3mjduie7kyj22