XcodesOrg / XcodesOrg/xcodes

v0.20.0 Download exceeds 100%?

Open
#191 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
4.8k
Forks
182
Avg merge
2d 12h
Merged PRs (30d)
1

Description

% xcodes install --latest
Updating...
Apple ID: *****
Apple ID Password: 
Two-factor authentication is enabled for this account.

Enter "sms" without quotes to exit this prompt and choose a phone number to send an SMS security code to.
Enter the 6 digit code from one of your trusted devices: ******
Latest non-prerelease version available is 13.3

Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)
(1/6) Downloading Xcode 13.3.0+13E113: 181%

It's been over an hour now, and I'll update the issue if the download ever finishes, but the "181%" is probably fishy already.

(Edit: Finally finished at 195%. Xcode-13.3.0+13E113.xip is 10,829,814,724 bytes.)

The version should be 0.20.0, running on a M1 Pro MacBook Pro:

% brew install robotsandpencils/made/xcodes
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 4 taps (robotsandpencils/made, homebrew/cask-versions, homebrew/core and homebrew/cask).
==> New Formulae
aarch64-elf-binutils      dsq                       kdoctor                   observerward              stylish-haskell
aarch64-elf-gcc           dynaconf                  koka                      opendht                   testkube
aws-auth                  epinio                    kubekey                   postgraphile              textidote
bkt                       fortran-language-server   librasterlite2            procyon-decompiler        trivy
boost@1.76                fourmolu                  litani                    quick-lint-js             trzsz
bvm                       gemgen                    ltex-ls                   rospo                     uutils-findutils
checkmake                 go@1.17                   mapproxy                  rslint                    wordle
cloudflared               gst-plugins-rs            mu-repo                   sdl12-compat              xkcd
dpp                       inih                      nickel                    spidermonkey@78
==> Updated Formulae
Updated 1528 formulae.
==> Renamed Formulae
richmd -> rich-cli
==> Deleted Formulae
advancemenu           go@1.10               go@1.12               gstreamermm           mozilla-addon-sdk     pdflib-lite
carina                go@1.11               go@1.9                hornetq               path-extractor
==> New Casks
1password-cli-beta               heroic                           openshift-client                 roonbridge
1password-cli1                   iptvnator                        paddle-easydl                    rwts-pdfwriter
abbyy-finereader-pdf             jetbrains-gateway                paragon-camptune                 supernotes
alpha                            libcblite                        pingnoo                          temurin17
eliot                            libcblite-community              playdate-simulator               unicopedia-plus
flycast                          macast                           poker-copilot                    write
gcc-aarch64-embedded             mediahuman-audio-converter       prowlarr                         xemu
hepta                            mysteriumvpn                     rambox-ce
==> Updated Casks
Updated 968 casks.
==> Deleted Casks
bitshares             eggplant              lilypond              optimal-layout        profilemanager        scribus-dev
dusty                 finereader            macfusion             password-assistant    raiderio
edenmath              ghidra-beta           now                   pd-runner             red

xcodes 0.19.0 is already installed but outdated (so it will be upgraded).
==> Cloning https://github.com/RobotsAndPencils/xcodes.git
Updating /Users/*****/Library/Caches/Homebrew/xcodes--git
From https://github.com/RobotsAndPencils/xcodes
 * [new tag]         0.20.0     -> 0.20.0
==> Checking out tag 0.20.0
Previous HEAD position was 6b5f55f Bump version to 0.19.0
HEAD is now at bfefa45 Bump version to 0.20.0
HEAD is now at bfefa45 Bump version to 0.20.0
==> Upgrading robotsandpencils/made/xcodes
  0.19.0 -> 0.20.0 

==> make install prefix=/opt/homebrew/Cellar/xcodes/0.20.0
🍺  /opt/homebrew/Cellar/xcodes/0.20.0: 5 files, 12.0MB, built in 1 minute 41 seconds
==> Running `brew cleanup xcodes`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /opt/homebrew/Cellar/xcodes/0.19.0... (5 files, 7.3MB)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the code path reached by xcodes install --latest and reproduce the Xcode 13.3 download on the reported setup. Trace the download progress reporting and verify that displayed progress does not exceed 100% while the Xcode archive still completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.