treewide: migrate ruby packages to by-name and update (#434244)

This commit is contained in:
dish
2025-09-05 11:59:40 -04:00
committed by GitHub
13 changed files with 264 additions and 87 deletions

View File

@@ -1,2 +1,4 @@
source 'https://rubygems.org'
gem 'danger-gitlab'
gem "faraday-retry", "~> 2.3"

View File

@@ -1,48 +1,69 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (8.0.2.1)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
base64 (0.2.0)
bigdecimal (3.1.9)
benchmark (0.4.1)
bigdecimal (3.2.2)
claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
colored2 (3.1.2)
concurrent-ruby (1.3.5)
connection_pool (2.5.3)
cork (0.3.0)
colored2 (~> 3.1)
csv (3.3.4)
danger (9.5.1)
csv (3.3.5)
danger (9.5.3)
base64 (~> 0.2)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
colored2 (>= 3.1, < 5)
cork (~> 0.1)
faraday (>= 0.9.0, < 3.0)
faraday-http-cache (~> 2.0)
git (~> 1.13)
kramdown (~> 2.3)
git (>= 1.13, < 3.0)
kramdown (>= 2.5.1, < 3.0)
kramdown-parser-gfm (~> 1.0)
octokit (>= 4.0)
pstore (~> 0.1)
terminal-table (>= 1, < 4)
danger-gitlab (9.0.0)
terminal-table (>= 1, < 5)
danger-gitlab (10.0.0)
danger
gitlab (~> 5.0)
faraday (2.13.1)
gitlab (~> 6.0)
drb (2.2.3)
faraday (2.13.4)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-http-cache (2.5.1)
faraday (>= 0.8)
faraday-net_http (3.4.0)
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
git (1.19.1)
faraday-retry (2.3.2)
faraday (~> 2.0)
git (2.3.3)
activesupport (>= 5.0)
addressable (~> 2.8)
process_executer (~> 1.1)
rchardet (~> 1.8)
gitlab (5.1.0)
gitlab (6.0.0)
base64 (~> 0.2.0)
httparty (~> 0.20)
terminal-table (>= 1.5.1)
@@ -50,13 +71,16 @@ GEM
csv
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
json (2.12.0)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.13.2)
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
logger (1.7.0)
mini_mime (1.1.5)
minitest (5.25.5)
multi_xml (0.7.2)
bigdecimal (~> 3.1)
nap (1.1.0)
@@ -66,6 +90,7 @@ GEM
faraday (>= 1, < 3)
sawyer (~> 0.9)
open4 (1.3.4)
process_executer (1.3.0)
pstore (0.2.0)
public_suffix (6.0.2)
rchardet (1.9.0)
@@ -73,17 +98,22 @@ GEM
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
securerandom (0.4.1)
terminal-table (4.0.0)
unicode-display_width (>= 1.1.1, < 4)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.1.5)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.3)
PLATFORMS
ruby
x86_64-linux
DEPENDENCIES
danger-gitlab
faraday-retry (~> 2.3)
BUNDLED WITH
2.5.22
2.6.9

View File

@@ -1,4 +1,28 @@
{
activesupport = {
dependencies = [
"base64"
"benchmark"
"bigdecimal"
"concurrent-ruby"
"connection_pool"
"drb"
"i18n"
"logger"
"minitest"
"securerandom"
"tzinfo"
"uri"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1ik1sm5sizrsnr3di0klh7rvsy9r9mmd805fv5srk66as5psf184";
type = "gem";
};
version = "8.0.2.1";
};
addressable = {
dependencies = [ "public_suffix" ];
groups = [ "default" ];
@@ -20,15 +44,25 @@
};
version = "0.2.0";
};
benchmark = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1kicilpma5l0lwayqjb5577bm0hbjndj2gh150xz09xsgc1l1vyl";
type = "gem";
};
version = "0.4.1";
};
bigdecimal = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1k6qzammv9r6b2cw3siasaik18i6wjc5m0gw5nfdc6jj64h79z1g";
sha256 = "1p2szbr4jdvmwaaj2kxlbv1rp0m6ycbgfyp0kjkkkswmniv5y21r";
type = "gem";
};
version = "3.1.9";
version = "3.2.2";
};
claide = {
groups = [ "default" ];
@@ -65,6 +99,26 @@
};
version = "3.1.2";
};
concurrent-ruby = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1ipbrgvf0pp6zxdk5ascp6i29aybz2bx9wdrlchjmpx6mhvkwfw1";
type = "gem";
};
version = "1.3.5";
};
connection_pool = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0nrhsk7b3sjqbyl1cah6ibf1kvi3v93a7wf4637d355hp614mmyg";
type = "gem";
};
version = "2.5.3";
};
cork = {
dependencies = [ "colored2" ];
groups = [ "default" ];
@@ -81,10 +135,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1kfqg0m6vqs6c67296f10cr07im5mffj90k2b5dsm51liidcsvp9";
sha256 = "0gz7r2kazwwwyrwi95hbnhy54kwkfac5swh2gy5p5vw36fn38lbf";
type = "gem";
};
version = "3.3.4";
version = "3.3.5";
};
danger = {
dependencies = [
@@ -106,10 +160,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0s6liclz7vn2q1vzraq7gq6n2rfj4p3hn2gixgnx2qvggg2qsai1";
sha256 = "0dma7aj2pcpndbpvl259n8hssik3kqjdvnsmdgq521njxg6k7p6i";
type = "gem";
};
version = "9.5.1";
version = "9.5.3";
};
danger-gitlab = {
dependencies = [
@@ -120,10 +174,20 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0bmsyv03n2ravjc0mzq73iairgc1apzc388jalg2c3rag1psgr47";
sha256 = "033w7rrm6sdp3f5fha4x6ycd657gliq61p4sb2zxqkk3imvpxvm1";
type = "gem";
};
version = "9.0.0";
version = "10.0.0";
};
drb = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0wrkl7yiix268s2md1h6wh91311w95ikd8fy8m5gx589npyxc00b";
type = "gem";
};
version = "2.2.3";
};
faraday = {
dependencies = [
@@ -135,10 +199,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0xbv450qj2bx0qz9l2pjrd3kc057y6bglc3na7a78zby8ssiwlyc";
sha256 = "09mcghancmn0s5cwk2xz581j3xm3xqxfv0yxg75axnyhrx9gy6f7";
type = "gem";
};
version = "2.13.1";
version = "2.13.4";
};
faraday-http-cache = {
dependencies = [ "faraday" ];
@@ -157,24 +221,37 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0jp5ci6g40d6i50bsywp35l97nc2fpi9a592r2cibwicdb6y9wd1";
sha256 = "0fxbckg468dabkkznv48ss8zv14d9cd8mh1rr3m98aw7wzx5fmq9";
type = "gem";
};
version = "3.4.0";
version = "3.4.1";
};
faraday-retry = {
dependencies = [ "faraday" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1laici6jximrz3a8rkm8qmwdmw3fgzk22qh4l8wd5srjj01d40i4";
type = "gem";
};
version = "2.3.2";
};
git = {
dependencies = [
"activesupport"
"addressable"
"process_executer"
"rchardet"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0w3xhay1z7qx9ab04wmy5p4f1fadvqa6239kib256wsiyvcj595h";
sha256 = "1rbhfyzvzgzn6zsjnmxls0q1g7g7k9p5adk8vmf2d1aij1gly59f";
type = "gem";
};
version = "1.19.1";
version = "2.3.3";
};
gitlab = {
dependencies = [
@@ -186,10 +263,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1ivj6pq3s3lz8z0islynvdb3fv82ghr5k97drz07kwwqga02f702";
sha256 = "0fm90lis0ikw2m77q33bxjg1bhsn8cdj06z9z4qv6kxqfmkhk3my";
type = "gem";
};
version = "5.1.0";
version = "6.0.0";
};
httparty = {
dependencies = [
@@ -206,15 +283,26 @@
};
version = "0.23.1";
};
i18n = {
dependencies = [ "concurrent-ruby" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "03sx3ahz1v5kbqjwxj48msw3maplpp2iyzs22l4jrzrqh4zmgfnf";
type = "gem";
};
version = "1.14.7";
};
json = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0l0av82l1i5703fd5qnxr263zw21xmbpx737av3r9pjn0w0cw3xk";
sha256 = "0s5vklcy2fgdxa9c6da34jbfrqq7xs6mryjglqqb5iilshcg3q82";
type = "gem";
};
version = "2.12.0";
version = "2.13.2";
};
kramdown = {
dependencies = [ "rexml" ];
@@ -258,6 +346,16 @@
};
version = "1.1.5";
};
minitest = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0mn7q9yzrwinvfvkyjiz548a4rmcwbmz2fn9nyzh4j1snin6q6rr";
type = "gem";
};
version = "5.25.5";
};
multi_xml = {
dependencies = [ "bigdecimal" ];
groups = [ "default" ];
@@ -314,6 +412,16 @@
};
version = "1.3.4";
};
process_executer = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0vslspnp4aki1cw4lwk9d5bmjfqwbf5i2wwgimch8cp14wns409v";
type = "gem";
};
version = "1.3.0";
};
pstore = {
groups = [ "default" ];
platforms = [ ];
@@ -368,26 +476,58 @@
};
version = "0.9.2";
};
securerandom = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1cd0iriqfsf1z91qg271sm88xjnfd92b832z49p1nd542ka96lfc";
type = "gem";
};
version = "0.4.1";
};
terminal-table = {
dependencies = [ "unicode-display_width" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "14dfmfjppmng5hwj7c5ka6qdapawm3h6k9lhn8zj001ybypvclgr";
sha256 = "1lh18gwpksk25sbcjgh94vmfw2rz0lrq61n7lwp1n9gq0cr7j17m";
type = "gem";
};
version = "3.0.2";
version = "4.0.0";
};
unicode-display_width = {
tzinfo = {
dependencies = [ "concurrent-ruby" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0nkz7fadlrdbkf37m0x7sw8bnz8r355q3vwcfb9f9md6pds9h9qj";
sha256 = "16w2g84dzaf3z13gxyzlzbf748kylk5bdgg3n1ipvkvvqy685bwd";
type = "gem";
};
version = "2.6.0";
version = "2.0.6";
};
unicode-display_width = {
dependencies = [ "unicode-emoji" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0knx0bgwwpwa7wcmknqp2i019jq6b46wxfppvhxfxrsyhlbnhmmz";
type = "gem";
};
version = "3.1.5";
};
unicode-emoji = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0ajk6rngypm3chvl6r0vwv36q1931fjqaqhjjya81rakygvlwb1c";
type = "gem";
};
version = "4.0.4";
};
uri = {
groups = [ "default" ];

View File

@@ -1,15 +1,21 @@
{ lib, bundlerApp }:
{
lib,
bundlerApp,
bundlerUpdateScript,
}:
bundlerApp {
pname = "danger-gitlab";
gemdir = ./.;
exes = [ "danger" ];
meta = with lib; {
passthru.updateScript = bundlerUpdateScript "danger-gitlab";
meta = {
description = "Gem that exists to ensure all dependencies are set up for Danger with GitLab";
homepage = "https://github.com/danger/danger-gitlab-gem";
license = licenses.mit;
teams = [ teams.serokell ];
license = lib.licenses.mit;
teams = with lib.teams; [ serokell ];
mainProgram = "danger";
};
}

View File

@@ -3,7 +3,7 @@ GEM
specs:
homesick (1.1.6)
thor (>= 0.14.0)
thor (0.20.0)
thor (1.4.0)
PLATFORMS
ruby
@@ -12,4 +12,4 @@ DEPENDENCIES
homesick
BUNDLED WITH
2.1.4
2.6.9

View File

@@ -1,6 +1,8 @@
{
homesick = {
dependencies = [ "thor" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0lxvnp4ncbx0irlblfxbd1f8h4hl11hgmyiy35q79w137r3prxml";
@@ -9,11 +11,13 @@
version = "1.1.6";
};
thor = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0nmqpyj642sk4g16nkbq6pj856adpv91lp4krwhqkh2iw63aszdl";
sha256 = "0gcarlmpfbmqnjvwfz44gdjhcmm634di7plcx2zdgwdhrhifhqw7";
type = "gem";
};
version = "0.20.0";
version = "1.4.0";
};
}

View File

@@ -17,7 +17,7 @@ bundlerEnv {
passthru.updateScript = bundlerUpdateScript "homesick";
meta = with lib; {
meta = {
description = "Your home directory is your castle. Don't leave your dotfiles behind";
longDescription = ''
Homesick is sorta like rip, but for dotfiles. It uses git to clone a repository containing
@@ -25,12 +25,12 @@ bundlerEnv {
place with a single command.
'';
homepage = "https://github.com/technicalpickles/homesick";
license = licenses.mit;
maintainers = with maintainers; [
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
aaronschif
nicknovitski
];
platforms = platforms.unix;
platforms = lib.platforms.unix;
mainProgram = "homesick";
};
}

View File

@@ -1,13 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
base64 (0.2.0)
base64 (0.3.0)
daemons (1.4.1)
date (3.4.1)
eventmachine (1.2.7)
faye-websocket (0.11.3)
faye-websocket (0.11.4)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
websocket-driver (>= 0.5.1, < 0.8.0)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
@@ -23,10 +23,10 @@ GEM
sqlite3 (~> 1.3)
thin (~> 1.8)
mini_mime (1.1.5)
mini_portile2 (2.8.8)
mustermann (3.0.3)
mini_portile2 (2.8.9)
mustermann (3.0.4)
ruby2_keywords (~> 0.0.1)
net-imap (0.5.6)
net-imap (0.5.9)
date
net-protocol
net-pop (0.1.2)
@@ -35,7 +35,7 @@ GEM
timeout
net-smtp (0.5.1)
net-protocol
rack (2.2.13)
rack (2.2.17)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
@@ -51,7 +51,7 @@ GEM
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
tilt (2.6.0)
tilt (2.6.1)
timeout (0.4.3)
websocket-driver (0.7.7)
base64
@@ -65,4 +65,4 @@ DEPENDENCIES
mailcatcher
BUNDLED WITH
2.6.2
2.6.9

View File

@@ -4,10 +4,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "01qml0yilb9basf7is2614skjp8384h2pycfx86cr8023arfj98g";
sha256 = "0yx9yn47a8lkfcjmigk79fykxvr80r4m1i35q82sxzynpbm7lcr7";
type = "gem";
};
version = "0.2.0";
version = "0.3.0";
};
daemons = {
groups = [ "default" ];
@@ -48,10 +48,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "01xkpv5b4fjc5n6n1fq6z1ris991av2fbadvs8r71i9r34b8g48h";
sha256 = "1p4xwf5lqrfbc9xbyf20hlyckm1issl5gscdnpglss3x4rwqj0dq";
type = "gem";
};
version = "0.11.3";
version = "0.11.4";
};
mail = {
dependencies = [
@@ -104,10 +104,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0x8asxl83msn815lwmb2d7q5p29p7drhjv5va0byhk60v9n16iwf";
sha256 = "12f2830x7pq3kj0v8nz0zjvaw02sv01bqs1zwdrc04704kwcgmqc";
type = "gem";
};
version = "2.8.8";
version = "2.8.9";
};
mustermann = {
dependencies = [ "ruby2_keywords" ];
@@ -115,10 +115,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "123ycmq6pkivv29bqbv79jv2cs04xakzd0fz1lalgvfs5nxfky6i";
sha256 = "08ma2fmxlm6i7lih4mc3har2fzsbj1pl4hhva65kljf6nfvdryl5";
type = "gem";
};
version = "3.0.3";
version = "3.0.4";
};
net-imap = {
dependencies = [
@@ -129,10 +129,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1rgva7p9gvns2ndnqpw503mbd36i2skkggv0c0h192k8xr481phy";
sha256 = "1z1kpshd0r09jv0091bcr4gfx3i1psbqdzy7zyag5n8v3qr0anfr";
type = "gem";
};
version = "0.5.6";
version = "0.5.9";
};
net-pop = {
dependencies = [ "net-protocol" ];
@@ -172,10 +172,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1yzhcwvfkrlb8l79w24yjclv636jn6rnznp95shmssk934bi1vnc";
sha256 = "1pcr8sn02lwzv3z6vx5n41b6ybcnw9g9h05s3lkv4vqdm0f2mq2z";
type = "gem";
};
version = "2.2.13";
version = "2.2.17";
};
rack-protection = {
dependencies = [
@@ -248,10 +248,10 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0szpapi229v3scrvw1pgy0vpjm7z3qlf58m1198kxn70cs278g96";
sha256 = "0w27v04d7rnxjr3f65w1m7xyvr6ch6szjj2v5wv1wz6z5ax9pa9m";
type = "gem";
};
version = "2.6.0";
version = "2.6.1";
};
timeout = {
groups = [ "default" ];

View File

@@ -1,5 +1,5 @@
{
ruby_3_2,
ruby,
lib,
bundlerApp,
bundlerUpdateScript,
@@ -13,19 +13,18 @@ bundlerApp {
"mailcatcher"
"catchmail"
];
ruby = ruby_3_2;
passthru.updateScript = bundlerUpdateScript "mailcatcher";
passthru.tests = { inherit (nixosTests) mailcatcher; };
meta = with lib; {
meta = {
description = "SMTP server and web interface to locally test outbound emails";
homepage = "https://mailcatcher.me/";
license = licenses.mit;
maintainers = with maintainers; [
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
zarelit
nicknovitski
];
platforms = platforms.unix;
platforms = lib.platforms.unix;
};
}

View File

@@ -3147,8 +3147,6 @@ with pkgs;
hockeypuck-web = callPackage ../servers/hockeypuck/web.nix { };
homesick = callPackage ../tools/misc/homesick { };
host = bind.host;
hotdoc = python3Packages.callPackage ../development/tools/hotdoc { };
@@ -3354,8 +3352,6 @@ with pkgs;
kzipmix = pkgsi686Linux.callPackage ../tools/compression/kzipmix { };
mailcatcher = callPackage ../development/web/mailcatcher { };
maskromtool = qt6Packages.callPackage ../tools/graphics/maskromtool { };
matrix-synapse-plugins = recurseIntoAttrs matrix-synapse-unwrapped.plugins;