Skip to content
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

skypeforlinux: 8.58.0.93 -> 8.59.0.77 #86256

Merged
merged 2 commits into from Apr 29, 2020
Merged

Conversation

bachp
Copy link
Member

@bachp bachp commented Apr 28, 2020

Motivation for this change

Update to latest skype version.

In addition the university of chicago is added as an additional mirror to try to fetch
the binary from. This reduces the change of #81868 and #85724 happening again in the
future. This might also be a good candidate to backport to stable releases.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot requested review from PanAeon and jraygauthier April 28, 2020 21:01
@peterhoeg peterhoeg changed the title Skypeforlinux 8.59.0.77 skypeforlinux: 8.58.0.93 -> 8.59.0.77 Apr 29, 2020
Copy link
Member

@jraygauthier jraygauthier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless there is a good reason not to, I would prioritize the mirror.cs.uchicago.edu mirror over the web.archive.org as it is much faster (factor 30x at least).

I tested that all mirrors are able to equally retrieve the deb bundle and resolve to the same sha:

$ version="8.59.0.77"

$ nix-prefetch-url "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
[77.1 MiB DL]
path is '/nix/store/94v5ixlpdnbsrw3m5s7y5m7mwycv9wpg-skypeforlinux_8.59.0.77_amd64.deb'
1cnlwlp84942ywji3x60zvhijavazdxfym3rfzq3ysky28b6mn6i

$ nix-prefetch-url "https://web.archive.org/web/https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
[77.1 MiB DL]
path is '/nix/store/94v5ixlpdnbsrw3m5s7y5m7mwycv9wpg-skypeforlinux_8.59.0.77_amd64.deb'
1cnlwlp84942ywji3x60zvhijavazdxfym3rfzq3ysky28b6mn6i

$ nix-prefetch-url "https://mirror.cs.uchicago.edu/skype/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"[77.1 MiB DL]
path is '/nix/store/94v5ixlpdnbsrw3m5s7y5m7mwycv9wpg-skypeforlinux_8.59.0.77_amd64.deb'
1cnlwlp84942ywji3x60zvhijavazdxfym3rfzq3ysky28b6mn6i

Binary still to be tested.

@jraygauthier
Copy link
Member

Binary compiles and runs fine:

$ gh pr checkout bachp:skypeforlinux-8.59.0.77
# ..
Switched to branch 'skypeforlinux-8.59.0.77'
$ nix-shell -I nixpkgs=. -p skypeforlinux
these derivations will be built:
  /nix/store/271mhjwb997wxvyk3mc6lln1g3zyng4w-skypeforlinux-8.59.0.77.drv
these paths will be fetched (9.60 MiB download, 47.14 MiB unpacked):
# ..
$ which skypeforlinux 
/nix/store/wklixy1636hby73ah2s6f0k8i6n4w2lc-skypeforlinux-8.59.0.77/bin/skypeforlinux

$ skypeforlinux 
Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank"
(electron) 'setZoomLevel function' is deprecated and will be removed. Please use 'zoomLevel property' instead.
(electron) 'getZoomLevel function' is deprecated and will be removed. Please use 'zoomLevel property' instead.
(electron) 'setBadgeCount function' is deprecated and will be removed. Please use 'badgeCount property' instead.
ioctl failed for wlan0, errno = 19 (No such device)
ioctl failed for wlp2s0, errno = 19 (No such device)
ioctl failed for wlp3s0, errno = 19 (No such device)
  • Camera feed in settings works fine.
  • Made a successful test call.

@jraygauthier
Copy link
Member

LGTM.

Remains to see what we do with the mirror ordering (see above recommendation).

@DamienCassou
Copy link
Contributor

I have tested and this works fine.

The university of chigaco keeps the binaries of old releases.

This reduces the change of NixOS#81868 and NixOS#85724 happening again in the
future.
@bachp
Copy link
Member Author

bachp commented Apr 29, 2020

Mirror order changed.

@ofborg ofborg bot requested a review from jraygauthier April 29, 2020 15:30
Copy link
Member

@jraygauthier jraygauthier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. Can merge.

@talyz talyz merged commit 80b26e6 into NixOS:master Apr 29, 2020
@talyz
Copy link
Contributor

talyz commented Apr 29, 2020

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants