Skip to content

[Backport release-24.05] discord: format, update discord-canary and discord-ptb, refactor meta#348303

Merged
Artturin merged 10 commits intoNixOS:release-24.05from
FlameFlag:backport-347313-to-release-24.05
Oct 16, 2024
Merged

[Backport release-24.05] discord: format, update discord-canary and discord-ptb, refactor meta#348303
Artturin merged 10 commits intoNixOS:release-24.05from
FlameFlag:backport-347313-to-release-24.05

Conversation

@FlameFlag
Copy link
Member

Backports:
#347313

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@FlameFlag
Copy link
Member Author

Result of nixpkgs-review pr 348303 run on aarch64-darwin 1

2 packages built:
  • discord-canary
  • discord-ptb

@FlameFlag
Copy link
Member Author

FlameFlag commented Oct 13, 2024

@Artturin
Copy link
Member

Yeah we don't want to backport, change the attr names in this backport

Scrumplex and others added 2 commits October 14, 2024 13:43
Discord changed their download URLs and the new code is now more lenient
regarding the actual download URL, as all we care about is the version
in the URL path.

Example:
https://ptb.dl2.discordapp.net/apps/linux/0.0.110/discord-ptb-0.0.110.tar.gz
                                          ^-----^
                                     This is what we need

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
(cherry picked from commit 19afd56)
@FlameFlag FlameFlag force-pushed the backport-347313-to-release-24.05 branch from c58bd6c to 2bc67ad Compare October 14, 2024 10:46
@FlameFlag
Copy link
Member Author

Backported 19afd56 just before my changes. It seems like it was forgotten to be backported in the last PR

@ofborg ofborg bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Oct 14, 2024
@FlameFlag
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 348303


aarch64-darwin

✅ 2 packages built:
  • discord-canary
  • discord-ptb

@FlameFlag
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 348303


x86_64-linux

✅ 2 packages built:
  • discord-canary
  • discord-ptb

@Artturin Artturin merged commit 0e51ff7 into NixOS:release-24.05 Oct 16, 2024
@FlameFlag FlameFlag deleted the backport-347313-to-release-24.05 branch October 16, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants