content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
prelude: |\n class Example\n def lazy_set\n @uninitialized ||= 123\n end\n end\n\n objs = 10000000.times.map { Example.new }\nbenchmark:\n vm_ivar_lazy_set: |\n objs.each(&:lazy_set)\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_ivar_lazy_set.yml | vm_ivar_lazy_set.yml | YAML | 205 | 0.85 | 0.166667 | 0 | python-kit | 433 | 2023-09-18T10:25:11.961976 | BSD-3-Clause | false | 2ee80bca0c2464e2053d46522057856a |
prelude: |\n IVARS = 60\n class Record\n def initialize(offset = false)\n @offset = 1 if offset\n @first = 0\n IVARS.times do |i|\n instance_variable_set("@ivar_#{i}", i)\n end\n end\n\n def first\n @first\n end\n\n def lazy_set\n @lazy_set ||= 123\n end\n\n def undef\n @undef\n end\n end\n\n Record.new # Need one alloc to right size\n\n BASE = Record.new\n LAZY = Record.new\n LAZY.lazy_set\n\n class Miss < Record\n @first = 0\n IVARS.times do |i|\n instance_variable_set("@i_#{i}", i)\n end\n end\n\n Miss.new # Need one alloc to right size\n MISS = Miss.new\n\n DIVERGENT = Record.new(true)\n\nbenchmark:\n vm_ivar_stable_shape: |\n BASE.first\n BASE.first\n BASE.first\n BASE.first\n BASE.first\n BASE.first\n vm_ivar_memoize_unstable_shape: |\n BASE.first\n LAZY.first\n BASE.first\n LAZY.first\n BASE.first\n LAZY.first\n vm_ivar_memoize_unstable_shape_miss: |\n BASE.first\n MISS.first\n BASE.first\n MISS.first\n BASE.first\n MISS.first\n vm_ivar_unstable_undef: |\n BASE.undef\n LAZY.undef\n BASE.undef\n LAZY.undef\n BASE.undef\n LAZY.undef\n vm_ivar_divergent_shape: |\n BASE.first\n DIVERGENT.first\n BASE.first\n DIVERGENT.first\n BASE.first\n DIVERGENT.first\n vm_ivar_divergent_shape_imbalanced: |\n BASE.first\n DIVERGENT.first\n DIVERGENT.first\n DIVERGENT.first\n DIVERGENT.first\n DIVERGENT.first\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_ivar_memoize.yml | vm_ivar_memoize.yml | YAML | 1,441 | 0.95 | 0.082353 | 0 | python-kit | 899 | 2023-12-09T08:16:50.066079 | GPL-3.0 | false | dbc261302ea205594cca534f0db37812 |
prelude: |\n class C\n @a = 1\n def self.a\n _a = @a; _a = @a; _a = @a; _a = @a; _a = @a;\n _a = @a; _a = @a; _a = @a; _a = @a; _a = @a;\n end\n end\nbenchmark:\n vm_ivar_of_class: |\n a = C.a\nloop_count: 30000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_ivar_of_class.yml | vm_ivar_of_class.yml | YAML | 229 | 0.85 | 0.166667 | 0 | python-kit | 807 | 2023-11-22T04:10:17.689794 | Apache-2.0 | false | b058696cf05ceece027b02729971b851 |
prelude: |\n class C\n @a = 1\n def self.a o\n @a = o; @a = o; @a = o; @a = o; @a = o; @a = o;\n end\n end\nbenchmark:\n vm_ivar_of_class_set: |\n a = C.a(nil)\nloop_count: 30000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_ivar_of_class_set.yml | vm_ivar_of_class_set.yml | YAML | 192 | 0.85 | 0.181818 | 0 | python-kit | 963 | 2023-09-06T15:01:29.483027 | GPL-3.0 | false | 6f3809b1e6e77b812ce1c52e3ed42651 |
prelude: |\n class TheClass\n def initialize\n @v0 = 1\n @v1 = 2\n @v3 = 3\n @levar = 1\n end\n\n def set_value_loop\n # 1M\n i = 0\n while i < 1000000\n # 10 times to de-emphasize loop overhead\n @levar = i\n @levar = i\n @levar = i\n @levar = i\n @levar = i\n @levar = i\n @levar = i\n @levar = i\n @levar = i\n @levar = i\n i += 1\n end\n end\n end\n\n obj = TheClass.new\n\nbenchmark:\n vm_ivar_set_on_instance: |\n obj.set_value_loop\nloop_count: 100\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_ivar_set_on_instance.yml | vm_ivar_set_on_instance.yml | YAML | 565 | 0.95 | 0.114286 | 0.0625 | node-utils | 411 | 2024-04-04T17:41:21.119956 | BSD-3-Clause | false | 511f691108457f44fec107fe352f37cb |
prelude: |\n class A\n def set_ivars\n @a = nil\n @b = nil\n @c = nil\n @d = nil\n @e = nil\n end\n end\n class B < A; end\n class C < A; end\n\n b = B.new\n c = C.new\nbenchmark:\n vm_ivar_init_subclass: |\n b.set_ivars\n c.set_ivars\nloop_count: 3000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_ivar_set_subclass.yml | vm_ivar_set_subclass.yml | YAML | 281 | 0.85 | 0.2 | 0 | awesome-app | 687 | 2023-10-31T07:14:43.001717 | MIT | false | d245d21c79c5eb12452b805e0790bf92 |
prelude: |\n a = 'abc'\n b = [1, 2, 3]\nbenchmark:\n vm_length: |\n a.length\n b.length\nloop_count: 30000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_length.yml | vm_length.yml | YAML | 112 | 0.7 | 0 | 0 | vue-tools | 877 | 2024-02-21T01:23:41.850644 | MIT | false | 4f342b7c69eadbb1eb58b75b83ad25a1 |
benchmark:\n vm_lvar_cond_set: |\n a ||= 1\n b ||= 1\n c ||= 1\n d ||= 1\n nil\nloop_count: 30000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_lvar_cond_set.yml | vm_lvar_cond_set.yml | YAML | 110 | 0.7 | 0 | 0 | python-kit | 455 | 2025-04-24T12:39:48.504364 | Apache-2.0 | false | a306404ae2c5d809c4c92b1f7563220b |
# while loop cost is not removed because `i` is used in the script\nbenchmark:\n vm_lvar_init: |\n def m v\n unless v\n # unreachable code\n v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = v9 = v10 =\n v11 = v12 = v13 = v14 = v15 = v16 = v17 = v18 = v19 = v20 =\n v21 = v22 = v23 = v24 = v25 = v26 = v27 = v28 = v29 = v30 =\n v31 = v32 = v33 = v34 = v35 = v36 = v37 = v38 = v39 = v40 =\n v41 = v42 = v43 = v44 = v45 = v46 = v47 = v48 = v49 = v50 = 1\n end\n end\n\n i = 0\n\n while i<30_000_000\n i += 1\n m i\n end\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_lvar_init.yml | vm_lvar_init.yml | YAML | 581 | 0.95 | 0.142857 | 0.105263 | react-lib | 40 | 2025-03-14T09:07:35.255041 | Apache-2.0 | false | c58c6f463390fc04382549b2d7bd75f3 |
benchmark:\n vm_lvar_set: |\n a = b = c = d = e = f = g = h = j = k = l = m = n = o = p = q = r = 1\nloop_count: 30000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_lvar_set.yml | vm_lvar_set.yml | YAML | 123 | 0.7 | 0 | 0 | vue-tools | 663 | 2024-11-30T16:08:02.283609 | BSD-3-Clause | false | e373a053e3ac6b6ccf025af209114990 |
prelude: |\n def m\n nil\n end\nbenchmark:\n vm_method: |\n m; m; m; m; m; m; m; m;\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_method.yml | vm_method.yml | YAML | 107 | 0.85 | 0.125 | 0 | node-utils | 526 | 2024-02-04T15:09:45.642540 | BSD-3-Clause | false | 9d9e5520c08153685106819e8d51af88 |
prelude: |\n class C\n def method_missing mid\n end\n end\n\n obj = C.new\nbenchmark:\n vm_method_missing: |\n obj.m; obj.m; obj.m; obj.m; obj.m; obj.m; obj.m; obj.m;\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_method_missing.yml | vm_method_missing.yml | YAML | 191 | 0.85 | 0.181818 | 0 | awesome-app | 540 | 2023-12-06T17:22:34.608768 | GPL-3.0 | false | e535281bdcbfc0538ccc27ece9b70401 |
prelude: |\n def f(x=0, y: 0) end\n a = [1]\n ea = []\n kw = {y: 1}\n b = lambda{}\nbenchmark:\n arg_splat: "f(1, *ea)"\n arg_splat_block: "f(1, *ea, &b)"\n splat_kw_splat: "f(*a, **kw)"\n splat_kw_splat_block: "f(*a, **kw, &b)"\n splat_kw: "f(*a, y: 1)"\n splat_kw_block: "f(*a, y: 1, &b)"\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_method_splat_calls.yml | vm_method_splat_calls.yml | YAML | 290 | 0.85 | 0.076923 | 0 | react-lib | 682 | 2023-12-11T02:49:52.464852 | GPL-3.0 | false | bd7f1ab535ec9341005e9304f1a73b69 |
prelude: |\n def named_arg_splat(*a) end\n def named_arg_kw_splat(*a, **kw) end\n def anon_arg_splat(*) end\n def anon_kw_splat(**) end\n def anon_arg_kw_splat(*, **) end\n def anon_fw_to_named(*, **) named_arg_kw_splat(*, **) end\n def fw_to_named(...) named_arg_kw_splat(...) end\n def fw_to_anon_to_named(...) anon_fw_to_named(...) end\n def fw_no_kw(...) named_arg_splat(...) end\n a = [1]\n kw = {y: 1}\nbenchmark:\n named_multi_arg_splat: "named_arg_splat(*a, *a)"\n named_post_splat: "named_arg_splat(*a, a)"\n anon_arg_splat: "anon_arg_splat(*a)"\n anon_arg_kw_splat: "anon_arg_kw_splat(*a, **kw)"\n anon_multi_arg_splat: "anon_arg_splat(*a, *a)"\n anon_post_splat: "anon_arg_splat(*a, a)"\n anon_kw_splat: "anon_kw_splat(**kw)"\n anon_fw_to_named_splat: "anon_fw_to_named(*a, **kw)"\n anon_fw_to_named_no_splat: "anon_fw_to_named(1, y: 1)"\n fw_to_named_splat: "fw_to_named(*a, **kw)"\n fw_to_named_no_splat: "fw_to_named(1, y: 1)"\n fw_to_anon_to_named_splat: "fw_to_anon_to_named(*a, **kw)"\n fw_to_anon_to_named_no_splat: "fw_to_anon_to_named(1, y: 1)"\n fw_no_kw: "fw_no_kw(1, 2)"\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_method_splat_calls2.yml | vm_method_splat_calls2.yml | YAML | 1,093 | 0.85 | 0.333333 | 0 | react-lib | 43 | 2024-09-08T12:07:06.753275 | GPL-3.0 | false | f8c1d54299f6253868e934523dd11325 |
prelude: |\n def m\n nil\n end\nbenchmark:\n vm_method_with_block: |\n m{}; m{}; m{}; m{}; m{}; m{}; m{}; m{};\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_method_with_block.yml | vm_method_with_block.yml | YAML | 134 | 0.85 | 0.125 | 0 | react-lib | 883 | 2024-07-25T03:49:31.798651 | GPL-3.0 | false | ae6dc7e9e51bdd0a366a705a8ef8cb0e |
benchmark:\n vm_module_ann_const_set: |\n Module.new.const_set(:X, Module.new)\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_module_ann_const_set.yml | vm_module_ann_const_set.yml | YAML | 101 | 0.7 | 0 | 0 | python-kit | 48 | 2025-06-02T04:45:23.247197 | MIT | false | d2327ef73429a00af2ac2cb4a424f222 |
prelude: |\n module M\n end\n $VERBOSE = nil\nbenchmark:\n vm_module_const_set: |\n M.const_set(:X, Module.new)\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_module_const_set.yml | vm_module_const_set.yml | YAML | 133 | 0.7 | 0 | 0 | python-kit | 609 | 2024-07-19T16:41:40.054569 | GPL-3.0 | false | 01d16d985d110930615761a4f35c4ca7 |
prelude: |\n require 'thread'\n\n m = Thread::Mutex.new\nbenchmark:\n vm_mutex: |\n m.synchronize{}\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_mutex.yml | vm_mutex.yml | YAML | 120 | 0.85 | 0 | 0 | vue-tools | 112 | 2023-10-20T11:44:42.524655 | GPL-3.0 | false | 61c0b214a56d7fd130a5bb13f9fd7262 |
prelude: |\n obj1 = Object.new\n obj2 = Object.new\nbenchmark:\n vm_neq: |\n obj1 != obj2\nloop_count: 30000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_neq.yml | vm_neq.yml | YAML | 112 | 0.7 | 0 | 0 | python-kit | 219 | 2024-03-09T21:03:12.370883 | GPL-3.0 | false | ef1eb8223b272a67db025954b07436d2 |
# loop_count is not utilized since `i` is involved in the script\nbenchmark:\n vm_poly_method: |\n class C1\n def m\n 1\n end\n end\n class C2\n def m\n 2\n end\n end\n\n o1 = C1.new\n o2 = C2.new\n\n i = 0\n while i<6_000_000\n o = (i % 2 == 0) ? o1 : o2\n o.m; o.m; o.m; o.m; o.m; o.m; o.m; o.m\n i += 1\n end\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_poly_method.yml | vm_poly_method.yml | YAML | 381 | 0.95 | 0.208333 | 0.045455 | vue-tools | 997 | 2024-06-29T07:26:28.609865 | GPL-3.0 | false | c037839d65184467f284a8324466424f |
# loop_count is not utilized since `i` is involved in the script\nbenchmark:\n vm_poly_method_ov: |\n class C1\n def m\n 1\n end\n end\n class C2\n def m\n 2\n end\n end\n\n o1 = C1.new\n o2 = C2.new\n\n i = 0\n while i<6_000_000\n o = (i % 2 == 0) ? o1 : o2\n # o.m; o.m; o.m; o.m; o.m; o.m; o.m; o.m\n i += 1\n end\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_poly_method_ov.yml | vm_poly_method_ov.yml | YAML | 385 | 0.95 | 0.208333 | 0.090909 | vue-tools | 378 | 2024-05-19T16:31:22.010897 | BSD-3-Clause | false | cb7921973ce6d779ab017b27754fbfcd |
prelude: |\n module AR; end\n class AR::Base\n def create_or_update\n nil\n end\n def save\n create_or_update\n end\n end\n class Foo < AR::Base; end\n class Bar < AR::Base; end\n o1 = Foo.new\n o2 = Bar.new\nbenchmark:\n vm_poly_same_method: |\n o1.save; o2.save;\n o1.save; o2.save;\n o1.save; o2.save;\n o1.save; o2.save;\n o1.save; o2.save;\n o1.save; o2.save;\n o1.save; o2.save;\n o1.save; o2.save;\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_poly_same_method.yml | vm_poly_same_method.yml | YAML | 456 | 0.85 | 0.2 | 0 | python-kit | 392 | 2024-06-27T19:34:19.550940 | GPL-3.0 | false | d1ca3d640cd500631e4e0256bfcf5c4f |
# loop_count is not utilized since `i` is involved in the script\nbenchmark:\n vm_poly_singleton: |\n class C1\n def m; 1; end\n end\n\n o1 = C1.new\n o2 = C1.new\n o2.singleton_class\n\n i = 0\n while i<6_000_000 # benchmark loop 2\n o = (i % 2 == 0) ? o1 : o2\n o.m; o.m; o.m; o.m; o.m; o.m; o.m; o.m\n i += 1\n end\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_poly_singleton.yml | vm_poly_singleton.yml | YAML | 361 | 0.95 | 0.166667 | 0.0625 | node-utils | 719 | 2024-07-03T08:25:07.322145 | GPL-3.0 | false | c00533842be435d8a94d2502668c0eef |
prelude: |\n def m &b\n b\n end\n\n pr = m{\n a = 1\n }\nbenchmark:\n vm_proc: |\n pr.call\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_proc.yml | vm_proc.yml | YAML | 115 | 0.85 | 0.083333 | 0 | react-lib | 939 | 2024-02-19T01:30:23.387569 | GPL-3.0 | false | 355852360e0b63582989934d95e22671 |
prelude: |\n def rec n\n if n > 0\n rec n-1\n else\n raise\n end\n end\nbenchmark:\n vm_raise1: |\n begin\n rec 1\n rescue\n # ignore\n end\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_raise1.yml | vm_raise1.yml | YAML | 187 | 0.95 | 0.125 | 0.0625 | awesome-app | 55 | 2024-12-03T19:20:22.262986 | BSD-3-Clause | false | 93161e717e9c0fcdde877646f3aa0203 |
prelude: |\n def rec n\n if n > 0\n rec n-1\n else\n raise\n end\n end\nbenchmark:\n vm_raise2: |\n begin\n rec 10\n rescue\n # ignore\n end\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_raise2.yml | vm_raise2.yml | YAML | 188 | 0.95 | 0.125 | 0.0625 | awesome-app | 570 | 2024-10-14T08:47:59.630430 | GPL-3.0 | false | 70b25e30afdd01b77454ea4b700ea037 |
prelude: |\n str = 'xxxhogexxx'\nbenchmark:\n vm_regexp: |\n /hoge/ =~ str\n vm_regexp_invert: |\n str =~ /hoge/\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_regexp.yml | vm_regexp.yml | YAML | 136 | 0.7 | 0 | 0 | awesome-app | 95 | 2025-05-26T10:19:05.675925 | GPL-3.0 | false | 21a37a093de636135a9f98db4a82814b |
prelude: |\n class C\n def m\n end\n end\n\n o = C.new\n m = :m\nbenchmark:\n vm_send: |\n o.__send__ :m\n vm_send_var: |\n o.__send__ m\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_send.yml | vm_send.yml | YAML | 163 | 0.85 | 0.142857 | 0 | awesome-app | 436 | 2024-12-27T13:10:58.894511 | MIT | false | af52669d442c4ad6a628c2912cb587b8 |
prelude: |\n ary = []\n kw = {a: 1}\n empty_kw = {}\n kw_ary = [Hash.ruby2_keywords_hash(a: 1)]\n empty_kw_ary = [Hash.ruby2_keywords_hash({})]\nbenchmark:\n vm_send_cfunc: itself\n vm_send_cfunc_splat: itself(*ary)\n vm_send_cfunc_splat_kw_hash: equal?(*kw_ary)\n vm_send_cfunc_splat_empty_kw_hash: itself(*empty_kw_ary)\n vm_send_cfunc_splat_kw: equal?(*ary, **kw)\n vm_send_cfunc_splat_empty_kw: itself(*ary, **empty_kw)\nloop_count: 20000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_send_cfunc.yml | vm_send_cfunc.yml | YAML | 444 | 0.7 | 0 | 0 | node-utils | 716 | 2023-10-14T09:16:20.672908 | BSD-3-Clause | false | 47cd4fa68f10a9bc5db826dfc723b146 |
benchmark:\n vm_string_literal: |\n x = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_string_literal.yml | vm_string_literal.yml | YAML | 128 | 0.7 | 0 | 0 | vue-tools | 458 | 2025-06-30T23:35:52.504199 | MIT | false | 6df56fa0ffec678891593923a1e70970 |
prelude: |\n s = Struct.new(*('a'..'z').map { |x| x.to_sym })\n x = s.new\nbenchmark:\n vm_struct_big_aref_hi: |\n x.z # x[25]\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_big_aref_hi.yml | vm_struct_big_aref_hi.yml | YAML | 148 | 0.8 | 0 | 0 | react-lib | 618 | 2023-10-22T05:40:42.935723 | Apache-2.0 | false | 3eff3db36e2c29e0cad3111a9d8f285a |
prelude: |\n s = Struct.new(*('a'..'z').map { |x| x.to_sym })\n x = s.new\nbenchmark:\n vm_struct_big_aref_lo: |\n x.k # x[10]\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_big_aref_lo.yml | vm_struct_big_aref_lo.yml | YAML | 148 | 0.8 | 0 | 0 | awesome-app | 176 | 2025-03-10T12:06:43.503257 | MIT | false | 3cf50fbd3704e62c044dd12f158feaf3 |
# loop_count is not utilized since `i` is involved in the script\nbenchmark:\n vm_struct_big_aset: |\n s = Struct.new(*('a'..'z').map { |x| x.to_sym })\n x = s.new\n i = 0\n while i<6_000_000\n i += 1\n x.k = i # x[10] = i\n end\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_big_aset.yml | vm_struct_big_aset.yml | YAML | 260 | 0.8 | 0.090909 | 0.090909 | react-lib | 813 | 2025-04-03T00:04:01.462226 | Apache-2.0 | false | 660ee098ee1f13433978d428967256e3 |
prelude: |\n s = Struct.new(*('a'..'z').map { |x| x.to_sym })\n x = s.new\nbenchmark:\n vm_struct_big_href_hi: |\n x[:z]\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_big_href_hi.yml | vm_struct_big_href_hi.yml | YAML | 142 | 0.7 | 0 | 0 | awesome-app | 743 | 2025-03-17T14:38:34.720515 | Apache-2.0 | false | 2701c96dcde8822aba682f0710988bf4 |
prelude: |\n s = Struct.new(*('a'..'z').map { |x| x.to_sym })\n x = s.new\nbenchmark:\n vm_struct_big_href_lo: |\n x[:k]\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_big_href_lo.yml | vm_struct_big_href_lo.yml | YAML | 142 | 0.7 | 0 | 0 | react-lib | 867 | 2024-06-13T09:41:59.206062 | Apache-2.0 | false | f48c17cb336f77f47712e214444520e5 |
# loop_count is not utilized since `i` is involved in the script\nbenchmark:\n vm_struct_big_hset: |\n s = Struct.new(*('a'..'z').map { |x| x.to_sym })\n x = s.new\n i = 0\n while i<6_000_000\n i += 1\n x[:k] = i\n end\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_big_hset.yml | vm_struct_big_hset.yml | YAML | 250 | 0.8 | 0.090909 | 0.090909 | react-lib | 357 | 2023-12-15T09:42:08.334737 | MIT | false | bcd2858491ecee725d51b1cb9ab4394f |
prelude: |\n s = Struct.new(:a, :b, :c)\n x = s.new\nbenchmark:\n vm_struct_small_aref: |\n x.a\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_small_aref.yml | vm_struct_small_aref.yml | YAML | 117 | 0.7 | 0 | 0 | react-lib | 724 | 2024-03-29T02:39:54.590207 | GPL-3.0 | false | 486ba1a88db0d90385967003543561dd |
# loop_count is not utilized since `i` is involved in the script\nbenchmark:\n vm_struct_small_aset: |\n s = Struct.new(:a, :b, :c)\n x = s.new\n i = 0\n while i<6_000_000\n i += 1\n x.a = i\n end\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_small_aset.yml | vm_struct_small_aset.yml | YAML | 228 | 0.8 | 0.090909 | 0.090909 | python-kit | 216 | 2024-01-25T10:49:16.088092 | MIT | false | 21cbd0b684d349a615efce2bd6af95e1 |
prelude: |\n s = Struct.new(:a, :b, :c)\n x = s.new\nbenchmark:\n vm_struct_small_href: |\n x[:a]\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_small_href.yml | vm_struct_small_href.yml | YAML | 119 | 0.7 | 0 | 0 | awesome-app | 211 | 2023-08-12T21:24:20.694977 | GPL-3.0 | false | b70527b888110060c9a5edc7b9d3e3b8 |
prelude: |\n s = Struct.new(:a, :b, :c)\n x = s.new\nbenchmark:\n vm_struct_small_hset: |\n x[:a] = 1\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_struct_small_hset.yml | vm_struct_small_hset.yml | YAML | 123 | 0.7 | 0 | 0 | vue-tools | 692 | 2024-03-31T23:08:34.893419 | Apache-2.0 | false | a01c0ad14600d2deb42f1712b0f1edb6 |
prelude: |\n class C\n def m\n 1\n end\n end\n\n class CC < C\n def m\n super()\n end\n end\n\n obj = CC.new\nbenchmark:\n vm_super: obj.m\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_super.yml | vm_super.yml | YAML | 172 | 0.85 | 0.235294 | 0 | react-lib | 473 | 2023-08-16T17:09:09.507170 | BSD-3-Clause | false | b41c473971285361b9da1bc3c1169aa6 |
prelude: |\n @a = [1].freeze\n @ea = [].freeze\n @kw = {y: 1}.freeze\n @b = lambda{}\n extend(Module.new{def arg_splat(x=0, y: 0) end})\n extend(Module.new{def arg_splat_block(x=0, y: 0) end})\n extend(Module.new{def splat_kw_splat(x=0, y: 0) end})\n extend(Module.new{def splat_kw_splat_block(x=0, y: 0) end})\n extend(Module.new{def splat_kw(x=0, y: 0) end})\n extend(Module.new{def splat_kw_block(x=0, y: 0) end})\n\n extend(Module.new{def arg_splat; super(1, *@ea) end})\n extend(Module.new{def arg_splat_block; super(1, *@ea, &@b) end})\n extend(Module.new{def splat_kw_splat; super(*@a, **@kw) end})\n extend(Module.new{def splat_kw_splat_block; super(*@a, **@kw, &@b) end})\n extend(Module.new{def splat_kw; super(*@a, y: 1) end})\n extend(Module.new{def splat_kw_block; super(*@a, y: 1, &@b) end})\nbenchmark:\n arg_splat: "arg_splat"\n arg_splat_block: "arg_splat_block"\n splat_kw_splat: "splat_kw_splat"\n splat_kw_splat_block: "splat_kw_splat_block"\n splat_kw: "splat_kw"\n splat_kw_block: "splat_kw_block"\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_super_splat_calls.yml | vm_super_splat_calls.yml | YAML | 1,018 | 0.85 | 0.48 | 0 | react-lib | 877 | 2023-11-24T00:51:48.762390 | BSD-3-Clause | false | 5721c41a646e0c4709187e69064016a9 |
benchmark:\n vm_thread_alive_check: |\n t = Thread.new{}\n while t.alive?\n Thread.pass\n end\nloop_count: 50_000\n\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_thread_alive_check.yml | vm_thread_alive_check.yml | YAML | 124 | 0.7 | 0.125 | 0 | react-lib | 682 | 2025-01-03T08:13:00.910771 | MIT | false | f2a4db58ba9c086dfc4addf86d99066b |
# while loop cost is not removed due to benchmark_driver.gem's limitation\nbenchmark:\n vm_yield: |\n def m\n i = 0\n while i<30_000_000\n i += 1\n yield\n end\n end\n\n m{}\nloop_count: 1\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_yield.yml | vm_yield.yml | YAML | 216 | 0.95 | 0.230769 | 0.083333 | node-utils | 167 | 2024-11-05T17:40:29.384971 | BSD-3-Clause | false | 9868834be17dd35ee7074d8f6d25d689 |
prelude: |\n class C\n def m a\n 1\n end\n end\n\n class CC < C\n def m a\n super\n end\n end\n\n obj = CC.new\nbenchmark:\n vm_zsuper: |\n obj.m 10\nloop_count: 6000000\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_zsuper.yml | vm_zsuper.yml | YAML | 184 | 0.85 | 0.222222 | 0 | react-lib | 493 | 2024-05-30T09:03:54.919219 | MIT | false | 05d936fa74a68acd1c2b72d61e5c9a7a |
prelude: |\n a = [1].freeze\n ea = [].freeze\n kw = {y: 1}.freeze\n b = lambda{}\n extend(Module.new{def arg_splat(x=0, y: 0) end})\n extend(Module.new{def arg_splat_block(x=0, y: 0) end})\n extend(Module.new{def arg_splat_post(x=0, y: 0) end})\n extend(Module.new{def splat_kw_splat(x=0, y: 0) end})\n extend(Module.new{def splat_kw_splat_block(x=0, y: 0) end})\n extend(Module.new{def splat_kw(x=0, y: 0) end})\n extend(Module.new{def splat_kw_block(x=0, y: 0) end})\n\n extend(Module.new{def arg_splat(x, *a) super end})\n extend(Module.new{def arg_splat_block(x, *a, &b) super end})\n extend(Module.new{def arg_splat_post(*a, x) super end})\n extend(Module.new{def splat_kw_splat(*a, **kw) super end})\n extend(Module.new{def splat_kw_splat_block(*a, **kw, &b) super end})\n extend(Module.new{def splat_kw(*a, y: 1) super end})\n extend(Module.new{def splat_kw_block(*a, y: 1, &b) super end})\nbenchmark:\n arg_splat: "arg_splat(1, *ea)"\n arg_splat_block: "arg_splat_block(1, *ea, &b)"\n arg_splat_post: "arg_splat_post(1, *ea, &b)"\n splat_kw_splat: "splat_kw_splat(*a, **kw)"\n splat_kw_splat_block: "splat_kw_splat_block(*a, **kw, &b)"\n splat_kw: "splat_kw(*a, y: 1)"\n splat_kw_block: "splat_kw_block(*a, y: 1, &b)"\n | dataset_sample\yaml\ruby_ruby\benchmark\vm_zsuper_splat_calls.yml | vm_zsuper_splat_calls.yml | YAML | 1,224 | 0.85 | 0.5 | 0 | python-kit | 137 | 2024-09-06T13:00:23.625811 | GPL-3.0 | false | f5e59e0ba523f4b4270a93924cfe4ddb |
inherit_from: .rubocop_todo.yml\n\nAllCops:\n TargetRubyVersion: 3.1\n DisplayCopNames: true\n Exclude:\n - command_line/fixtures/bad_syntax.rb\n - core/exception/fixtures/syntax_error.rb\n DisabledByDefault: true\n NewCops: disable\n\nLayout/IndentationConsistency:\n Enabled: true\n\nLayout/TrailingWhitespace:\n Enabled: true\n\nLayout/TrailingEmptyLines:\n Enabled: true\n Exclude:\n - library/coverage/fixtures/some_class.rb\n\nLayout/SpaceInLambdaLiteral:\n Enabled: true\n EnforcedStyle: require_space\n\nLint:\n Enabled: true\n\n# {...} has higher precedence than do ... end, on purpose\nLint/AmbiguousBlockAssociation:\n Enabled: false\n\nLint/AssignmentInCondition:\n Enabled: false\n\nLint/BooleanSymbol:\n Enabled: false\n\nLint/DeprecatedOpenSSLConstant:\n Exclude:\n - library/openssl/digest/**/*.rb\n\nLint/InterpolationCheck:\n Enabled: false\n\nLint/LiteralAsCondition:\n Enabled: false\n\n# Required to support Ruby 3.0\nLint/RedundantRequireStatement:\n Exclude:\n - core/fiber/**/*.rb\n - library/fiber/**/*.rb\n - optional/capi/fiber_spec.rb\n\nLint/RedundantSafeNavigation:\n Exclude:\n - language/safe_navigator_spec.rb\n\nLint/RedundantSplatExpansion:\n Enabled: false\n\nLint/RescueException:\n Enabled: false\n\nLint/UnifiedInteger:\n Enabled: false\n\nLint/UnusedBlockArgument:\n Enabled: false\n\nLint/UnusedMethodArgument:\n Enabled: false\n\nLint/UselessAssignment:\n Enabled: false\n\nLint/BinaryOperatorWithIdenticalOperands:\n Enabled: false\n\nLint/EmptyConditionalBody:\n Enabled: false # buggy\n\nLint/Void:\n Enabled: false\n\nLint/ConstantDefinitionInBlock:\n Enabled: false\n\nLint/RaiseException:\n Enabled: false\n\nLint/FloatComparison:\n Enabled: false\n\nLint/DeprecatedClassMethods:\n Enabled: false\n\nLint/UnreachableLoop:\n Enabled: false\n\nLint/MissingSuper:\n Enabled: false\n\nLint/UselessMethodDefinition:\n Enabled: false\n\nLint/UselessTimes:\n Enabled: false\n\nLint/MixedRegexpCaptureTypes:\n Enabled: false\n\nLint/DuplicateElsifCondition:\n Enabled: false\n\nLint/OutOfRangeRegexpRef:\n Enabled: false\n\nLint/InheritException:\n Enabled: false\n\nLint/SafeNavigationChain:\n Enabled: false\n\nLint/ElseLayout:\n Exclude:\n - 'language/if_spec.rb'\n\nLint/EmptyExpression:\n Exclude:\n - 'language/**/*.rb'\n\nLint/EmptyWhen:\n Exclude:\n - language/case_spec.rb\n - optional/capi/spec_helper.rb\n\nLint/ErbNewArguments:\n Exclude:\n - 'library/erb/new_spec.rb'\n\nLint/FormatParameterMismatch:\n Exclude:\n - 'core/kernel/shared/sprintf.rb'\n - 'core/string/modulo_spec.rb'\n\nLint/NestedMethodDefinition:\n Exclude:\n - language/def_spec.rb\n - language/fixtures/def.rb\n\nLint/ShadowingOuterLocalVariable:\n Exclude:\n - 'core/binding/local_variables_spec.rb'\n - 'core/kernel/local_variables_spec.rb'\n - 'language/block_spec.rb'\n - 'language/proc_spec.rb'\n\nLint/UnreachableCode:\n Exclude:\n - 'core/enumerator/lazy/fixtures/classes.rb'\n - 'core/kernel/catch_spec.rb'\n - 'core/kernel/raise_spec.rb'\n - 'core/kernel/throw_spec.rb'\n - 'language/break_spec.rb'\n - 'language/optional_assignments_spec.rb'\n - 'language/fixtures/break.rb'\n - 'language/fixtures/break_lambda_toplevel.rb'\n - 'language/fixtures/break_lambda_toplevel_block.rb'\n - 'language/fixtures/break_lambda_toplevel_method.rb'\n - 'language/fixtures/return.rb'\n - 'language/next_spec.rb'\n - 'language/return_spec.rb'\n - 'optional/capi/kernel_spec.rb'\n - 'shared/kernel/raise.rb'\n\nLint/UriRegexp:\n Exclude:\n - 'library/uri/regexp_spec.rb'\n\nLint/Debugger:\n Exclude:\n - 'core/binding/fixtures/irb.rb'\n\nLint/Loop:\n Enabled: false\n\nStyle/BlockComments:\n Enabled: true\n\nStyle/Lambda:\n Enabled: true\n EnforcedStyle: literal\n Exclude:\n - 'language/lambda_spec.rb'\n - 'language/proc_spec.rb'\n - 'language/numbered_parameters_spec.rb'\n - 'core/kernel/lambda_spec.rb'\n\nStyle/EmptyLambdaParameter:\n Enabled: true\n\nStyle/StabbyLambdaParentheses:\n Enabled: true\n EnforcedStyle: require_no_parentheses\n | dataset_sample\yaml\ruby_ruby\spec\ruby\.rubocop.yml | .rubocop.yml | YAML | 3,940 | 0.95 | 0.004831 | 0.012821 | react-lib | 492 | 2025-01-24T22:11:23.380903 | GPL-3.0 | false | 79a3cde1899408f4cee19c3a5d35a5c7 |
# This configuration was generated by\n# `rubocop --auto-gen-config`\n# on 2024-10-12 16:01:45 UTC using RuboCop version 1.66.1.\n# The point is for the user to remove these configuration records\n# one by one as the offenses are removed from the code base.\n# Note that changes in the inspected code, or installation of new\n# versions of RuboCop, may require this file to be generated again.\n\n# Offense count: 2\nLint/DuplicateCaseCondition:\n Exclude:\n - 'language/case_spec.rb'\n\n# Offense count: 6\nLint/DuplicateMethods:\n Exclude:\n - 'core/array/fixtures/encoded_strings.rb'\n - 'core/method/fixtures/classes.rb'\n - 'core/module/fixtures/classes.rb'\n - 'core/unboundmethod/fixtures/classes.rb'\n - 'fixtures/class.rb'\n\n# Offense count: 8\n# This cop supports safe autocorrection (--autocorrect).\nLint/EnsureReturn:\n Exclude:\n - 'language/fixtures/ensure.rb'\n - 'language/fixtures/return.rb'\n - 'language/return_spec.rb'\n\n# Offense count: 10\nLint/FlipFlop:\n Exclude:\n - 'language/if_spec.rb'\n - 'language/precedence_spec.rb'\n\n# Offense count: 10\nLint/FloatOutOfRange:\n Exclude:\n - 'core/string/modulo_spec.rb'\n\n# Offense count: 2\n# This cop supports safe autocorrection (--autocorrect).\nLint/ImplicitStringConcatenation:\n Exclude:\n - 'language/string_spec.rb'\n\n# Offense count: 4\nLint/IneffectiveAccessModifier:\n Exclude:\n - 'core/kernel/fixtures/classes.rb'\n - 'core/module/fixtures/classes.rb'\n - 'language/fixtures/private.rb'\n\n# Offense count: 71\n# This cop supports safe autocorrection (--autocorrect).\nLint/LiteralInInterpolation:\n Exclude:\n - 'core/module/refine_spec.rb'\n - 'core/regexp/shared/new.rb'\n - 'core/string/shared/to_sym.rb'\n - 'language/alias_spec.rb'\n - 'language/defined_spec.rb'\n - 'language/fixtures/squiggly_heredoc.rb'\n - 'language/string_spec.rb'\n - 'language/symbol_spec.rb'\n - 'language/undef_spec.rb'\n\n# Offense count: 8\n# This cop supports safe autocorrection (--autocorrect).\nLint/MultipleComparison:\n Exclude:\n - 'language/precedence_spec.rb'\n\n# Offense count: 9\n# This cop supports safe autocorrection (--autocorrect).\nLint/ParenthesesAsGroupedExpression:\n Exclude:\n - 'language/block_spec.rb'\n - 'language/method_spec.rb'\n\n# Offense count: 2\n# This cop supports safe autocorrection (--autocorrect).\nLint/RedundantStringCoercion:\n Exclude:\n - 'core/io/print_spec.rb'\n\n# Offense count: 1\nLint/SelfAssignment:\n Exclude:\n - 'core/gc/auto_compact_spec.rb'\n\n# Offense count: 4\n# Configuration parameters: IgnoreImplicitReferences.\nLint/ShadowedArgument:\n Exclude:\n - 'language/fixtures/super.rb'\n\n# Offense count: 45\n# Configuration parameters: AllowComments, AllowNil.\nLint/SuppressedException:\n Enabled: false\n\n# Offense count: 9\n# Configuration parameters: AllowKeywordBlockArguments.\nLint/UnderscorePrefixedVariableName:\n Exclude:\n - 'core/io/pipe_spec.rb'\n - 'core/io/popen_spec.rb'\n - 'language/block_spec.rb'\n\n# Offense count: 7\n# This cop supports safe autocorrection (--autocorrect).\n# Configuration parameters: AutoCorrect, ContextCreatingMethods, MethodCreatingMethods.\nLint/UselessAccessModifier:\n Exclude:\n - 'core/module/define_method_spec.rb'\n - 'core/module/fixtures/classes.rb'\n - 'core/module/module_function_spec.rb'\n - 'core/module/private_class_method_spec.rb'\n - 'language/fixtures/send.rb'\n | dataset_sample\yaml\ruby_ruby\spec\ruby\.rubocop_todo.yml | .rubocop_todo.yml | YAML | 3,367 | 0.95 | 0.016529 | 0.32381 | react-lib | 662 | 2024-12-14T03:37:14.419741 | BSD-3-Clause | false | d9862f65f992b23c394cf3284fe256f2 |
---\n- test/core_ext/name_error_extension_test.rb\n- test/edit_distance/jaro_winkler_test.rb\n- test/fixtures/book.rb\n- test/spell_checker_test.rb\n- test/spell_checking/class_name_check_test.rb\n- test/spell_checking/key_name_check_test.rb\n- test/spell_checking/method_name_check_test.rb\n- test/spell_checking/uncorrectable_name_check_test.rb\n- test/spell_checking/variable_name_check_test.rb\n- test/test_helper.rb\n- test/tree_spell_checker_test.rb\n- test/tree_spell_explore_test.rb\n- test/tree_spell_human_typo_test.rb\n- test/verbose_formatter_test.rb\n | dataset_sample\yaml\ruby_ruby\test\did_you_mean\fixtures\mini_dir.yml | mini_dir.yml | YAML | 549 | 0.7 | 0 | 0 | python-kit | 563 | 2024-10-16T03:42:57.728336 | BSD-3-Clause | true | 94c3d2af4bb93ee8bfd0c279757c8b90 |
---\n- spec/spec_helper.rb\n- spec/integration/suite_hooks_errors_spec.rb\n- spec/integration/filtering_spec.rb\n- spec/integration/spec_file_load_errors_spec.rb\n- spec/integration/failed_line_detection_spec.rb\n- spec/integration/persistence_failures_spec.rb\n- spec/integration/bisect_runners_spec.rb\n- spec/integration/order_spec.rb\n- spec/integration/fail_if_no_examples_spec.rb\n- spec/integration/bisect_spec.rb\n- spec/integration/output_stream_spec.rb\n- spec/support/sandboxing.rb\n- spec/support/spec_files.rb\n- spec/support/fake_libs/json.rb\n- spec/support/fake_libs/open3.rb\n- spec/support/fake_libs/drb/acl.rb\n- spec/support/fake_libs/drb/drb.rb\n- spec/support/fake_libs/mocha/api.rb\n- spec/support/fake_libs/test/unit/assertions.rb\n- spec/support/fake_libs/flexmock/rspec.rb\n- spec/support/fake_libs/rake/tasklib.rb\n- spec/support/fake_libs/coderay.rb\n- spec/support/fake_libs/rr.rb\n- spec/support/fake_libs/rake.rb\n- spec/support/fake_libs/erb.rb\n- spec/support/fake_libs/rspec/mocks.rb\n- spec/support/fake_libs/rspec/expectations.rb\n- spec/support/fake_libs/minitest/assertions.rb\n- spec/support/fake_libs/minitest.rb\n- spec/support/matchers.rb\n- spec/support/runner_support.rb\n- spec/support/isolated_home_directory.rb\n- spec/support/config_options_helper.rb\n- spec/support/mathn_integration_support.rb\n- spec/support/helper_methods.rb\n- spec/support/formatter_support.rb\n- spec/support/fake_bisect_runner.rb\n- spec/support/shared_example_groups.rb\n- spec/support/aruba_support.rb\n- spec/rspec/core/runner_spec.rb\n- spec/rspec/core/did_you_mean_spec.rb\n- spec/rspec/core/drb_spec.rb\n- spec/rspec/core/metadata_spec.rb\n- spec/rspec/core/example_group_spec.rb\n- spec/rspec/core/configuration/only_failures_support_spec.rb\n- spec/rspec/core/rake_task_spec.rb\n- spec/rspec/core/memoized_helpers_spec.rb\n- spec/rspec/core/ordering_spec.rb\n- spec/rspec/core/option_parser_spec.rb\n- spec/rspec/core/example_execution_result_spec.rb\n- spec/rspec/core/suite_hooks_spec.rb\n- spec/rspec/core/set_spec.rb\n- spec/rspec/core/configuration_spec.rb\n- spec/rspec/core/rspec_matchers_spec.rb\n- spec/rspec/core/hooks_filtering_spec.rb\n- spec/rspec/core/bisect/shell_command_spec.rb\n- spec/rspec/core/bisect/server_spec.rb\n- spec/rspec/core/bisect/example_minimizer_spec.rb\n- spec/rspec/core/bisect/shell_runner_spec.rb\n- spec/rspec/core/bisect/utilities_spec.rb\n- spec/rspec/core/bisect/coordinator_spec.rb\n- spec/rspec/core/resources/a_foo.rb\n- spec/rspec/core/resources/formatter_specs.rb\n- spec/rspec/core/resources/inconsistently_ordered_specs.rb\n- spec/rspec/core/resources/a_bar.rb\n- spec/rspec/core/resources/utf8_encoded.rb\n- spec/rspec/core/resources/a_spec.rb\n- spec/rspec/core/resources/acceptance/bar.rb\n- spec/rspec/core/resources/acceptance/foo_spec.rb\n- spec/rspec/core/resources/custom_example_group_runner.rb\n- spec/rspec/core/failed_example_notification_spec.rb\n- spec/rspec/core/hooks_spec.rb\n- spec/rspec/core/formatters/profile_formatter_spec.rb\n- spec/rspec/core/formatters/deprecation_formatter_spec.rb\n- spec/rspec/core/formatters/syntax_highlighter_spec.rb\n- spec/rspec/core/formatters/base_text_formatter_spec.rb\n- spec/rspec/core/formatters/snippet_extractor_spec.rb\n- spec/rspec/core/formatters/progress_formatter_spec.rb\n- spec/rspec/core/formatters/html_snippet_extractor_spec.rb\n- spec/rspec/core/formatters/helpers_spec.rb\n- spec/rspec/core/formatters/html_formatter_spec.rb\n- spec/rspec/core/formatters/json_formatter_spec.rb\n- spec/rspec/core/formatters/documentation_formatter_spec.rb\n- spec/rspec/core/formatters/exception_presenter_spec.rb\n- spec/rspec/core/formatters/console_codes_spec.rb\n- spec/rspec/core/formatters/fallback_message_formatter_spec.rb\n- spec/rspec/core/invocations_spec.rb\n- spec/rspec/core/configuration_options_spec.rb\n- spec/rspec/core/pending_spec.rb\n- spec/rspec/core/profiler_spec.rb\n- spec/rspec/core/project_initializer_spec.rb\n- spec/rspec/core/aggregate_failures_spec.rb\n- spec/rspec/core/dsl_spec.rb\n- spec/rspec/core/ruby_project_spec.rb\n- spec/rspec/core/formatters_spec.rb\n- spec/rspec/core/metadata_filter_spec.rb\n- spec/rspec/core/example_group_constants_spec.rb\n- spec/rspec/core/world_spec.rb\n- spec/rspec/core/shared_context_spec.rb\n- spec/rspec/core/pending_example_spec.rb\n- spec/rspec/core/filter_manager_spec.rb\n- spec/rspec/core/shared_example_group_spec.rb\n- spec/rspec/core/example_status_persister_spec.rb\n- spec/rspec/core/backtrace_formatter_spec.rb\n- spec/rspec/core/output_wrapper_spec.rb\n- spec/rspec/core/example_spec.rb\n- spec/rspec/core/reporter_spec.rb\n- spec/rspec/core/filterable_item_repository_spec.rb\n- spec/rspec/core/notifications_spec.rb\n- spec/rspec/core/warnings_spec.rb\n- spec/rspec/core_spec.rb\n | dataset_sample\yaml\ruby_ruby\test\did_you_mean\fixtures\rspec_dir.yml | rspec_dir.yml | YAML | 4,688 | 0.7 | 0 | 0 | awesome-app | 174 | 2024-04-25T10:28:05.334582 | GPL-3.0 | true | ba9d87d46b8f3884c53c632bc01e35bf |
# To use the crowdin-cli, set an access token in CROWDIN_PERSONAL_TOKEN or a ~/.crowdin.yml\n# File structure documentation can be found at: https://developer.crowdin.com/configuration-file/\napi_token_env: CROWDIN_PERSONAL_TOKEN\nproject_id: 582621 # This is https://crowdin.com/project/ruffle\npreserve_hierarchy: true # Keep the directory structure so that we know, for example, "messages.json" belongs to the extension\n\n# Files we want to translate\nfiles:\n - source: /web/packages/extension/assets/_locales/en/messages.json\n translation: /web/packages/extension/assets/_locales/%two_letters_code%/messages.json\n update_option: update_as_unapproved\n\n # The crowdin path doesn't actually matter, so let's make it slightly more intelligible than what we have\n dest: /web/extension.json\n\n # Even though it's used by other browsers, the schema used is called "chrome" on crowdin\n # https://store.crowdin.com/chrome-json\n type: chrome\n\n - source: /core/assets/texts/en-US/*.ftl\n translation: /core/assets/texts/%locale%/%original_file_name%\n dest: /core/%original_file_name%\n type: ftl\n update_option: update_as_unapproved\n\n - source: /desktop/assets/texts/en-US/*.ftl\n translation: /desktop/assets/texts/%locale%/%original_file_name%\n dest: /desktop/%original_file_name%\n type: ftl\n update_option: update_as_unapproved\n\n - source: /web/packages/core/texts/en-US/*.ftl\n translation: /web/packages/core/texts/%locale%/%original_file_name%\n dest: /web/core/%original_file_name%\n type: ftl\n update_option: update_as_unapproved\n\n - source: /desktop/packages/linux/locale/*.pot\n translation: /desktop/packages/linux/locale/%file_name%/%two_letters_code%.po\n dest: /desktop/linux/%original_file_name%\n type: gettext\n update_option: update_as_unapproved\n | dataset_sample\yaml\ruffle-rs_ruffle\crowdin.yml | crowdin.yml | YAML | 1,815 | 0.8 | 0.02381 | 0.171429 | python-kit | 651 | 2023-07-17T01:27:12.408128 | MIT | false | 7944e12a95ef6061617b7cdbd81f6217 |
version: 2\nupdates:\n - package-ecosystem: "npm"\n directory: "/web/"\n versioning-strategy: increase\n schedule:\n interval: "weekly"\n groups:\n npm-minor:\n patterns:\n - "*"\n update-types:\n - "minor"\n - "patch"\n labels:\n - "T-chore"\n - "A-deps"\n\n - package-ecosystem: "github-actions"\n directory: "/"\n schedule:\n interval: "weekly"\n labels:\n - "T-chore"\n - "A-deps"\n\n - package-ecosystem: "cargo"\n directory: "/"\n schedule:\n interval: "weekly"\n groups:\n winit-wgpu-egui:\n patterns:\n - "winit"\n - "wgpu"\n - "naga"\n - "egui*"\n - "raw-window-handle"\n wasm-bindgen:\n patterns:\n - "wasm-bindgen"\n - "js-sys"\n - "web-sys"\n - "wasm-bindgen-futures"\n cargo-minor:\n patterns:\n - "*"\n update-types:\n - "minor"\n - "patch"\n labels:\n - "T-chore"\n - "A-deps"\n | dataset_sample\yaml\ruffle-rs_ruffle\.github\dependabot.yml | dependabot.yml | YAML | 1,003 | 0.7 | 0 | 0 | react-lib | 468 | 2025-05-16T22:23:15.358944 | MIT | false | c2b3158bf8db1aeb33115e871c3db47e |
name: "\U0001F41E Bug report"\ndescription: File a bug report.\nlabels: ["bug"]\nbody:\n - type: markdown\n attributes:\n value: |\n - If you have a question about Ruffle, you can ask for help on our [Discord chat][chat].\n - Also consult the [Frequently Asked Questions][faq] for common issues and questions.\n - Please do your best to search for duplicate issues before filing a new issue so we can keep our issue board clean.\n - Also make sure that you are using the [latest available version of Ruffle][version].\n - Otherwise, fill out the information below to the best of your ability. Thank you!\n\n [chat]: https://discord.gg/ruffle\n [faq]: https://github.com/ruffle-rs/ruffle/wiki/Frequently-Asked-Questions-For-Users\n [version]: https://github.com/ruffle-rs/ruffle/tags\n - type: textarea\n attributes:\n label: Describe the bug\n description: |\n Provide a clear and concise description of what the bug is.\n - If there are steps to reproduce, list them here.\n - If this is a visual issue, please attach a screenshot of the problem.\n validations:\n required: true\n - type: textarea\n attributes:\n label: Expected behavior\n description: A clear and concise description of what you expected to happen.\n validations:\n required: true\n - type: textarea\n attributes:\n label: Content Location\n description: Where can we find the Flash content related to this issue? You can link to a webpage that has it, or you can attach the SWF by zipping it and dragging it onto the issue box.\n validations:\n required: true\n - type: dropdown\n attributes:\n label: Affected platform\n description: Is the problem with the Ruffle desktop app, online demo, browser's extension, or self-hosted version?\n options:\n - Desktop app\n - Online demo\n - Browser's extension\n - Self-hosted version\n validations:\n required: true\n - type: markdown\n attributes:\n value: |\n # Device information\n - type: input\n attributes:\n label: Operating system\n description: Please list the OS you are using.\n placeholder: Windows 10, macOS Catalina, Android 11, iOS 14, etc.\n validations:\n required: true\n - type: input\n attributes:\n label: Browser\n description: If you are using the web version, please list the browser and its actual version number.\n placeholder: Mozilla Firefox 92, Google Chrome 93, etc.\n validations:\n required: false\n - type: textarea\n attributes:\n label: Additional information\n description: If you have any additional information for us, such as device logs or crash information, use the field below.\n validations:\n required: false\n | dataset_sample\yaml\ruffle-rs_ruffle\.github\ISSUE_TEMPLATE\bug_report.yml | bug_report.yml | YAML | 2,796 | 0.95 | 0.055556 | 0.014085 | awesome-app | 146 | 2025-03-25T20:55:24.165229 | BSD-3-Clause | false | c71a33621ec6564182d1fb1f98edb328 |
name: "\U0001f4A5 Crash report"\ndescription: File a crash report.\nlabels: ["bug", "panic"]\nbody:\n - type: markdown\n attributes:\n value: |\n - If you have a question about Ruffle, you can ask for help on our [Discord chat][chat].\n - Also consult the [Frequently Asked Questions][faq] for common issues and questions.\n - Please do your best to search for duplicate issues before filing a new issue so we can keep our issue board clean.\n - Also make sure that you are using the [latest available version of Ruffle][version].\n - Otherwise, fill out the information below to the best of your ability. Thank you!\n\n [chat]: https://discord.gg/ruffle\n [faq]: https://github.com/ruffle-rs/ruffle/wiki/Frequently-Asked-Questions-For-Users\n [version]: https://github.com/ruffle-rs/ruffle/tags\n - type: textarea\n attributes:\n label: Describe what you were doing\n description: |\n Provide a clear and concise description of what you were doing when you encountered the crash.\n - If there are steps to reproduce, list them here.\n - If this is an issue with a specific SWF file, please provide a link to the SWF file, or you can attach the SWF by zipping it and dragging it onto the issue box.\n validations:\n required: true\n - type: textarea\n id: panic_text\n attributes:\n label: What does the crash message say?\n validations:\n required: true\n - type: markdown\n attributes:\n value: |\n # Device information\n - type: input\n id: ruffle_version\n attributes:\n label: Ruffle Version\n description: What version of Ruffle did this crash occur in?\n validations:\n required: true\n - type: dropdown\n id: platform\n attributes:\n label: Affected platform\n description: Is the problem with the Ruffle desktop app, online demo, browser's extension, or self-hosted version?\n options:\n - Desktop app\n - Online demo\n - Browser's extension\n - Self-hosted version\n validations:\n required: true\n - type: input\n id: operating_system\n attributes:\n label: Operating system\n description: Please list the OS you are using.\n placeholder: Windows 10, macOS Catalina, Android 11, iOS 14, etc.\n validations:\n required: true\n - type: textarea\n id: extra_info\n attributes:\n label: Additional information\n description: If you have any additional information for us, such as device logs or renderer info, use the field below.\n validations:\n required: false\n | dataset_sample\yaml\ruffle-rs_ruffle\.github\ISSUE_TEMPLATE\crash_report.yml | crash_report.yml | YAML | 2,585 | 0.95 | 0.057971 | 0.014706 | node-utils | 994 | 2023-10-24T18:17:28.022399 | Apache-2.0 | false | 1c71da9d1f73f072d947dcdfc1edd468 |
name: Download translations from Crowdin\n\non:\n schedule:\n - cron: '0 21 * * *'\n workflow_dispatch:\n\njobs:\n crowdin:\n runs-on: ubuntu-24.04\n\n if: github.repository == 'ruffle-rs/ruffle'\n\n strategy:\n max-parallel: 1\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Install dependencies\n run: |\n sudo apt-get install -y itstool gettext appstream\n\n - name: Generate desktop & metainfo sources\n working-directory: desktop/packages/linux\n run: |\n make update\n\n # Crowdin action creates files and directories as root,\n # however we need write access to them to apply changes,\n # so just create them here instead of relying on Crowdin.\n - name: Create locale directories\n working-directory: desktop/packages/linux\n run: |\n mkdir -p locale/rs.ruffle.Ruffle.desktop\n mkdir -p locale/rs.ruffle.Ruffle.metainfo.xml\n\n - name: Crowdin download\n uses: crowdin/github-action@v2\n with:\n config: 'crowdin.yml'\n upload_sources: false\n upload_translations: false\n download_translations: true\n push_translations: false\n create_pull_request: false\n env:\n CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}\n\n - name: Apply desktop & metainfo sources\n working-directory: desktop/packages/linux\n run: |\n make apply\n\n - name: Upload intermediate files\n uses: actions/upload-artifact@v4\n with:\n path: desktop/packages/linux/locale\n\n - name: Commit\n run: |\n git config user.name "RuffleBuild"\n git config user.email "ruffle@ruffle.rs"\n git checkout -b l10n_crowdin_translations\n git add -A\n git commit -m 'chore: Update translations from Crowdin'\n\n - name: Push\n uses: ad-m/github-push-action@master\n with:\n branch: l10n_crowdin_translations\n github_token: ${{ secrets.RUFFLE_BUILD_TOKEN }}\n force: true\n\n - name: Create a PR\n run: |\n prs=$(gh pr list --base master --head l10n_crowdin_translations --limit 1 --json id | jq length)\n if [ "$prs" = 1 ]; then echo "PR already exists"; exit 0; fi\n\n pr_url=$(gh pr create \\n --title 'chore: Update translations' \\n --body 'New Crowdin pull request with translations 🎉' \\n --head l10n_crowdin_translations \\n --base master)\n\n # This has to be done separately from creating a PR, because\n # GitHub currently has issues with creating a PR with labels.\n # Basically creating a PR works, adding labels works, but creating\n # a PR with labels doesn't ¯\_(ツ)_/¯\n gh pr edit "$pr_url" --add-label T-chore --add-label A-i18n\n env:\n # Use a custom token rather than the automatic GITHUB_TOKEN, as the automatic one doesn't allow created PRs to trigger workflows\n # By using our own token (and thus own user), workflows will run, and the PR will be able to be merged.\n GITHUB_TOKEN: ${{ secrets.RUFFLE_BUILD_TOKEN }}\n | dataset_sample\yaml\ruffle-rs_ruffle\.github\workflows\download_translations.yml | download_translations.yml | YAML | 3,202 | 0.8 | 0.021277 | 0.113924 | vue-tools | 453 | 2025-05-19T18:41:37.953147 | BSD-3-Clause | false | 827d46c41ba18ccedf88f79844f6f222 |
name: Release Nightly\n\non:\n # Run nightly\n schedule:\n - cron: "0 0 * * *"\n\n # Allow for manual dispatch on GitHub\n workflow_dispatch:\n\njobs:\n create-nightly-release:\n name: Create Nightly Release\n runs-on: ubuntu-24.04\n outputs:\n is_active: ${{ steps.activity.outputs.is_active }}\n date: ${{ steps.current_time_underscores.outputs.formattedTime }}\n upload_url: ${{ steps.create_release.outputs.upload_url }}\n package_prefix: ruffle-nightly-${{ steps.current_time_underscores.outputs.formattedTime }}\n tag_name: nightly-${{ steps.current_time_dashes.outputs.formattedTime }}\n\n # Only run the scheduled workflows on the main repo.\n if: github.repository == 'ruffle-rs/ruffle' || github.event_name == 'repository_dispatch' || github.event_name == 'workflow_dispatch'\n\n steps:\n - uses: actions/checkout@v4\n\n - name: Check for repo activity\n id: activity\n run: |\n # Skip activity check when manually triggered.\n if [ "${{ github.event_name }}" == "repository_dispatch" ] || [ "${{ github.event_name }}" == "workflow_dispatch" ]; then\n is_active=true\n elif [ "$(git rev-list --after="24 hours" ${{ github.sha }})" ]; then\n is_active=true\n else\n is_active=false\n fi\n echo "is_active=$is_active" >> $GITHUB_OUTPUT\n\n - name: Get current time with dashes\n uses: josStorer/get-current-time@v2.1.2\n id: current_time_dashes\n with:\n format: YYYY-MM-DD\n\n - name: Get current time with underscores\n uses: josStorer/get-current-time@v2.1.2\n id: current_time_underscores\n with:\n format: YYYY_MM_DD\n\n - name: Create release\n if: steps.activity.outputs.is_active == 'true'\n id: create_release\n run: |\n tag_name="nightly-${{ steps.current_time_dashes.outputs.formattedTime }}"\n release_name="Nightly ${{ steps.current_time_dashes.outputs.formattedTime }}"\n gh release create "$tag_name" --title "$release_name" --generate-notes --prerelease\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n build:\n name: Build ${{ matrix.build_name }}\n needs: create-nightly-release\n if: needs.create-nightly-release.outputs.is_active == 'true'\n strategy:\n fail-fast: false\n matrix:\n include:\n - build_name: linux-x86_64\n os: ubuntu-24.04\n\n # Mac does two Rust builds to make a universal binary\n - build_name: macos-x86_64\n os: macos-14\n target: x86_64-apple-darwin\n MACOSX_DEPLOYMENT_TARGET: 10.7\n DESKTOP_FEATURES: sandbox,jpegxr\n\n - build_name: macos-aarch64\n os: macos-14\n target: aarch64-apple-darwin\n MACOSX_DEPLOYMENT_TARGET: 11.0\n DESKTOP_FEATURES: sandbox,jpegxr\n\n - build_name: windows-x86_32\n os: windows-latest\n target: i686-pc-windows-msvc\n RUSTFLAGS: -Ctarget-feature=+crt-static\n DESKTOP_FEATURES: jpegxr\n MSI_ARCH: x86\n\n - build_name: windows-x86_64\n os: windows-latest\n target: x86_64-pc-windows-msvc\n RUSTFLAGS: -Ctarget-feature=+crt-static\n DESKTOP_FEATURES: jpegxr\n MSI_ARCH: x64\n\n env:\n PACKAGE_FILE: ${{ needs.create-nightly-release.outputs.package_prefix }}-${{ matrix.build_name }}.${{ startsWith(matrix.build_name, 'win') && 'zip' || 'tar.gz' }}\n CARGO_BUILD_DIR: target/${{ matrix.target }}/release\n\n runs-on: ${{ matrix.os }}\n steps:\n - name: Clone Ruffle repo\n uses: actions/checkout@v4\n\n - name: Install Rust toolchain\n uses: dtolnay/rust-toolchain@stable\n with:\n toolchain: stable\n targets: ${{ matrix.target }}\n\n - name: Install Linux dependencies\n if: runner.os == 'Linux'\n run: |\n sudo apt-get update\n sudo apt install -y libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libudev-dev\n\n - name: Install WiX\n run: |\n dotnet tool install --global wix --version 5.0.2\n wix extension add -g WixToolset.UI.wixext/5.0.2\n wix extension add -g WixToolset.Util.wixext/5.0.2\n if: runner.os == 'Windows'\n\n - name: Cargo build\n run: cargo build --locked --package ruffle_desktop --release ${{matrix.DESKTOP_FEATURES && '--features' }} ${{matrix.DESKTOP_FEATURES}} ${{ matrix.target && '--target' }} ${{ matrix.target }}\n env:\n CFG_RELEASE_CHANNEL: nightly\n RUSTFLAGS: ${{ matrix.RUSTFLAGS }}\n MACOSX_DEPLOYMENT_TARGET: ${{ matrix.MACOSX_DEPLOYMENT_TARGET }}\n\n - name: Package common\n run: |\n mkdir package\n cp README.md package/README.md\n cp LICENSE.md package/LICENSE.md\n\n - name: Package MSI\n run: |\n cd desktop/packages/windows/wix\n wix build ruffle.wxs -ext WixToolset.UI.wixext -ext WixToolset.Util.wixext -arch ${{ matrix.MSI_ARCH }} -o ../../../../package/setup.msi -pdbtype none\n env:\n RUFFLE_VERSION: "0.1.0"\n CARGO_BUILD_DIR: ../../../../target/${{ matrix.target }}/release\n if: runner.os == 'Windows'\n\n - name: Package Windows\n if: runner.os == 'Windows'\n run: |\n cp ${{ env.CARGO_BUILD_DIR }}/ruffle_desktop.exe package/ruffle.exe\n 7z a ${{ env.PACKAGE_FILE }} ./package/*\n\n - name: Package Linux\n if: runner.os == 'Linux'\n run: |\n cp ${{ env.CARGO_BUILD_DIR }}/ruffle_desktop package/ruffle\n\n # Package extras\n mkdir -p package/extras\n cp desktop/packages/linux/rs.ruffle.Ruffle.desktop package/extras\n cp desktop/packages/linux/rs.ruffle.Ruffle.metainfo.xml package/extras\n cp desktop/packages/linux/rs.ruffle.Ruffle.svg package/extras\n\n # We must enter the package/ directory in order to create a flat tarball (i.e. without a directory in it).\n cd package\n tar -czvf ../${{ env.PACKAGE_FILE }} *\n\n - name: Upload package\n if: runner.os != 'macOS'\n run: gh release upload "${{ needs.create-nightly-release.outputs.tag_name }}" "${{ env.PACKAGE_FILE }}"\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n - name: Build Safari Web Extension stub binary\n if: runner.os == 'macOS'\n run: cargo build --locked --package ruffle_web_safari --release ${{ matrix.target && '--target' }} ${{ matrix.target }}\n env:\n CFG_RELEASE_CHANNEL: nightly\n RUSTFLAGS: ${{ matrix.RUSTFLAGS }}\n MACOSX_DEPLOYMENT_TARGET: ${{ matrix.MACOSX_DEPLOYMENT_TARGET }}\n\n - name: Upload macOS build artifact\n if: runner.os == 'macOS'\n uses: actions/upload-artifact@v4\n with:\n name: ${{ matrix.build_name }}\n path: |\n ${{ env.CARGO_BUILD_DIR }}/ruffle_desktop\n ${{ env.CARGO_BUILD_DIR }}/ruffle_web_safari\n package\n\n build-mac-universal-binary:\n name: Build macOS universal binary\n needs: [create-nightly-release, build, build-browser-extensions]\n runs-on: macos-14\n env:\n PACKAGE_FILE: ${{ needs.create-nightly-release.outputs.package_prefix }}-macos-universal.tar.gz\n steps:\n - name: Clone Ruffle repo\n uses: actions/checkout@v4\n\n - name: Download aarch64 binary\n uses: actions/download-artifact@v4\n with:\n name: macos-aarch64\n\n - name: Download x86_64 binary\n uses: actions/download-artifact@v4\n with:\n name: macos-x86_64\n\n - name: Download Safari extension\n uses: actions/download-artifact@v4\n with:\n name: macos-safari\n\n - name: Make universal desktop binary\n run: |\n lipo -create -output package/ruffle target/x86_64-apple-darwin/release/ruffle_desktop target/aarch64-apple-darwin/release/ruffle_desktop\n chmod +x package/ruffle\n\n - name: Make universal Safari stub binary\n continue-on-error: true\n run: |\n lipo -create -output package/ruffle_web_safari target/x86_64-apple-darwin/release/ruffle_web_safari target/aarch64-apple-darwin/release/ruffle_web_safari\n chmod +x package/ruffle_web_safari\n\n - name: Create app bundle\n run: |\n cp -r desktop/packages/macOS package/Ruffle.app\n mkdir package/Ruffle.app/Contents/MacOS\n mv package/ruffle package/Ruffle.app/Contents/MacOS/ruffle\n\n - name: Compile asset catalog\n run: |\n mkdir package/Ruffle.app/Contents/Resources\n xcrun actool --compile package/Ruffle.app/Contents/Resources desktop/assets/Assets.xcassets --minimum-deployment-target 10.0 --platform macosx --warnings --errors --notices --include-all-app-icons\n\n - name: Create extension bundle\n continue-on-error: true\n run: |\n mkdir package/Ruffle.app/Contents/PlugIns\n cp -r web/packages/extension/safari/package package/Ruffle.app/Contents/PlugIns/Ruffle\ Web.appex\n mkdir package/Ruffle.app/Contents/PlugIns/Ruffle\ Web.appex/Contents/Resources\n mkdir package/Ruffle.app/Contents/PlugIns/Ruffle\ Web.appex/Contents/MacOS\n mv package/ruffle_web_safari package/Ruffle.app/Contents/PlugIns/Ruffle\ Web.appex/Contents/MacOS/ruffle_web_safari\n cp ruffle_extension.zip package/Ruffle.app/Contents/PlugIns/Ruffle\ Web.appex/Contents/Resources\n cd package/Ruffle.app/Contents/PlugIns/Ruffle\ Web.appex/Contents/Resources\n unzip ruffle_extension.zip\n rm ruffle_extension.zip\n cd ../../../../../../..\n\n - name: Sign bundle\n continue-on-error: true\n env:\n APPLE_DEVELOPER_KEY: ${{ secrets.APPLE_DEVELOPER_KEY }}\n APPLE_DEVELOPER_KEY_PASSWORD: ${{ secrets.APPLE_DEVELOPER_KEY_PASSWORD }}\n run: |\n echo $APPLE_DEVELOPER_KEY | base64 --decode > certificate.p12\n security create-keychain -p correct-horse-battery-staple build.keychain\n security default-keychain -s build.keychain\n security unlock-keychain -p correct-horse-battery-staple build.keychain\n security import certificate.p12 -k build.keychain -P $APPLE_DEVELOPER_KEY_PASSWORD -T /usr/bin/codesign\n security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k correct-horse-battery-staple build.keychain\n codesign --deep -s ${{ secrets.APPLE_DEVELOPER_IDENTITY }} -f --entitlements desktop/assets/macOSEntitlements.plist --options runtime package/Ruffle.app\n codesign --verify -vvvv package/Ruffle.app\n\n - name: Notarize bundle\n continue-on-error: true\n run: |\n xcrun notarytool store-credentials "Ruffle" --apple-id ${{ secrets.APPLE_ID }} --team-id ${{ secrets.APPLE_TEAM }} --password ${{ secrets.APPLE_APP_PASSWORD }}\n cd package\n zip -r Ruffle.zip Ruffle.app\n mv Ruffle.zip ..\n cd ..\n xcrun notarytool submit Ruffle.zip --keychain-profile Ruffle --wait\n xcrun stapler staple package/Ruffle.app\n\n - name: Package macOS\n run: |\n # We must enter the package/ directory in order to create a flat tarball (i.e. without a directory in it).\n cd package\n tar -czvf ../${{ env.PACKAGE_FILE }} *\n\n - name: Upload package\n run: gh release upload "${{ needs.create-nightly-release.outputs.tag_name }}" "${{ env.PACKAGE_FILE }}"\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n build-stub-report:\n name: Build AVM2 stub repository\n needs: create-nightly-release\n if: needs.create-nightly-release.outputs.is_active == 'true'\n runs-on: ubuntu-24.04\n steps:\n - name: Clone Ruffle repo\n uses: actions/checkout@v4\n\n - name: Install Rust toolchain\n uses: dtolnay/rust-toolchain@stable\n with:\n toolchain: stable\n\n - name: Generate report\n run: ./stub-report/generate-report.sh\n\n - name: Upload report\n run: gh release upload "${{ needs.create-nightly-release.outputs.tag_name }}" avm2_report.json\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n # The first couple steps of this and the `build-web-demo-and-selfhosted` job\n # (tool setup and dependency install) are identical. Hopefully in the future\n # https://github.com/actions/runner/issues/1182 can help deduplicate them.\n build-browser-extensions:\n name: Build browser extensions\n needs: create-nightly-release\n if: needs.create-nightly-release.outputs.is_active == 'true'\n runs-on: ubuntu-24.04\n permissions:\n actions: read\n attestations: write\n checks: read\n contents: write\n id-token: write\n pull-requests: read\n statuses: write\n steps:\n - name: Clone Ruffle repo\n uses: actions/checkout@v4\n\n - name: Install Rust toolchain\n uses: dtolnay/rust-toolchain@stable\n with:\n toolchain: stable\n targets: wasm32-unknown-unknown\n components: rust-src\n\n - name: Setup Node.js\n uses: actions/setup-node@v4\n with:\n node-version: "22"\n registry-url: https://registry.npmjs.org\n\n # wasm-bindgen-cli version must match wasm-bindgen crate version.\n # Be sure to update in test_web.yml, Cargo.toml, web/docker/Dockerfile,\n # and web/README.md as well.\n - name: Install wasm-bindgen\n run: cargo install wasm-bindgen-cli --version 0.2.100\n\n # Keep the version number in sync in all workflows,\n # and in the extension builder Dockerfile!\n - name: Install wasm-opt\n uses: sigoden/install-binary@v1\n with:\n repo: WebAssembly/binaryen\n tag: version_123\n name: wasm-opt\n\n - name: Install node packages\n working-directory: web\n shell: bash -l {0}\n run: npm ci\n\n - name: Seal version data\n shell: bash -l {0}\n working-directory: web\n env:\n CFG_RELEASE_CHANNEL: nightly\n BUILD_ID: ${{ github.run_number }}\n ENABLE_VERSION_SEAL: "true"\n FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }} # Needed to inject into manifest.json\n run: npm run version-seal\n\n - name: Build web\n env:\n CFG_RELEASE_CHANNEL: nightly\n BUILD_ID: ${{ github.run_number }}\n CARGO_FEATURES: jpegxr\n FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }} # Needed to inject into manifest.json\n WASM_SOURCE: cargo_and_store\n working-directory: web\n shell: bash -l {0}\n run: npm run build:repro\n\n - name: Produce reproducible source archive\n shell: bash -l {0}\n run: |\n zip -r reproducible-source.zip . -x '/web/node_modules/*' '/web/*/node_modules/*' '/web/packages/*/dist/*' '/web/docker/docker_builds/packages/*' '/target/*' '/.git/*' '/tests/tests/swfs/*'\n cp reproducible-source.zip "${{ needs.create-nightly-release.outputs.package_prefix }}-reproducible-source.zip"\n\n - name: Upload reproducible source archive\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GH_REPO: ${{ github.repository }}\n run: |\n tag_name="${{ needs.create-nightly-release.outputs.tag_name }}"\n package_file="${{ needs.create-nightly-release.outputs.package_prefix }}-reproducible-source.zip"\n gh release upload "$tag_name" "$package_file"\n\n - name: Upload generic extension\n run: |\n tag_name="${{ needs.create-nightly-release.outputs.tag_name }}"\n package_file="${{ needs.create-nightly-release.outputs.package_prefix }}-web-extension.zip"\n cp "./web/packages/extension/dist/ruffle_extension.zip" "$package_file"\n gh release upload "$tag_name" "$package_file"\n rm "$package_file"\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n - name: Upload Safari build artifact\n uses: actions/upload-artifact@v4\n with:\n name: macos-safari\n path: ./web/packages/extension/dist/ruffle_extension.zip\n\n - name: Upload Firefox extension (unsigned)\n run: |\n tag_name="${{ needs.create-nightly-release.outputs.tag_name }}"\n package_file="${{ needs.create-nightly-release.outputs.package_prefix }}-web-extension-firefox-unsigned.xpi"\n cp "./web/packages/extension/dist/firefox_unsigned.xpi" "$package_file"\n gh release upload "$tag_name" "$package_file"\n rm "$package_file"\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n - name: Publish Chrome extension\n if: env.CHROME_EXTENSION_ID != ''\n id: publish-chrome-extension\n continue-on-error: true\n env:\n CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}\n uses: mnao305/chrome-extension-upload@v5.0.0\n with:\n extension-id: ${{ secrets.CHROME_EXTENSION_ID }}\n client-id: ${{ secrets.CHROME_CLIENT_ID }}\n client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}\n refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}\n file-path: ./web/packages/extension/dist/ruffle_extension.zip\n\n - name: Publish Edge extension\n if: env.EDGE_PRODUCT_ID != ''\n id: publish-edge-extension\n continue-on-error: true\n env:\n EDGE_PRODUCT_ID: ${{ secrets.EDGE_PRODUCT_ID }}\n uses: wdzeng/edge-addon@v2\n with:\n product-id: ${{ secrets.EDGE_PRODUCT_ID }}\n zip-path: ./web/packages/extension/dist/ruffle_extension.zip\n client-id: ${{ secrets.EDGE_CLIENT_ID }}\n api-key: ${{ secrets.EDGE_API_KEY }}\n\n - name: Publish Firefox extension\n if: env.FIREFOX_EXTENSION_ID != ''\n id: publish-firefox-extension\n continue-on-error: true\n env:\n FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }}\n MOZILLA_API_KEY: ${{ secrets.MOZILLA_API_KEY }}\n MOZILLA_API_SECRET: ${{ secrets.MOZILLA_API_SECRET }}\n SOURCE_TAG: ${{ needs.create-nightly-release.outputs.tag_name }}\n working-directory: web/packages/extension\n shell: bash -l {0}\n run: npm run sign-firefox\n\n build-web-demo-and-selfhosted:\n name: Build web demo and selfhosted package with docs\n needs: create-nightly-release\n if: needs.create-nightly-release.outputs.is_active == 'true'\n runs-on: ubuntu-24.04\n permissions:\n actions: read\n attestations: write\n checks: read\n contents: write\n id-token: write\n pull-requests: read\n statuses: write\n steps:\n - name: Clone Ruffle repo\n uses: actions/checkout@v4\n\n - name: Install Rust toolchain\n uses: dtolnay/rust-toolchain@stable\n with:\n toolchain: stable\n targets: wasm32-unknown-unknown\n components: rust-src\n\n - name: Setup Node.js\n uses: actions/setup-node@v4\n with:\n node-version: "22"\n registry-url: https://registry.npmjs.org\n\n # wasm-bindgen-cli version must match wasm-bindgen crate version.\n # Be sure to update in test_web.yml, Cargo.toml, web/docker/Dockerfile,\n # and web/README.md as well.\n - name: Install wasm-bindgen\n run: cargo install wasm-bindgen-cli --version 0.2.100\n\n # Keep the version number in sync in all workflows,\n # and in the extension builder Dockerfile!\n - name: Install wasm-opt\n uses: sigoden/install-binary@v1\n with:\n repo: WebAssembly/binaryen\n tag: version_123\n name: wasm-opt\n\n - name: Install node packages\n working-directory: web\n shell: bash -l {0}\n run: npm ci\n\n - name: Seal version data\n shell: bash -l {0}\n working-directory: web\n env:\n CFG_RELEASE_CHANNEL: nightly\n BUILD_ID: ${{ github.run_number }}\n ENABLE_VERSION_SEAL: "true"\n FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }} # Needed to inject into manifest.json\n run: npm run version-seal\n\n - name: Build web\n env:\n CFG_RELEASE_CHANNEL: nightly\n BUILD_ID: ${{ github.run_number }}\n # NOTE: In the future, we might want to enable some features (like `webgpu`) only in\n # the demo build, for limited testing (like a Chrome origin trial) on ruffle.rs.\n CARGO_FEATURES: jpegxr\n FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }} # Needed to inject into manifest.json\n WASM_SOURCE: cargo_and_store\n working-directory: web\n shell: bash -l {0}\n run: npm run build:dual-wasm-repro\n\n - name: Build web docs\n working-directory: web\n run: npm run docs\n\n - name: Publish npm package\n # npm scoped packages are private by default, explicitly make public\n run: npm publish --access public --provenance\n continue-on-error: true\n working-directory: web/packages/selfhosted/dist\n env:\n NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n - name: Package selfhosted\n run: zip -r "${{ needs.create-nightly-release.outputs.package_prefix }}-web-selfhosted.zip" .\n working-directory: web/packages/selfhosted/dist\n\n - name: Upload selfhosted\n run: |\n tag_name="${{ needs.create-nightly-release.outputs.tag_name }}"\n package_file="${{ needs.create-nightly-release.outputs.package_prefix }}-web-selfhosted.zip"\n gh release upload "$tag_name" "$package_file"\n working-directory: web/packages/selfhosted/dist\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n - name: Clone JS docs\n uses: actions/checkout@v4\n with:\n repository: ruffle-rs/js-docs\n path: js-docs\n ref: master\n fetch-depth: 0\n persist-credentials: false # Needed to allow commit via RUFFLE_BUILD_TOKEN below\n\n - name: Update JS docs\n run: |\n # Delete the old docs\n rm -rf master/\n\n # Copy the fresh docs into this folder.\n cp -r ../web/packages/core/docs master\n\n # Create git commit. Amend previous commit to avoid daily commit spam.\n git config user.name "RuffleBuild"\n git config user.email "ruffle@ruffle.rs"\n git add -A\n git commit --amend -m "Nightly build ${{ needs.create-nightly-release.outputs.date }}"\n working-directory: js-docs\n\n - name: Push JS docs\n if: github.repository == 'ruffle-rs/ruffle'\n uses: ad-m/github-push-action@master\n with:\n repository: ruffle-rs/js-docs\n github_token: ${{ secrets.RUFFLE_BUILD_TOKEN }}\n directory: js-docs\n force: true\n\n - name: Clone web demo\n uses: actions/checkout@v4\n with:\n repository: ruffle-rs/demo\n path: demo\n ref: master\n fetch-depth: 0\n persist-credentials: false # Needed to allow commit via RUFFLE_BUILD_TOKEN below\n\n - name: Update web demo\n run: |\n # Delete the old build.\n rm -fr *\n\n # Copy the fresh build into this folder.\n cp -fr ../web/packages/demo/dist/* .\n\n # Restore our custom swfs\n git restore swfs swfs.json\n\n # Create git commit. Amend previous commit to avoid daily commit spam.\n git config user.name "RuffleBuild"\n git config user.email "ruffle@ruffle.rs"\n git add -A\n git commit --amend -m "Nightly build ${{ needs.create-nightly-release.outputs.date }}"\n working-directory: demo\n\n - name: Push web demo\n if: github.repository == 'ruffle-rs/ruffle'\n uses: ad-m/github-push-action@master\n with:\n repository: ruffle-rs/demo\n github_token: ${{ secrets.RUFFLE_BUILD_TOKEN }}\n directory: demo\n force: true\n\n publish-aur-package:\n name: Publish AUR package\n needs: [create-nightly-release, build]\n runs-on: ubuntu-24.04\n if: github.repository == 'ruffle-rs/ruffle'\n steps:\n - uses: actions/checkout@v4\n\n - name: Get current time with dashes\n uses: josStorer/get-current-time@v2.1.2\n id: current_time_dashes\n with:\n format: YYYY-MM-DD\n\n - name: Get current time with dots\n uses: josStorer/get-current-time@v2.1.2\n id: current_time_dots\n with:\n format: YYYY.MM.DD\n\n - name: Download package\n run: gh release download "${{ needs.create-nightly-release.outputs.tag_name }}" --pattern "${{ needs.create-nightly-release.outputs.package_prefix }}-linux-x86_64.tar.gz"\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n - name: Update PKGBUILD\n run: >\n sed -i desktop/packages/linux/aur/ruffle-nightly-bin/PKGBUILD\n -e "s/@VERSION@/${{ steps.current_time_dots.outputs.formattedTime }}/"\n -e "s/@SHA512SUM@/$(sha512sum ${{ needs.create-nightly-release.outputs.package_prefix }}-linux-x86_64.tar.gz | cut -d' ' -f1)/"\n\n - name: Publish AUR package\n uses: KSXGitHub/github-actions-deploy-aur@v4.1.1\n with:\n pkgname: ruffle-nightly-bin\n pkgbuild: desktop/packages/linux/aur/ruffle-nightly-bin/PKGBUILD\n commit_username: RuffleBuild\n commit_email: ruffle@ruffle.rs\n ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}\n commit_message: Update to Nightly ${{ steps.current_time_dashes.outputs.formattedTime }}\n | dataset_sample\yaml\ruffle-rs_ruffle\.github\workflows\release_nightly.yml | release_nightly.yml | YAML | 25,702 | 0.95 | 0.035451 | 0.052901 | react-lib | 111 | 2024-05-08T15:29:36.676111 | BSD-3-Clause | false | 86668a284e82140ae5368a870b3d4649 |
name: Upload source texts to Crowdin\n\non:\n push:\n branches: [ master ]\n workflow_dispatch:\n\njobs:\n crowdin:\n runs-on: ubuntu-24.04\n\n if: github.repository == 'ruffle-rs/ruffle'\n\n strategy:\n max-parallel: 1 # Should be 1 to avoid parallel builds\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Install dependencies\n run: |\n sudo apt-get install -y itstool gettext appstream\n\n - name: Generate desktop & metainfo sources\n working-directory: desktop/packages/linux\n run: |\n make update\n\n - name: Upload intermediate files\n uses: actions/upload-artifact@v4\n with:\n path: desktop/packages/linux/locale\n\n - name: Crowdin push\n uses: crowdin/github-action@v2\n with:\n config: 'crowdin.yml'\n upload_sources: true\n upload_translations: false\n download_translations: false\n env:\n CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}\n | dataset_sample\yaml\ruffle-rs_ruffle\.github\workflows\upload_texts.yml | upload_texts.yml | YAML | 1,029 | 0.8 | 0.02381 | 0 | awesome-app | 429 | 2023-08-21T13:44:29.602860 | Apache-2.0 | false | b8324b0f89f49eabfb00f2ecf58b90d6 |
env:\n CIRRUS_CLONE_SUBMODULES: true\n CIRRUS_CLONE_DEPTH: 1\n\ntask:\n name: ubuntu-24.04\n only_if: "changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')"\n container:\n image: ubuntu:24.04\n cpu: 4\n memory: 12G\n stateful: false\n install_rust_script:\n - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections\n - apt update\n - apt-get install -y git curl\n - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\n getdeps_script:\n - env PATH=$HOME/.cargo/bin:$PATH TESTING=1 bash get-deps\n build_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo build --all --release\n test_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo test --all --release\n\ntask:\n name: ubuntu-22.04-arm\n only_if: "$CIRRUS_REPO_OWNER == 'wezterm' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock') && $BRANCH == 'main'"\n arm_container:\n image: ubuntu:22.04\n cpu: 4\n memory: 12G\n environment:\n GITHUB_TOKEN: ENCRYPTED[!0dfc9f7314ab2500c7f72cc957d0b76940404eb8503a8cd5c4bf8a90515dfb5952ce4794bd7434002fdcc57ebf1667e0!]\n FURY_TOKEN: ENCRYPTED[!ec706982eb6c8c393fb8757ca8dcf6a04a300bb38a94c51c366455671d99ff9863be78d0b0c8ea65b49e50d16c9c956c!]\n\n stateful: false\n install_rust_script:\n - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections\n - apt update\n - apt-get install -y git curl\n - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\n install_gh_cli_script:\n - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg\n - chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list\n - apt update\n - apt install gh -y\n - gh --version\n getdeps_script:\n - env PATH=$HOME/.cargo/bin:$PATH bash get-deps\n build_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes\n - export BUILD_REASON="Schedule"\n - export RELEASE="nightly"\n - "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\""\n - "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)"\n - "./ci/deploy.sh"\n - "ls -l *.deb"\n - "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb"\n - "for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done"\n\ntask:\n name: ubuntu-24.04-arm\n only_if: "$CIRRUS_REPO_OWNER == 'wezterm' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock') && $BRANCH == 'main'"\n arm_container:\n image: ubuntu:24.04\n cpu: 4\n memory: 12G\n environment:\n GITHUB_TOKEN: ENCRYPTED[!0dfc9f7314ab2500c7f72cc957d0b76940404eb8503a8cd5c4bf8a90515dfb5952ce4794bd7434002fdcc57ebf1667e0!]\n FURY_TOKEN: ENCRYPTED[!ec706982eb6c8c393fb8757ca8dcf6a04a300bb38a94c51c366455671d99ff9863be78d0b0c8ea65b49e50d16c9c956c!]\n\n stateful: false\n install_rust_script:\n - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections\n - apt update\n - apt-get install -y git curl\n - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\n install_gh_cli_script:\n - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg\n - chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list\n - apt update\n - apt install gh -y\n - gh --version\n getdeps_script:\n - env PATH=$HOME/.cargo/bin:$PATH bash get-deps\n build_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes\n - export BUILD_REASON="Schedule"\n - export RELEASE="nightly"\n - "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\""\n - "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)"\n - "./ci/deploy.sh"\n - "ls -l *.deb"\n - "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb"\n - "for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done"\n\ntask:\n name: debian-12-arm\n only_if: "$CIRRUS_REPO_OWNER == 'wezterm' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock') && $BRANCH == 'main'"\n arm_container:\n image: debian:12\n cpu: 4\n memory: 12G\n environment:\n GITHUB_TOKEN: ENCRYPTED[!0dfc9f7314ab2500c7f72cc957d0b76940404eb8503a8cd5c4bf8a90515dfb5952ce4794bd7434002fdcc57ebf1667e0!]\n\n stateful: false\n install_rust_script:\n - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections\n - apt update\n - apt-get install -y git curl\n - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\n install_gh_cli_script:\n - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg\n - chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list\n - apt update\n - apt install gh -y\n - gh --version\n getdeps_script:\n - env PATH=$HOME/.cargo/bin:$PATH bash get-deps\n build_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes\n - export BUILD_REASON="Schedule"\n - export RELEASE="nightly"\n - "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\""\n - "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)"\n - "./ci/deploy.sh"\n - "ls -l *.deb"\n - "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb"\n | dataset_sample\yaml\rust\.cirrus.yml | .cirrus.yml | YAML | 6,171 | 0.8 | 0.015152 | 0 | vue-tools | 788 | 2025-06-20T14:14:58.598898 | BSD-3-Clause | false | 095dac317921ad033bb0af0c03150ef4 |
ignore:\n - "vendor/"\n - "sample_files/"\n\ncoverage:\n range: 40...60\n status:\n patch: off\n project:\n default:\n informational: true\n\n# Don't leave comments on PRs\ncomment: false\n | dataset_sample\yaml\rust\.codecov.yml | .codecov.yml | YAML | 197 | 0.8 | 0 | 0.083333 | node-utils | 901 | 2023-11-30T21:06:25.294447 | BSD-3-Clause | false | 6b42b7cf299a67ca8ea4c4a00b72d4c5 |
# commitlint.config.yml\nextends:\n - "@commitlint/config-conventional"\n\nrules:\n # Basic rules\n header-max-length: [2, "always", 72]\n body-max-line-length: [2, "always", 100]\n\n # Commit type\n type-enum:\n - 2\n - "always"\n - [\n "feat", # New feature\n "enh", # Enhancement of an existing feature\n "fix", # Bug fix\n "docs", # Documentation changes\n "style", # Code formatting, white spaces, etc.\n "refactor", # Code refactoring\n "perf", # Performance improvement\n "test", # Adding or fixing tests\n "build", # Changes affecting the build system or external dependencies\n "ci", # Changes to CI configuration files and scripts\n "chore", # Other changes that don't modify src or test files\n "delete", # Deleting unused files\n "revert", # Reverting to a previous commit\n ]\n\n scope-empty: [2, "never"]\n subject-empty: [2, "never"] | dataset_sample\yaml\rust\.commitlintrc.yml | .commitlintrc.yml | YAML | 931 | 0.8 | 0 | 0.107143 | react-lib | 133 | 2023-08-20T08:40:33.537442 | GPL-3.0 | false | 5201cbbe2da9893ab7a4d3f661611d07 |
stages:\n - check\n - build-nightly\n - build\n - publish\n\nvariables:\n # Note: this is deprecated!\n # https://docs.gitlab.com/ee/ci/yaml/#git-strategy\n # However in gitlab web ui it's set to fetch so it should be fine ¯\_(ツ)_/¯\n GIT_STRATEGY: fetch\n # Note: this is deprecated!\n # https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning\n GIT_DEPTH: 3\n GIT_CLEAN_FLAGS: -f\n CACHE_IMAGE_TAG: 2cca2eaa\n TAG_REGEX: '/^v[0-9]+\.[0-9]+\.[0-9]+$/'\n\ndefault:\n # https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-pending-pipelines\n interruptible: true\n # Retry automatically in case the runner times out or there's a runner failure\n retry:\n max: 2\n when:\n - runner_system_failure\n - stuck_or_timeout_failure\n tags:\n - veloren/veloren\n\n# NOTE: overriden for the `.tmacos` template so relevant changes need to be mirrored there\nbefore_script:\n - source $HOME/.cargo/env\n - df -h /\n - free -h\n - cargo --version\n - source ./.gitlab/scripts/env.sh\n - rm -rf target || echo "it seems that sometimes OLD data is left over"\n\n# 8866215 is the user that is used to sync data to the collaboration repos\nworkflow:\n rules:\n - if: $CI_MERGE_REQUEST_IID\n - if: $CI_COMMIT_TAG\n - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $GITLAB_USER_ID != "8866215"\n - if: $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/ && $GITLAB_USER_ID != "8866215"\n\ninclude:\n - local: .gitlab/CI/recompile.yml\n - local: .gitlab/CI/release.yml\n - local: .gitlab/CI/check.gitlab-ci.yml\n - local: .gitlab/CI/build.gitlab-ci.yml\n - local: .gitlab/CI/publish.gitlab-ci.yml\n | dataset_sample\yaml\rust\.gitlab-ci.yml | .gitlab-ci.yml | YAML | 1,590 | 0.8 | 0.09434 | 0.1875 | awesome-app | 96 | 2024-07-30T01:41:41.886942 | GPL-3.0 | false | c2ad06b3a7687169f7ee6b9a38cb6811 |
image:\n file: .gitpod.Dockerfile\n\nvscode:\n extensions:\n - vadimcn.vscode-lldb@1.5.3:vTh/rWhvJ5nQpeAVsD20QA== | dataset_sample\yaml\rust\.gitpod.yml | .gitpod.yml | YAML | 113 | 0.7 | 0 | 0 | vue-tools | 286 | 2023-10-22T16:24:15.046637 | MIT | false | 37bfd5f4dad6425c082291c9ea14de9b |
# Copyright (c) 2017 Intel Corporation\n#\n# SPDX-License-Identifier: Apache-2.0\n\nrun:\n concurrency: 4\n deadline: 600s\n\nissues:\n exclude-dirs:\n - vendor\n exclude-files:\n - ".*\\.pb\\.go$"\n\nlinters:\n disable-all: true\n enable:\n - gocyclo\n - gofmt\n - gosimple\n - govet\n - ineffassign\n - misspell\n - staticcheck\n - typecheck\n - unused\n\nlinters-settings:\n gocyclo:\n min_complexity: 15\n unused:\n check-exported: true\n govet:\n enable:\n | dataset_sample\yaml\rust\.golangci.yml | .golangci.yml | YAML | 478 | 0.8 | 0 | 0.1 | awesome-app | 694 | 2023-08-17T12:48:23.418374 | MIT | false | 8ada518914166b3df2d804aca82df92d |
# https://doc.mergify.io/\npull_request_rules:\n - name: label changes from community\n conditions:\n - author≠@core-contributors\n - author≠@monorepo-maintainers\n - author≠@monorepo-write\n - author≠@monorepo-triage\n - author≠mergify[bot]\n - author≠dependabot[bot]\n - author≠github-actions[bot]\n actions:\n label:\n add:\n - community\n - need:merge-assist\n - name: request review for community changes\n conditions:\n - author≠@core-contributors\n - author≠@monorepo-maintainers\n - author≠@monorepo-write\n - author≠@monorepo-triage\n - author≠mergify[bot]\n - author≠dependabot[bot]\n - author≠github-actions[bot]\n # Only request reviews from the pr subscribers group if no one\n # has reviewed the community PR yet. These checks only match\n # reviewers with admin, write or maintain permission on the repository.\n - "#approved-reviews-by=0"\n - "#commented-reviews-by=0"\n - "#changes-requested-reviews-by=0"\n - "#review-requested=0"\n actions:\n request_reviews:\n teams:\n - "@solana-labs/community-pr-subscribers"\n - name: label changes from monorepo-triage\n conditions:\n - author≠@core-contributors\n - author≠mergify[bot]\n - author≠dependabot[bot]\n - author≠github-actions[bot]\n - author≠@monorepo-maintainers\n - author≠@monorepo-write\n - author=@monorepo-triage\n actions:\n label:\n add:\n - need:merge-assist\n - name: automatic merge (squash) on CI success\n conditions:\n - and:\n - status-success=buildkite/solana\n - status-success=ci-gate\n - label=automerge\n - label!=no-automerge\n - or:\n # only require docs checks if docs files changed\n - -files~=^docs/\n - status-success=build & deploy docs\n - or:\n - -files~=(\.rs|Cargo\.toml|Cargo\.lock|\.github/scripts/cargo-clippy-before-script\.sh|\.github/workflows/cargo\.yml)$\n - and:\n - or:\n - check-success=clippy-stable (macos-latest)\n - check-success=clippy-stable (macos-latest-large)\n - or:\n - check-success=clippy-nightly (macos-latest)\n - check-success=clippy-nightly (macos-latest-large)\n - or:\n - -files~=(\.rs|Cargo\.toml|Cargo\.lock|cargo-build-bpf|cargo-test-bpf|cargo-build-sbf|cargo-test-sbf|ci/downstream-projects/run-spl\.sh|\.github/workflows/downstream-project-spl\.yml)$\n - and:\n - status-success=cargo-test-sbf (token/program)\n - status-success=cargo-test-sbf (instruction-padding/program, token/program-2022, token/program-2022-test)\n - status-success=cargo-test-sbf (associated-token-account/program, associated-token-account/program-test)\n - status-success=cargo-test-sbf (token-upgrade/program)\n - status-success=cargo-test-sbf (feature-proposal/program)\n - status-success=cargo-test-sbf (governance/addin-mock/program, governance/program)\n - status-success=cargo-test-sbf (memo/program)\n - status-success=cargo-test-sbf (name-service/program)\n - status-success=cargo-test-sbf (stake-pool/program)\n - status-success=cargo-test-sbf (single-pool/program)\n actions:\n merge:\n method: squash\n - name: remove automerge label on CI failure\n conditions:\n - and:\n - label=automerge\n - "#status-failure!=0"\n - -merged\n actions:\n label:\n remove:\n - automerge\n comment:\n message: automerge label removed due to a CI failure\n - name: v1.17 feature-gate backport\n conditions:\n - label=v1.17\n - label=feature-gate\n actions:\n backport:\n assignees: &BackportAssignee\n - "{{ merged_by|replace('mergify[bot]', label|select('equalto', 'community')|first|default(author)|replace('community', '@solana-labs/community-pr-subscribers')) }}"\n title: "{{ destination_branch }}: {{ title }} (backport of #{{ number }})"\n ignore_conflicts: true\n labels:\n - feature-gate\n branches:\n - v1.17\n - name: v1.17 non-feature-gate backport\n conditions:\n - label=v1.17\n - label!=feature-gate\n actions:\n backport:\n assignees: *BackportAssignee\n title: "{{ destination_branch }}: {{ title }} (backport of #{{ number }})"\n ignore_conflicts: true\n branches:\n - v1.17\n - name: v1.17 backport warning comment\n conditions:\n - label=v1.17\n actions:\n comment:\n message: >\n Backports to the stable branch are to be avoided unless absolutely\n necessary for fixing bugs, security issues, and perf regressions.\n Changes intended for backport should be structured such that a\n minimum effective diff can be committed separately from any\n refactoring, plumbing, cleanup, etc that are not strictly\n necessary to achieve the goal. Any of the latter should go only\n into master and ride the normal stabilization schedule.\n - name: v1.18 feature-gate backport\n conditions:\n - label=v1.18\n - label=feature-gate\n actions:\n backport:\n assignees: *BackportAssignee\n title: "{{ destination_branch }}: {{ title }} (backport of #{{ number }})"\n ignore_conflicts: true\n labels:\n - feature-gate\n branches:\n - v1.18\n - name: v1.18 non-feature-gate backport\n conditions:\n - label=v1.18\n - label!=feature-gate\n actions:\n backport:\n assignees: *BackportAssignee\n title: "{{ destination_branch }}: {{ title }} (backport of #{{ number }})"\n ignore_conflicts: true\n branches:\n - v1.18\n - name: v1.18 backport warning comment\n conditions:\n - label=v1.18\n actions:\n comment:\n message: >\n Backports to the beta branch are to be avoided unless absolutely\n necessary for fixing bugs, security issues, and perf regressions.\n Changes intended for backport should be structured such that a\n minimum effective diff can be committed separately from any\n refactoring, plumbing, cleanup, etc that are not strictly\n necessary to achieve the goal. Any of the latter should go only\n into master and ride the normal stabilization schedule. Exceptions\n include CI/metrics changes, CLI improvements and documentation\n updates on a case by case basis.\n\ncommands_restrictions:\n # The author of copied PRs is the Mergify user.\n # Restrict `copy` access to Core Contributors\n copy:\n conditions:\n - author=@core-contributors\n | dataset_sample\yaml\rust\.mergify.yml | .mergify.yml | YAML | 6,819 | 0.95 | 0.038674 | 0.038889 | vue-tools | 794 | 2025-05-04T08:18:10.104891 | Apache-2.0 | false | a915ebe584ee2346e1ef910c78a52276 |
---\ndisabled_rules:\n - colon\n - comma\n - control_statement\n - identifier_name\n - type_body_length\n - opening_brace # Differs from Google swift guidelines enforced by swiftformat\n - trailing_comma\n - switch_case_alignment # Enables expressions such as [return switch location {}]\n - orphaned_doc_comment\nopt_in_rules:\n - empty_count\n\nanalyzer_rules: # rules run by `swiftlint analyze`\n - explicit_self\n\nincluded: # case-sensitive paths to include during linting. `--path` is ignored if present\n - .\nexcluded: # case-sensitive paths to ignore during linting. Takes precedence over `included`\n - AdditionalAssets\n - Assets\n - Build\n - Configurations\n - MullvadVPNScreenshots\n\nallow_zero_lintable_files: false\n\nforce_cast: warning\nforce_try:\n severity: warning\nline_length:\n ignores_comments: true\n ignores_interpolated_strings: true\n warning: 120\n error: 300\ncyclomatic_complexity:\n ignores_case_statements: true\n\ntype_name:\n min_length: 4\n max_length:\n warning: 50\n error: 60\n excluded: iPhone # excluded via string\n allowed_symbols: ["_"] # these are allowed in type names\nreporter: "xcode"\nnesting:\n type_level:\n warning: 2\n error: 4\n | dataset_sample\yaml\rust\.swiftlint.yml | .swiftlint.yml | YAML | 1,180 | 0.8 | 0.039216 | 0 | python-kit | 42 | 2023-11-01T13:53:00.402855 | BSD-3-Clause | false | 97ccd07775034e82e30cb477ecb0d2d9 |
branches:\n only:\n - master\n - /^v\d+\.\d+/\n\nnotifications:\n email: false\n slack:\n on_success: change\n if: NOT type = pull_request\n secure: F4IjOE05MyaMOdPRL+r8qhs7jBvv4yDM3RmFKE1zNXnfUOqV4X38oQM1EI+YVsgpMQLj/pxnEB7wcTE4Bf86N6moLssEULCpvAuMVoXj4QbWdomLX+01WbFa6fLVeNQIg45NHrz2XzVBhoKOrMNnl+QI5mbR2AlS5oqsudHsXDnyLzZtd4Y5SDMdYG1zVWM01+oNNjgNfjcCGmOE/K0CnOMl6GPi3X9C34tJ19P2XT7MTDsz1/IfEF7fro2Q8DHEYL9dchJMoisXSkem5z7IDQkGzXsWdWT4NnndUvmd1MlTCE9qgoXDqRf95Qh8sB1Dz08HtvgfaosP2XjtNTfDI9BBYS15Ibw9y7PchAJE1luteNjF35EOy6OgmCLw/YpnweqfuNViBZz+yOPWXVC0kxnPIXKZ1wyH9ibeH6E4hr7a8o9SV/6SiWIlbYF+IR9jPXyTCLP/cc3sYljPWxDnhWFwFdRVIi3PbVAhVu7uWtVUO17Oc9gtGPgs/GrhOMkJfwQPXaudRJDpVZowxTX4x9kefNotlMAMRgq+Drbmgt4eEBiCNp0ITWgh17BiE1U09WS3myuduhoct85+FoVeaUkp1sxzHVtGsNQH0hcz7WcpZyOM+AwistJA/qzeEDQao5zi1eKWPbO2xAhi2rV1bDH6bPf/4lDBwLRqSiwvlWU=\n\nos: linux\ndist: bionic\nlanguage: minimal\n\njobs:\n include:\n - &release-artifacts\n if: type IN (api, cron) OR tag IS present\n name: "macOS release artifacts"\n os: osx\n osx_image: xcode12\n language: rust\n rust:\n - stable\n install:\n - source ci/rust-version.sh\n - PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"\n - readlink -f .\n - brew install gnu-tar\n - PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"\n - tar --version\n script:\n - source ci/env.sh\n - rustup set profile default\n - ci/publish-tarball.sh\n deploy:\n - provider: s3\n access_key_id: $AWS_ACCESS_KEY_ID\n secret_access_key: $AWS_SECRET_ACCESS_KEY\n bucket: release.solana.com\n region: us-west-1\n skip_cleanup: true\n acl: public_read\n local_dir: travis-s3-upload\n on:\n all_branches: true\n - provider: releases\n token: $GITHUB_TOKEN\n skip_cleanup: true\n file_glob: true\n file: travis-release-upload/*\n on:\n tags: true\n - <<: *release-artifacts\n name: "Windows release artifacts"\n os: windows\n install:\n - choco install openssl\n - export OPENSSL_DIR="C:\Program Files\OpenSSL-Win64"\n - source ci/rust-version.sh\n - PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"\n - readlink -f .\n # Linux release artifacts are still built by ci/buildkite-secondary.yml\n #- <<: *release-artifacts\n # name: "Linux release artifacts"\n # os: linux\n # before_install:\n # - sudo apt-get install libssl-dev libudev-dev\n\n # docs pull request\n - name: "docs"\n if: type IN (push, pull_request) OR tag IS present\n language: node_js\n node_js:\n - "lts/*"\n\n services:\n - docker\n\n cache:\n directories:\n - ~/.npm\n\n before_install:\n - source ci/env.sh\n - .travis/channel_restriction.sh edge beta || travis_terminate 0\n - .travis/affects.sh docs/ .travis || travis_terminate 0\n - cd docs/\n - source .travis/before_install.sh\n\n script:\n - source .travis/script.sh\n | dataset_sample\yaml\rust\.travis.yml | .travis.yml | YAML | 3,101 | 0.8 | 0.031915 | 0.081395 | python-kit | 861 | 2024-06-03T15:22:43.947866 | Apache-2.0 | false | 40807eca405460090f04f6147c822edc |
compressionLevel: mixed\nenableGlobalCache: false\nnodeLinker: node-modules\n\nnpmAlwaysAuth: true\nnpmAuthToken: ${NPM_TOKEN-''}\n | dataset_sample\yaml\rust\.yarnrc.yml | .yarnrc.yml | YAML | 125 | 0.7 | 0 | 0 | python-kit | 55 | 2024-06-04T11:46:28.473293 | Apache-2.0 | false | db8c78f052c0e56ae274ec73ec40ed13 |
self-hosted-runner:\n labels:\n - arm64\n - large\n - large-arm64\n - small\n - small-metal\n - small-arm64\n - unit-perf\n - us-east-2\nconfig-variables:\n - AWS_ECR_REGION\n - AZURE_DEV_CLIENT_ID\n - AZURE_DEV_REGISTRY_NAME\n - AZURE_DEV_SUBSCRIPTION_ID\n - AZURE_PROD_CLIENT_ID\n - AZURE_PROD_REGISTRY_NAME\n - AZURE_PROD_SUBSCRIPTION_ID\n - AZURE_TENANT_ID\n - BENCHMARK_INGEST_TARGET_PROJECTID\n - BENCHMARK_LARGE_OLTP_PROJECTID\n - BENCHMARK_PROJECT_ID_PUB\n - BENCHMARK_PROJECT_ID_SUB\n - DEV_AWS_OIDC_ROLE_ARN\n - DEV_AWS_OIDC_ROLE_MANAGE_BENCHMARK_EC2_VMS_ARN\n - HETZNER_CACHE_BUCKET\n - HETZNER_CACHE_ENDPOINT\n - HETZNER_CACHE_REGION\n - NEON_DEV_AWS_ACCOUNT_ID\n - NEON_PROD_AWS_ACCOUNT_ID\n - PGREGRESS_PG16_PROJECT_ID\n - PGREGRESS_PG17_PROJECT_ID\n - REMOTE_STORAGE_AZURE_CONTAINER\n - REMOTE_STORAGE_AZURE_REGION\n - SLACK_CICD_CHANNEL_ID\n - SLACK_ON_CALL_DEVPROD_STREAM\n - SLACK_ON_CALL_QA_STAGING_STREAM\n - SLACK_ON_CALL_STORAGE_STAGING_STREAM\n - SLACK_RUST_CHANNEL_ID\n - SLACK_STORAGE_CHANNEL_ID\n - SLACK_UPCOMING_RELEASE_CHANNEL_ID\n | dataset_sample\yaml\rust\actionlint.yml | actionlint.yml | YAML | 1,074 | 0.7 | 0 | 0 | vue-tools | 612 | 2023-09-14T22:13:13.255959 | BSD-3-Clause | false | f20ebbb03895c2c24774f0fd8250872e |
image: alpine/edge\npackages:\n - cargo\n - clang17-libclang\n - cmake\n - ninja\n - pcre2-dev\n - py3-pexpect\n - python3\n - rust\n - tmux\nsources:\n - https://github.com/fish-shell/fish-shell\ntasks:\n - build: |\n cd fish-shell\n mkdir build\n cd build\n cmake -G Ninja .. \\n -DCMAKE_INSTALL_PREFIX=/usr \\n -DCMAKE_INSTALL_DATADIR=share \\n -DCMAKE_INSTALL_DOCDIR=share/doc/fish \\n -DCMAKE_INSTALL_SYSCONFDIR=/etc\n ninja\n - test: |\n cd fish-shell/build\n ninja test\n | dataset_sample\yaml\rust\alpine.yml | alpine.yml | YAML | 570 | 0.8 | 0 | 0 | python-kit | 918 | 2025-02-15T12:46:12.117927 | BSD-3-Clause | false | 7a8eae40b13b3b8fd73ef4221fe6a8da |
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details\nversion: 1\nscript:\n - rm -rf ./AppDir || true\n - bsdtar -zxvf rustdesk.deb\n - tar -xvf ./data.tar.xz\n - mkdir ./AppDir\n - mv ./usr ./AppDir/usr\n # 32x32 icon\n - for i in {32,64,128}; do mkdir -p ./AppDir/usr/share/icons/hicolor/$i\x$i/apps/; cp ../res/$i\x$i.png ./AppDir/usr/share/icons/hicolor/$i\x$i/apps/rustdesk.png; done\n - mkdir -p ./AppDir/usr/share/icons/hicolor/scalable/apps/; cp ../res/scalable.svg ./AppDir/usr/share/icons/hicolor/scalable/apps/rustdesk.svg\n # desktop file\n # - sed -i "s/Icon=\/usr\/share\/rustdesk\/files\/rustdesk.png/Icon=rustdesk/g" ./AppDir/usr/share/applications/rustdesk.desktop\n - rm -rf ./AppDir/usr/share/applications\nAppDir:\n path: ./AppDir\n app_info:\n id: rustdesk\n name: rustdesk\n icon: rustdesk\n version: 1.3.9\n exec: usr/share/rustdesk/rustdesk\n exec_args: $@\n apt:\n arch:\n - arm64\n allow_unauthenticated: true\n sources:\n - sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal main restricted universe multiverse\n key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'\n - sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-updates main restricted universe multiverse\n key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'\n - sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-backports main restricted\n universe multiverse\n key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'\n - sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-security main restricted\n universe multiverse\n key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'\n include:\n - libc6:arm64\n - libgtk-3-0\n - libxcb-randr0\n - libxdo3\n - libxfixes3\n - libxcb-shape0\n - libxcb-xfixes0\n - libasound2\n - libsystemd0\n - curl\n - libva2\n - libva-drm2\n - libva-x11-2\n - libgstreamer-plugins-base1.0-0\n - gstreamer1.0-pipewire\n - libwayland-client0\n - libwayland-cursor0\n - libwayland-egl1\n - libpulse0\n - packagekit-gtk3-module\n - libcanberra-gtk3-module\n - libpam0g\n - libdrm2\n exclude:\n - humanity-icon-theme\n - hicolor-icon-theme\n - adwaita-icon-theme\n - ubuntu-mono\n files:\n include: []\n exclude:\n - usr/share/man\n - usr/share/doc/*/README.*\n - usr/share/doc/*/changelog.*\n - usr/share/doc/*/NEWS.*\n - usr/share/doc/*/TODO.*\n runtime:\n env:\n GIO_MODULE_DIR: /lib64/gio/modules:/usr/lib/aarch64-linux-gnu/gio/modules:$APPDIR/usr/lib/aarch64-linux-gnu/gio/modules\n GDK_BACKEND: x11\n APPDIR_LIBRARY_PATH: /lib64:/usr/lib/aarch64-linux-gnu:$APPDIR/lib/aarch64-linux-gnu:$APPDIR/lib/aarch64-linux-gnu/security:$APPDIR/lib/systemd:$APPDIR/usr/lib/aarch64-linux-gnu:$APPDIR/usr/lib/aarch64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:$APPDIR/usr/lib/aarch64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/aarch64-linux-gnu/gtk-3.0/3.0.0/immodules:$APPDIR/usr/lib/aarch64-linux-gnu/gtk-3.0/3.0.0/printbackends:$APPDIR/usr/lib/aarch64-linux-gnu/krb5/plugins/preauth:$APPDIR/usr/lib/aarch64-linux-gnu/libcanberra-0.30:$APPDIR/usr/lib/aarch64-linux-gnu/pulseaudio:$APPDIR/usr/lib/aarch64-linux-gnu/sasl2:$APPDIR/usr/lib/aarch64-linux-gnu/vdpau:$APPDIR/usr/share/rustdesk/lib:$APPDIR/lib/aarch64\n GST_PLUGIN_PATH: /lib64/gstreamer-1.0:/usr/lib/aarch64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/aarch64-linux-gnu/gstreamer-1.0\n GST_PLUGIN_SYSTEM_PATH: /lib64/gstreamer-1.0:/usr/lib/aarch64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/aarch64-linux-gnu/gstreamer-1.0\n test:\n fedora-30:\n image: appimagecrafters/tests-env:fedora-30\n command: ./AppRun\n debian-stable:\n image: appimagecrafters/tests-env:debian-stable\n command: ./AppRun\n archlinux-latest:\n image: appimagecrafters/tests-env:archlinux-latest\n command: ./AppRun\n centos-7:\n image: appimagecrafters/tests-env:centos-7\n command: ./AppRun\n ubuntu-xenial:\n image: appimagecrafters/tests-env:ubuntu-xenial\n command: ./AppRun\nAppImage:\n arch: aarch64\n update-information: guess\n | dataset_sample\yaml\rust\AppImageBuilder-aarch64.yml | AppImageBuilder-aarch64.yml | YAML | 4,279 | 0.8 | 0.019802 | 0.039604 | react-lib | 583 | 2025-01-23T16:13:54.895717 | Apache-2.0 | false | c3185c61b5c20c09d59bfcb668046005 |
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details\nversion: 1\nscript:\n - rm -rf ./AppDir || true\n - bsdtar -zxvf rustdesk.deb\n - tar -xvf ./data.tar.xz\n - mkdir ./AppDir\n - mv ./usr ./AppDir/usr\n # 32x32 icon\n - for i in {32,64,128}; do mkdir -p ./AppDir/usr/share/icons/hicolor/$i\x$i/apps/; cp ../res/$i\x$i.png ./AppDir/usr/share/icons/hicolor/$i\x$i/apps/rustdesk.png; done\n - mkdir -p ./AppDir/usr/share/icons/hicolor/scalable/apps/; cp ../res/scalable.svg ./AppDir/usr/share/icons/hicolor/scalable/apps/rustdesk.svg\n # desktop file\n # - sed -i "s/Icon=\/usr\/share\/rustdesk\/files\/rustdesk.png/Icon=rustdesk/g" ./AppDir/usr/share/applications/rustdesk.desktop\n - rm -rf ./AppDir/usr/share/applications\nAppDir:\n path: ./AppDir\n app_info:\n id: rustdesk\n name: rustdesk\n icon: rustdesk\n version: 1.3.9\n exec: usr/share/rustdesk/rustdesk\n exec_args: $@\n apt:\n arch:\n - amd64\n allow_unauthenticated: true\n sources:\n - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal main restricted\n - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted\n - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal universe\n - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates universe\n - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal multiverse\n - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse\n - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted\n universe multiverse\n - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted\n universe multiverse\n include:\n # https://github.com/rustdesk/rustdesk/issues/9103\n # Because of APPDIR_LIBRARY_PATH, this libc6 is not used, use LD_PRELOAD: $APPDIR/usr/lib/x86_64-linux-gnu/libc.so.6 may help, If you have time, please have a try.\n # We modify APPDIR_LIBRARY_PATH to use system lib first because gst crashed if not doing so, but you can try to change it.\n - libc6:amd64\n - libgtk-3-0\n - libxcb-randr0\n - libxdo3\n - libxfixes3\n - libxcb-shape0\n - libxcb-xfixes0\n - libasound2\n - libsystemd0\n - curl\n - libva2\n - libva-drm2\n - libva-x11-2\n - libgstreamer-plugins-base1.0-0\n - gstreamer1.0-pipewire\n - libwayland-client0\n - libwayland-cursor0\n - libwayland-egl1\n - libpulse0\n - packagekit-gtk3-module\n - libcanberra-gtk3-module\n - libpam0g\n - libdrm2\n exclude:\n - humanity-icon-theme\n - hicolor-icon-theme\n - adwaita-icon-theme\n - ubuntu-mono\n files:\n include: []\n exclude:\n - usr/share/man\n - usr/share/doc/*/README.*\n - usr/share/doc/*/changelog.*\n - usr/share/doc/*/NEWS.*\n - usr/share/doc/*/TODO.*\n runtime:\n env:\n GIO_MODULE_DIR: /lib64/gio/modules:/usr/lib/x86_64-linux-gnu/gio/modules:$APPDIR/usr/lib/x86_64-linux-gnu/gio/modules\n GDK_BACKEND: x11\n APPDIR_LIBRARY_PATH: /lib64:/usr/lib/x86_64-linux-gnu:$APPDIR/lib/x86_64-linux-gnu:$APPDIR/lib/x86_64-linux-gnu/security:$APPDIR/lib/systemd:$APPDIR/usr/lib/x86_64-linux-gnu:$APPDIR/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:$APPDIR/usr/lib/x86_64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules:$APPDIR/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/printbackends:$APPDIR/usr/lib/x86_64-linux-gnu/krb5/plugins/preauth:$APPDIR/usr/lib/x86_64-linux-gnu/libcanberra-0.30:$APPDIR/usr/lib/x86_64-linux-gnu/pulseaudio:$APPDIR/usr/lib/x86_64-linux-gnu/sasl2:$APPDIR/usr/lib/x86_64-linux-gnu/vdpau:$APPDIR/usr/share/rustdesk/lib:$APPDIR/lib/x86_64\n GST_PLUGIN_PATH: /lib64/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/x86_64-linux-gnu/gstreamer-1.0\n GST_PLUGIN_SYSTEM_PATH: /lib64/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/x86_64-linux-gnu/gstreamer-1.0\n test:\n fedora-30:\n image: appimagecrafters/tests-env:fedora-30\n command: ./AppRun\n debian-stable:\n image: appimagecrafters/tests-env:debian-stable\n command: ./AppRun\n archlinux-latest:\n image: appimagecrafters/tests-env:archlinux-latest\n command: ./AppRun\n centos-7:\n image: appimagecrafters/tests-env:centos-7\n command: ./AppRun\n ubuntu-xenial:\n image: appimagecrafters/tests-env:ubuntu-xenial\n command: ./AppRun\nAppImage:\n arch: x86_64\n update-information: guess\n | dataset_sample\yaml\rust\AppImageBuilder-x86_64.yml | AppImageBuilder-x86_64.yml | YAML | 4,448 | 0.8 | 0.048077 | 0.067308 | react-lib | 694 | 2024-04-13T12:36:12.365416 | Apache-2.0 | false | 6051ada1d63df0a2b3cb50145ff22215 |
image: archlinux\npackages:\n - cmake\n - ninja\n - python\n - python-pexpect\n - tmux\nsources:\n - https://git.sr.ht/~faho/fish\ntasks:\n - build: |\n cd fish\n mkdir build || :\n cd build\n cmake -G Ninja .. \\n -DCMAKE_INSTALL_PREFIX=/usr \\n -DCMAKE_INSTALL_DATADIR=share \\n -DCMAKE_INSTALL_DOCDIR=share/doc/fish \\n -DCMAKE_INSTALL_SYSCONFDIR=/etc\n ninja\n - test: |\n cd fish/build\n ninja test\n | dataset_sample\yaml\rust\arch.yml | arch.yml | YAML | 489 | 0.8 | 0 | 0 | awesome-app | 654 | 2023-11-11T16:23:30.467774 | GPL-3.0 | false | 9f5e2d7a731b981695969c001506bcc3 |
name: Security audit\n\non:\n schedule:\n - cron: '0 * * * *'\n push:\n branches:\n - master\n\njobs:\n security_audit:\n runs-on: ubuntu-24.04\n steps:\n - uses: actions/checkout@v1\n - uses: actions-rs/audit-check@v1\n with:\n token: ${{ secrets.GITHUB_TOKEN }}\n | dataset_sample\yaml\rust\audit.yml | audit.yml | YAML | 294 | 0.7 | 0 | 0 | vue-tools | 389 | 2023-09-23T06:31:41.902740 | GPL-3.0 | false | f5339e8cbdadd8ff965881afd9e72c23 |
# Update Github actions automatically\n- match:\n dependency_type: production\n update_type: all\n | dataset_sample\yaml\rust\auto-merge.yml | auto-merge.yml | YAML | 100 | 0.8 | 0 | 0.25 | node-utils | 195 | 2023-07-28T02:44:07.381982 | MIT | false | 6f5b1e4e5c009cc5819c2b7e6e578f09 |
#\n# Build steps that run after the primary pipeline on pushes and tags.\n# Pull requests to not run these steps.\nsteps:\n - name: "cargo audit"\n command: "ci/docker-run-default-image.sh ci/do-audit.sh"\n agents:\n queue: "release-build"\n timeout_in_minutes: 10\n - wait\n - name: "publish tarball (x86_64-unknown-linux-gnu)"\n command: "ci/publish-tarball.sh"\n agents:\n queue: "release-build"\n timeout_in_minutes: 60\n - name: "publish installer"\n command: "ci/publish-installer.sh"\n agents:\n queue: "release-build"\n timeout_in_minutes: 5\n - wait\n - name: "publish docker"\n command: "sdk/docker-solana/build.sh"\n agents:\n queue: "release-build"\n timeout_in_minutes: 60\n - name: "publish crate"\n command: "ci/publish-crate.sh"\n agents:\n queue: "release-build"\n retry:\n manual:\n permit_on_passed: true\n timeout_in_minutes: 240\n branches: "!master"\n - name: "publish tarball (aarch64-apple-darwin)"\n command: "ci/publish-tarball.sh"\n agents:\n queue: "release-build-aarch64-apple-darwin"\n retry:\n manual:\n permit_on_passed: true\n timeout_in_minutes: 60\n - name: "publish tarball (x86_64-apple-darwin)"\n command: "ci/publish-tarball.sh"\n agents:\n queue: "release-build-x86_64-apple-darwin"\n retry:\n manual:\n permit_on_passed: true\n timeout_in_minutes: 60\n | dataset_sample\yaml\rust\buildkite-secondary.yml | buildkite-secondary.yml | YAML | 1,397 | 0.8 | 0 | 0.058824 | vue-tools | 706 | 2023-11-17T16:05:15.956329 | Apache-2.0 | false | 2fc2a9724a9d4526fa119d26cfc3de2f |
coverage:\n status:\n project:\n default:\n # https://docs.codecov.com/docs/commit-status#informational\n informational: true\n target: 80%\n patch:\n default:\n informational: true\n target: 80%\ngithub_checks:\n annotations: false\n | dataset_sample\yaml\rust\codecov.yml | codecov.yml | YAML | 276 | 0.8 | 0 | 0.076923 | awesome-app | 553 | 2024-06-04T03:43:50.500108 | BSD-3-Clause | false | 740c51724859f1b7b32ee42838e2a61a |
services:\n postgres:\n image: postgres:15\n container_name: zed_postgres\n ports:\n - 5432:5432\n environment:\n POSTGRES_HOST_AUTH_METHOD: trust\n volumes:\n - postgres_data:/var/lib/postgresql/data\n - ./docker-compose.sql:/docker-entrypoint-initdb.d/init.sql\n\n blob_store:\n image: quay.io/minio/minio\n container_name: blob_store\n command: server /data\n ports:\n - 9000:9000\n environment:\n MINIO_ROOT_USER: the-blob-store-access-key\n MINIO_ROOT_PASSWORD: the-blob-store-secret-key\n volumes:\n - ./.blob_store:/data\n\n livekit_server:\n image: livekit/livekit-server\n container_name: livekit_server\n entrypoint: /livekit-server --config /livekit.yaml\n ports:\n - 7880:7880\n - 7881:7881\n - 7882:7882/udp\n volumes:\n - ./livekit.yaml:/livekit.yaml\n\n postgrest_app:\n image: postgrest/postgrest\n container_name: postgrest_app\n ports:\n - 8081:8081\n environment:\n PGRST_DB_URI: postgres://postgres@postgres:5432/zed\n volumes:\n - ./crates/collab/postgrest_app.conf:/etc/postgrest.conf\n command: postgrest /etc/postgrest.conf\n depends_on:\n - postgres\n\n postgrest_llm:\n image: postgrest/postgrest\n container_name: postgrest_llm\n ports:\n - 8082:8082\n environment:\n PGRST_DB_URI: postgres://postgres@postgres:5432/zed_llm\n volumes:\n - ./crates/collab/postgrest_llm.conf:/etc/postgrest.conf\n command: postgrest /etc/postgrest.conf\n depends_on:\n - postgres\n\nvolumes:\n postgres_data:\n | dataset_sample\yaml\rust\compose.yml | compose.yml | YAML | 1,552 | 0.8 | 0 | 0 | python-kit | 19 | 2023-11-10T03:54:35.393400 | BSD-3-Clause | false | 826f7f5f9a1bd4639ae145c94267d613 |
version: 1\nvalidation: sovereign\naccounts:\n - name: alice\n coins:\n - 20000token\n - 200000000stake\n - name: bob\n coins:\n - 10000token\n - 100000000stake\nclient:\n openapi:\n path: docs/static/openapi.yml\nfaucet:\n name: bob\n coins:\n - 5token\n - 100000stake\nvalidators:\n - name: alice\n bonded: 100000000stake\n - name: validator1\n bonded: 100000000stake\n - name: validator2\n bonded: 200000000stake\n - name: validator3\n bonded: 300000000stake\n | dataset_sample\yaml\rust\config.yml | config.yml | YAML | 491 | 0.7 | 0 | 0 | vue-tools | 956 | 2025-06-12T15:24:05.567473 | GPL-3.0 | false | 43aa1a0252ff740a16cbfac9ed3d9bf2 |
project_id: '2'\napi_token_env: 'CROWDIN_PERSONAL_TOKEN'\nbase_url: 'https://solana.crowdin.com'\npreserve_hierarchy: true\nfiles: [\n # JSON translation files\n {\n source: '/i18n/en/**/*',\n translation: '/i18n/%two_letters_code%/**/%original_file_name%',\n },\n # Docs Markdown files\n {\n source: '/src/**/*.md',\n translation: '/i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%',\n },\n {\n source: '/src/**/*.mdx',\n translation: '/i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%',\n },\n # Custom sidebar category files\n {\n source: '/src/**/*.json',\n translation: '/i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%',\n },\n ]\n | dataset_sample\yaml\rust\crowdin.yml | crowdin.yml | YAML | 797 | 0.8 | 0 | 0.12 | react-lib | 231 | 2025-06-03T16:52:17.591049 | BSD-3-Clause | false | 068a7bb166f5d6d6dd84232fe18da445 |
version: 2\nupdates:\n - package-ecosystem: "github-actions"\n directory: "/"\n schedule:\n interval: "monthly"\n\n # We want to be more sure in our e2e-test, before committing to\n # update all of our dependencies.\n # Only add packages very sporadically here for now.\n - package-ecosystem: "cargo"\n directory: "/"\n schedule:\n interval: "monthly"\n allow:\n # Allow only direct updates\n - dependency-name: "log"\n - package-ecosystem: "cargo"\n directory: "/zellij-utils/"\n schedule:\n interval: "monthly"\n allow:\n # Allow only direct updates\n - dependency-name: "log"\n - dependency-name: "log4rs"\n - dependency-name: "clap"\n - dependency-name: "clap_complete"\n\n\n | dataset_sample\yaml\rust\dependabot.yml | dependabot.yml | YAML | 730 | 0.8 | 0.034483 | 0.192308 | python-kit | 596 | 2024-01-13T22:33:02.069794 | Apache-2.0 | false | 355a54d5f2fcbd9e882c8939fbaf38cc |
id: do-not-use-logkit-crate\nmessage: Don't use logkit crate with use statement to avoid conflicts with the tracing crate. logkit crate is only used for background job logging to enrich the jobs output in admin UI.\nseverity: error\nlanguage: rust\nfiles:\n- ./**\nrule:\n pattern: use logkit::$$$; | dataset_sample\yaml\rust\do-not-use-logkit-crate.yml | do-not-use-logkit-crate.yml | YAML | 293 | 0.8 | 0.142857 | 0 | node-utils | 515 | 2024-05-18T20:39:07.741071 | BSD-3-Clause | false | 960602b3a90608dd1e11dc155cd0ac3c |
id: do-not-use-next-pages\nmessage: Don't use next pages routing as we're fully commited to app router.\nseverity: error\nlanguage: typescript\nfiles:\n- ./ee/tabby-ui/**\nrule:\n pattern: import $$$ from 'next/router' | dataset_sample\yaml\rust\do-not-use-next-pages.yml | do-not-use-next-pages.yml | YAML | 212 | 0.95 | 0 | 0 | awesome-app | 955 | 2024-08-31T16:44:09.708615 | MIT | false | 1f90d86c4aa8162e2fa3347067f5deb3 |
version: "3.8"\n\nvolumes:\n cargo_cache:\n pg_data:\n router_build_cache:\n scheduler_build_cache:\n drainer_build_cache:\n redisinsight_store:\n\nnetworks:\n router_net:\n\nservices:\n ### Dependencies\n pg:\n image: postgres:latest\n ports:\n - "5432:5432"\n networks:\n - router_net\n volumes:\n - pg_data:/VAR/LIB/POSTGRESQL/DATA\n environment:\n - POSTGRES_USER=db_user\n - POSTGRES_PASSWORD=db_pass\n - POSTGRES_DB=hyperswitch_db\n healthcheck:\n test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]\n interval: 5s\n retries: 3\n start_period: 5s\n timeout: 5s\n\n redis-standalone:\n image: redis:7\n networks:\n - router_net\n ports:\n - "6379:6379"\n healthcheck:\n test: ["CMD-SHELL", "redis-cli ping | grep '^PONG$'"]\n interval: 5s\n retries: 3\n start_period: 5s\n timeout: 5s\n\n migration_runner:\n image: rust:latest\n command: "bash -c 'cargo install diesel_cli --no-default-features --features postgres && cargo install just && just migrate'"\n working_dir: /app\n networks:\n - router_net\n volumes:\n - ./:/app\n environment:\n # format -> postgresql://DB_USER:DB_PASSWORD@HOST:PORT/DATABASE_NAME\n - DATABASE_URL=postgresql://db_user:db_pass@pg:5432/hyperswitch_db\n\n ### Application services\n hyperswitch-server:\n build:\n dockerfile_inline: |\n FROM rust:latest\n RUN apt-get update && \\n apt-get install -y protobuf-compiler\n RUN rustup component add rustfmt clippy \n command: cargo run --bin router -- -f ./config/docker_compose.toml\n working_dir: /app\n ports:\n - "8080:8080"\n networks:\n - router_net\n volumes:\n - ./:/app\n - cargo_cache:/cargo_cache\n - router_build_cache:/cargo_build_cache\n environment:\n - CARGO_HOME=/cargo_cache\n - CARGO_TARGET_DIR=/cargo_build_cache\n depends_on:\n pg:\n condition: service_healthy\n redis-standalone:\n condition: service_healthy\n labels:\n logs: "promtail"\n healthcheck:\n test: curl --fail http://localhost:8080/health || exit 1\n interval: 120s\n retries: 4\n start_period: 20s\n timeout: 10s\n\n hyperswitch-producer:\n image: rust:latest\n command: cargo run --bin scheduler -- -f ./config/docker_compose.toml\n working_dir: /app\n networks:\n - router_net\n profiles:\n - scheduler\n volumes:\n - ./:/app\n - cargo_cache:/cargo_cache\n - scheduler_build_cache:/cargo_build_cache\n environment:\n - CARGO_HOME=/cargo_cache\n - CARGO_TARGET_DIR=/cargo_build_cache\n - SCHEDULER_FLOW=producer\n depends_on:\n hyperswitch-consumer:\n condition: service_healthy\n labels:\n logs: "promtail"\n\n hyperswitch-consumer:\n image: rust:latest\n command: cargo run --bin scheduler -- -f ./config/docker_compose.toml\n working_dir: /app\n networks:\n - router_net\n profiles:\n - scheduler\n volumes:\n - ./:/app\n - cargo_cache:/cargo_cache\n - scheduler_build_cache:/cargo_build_cache\n environment:\n - CARGO_HOME=/cargo_cache\n - CARGO_TARGET_DIR=/cargo_build_cache\n - SCHEDULER_FLOW=consumer\n depends_on:\n hyperswitch-server:\n condition: service_started\n labels:\n logs: "promtail"\n healthcheck:\n test: (ps -e | grep scheduler) || exit 1\n interval: 120s\n retries: 4\n start_period: 30s\n timeout: 10s\n\n hyperswitch-drainer:\n image: rust:latest\n command: cargo run --bin drainer -- -f ./config/docker_compose.toml\n working_dir: /app\n deploy:\n replicas: ${DRAINER_INSTANCE_COUNT:-1}\n networks:\n - router_net\n profiles:\n - full_kv\n volumes:\n - ./:/app\n - cargo_cache:/cargo_cache\n - drainer_build_cache:/cargo_build_cache\n environment:\n - CARGO_HOME=/cargo_cache\n - CARGO_TARGET_DIR=/cargo_build_cache\n restart: unless-stopped\n depends_on:\n hyperswitch-server:\n condition: service_started\n labels:\n logs: "promtail"\n\n ### Clustered Redis setup\n redis-cluster:\n image: redis:7\n deploy:\n replicas: ${REDIS_CLUSTER_COUNT:-3}\n command: redis-server /usr/local/etc/redis/redis.conf\n profiles:\n - clustered_redis\n volumes:\n - ./config/redis.conf:/usr/local/etc/redis/redis.conf\n networks:\n - router_net\n ports:\n - "6379"\n - "16379"\n\n redis-init:\n image: redis:7\n profiles:\n - clustered_redis\n depends_on:\n - redis-cluster\n networks:\n - router_net\n command: "bash -c 'export COUNT=${REDIS_CLUSTER_COUNT:-3}\n\n \ if [ $$COUNT -lt 3 ]\n\n \ then\n\n \ echo \"Minimum 3 nodes are needed for redis cluster\"\n\n \ exit 1\n\n \ fi\n\n \ HOSTS=\"\"\n\n \ for ((c=1; c<=$$COUNT;c++))\n\n \ do\n\n \ NODE=$COMPOSE_PROJECT_NAME-redis-cluster-$$c:6379\n\n \ echo $$NODE\n\n \ HOSTS=\"$$HOSTS $$NODE\"\n\n \ done\n\n \ echo Creating a cluster with $$HOSTS\n\n \ redis-cli --cluster create $$HOSTS --cluster-yes\n\n \ '"\n\n ### Monitoring\n grafana:\n image: grafana/grafana:latest\n ports:\n - "3000:3000"\n networks:\n - router_net\n profiles:\n - monitoring\n restart: unless-stopped\n environment:\n - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin\n - GF_AUTH_ANONYMOUS_ENABLED=true\n - GF_AUTH_BASIC_ENABLED=false\n volumes:\n - ./config/grafana.ini:/etc/grafana/grafana.ini\n - ./config/grafana-datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yml\n\n promtail:\n image: grafana/promtail:latest\n volumes:\n - ./logs:/var/log/router\n - ./config:/etc/promtail\n - /var/run/docker.sock:/var/run/docker.sock\n command: -config.file=/etc/promtail/promtail.yaml\n profiles:\n - monitoring\n networks:\n - router_net\n\n loki:\n image: grafana/loki:latest\n ports:\n - "3100"\n command: -config.file=/etc/loki/loki.yaml\n networks:\n - router_net\n profiles:\n - monitoring\n volumes:\n - ./config:/etc/loki\n\n otel-collector:\n image: otel/opentelemetry-collector-contrib:latest\n command: --config=/etc/otel-collector.yaml\n networks:\n - router_net\n profiles:\n - monitoring\n volumes:\n - ./config/otel-collector.yaml:/etc/otel-collector.yaml\n ports:\n - "4317"\n - "8888"\n - "8889"\n\n prometheus:\n image: prom/prometheus:latest\n networks:\n - router_net\n profiles:\n - monitoring\n volumes:\n - ./config/prometheus.yaml:/etc/prometheus/prometheus.yml\n ports:\n - "9090"\n restart: unless-stopped\n\n tempo:\n image: grafana/tempo:latest\n command: -config.file=/etc/tempo.yaml\n volumes:\n - ./config/tempo.yaml:/etc/tempo.yaml\n networks:\n - router_net\n profiles:\n - monitoring\n ports:\n - "3200" # tempo\n - "4317" # otlp grpc\n restart: unless-stopped\n\n redis-insight:\n image: redislabs/redisinsight:latest\n networks:\n - router_net\n profiles:\n - full_kv\n ports:\n - "8001:8001"\n volumes:\n - redisinsight_store:/db\n\n hyperswitch-control-center:\n image: docker.juspay.io/juspaydotin/hyperswitch-control-center:latest\n pull_policy: always\n networks:\n - router_net\n ports:\n - "9000:9000"\n environment:\n apiBaseUrl: http://localhost:8080\n sdkBaseUrl: http://localhost:9050/HyperLoader.js\n\n hyperswitch-web-sdk:\n build:\n dockerfile_inline: |\n FROM node:lts\n RUN git clone https://github.com/juspay/hyperswitch-web.git --depth 1\n WORKDIR hyperswitch-web\n RUN npm i --force\n command: bash -c 'npm run re:build && npx run webpack serve --config webpack.dev.js --host 0.0.0.0'\n ports:\n - "9050:9050"\n environment:\n sdkEnv: local\n envSdkUrl: http://localhost:9050\n envBackendUrl: http://localhost:8080\n envLoggingUrl: http://localhost:8207\n | dataset_sample\yaml\rust\docker-compose-development.yml | docker-compose-development.yml | YAML | 7,990 | 0.8 | 0.008746 | 0.016234 | python-kit | 389 | 2025-01-03T22:13:17.204164 | Apache-2.0 | false | 8837c8d80f1e346b06e11f74963f468b |
---\nx-image: &image\n image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.3.0}\nservices:\n risingwave-standalone:\n <<: *image\n command: "standalone --meta-opts=\" \\n --listen-addr 0.0.0.0:5690 \\n --advertise-addr 0.0.0.0:5690 \\n --dashboard-host 0.0.0.0:5691 \\n --prometheus-host 0.0.0.0:1250 \\n --prometheus-endpoint http://prometheus-0:9500 \\n --backend sql \\n --sql-endpoint postgres://postgres:@postgres-0:5432/metadata \\n --state-store hummock+azblob://<container_name> \\n --data-directory hummock_001 \\n --config-path /risingwave.toml\" \\n --compute-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:5688 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:5688 \\n --async-stack-trace verbose \\n --parallelism 8 \\n --total-memory-bytes 21474836480 \\n --role both \\n --meta-address http://0.0.0.0:5690 \\n --memory-manager-target-bytes 22333829939 \" \\n --frontend-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:4566 \\n --advertise-addr 0.0.0.0:4566 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --health-check-listener-addr 0.0.0.0:6786 \\n --meta-addr http://0.0.0.0:5690 \\n --frontend-total-memory-bytes=4294967296\" \\n --compactor-opts=\" \\n --listen-addr 0.0.0.0:6660 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:6660 \\n --meta-address http://0.0.0.0:5690 \\n --compactor-total-memory-bytes=4294967296\""\n expose:\n - "6660"\n - "4566"\n - "5688"\n - "5690"\n - "1250"\n - "5691"\n ports:\n - "4566:4566"\n - "5690:5690"\n - "5691:5691"\n - "1250:1250"\n depends_on:\n - postgres-0\n env_file: multiple_object_storage.env\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n environment:\n RUST_BACKTRACE: "1"\n # If ENABLE_TELEMETRY is not set, telemetry will start by default\n ENABLE_TELEMETRY: ${ENABLE_TELEMETRY:-true}\n RW_TELEMETRY_TYPE: ${RW_TELEMETRY_TYPE:-"docker-compose"}\n container_name: risingwave-standalone\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/6660; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5688; exit $$?;'\n - bash -c '> /dev/tcp/127.0.0.1/4566; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5690; exit $$?;'\n interval: 1s\n timeout: 5s\n restart: always\n deploy:\n resources:\n limits:\n memory: 28G\n reservations:\n memory: 28G\n postgres-0:\n extends:\n file: docker-compose.yml\n service: postgres-0\n grafana-0:\n extends:\n file: docker-compose.yml\n service: grafana-0\n prometheus-0:\n extends:\n file: docker-compose.yml\n service: prometheus-0\n message_queue:\n extends:\n file: docker-compose.yml\n service: message_queue\nvolumes:\n postgres-0:\n external: false\n grafana-0:\n external: false\n prometheus-0:\n external: false\n message_queue:\n external: false\n | dataset_sample\yaml\rust\docker-compose-with-azblob.yml | docker-compose-with-azblob.yml | YAML | 3,667 | 0.8 | 0 | 0.009434 | awesome-app | 857 | 2024-11-04T15:45:21.460521 | GPL-3.0 | false | 4647301e3933f732e66464b645d6c78b |
---\nx-image: &image\n image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.3.0}\nservices:\n risingwave-standalone:\n <<: *image\n command: "standalone --meta-opts=\" \\n --listen-addr 0.0.0.0:5690 \\n --advertise-addr 0.0.0.0:5690 \\n --dashboard-host 0.0.0.0:5691 \\n --prometheus-host 0.0.0.0:1250 \\n --prometheus-endpoint http://prometheus-0:9500 \\n --backend sql \\n --sql-endpoint postgres://postgres:@postgres-0:5432/metadata \\n --state-store hummock+gcs://<bucket-name> \\n --data-directory hummock_001 \\n --config-path /risingwave.toml\" \\n --compute-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:5688 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:5688 \\n --async-stack-trace verbose \\n --parallelism 8 \\n --total-memory-bytes 21474836480 \\n --role both \\n --meta-address http://0.0.0.0:5690 \\n --memory-manager-target-bytes 22333829939 \" \\n --frontend-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:4566 \\n --advertise-addr 0.0.0.0:4566 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --health-check-listener-addr 0.0.0.0:6786 \\n --meta-addr http://0.0.0.0:5690 \\n --frontend-total-memory-bytes=4294967296\" \\n --compactor-opts=\" \\n --listen-addr 0.0.0.0:6660 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:6660 \\n --meta-address http://0.0.0.0:5690 \\n --compactor-total-memory-bytes=4294967296\""\n expose:\n - "6660"\n - "4566"\n - "5688"\n - "5690"\n - "1250"\n - "5691"\n ports:\n - "4566:4566"\n - "5690:5690"\n - "5691:5691"\n - "1250:1250"\n depends_on:\n - postgres-0\n env_file: multiple_object_storage.env\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n environment:\n RUST_BACKTRACE: "1"\n # If ENABLE_TELEMETRY is not set, telemetry will start by default\n ENABLE_TELEMETRY: ${ENABLE_TELEMETRY:-true}\n RW_TELEMETRY_TYPE: ${RW_TELEMETRY_TYPE:-"docker-compose"}\n container_name: risingwave-standalone\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/6660; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5688; exit $$?;'\n - bash -c '> /dev/tcp/127.0.0.1/4566; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5690; exit $$?;'\n interval: 1s\n timeout: 5s\n restart: always\n deploy:\n resources:\n limits:\n memory: 28G\n reservations:\n memory: 28G\n postgres-0:\n extends:\n file: docker-compose.yml\n service: postgres-0\n grafana-0:\n extends:\n file: docker-compose.yml\n service: grafana-0\n prometheus-0:\n extends:\n file: docker-compose.yml\n service: prometheus-0\n message_queue:\n extends:\n file: docker-compose.yml\n service: message_queue\nvolumes:\n postgres-0:\n external: false\n grafana-0:\n external: false\n prometheus-0:\n external: false\n message_queue:\n external: false\n | dataset_sample\yaml\rust\docker-compose-with-gcs.yml | docker-compose-with-gcs.yml | YAML | 3,661 | 0.8 | 0 | 0.009434 | python-kit | 74 | 2025-02-18T17:22:46.416311 | GPL-3.0 | false | 8071b615028787774a1f8ee8f47eb871 |
---\nservices:\n compactor-0:\n image: ghcr.io/risingwavelabs/risingwave:RisingWave_1.6.1_HDFS_2.7-x86_64\n command:\n - compactor-node\n - "--listen-addr"\n - "0.0.0.0:6660"\n - "--advertise-addr"\n - "compactor-0:6660"\n - "--prometheus-listener-addr"\n - "0.0.0.0:1260"\n - "--meta-address"\n - "http://meta-node-0:5690"\n - "--config-path"\n - /risingwave.toml\n expose:\n - "6660"\n - "1260"\n ports: []\n depends_on:\n - meta-node-0\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n - "<HADOOP_HOME>:/opt/hadoop/"\n environment:\n - HADOOP_HOME=/opt/hadoop/\n container_name: compactor-0\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/6660; exit $$?;'\n interval: 1s\n timeout: 5s\n retries: 5\n restart: always\n deploy:\n resources:\n limits:\n memory: 2G\n reservations:\n memory: 1G\n compute-node-0:\n image: "ghcr.io/risingwavelabs/risingwave:RisingWave_1.6.1_HDFS_2.7-x86_64"\n command:\n - compute-node\n - "--listen-addr"\n - "0.0.0.0:5688"\n - "--advertise-addr"\n - "compute-node-0:5688"\n - "--prometheus-listener-addr"\n - "0.0.0.0:1222"\n - "--meta-address"\n - "http://meta-node-0:5690"\n - "--config-path"\n - /risingwave.toml\n expose:\n - "5688"\n - "1222"\n ports: []\n depends_on:\n - meta-node-0\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n - "<HADOOP_HOME>:/opt/hadoop/"\n environment:\n - HADOOP_HOME=/opt/hadoop/\n container_name: compute-node-0\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5688; exit $$?;'\n interval: 1s\n timeout: 5s\n retries: 5\n restart: always\n deploy:\n resources:\n limits:\n memory: 26G\n reservations:\n memory: 26G\n frontend-node-0:\n image: "ghcr.io/risingwavelabs/risingwave:RisingWave_1.6.1_HDFS_2.7-x86_64"\n command:\n - frontend-node\n - "--listen-addr"\n - "0.0.0.0:4566"\n - "--meta-addr"\n - "http://meta-node-0:5690"\n - "--advertise-addr"\n - "frontend-node-0:4566"\n - "--config-path"\n - /risingwave.toml\n - "--prometheus-listener-addr"\n - "0.0.0.0:2222"\n expose:\n - "4566"\n ports:\n - "4566:4566"\n depends_on:\n - meta-node-0\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n environment:\n RUST_BACKTRACE: "1"\n container_name: frontend-node-0\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c '> /dev/tcp/127.0.0.1/4566; exit $$?;'\n interval: 1s\n timeout: 5s\n retries: 5\n restart: always\n deploy:\n resources:\n limits:\n memory: 2G\n reservations:\n memory: 1G\n grafana-0:\n image: "grafana/grafana-oss:latest"\n command: []\n expose:\n - "3001"\n ports:\n - "3001:3001"\n depends_on: []\n volumes:\n - "grafana-0:/var/lib/grafana"\n - "./grafana.ini:/etc/grafana/grafana.ini"\n - "./grafana-risedev-datasource.yml:/etc/grafana/provisioning/datasources/grafana-risedev-datasource.yml"\n - "./grafana-risedev-dashboard.yml:/etc/grafana/provisioning/dashboards/grafana-risedev-dashboard.yml"\n - "./dashboards:/dashboards"\n environment: {}\n container_name: grafana-0\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/3001; exit $$?;'\n interval: 1s\n timeout: 5s\n retries: 5\n restart: always\n meta-node-0:\n image: "ghcr.io/risingwavelabs/risingwave:RisingWave_1.6.1_HDFS_2.7-x86_64"\n command:\n - meta-node\n - "--listen-addr"\n - "0.0.0.0:5690"\n - "--advertise-addr"\n - "meta-node-0:5690"\n - "--dashboard-host"\n - "0.0.0.0:5691"\n - "--prometheus-host"\n - "0.0.0.0:1250"\n - "--prometheus-endpoint"\n - "http://prometheus-0:9500"\n - "--backend"\n - sql\n - "--sql-endpoints"\n - "postgres://postgres:@postgres-0:5432/metadata"\n - "--state-store"\n - "hummock+hdfs://<cluster_name>"\n - "--data-directory"\n - "hummock_001"\n - "--config-path"\n - /risingwave.toml\n expose:\n - "5690"\n - "1250"\n - "5691"\n ports:\n - "5690:5690"\n - "5691:5691"\n depends_on:\n - "etcd-0"\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n - "<HADOOP_HOME>:/opt/hadoop"\n environment:\n - HADOOP_HOME=/opt/hadoop/\n - RW_TELEMETRY_TYPE=${RW_TELEMETRY_TYPE:-"docker-compose"}\n container_name: meta-node-0\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5690; exit $$?;'\n interval: 1s\n timeout: 5s\n retries: 5\n restart: always\n deploy:\n resources:\n limits:\n memory: 2G\n reservations:\n memory: 1G\n postgres-0:\n image: "postgres:15-alpine"\n environment:\n - POSTGRES_HOST_AUTH_METHOD=trust\n - POSTGRES_USER=postgres\n - POSTGRES_DB=metadata\n - POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C\n expose:\n - "5432"\n ports:\n - "8432:5432"\n volumes:\n - "postgres-0:/var/lib/postgresql/data"\n prometheus-0:\n image: "prom/prometheus:latest"\n command:\n - "--config.file=/etc/prometheus/prometheus.yml"\n - "--storage.tsdb.path=/prometheus"\n - "--web.console.libraries=/usr/share/prometheus/console_libraries"\n - "--web.console.templates=/usr/share/prometheus/consoles"\n - "--web.listen-address=0.0.0.0:9500"\n - "--storage.tsdb.retention.time=30d"\n expose:\n - "9500"\n ports:\n - "9500:9500"\n depends_on: []\n volumes:\n - "prometheus-0:/prometheus"\n - "./prometheus.yaml:/etc/prometheus/prometheus.yml"\n environment: {}\n container_name: prometheus-0\n healthcheck:\n test:\n - CMD-SHELL\n - sh -c 'printf "GET /-/healthy HTTP/1.0\n\n" | nc localhost 9500; exit $$?;'\n interval: 1s\n timeout: 5s\n retries: 5\n restart: always\n message_queue:\n image: "redpandadata/redpanda:latest"\n command:\n - redpanda\n - start\n - "--smp"\n - "1"\n - "--reserve-memory"\n - 0M\n - "--memory"\n - 4G\n - "--overprovisioned"\n - "--node-id"\n - "0"\n - "--check=false"\n - "--kafka-addr"\n - "PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092"\n - "--advertise-kafka-addr"\n - "PLAINTEXT://message_queue:29092,OUTSIDE://localhost:9092"\n expose:\n - "29092"\n - "9092"\n - "9644"\n ports:\n - "29092:29092"\n - "9092:9092"\n - "9644:9644"\n - "8081:8081"\n depends_on: []\n volumes:\n - "message_queue:/var/lib/redpanda/data"\n environment: {}\n container_name: message_queue\n healthcheck:\n test: curl -f localhost:9644/v1/status/ready\n interval: 1s\n timeout: 5s\n retries: 5\n restart: always\nvolumes:\n postgres-0:\n external: false\n grafana-0:\n external: false\n prometheus-0:\n external: false\n message_queue:\n external: false\n | dataset_sample\yaml\rust\docker-compose-with-hdfs.yml | docker-compose-with-hdfs.yml | YAML | 7,283 | 0.8 | 0 | 0 | node-utils | 28 | 2024-04-06T10:34:40.284688 | Apache-2.0 | false | 1ccfcc7c863c8fa2389dfb2add407524 |
---\nx-image: &image\n image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.3.0}\nservices:\n risingwave-standalone:\n <<: *image\n command: "standalone --meta-opts=\" \\n --listen-addr 0.0.0.0:5690 \\n --advertise-addr 0.0.0.0:5690 \\n --dashboard-host 0.0.0.0:5691 \\n --prometheus-host 0.0.0.0:1250 \\n --prometheus-endpoint http://prometheus-0:9500 \\n --backend sql \\n --sql-endpoint postgres://postgres:@postgres-0:5432/metadata \\n --state-store hummock+fs://<local-path> \\n --data-directory hummock_001 \\n --config-path /risingwave.toml\" \\n --compute-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:5688 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:5688 \\n --async-stack-trace verbose \\n --parallelism 8 \\n --total-memory-bytes 21474836480 \\n --role both \\n --meta-address http://0.0.0.0:5690 \\n --memory-manager-target-bytes 22333829939 \" \\n --frontend-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:4566 \\n --advertise-addr 0.0.0.0:4566 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --health-check-listener-addr 0.0.0.0:6786 \\n --meta-addr http://0.0.0.0:5690 \\n --frontend-total-memory-bytes=4294967296\" \\n --compactor-opts=\" \\n --listen-addr 0.0.0.0:6660 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:6660 \\n --meta-address http://0.0.0.0:5690 \\n --compactor-total-memory-bytes=4294967296\""\n expose:\n - "6660"\n - "4566"\n - "5688"\n - "5690"\n - "1250"\n - "5691"\n ports:\n - "4566:4566"\n - "5690:5690"\n - "5691:5691"\n - "1250:1250"\n depends_on:\n - postgres-0\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n environment:\n RUST_BACKTRACE: "1"\n # If ENABLE_TELEMETRY is not set, telemetry will start by default\n ENABLE_TELEMETRY: ${ENABLE_TELEMETRY:-true}\n RW_TELEMETRY_TYPE: ${RW_TELEMETRY_TYPE:-"docker-compose"}\n container_name: risingwave-standalone\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/6660; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5688; exit $$?;'\n - bash -c '> /dev/tcp/127.0.0.1/4566; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5690; exit $$?;'\n interval: 1s\n timeout: 5s\n restart: always\n deploy:\n resources:\n limits:\n memory: <config-the-allocated-memory>\n reservations:\n memory: <config-the-allocated-memory>\n postgres-0:\n extends:\n file: docker-compose.yml\n service: postgres-0\n grafana-0:\n extends:\n file: docker-compose.yml\n service: grafana-0\n prometheus-0:\n extends:\n file: docker-compose.yml\n service: prometheus-0\nvolumes:\n postgres-0:\n external: false\n grafana-0:\n external: false\n prometheus-0:\n external: false\n | dataset_sample\yaml\rust\docker-compose-with-local-fs.yml | docker-compose-with-local-fs.yml | YAML | 3,542 | 0.8 | 0 | 0.010101 | node-utils | 103 | 2024-06-13T10:11:59.786870 | MIT | false | 735bea2b2e866f4db88dda360e9f933e |
---\nx-image: &image\n image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.3.0}\nservices:\n risingwave-standalone:\n <<: *image\n command: "standalone --meta-opts=\" \\n --listen-addr 0.0.0.0:5690 \\n --advertise-addr 0.0.0.0:5690 \\n --dashboard-host 0.0.0.0:5691 \\n --prometheus-host 0.0.0.0:1250 \\n --prometheus-endpoint http://prometheus-0:9500 \\n --backend sql \\n --sql-endpoint postgres://postgres:@postgres-0:5432/metadata \\n --state-store hummock+obs://<bucket-name> \\n --data-directory hummock_001 \\n --config-path /risingwave.toml\" \\n --compute-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:5688 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:5688 \\n --async-stack-trace verbose \\n --parallelism 8 \\n --total-memory-bytes 21474836480 \\n --role both \\n --meta-address http://0.0.0.0:5690 \\n --memory-manager-target-bytes 22333829939 \" \\n --frontend-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:4566 \\n --advertise-addr 0.0.0.0:4566 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --health-check-listener-addr 0.0.0.0:6786 \\n --meta-addr http://0.0.0.0:5690 \\n --frontend-total-memory-bytes=4294967296\" \\n --compactor-opts=\" \\n --listen-addr 0.0.0.0:6660 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:6660 \\n --meta-address http://0.0.0.0:5690 \\n --compactor-total-memory-bytes=4294967296\""\n expose:\n - "6660"\n - "4566"\n - "5688"\n - "5690"\n - "1250"\n - "5691"\n ports:\n - "4566:4566"\n - "5690:5690"\n - "5691:5691"\n - "1250:1250"\n depends_on:\n - postgres-0\n env_file: multiple_object_storage.env\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n environment:\n RUST_BACKTRACE: "1"\n # If ENABLE_TELEMETRY is not set, telemetry will start by default\n ENABLE_TELEMETRY: ${ENABLE_TELEMETRY:-true}\n RW_TELEMETRY_TYPE: ${RW_TELEMETRY_TYPE:-"docker-compose"}\n container_name: risingwave-standalone\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/6660; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5688; exit $$?;'\n - bash -c '> /dev/tcp/127.0.0.1/4566; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5690; exit $$?;'\n interval: 1s\n timeout: 5s\n restart: always\n deploy:\n resources:\n limits:\n memory: 28G\n reservations:\n memory: 28G\n postgres-0:\n extends:\n file: docker-compose.yml\n service: postgres-0\n grafana-0:\n extends:\n file: docker-compose.yml\n service: grafana-0\n prometheus-0:\n extends:\n file: docker-compose.yml\n service: prometheus-0\n message_queue:\n extends:\n file: docker-compose.yml\n service: message_queue\nvolumes:\n postgres-0:\n external: false\n grafana-0:\n external: false\n prometheus-0:\n external: false\n message_queue:\n external: false\n | dataset_sample\yaml\rust\docker-compose-with-obs.yml | docker-compose-with-obs.yml | YAML | 3,661 | 0.8 | 0 | 0.009434 | awesome-app | 120 | 2024-04-04T03:01:07.308527 | GPL-3.0 | false | d567ea8a944d48b7048e0284d3b5b3ad |
---\nx-image: &image\n image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.3.0}\nservices:\n risingwave-standalone:\n <<: *image\n command: "standalone --meta-opts=\" \\n --listen-addr 0.0.0.0:5690 \\n --advertise-addr 0.0.0.0:5690 \\n --dashboard-host 0.0.0.0:5691 \\n --prometheus-host 0.0.0.0:1250 \\n --prometheus-endpoint http://prometheus-0:9500 \\n --backend sql \\n --sql-endpoint postgres://postgres:@postgres-0:5432/metadata \\n --state-store hummock+oss://<bucket-name> \\n --data-directory hummock_001 \\n --config-path /risingwave.toml\" \\n --compute-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:5688 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:5688 \\n --async-stack-trace verbose \\n --parallelism 8 \\n --total-memory-bytes 21474836480 \\n --role both \\n --meta-address http://0.0.0.0:5690 \\n --memory-manager-target-bytes 22333829939 \" \\n --frontend-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:4566 \\n --advertise-addr 0.0.0.0:4566 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --health-check-listener-addr 0.0.0.0:6786 \\n --meta-addr http://0.0.0.0:5690 \\n --frontend-total-memory-bytes=4294967296\" \\n --compactor-opts=\" \\n --listen-addr 0.0.0.0:6660 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:6660 \\n --meta-address http://0.0.0.0:5690 \\n --compactor-total-memory-bytes=4294967296\""\n expose:\n - "6660"\n - "4566"\n - "5688"\n - "5690"\n - "1250"\n - "5691"\n ports:\n - "4566:4566"\n - "5690:5690"\n - "5691:5691"\n - "1250:1250"\n depends_on:\n - postgres-0\n env_file: multiple_object_storage.env\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n environment:\n RUST_BACKTRACE: "1"\n # If ENABLE_TELEMETRY is not set, telemetry will start by default\n ENABLE_TELEMETRY: ${ENABLE_TELEMETRY:-true}\n RW_TELEMETRY_TYPE: ${RW_TELEMETRY_TYPE:-"docker-compose"}\n container_name: risingwave-standalone\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/6660; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5688; exit $$?;'\n - bash -c '> /dev/tcp/127.0.0.1/4566; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5690; exit $$?;'\n interval: 1s\n timeout: 5s\n restart: always\n deploy:\n resources:\n limits:\n memory: 28G\n reservations:\n memory: 28G\n postgres-0:\n extends:\n file: docker-compose.yml\n service: postgres-0\n grafana-0:\n extends:\n file: docker-compose.yml\n service: grafana-0\n prometheus-0:\n extends:\n file: docker-compose.yml\n service: prometheus-0\n message_queue:\n extends:\n file: docker-compose.yml\n service: message_queue\nvolumes:\n postgres-0:\n external: false\n grafana-0:\n external: false\n prometheus-0:\n external: false\n message_queue:\n external: false\n | dataset_sample\yaml\rust\docker-compose-with-oss.yml | docker-compose-with-oss.yml | YAML | 3,661 | 0.8 | 0 | 0.009434 | vue-tools | 657 | 2024-03-16T12:00:57.530145 | GPL-3.0 | false | f319ad23535a2bb01efbac0a40df8654 |
---\nx-image: &image\n image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.3.0}\nservices:\n risingwave-standalone:\n <<: *image\n command: "standalone --meta-opts=\" \\n --listen-addr 0.0.0.0:5690 \\n --advertise-addr 0.0.0.0:5690 \\n --dashboard-host 0.0.0.0:5691 \\n --prometheus-host 0.0.0.0:1250 \\n --prometheus-endpoint http://prometheus-0:9500 \\n --backend sql \\n --sql-endpoint postgres://postgres:@postgres-0:5432/metadata \\n --state-store hummock+s3://<bucket-name> \\n --data-directory hummock_001 \\n --config-path /risingwave.toml\" \\n --compute-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:5688 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:5688 \\n --async-stack-trace verbose \\n --parallelism 8 \\n --total-memory-bytes 21474836480 \\n --role both \\n --meta-address http://0.0.0.0:5690 \\n --memory-manager-target-bytes 22333829939 \" \\n --frontend-opts=\" \\n --config-path /risingwave.toml \\n --listen-addr 0.0.0.0:4566 \\n --advertise-addr 0.0.0.0:4566 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --health-check-listener-addr 0.0.0.0:6786 \\n --meta-addr http://0.0.0.0:5690 \\n --frontend-total-memory-bytes=4294967296\" \\n --compactor-opts=\" \\n --listen-addr 0.0.0.0:6660 \\n --prometheus-listener-addr 0.0.0.0:1250 \\n --advertise-addr 0.0.0.0:6660 \\n --meta-address http://0.0.0.0:5690 \\n --compactor-total-memory-bytes=4294967296\""\n expose:\n - "6660"\n - "4566"\n - "5688"\n - "5690"\n - "1250"\n - "5691"\n ports:\n - "4566:4566"\n - "5690:5690"\n - "5691:5691"\n - "1250:1250"\n depends_on:\n - postgres-0\n env_file: aws.env\n volumes:\n - "./risingwave.toml:/risingwave.toml"\n environment:\n RUST_BACKTRACE: "1"\n # If ENABLE_TELEMETRY is not set, telemetry will start by default\n ENABLE_TELEMETRY: ${ENABLE_TELEMETRY:-true}\n RW_TELEMETRY_TYPE: ${RW_TELEMETRY_TYPE:-"docker-compose"}\n container_name: risingwave-standalone\n healthcheck:\n test:\n - CMD-SHELL\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/6660; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5688; exit $$?;'\n - bash -c '> /dev/tcp/127.0.0.1/4566; exit $$?;'\n - bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/5690; exit $$?;'\n interval: 1s\n timeout: 5s\n restart: always\n deploy:\n resources:\n limits:\n memory: 28G\n reservations:\n memory: 28G\n postgres-0:\n extends:\n file: docker-compose.yml\n service: postgres-0\n grafana-0:\n extends:\n file: docker-compose.yml\n service: grafana-0\n prometheus-0:\n extends:\n file: docker-compose.yml\n service: prometheus-0\n message_queue:\n extends:\n file: docker-compose.yml\n service: message_queue\nvolumes:\n postgres-0:\n external: false\n grafana-0:\n external: false\n prometheus-0:\n external: false\n message_queue:\n external: false\n | dataset_sample\yaml\rust\docker-compose-with-s3.yml | docker-compose-with-s3.yml | YAML | 3,640 | 0.8 | 0 | 0.009434 | python-kit | 298 | 2025-07-03T01:42:49.939494 | GPL-3.0 | false | 0d1e91fee3aa0d49d7bc41d37ce90fee |
---\nversion: "2.1"\nservices:\n zellij-e2e:\n image: ghcr.io/linuxserver/openssh-server\n container_name: zellij-e2e\n hostname: zellij-e2e\n environment:\n PUID: 1000\n PGID: 1000\n TZ: Europe/Vienna\n PASSWORD_ACCESS: true\n USER_PASSWORD: test\n USER_NAME: test\n volumes:\n - type: bind\n source: ./target\n target: /usr/src/zellij\n - type: bind\n source: ./src/tests/fixtures\n target: /usr/src/zellij/fixtures\n ports:\n - 2222:2222\n restart: unless-stopped\n | dataset_sample\yaml\rust\docker-compose.yml | docker-compose.yml | YAML | 539 | 0.7 | 0 | 0 | vue-tools | 407 | 2024-12-30T16:07:17.511618 | Apache-2.0 | false | e8f0e92076e1e09d25d5cb02318ddf29 |
image: freebsd/latest\npackages:\n - cmake\n - gcc\n - gettext\n - gmake\n - llvm\n - terminfo-db\n - ninja\n - pcre2\n - py311-pexpect\n - python\n - rust\n - tmux\nsources:\n - https://github.com/fish-shell/fish-shell\ntasks:\n - build: |\n cd fish-shell\n mkdir build\n cd build\n cmake -GNinja .. \\n -DCMAKE_INSTALL_PREFIX=/usr \\n -DCMAKE_INSTALL_DATADIR=share \\n -DCMAKE_INSTALL_DOCDIR=share/doc/fish \\n -DCMAKE_INSTALL_SYSCONFDIR=/etc\n ninja\n - test: |\n cd fish-shell/build\n ninja test\n | dataset_sample\yaml\rust\freebsd.yml | freebsd.yml | YAML | 593 | 0.8 | 0 | 0 | react-lib | 847 | 2025-06-14T01:57:06.530127 | Apache-2.0 | false | 57f3b05eed616f67cfbd009310d4d49f |
# These are supported funding model platforms\n\ngithub: [imsnif]\npatreon: # Replace with a single Patreon username\nopen_collective: # Replace with a single Open Collective username\nko_fi: imsnif\ntidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel\ncommunity_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry\nliberapay: imsnif\nissuehunt: # Replace with a single IssueHunt username\notechie: # Replace with a single Otechie username\nlfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry\ncustom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']\n | dataset_sample\yaml\rust\FUNDING.yml | FUNDING.yml | YAML | 666 | 0.8 | 0 | 0.083333 | node-utils | 5 | 2024-03-15T04:37:19.315992 | MIT | false | 4a49f13e73bfb66c38cf98d7483a4a73 |
# --- THIS FILE IS AUTO GENERATED BY RISEDEV ---\napiVersion: 1\n\nproviders:\n - name: 'risingwave-grafana'\n orgId: 1\n folder: ''\n folderUid: ''\n type: file\n disableDeletion: false\n updateIntervalSeconds: 1\n allowUiUpdates: true\n options:\n path: /dashboards\n foldersFromFilesStructure: false\n | dataset_sample\yaml\rust\grafana-risedev-dashboard.yml | grafana-risedev-dashboard.yml | YAML | 324 | 0.8 | 0 | 0.071429 | awesome-app | 962 | 2024-07-29T14:07:20.109227 | Apache-2.0 | false | 09d8f41120a826b5c32fd2f3f8673057 |
# --- THIS FILE IS AUTO GENERATED BY RISEDEV ---\napiVersion: 1\ndeleteDatasources:\n - name: risedev-prometheus\ndatasources:\n - name: risedev-prometheus\n type: prometheus\n access: proxy\n url: http://prometheus-0:9500\n withCredentials: false\n isDefault: true\n tlsAuth: false\n tlsAuthWithCACert: false\n version: 1\n editable: true\n | dataset_sample\yaml\rust\grafana-risedev-datasource.yml | grafana-risedev-datasource.yml | YAML | 355 | 0.8 | 0 | 0.066667 | awesome-app | 832 | 2025-02-15T19:43:00.000607 | GPL-3.0 | false | d183b631c93669e8ed8a8abd2073901a |
openapi: 3.0.0\ninfo:\n title: Dynamic routing - OpenAPI 3.0\n description: This the the open API 3.0 specification for the dynamic routing.\n version: 1.0.0\npaths:\n /success_rate.SuccessRateCalculator/FetchSuccessRate:\n post:\n summary: Fetch success rate for an entity\n operationId: fetchSuccessRate\n description: Calculates success rate for an entity based on provided parameters and labels\n tags:\n - Success Rate\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/CalSuccessRateRequest"\n example:\n id: "merchant1"\n params: "card"\n labels: ["stripe", "adyen"]\n config:\n min_aggregates_size: 5\n default_success_rate: 0.95\n specificity_level: ENTITY\n responses:\n "200":\n description: Success rate calculated successfully\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/CalSuccessRateResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /success_rate.SuccessRateCalculator/UpdateSuccessRateWindow:\n post:\n summary: Update success rate window\n operationId: updateSuccessRateWindow\n description: Updates the success rate calculation window with new data points\n tags:\n - Success Rate\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/UpdateSuccessRateWindowRequest"\n example:\n id: "merchant1"\n params: "card"\n labels_with_status:\n - status: false\n label: stripe\n - status: true\n label: adyen\n global_labels_with_status:\n - status: false\n label: stripe\n - status: true\n label: adyen\n responses:\n "200":\n description: Window updated successfully\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/UpdateSuccessRateWindowResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /success_rate.SuccessRateCalculator/InvalidateWindows:\n post:\n summary: Invalidate windows\n operationId: invalidateWindows\n description: Invalidates the success rate calculation windows for a specific ID\n tags:\n - Success Rate\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/InvalidateWindowsRequest"\n responses:\n "200":\n description: Windows invalidated successfully\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/InvalidateWindowsResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /success_rate.SuccessRateCalculator/FetchEntityAndGlobalSuccessRate:\n post:\n summary: Fetch entity and global success rates\n operationId: fetchEntityAndGlobalSuccessRate\n description: Calculates success rates for both entity-specific and global metrics\n tags:\n - Success Rate\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/CalGlobalSuccessRateRequest"\n responses:\n "200":\n description: Success rates calculated successfully\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/CalGlobalSuccessRateResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /elimination.EliminationAnalyser/GetEliminationStatus:\n post:\n summary: Fetch eliminated processor list\n operationId: GetEliminationStatus\n description: Determines which processors should be eliminated from routing consideration based on historical performance data.\n tags:\n - Elimination\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/EliminationRequest"\n example:\n id: "merchant1"\n params: "card"\n labels: ["stripe", "adyen"]\n config:\n bucket_size: 5\n bucket_leak_interval_in_secs: 10\n responses:\n "200":\n description: Returns a eliminated processor list\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/EliminationResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /elimination.EliminationAnalyser/UpdateEliminationBucket:\n post:\n summary: Update elimination bucket\n operationId: UpdateEliminationBucket\n description: Updates the failure records for specific processors, affecting future elimination decisions.\n tags:\n - Elimination\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/UpdateEliminationBucketRequest"\n example:\n id: "merchant1"\n params: "card"\n labels_with_bucket_name:\n [{ "label": "stripe", "bucket_name": "bucket1" }]\n config:\n bucket_size: 5\n bucket_leak_interval_in_secs: 10\n responses:\n "200":\n description: Bucket updated successfully\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/UpdateEliminationBucketResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /elimination.EliminationAnalyser/InvalidateBucket:\n post:\n summary: Invalidate elimination bucket\n operationId: InvalidateBucket\n description: Invalidates all elimination bucket data for a specific entity, effectively resetting its processor elimination history.\n tags:\n - Elimination\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/InvalidateBucketRequest"\n responses:\n "200":\n description: Buckets invalidated successfully\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/InvalidateBucketResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /contract_routing.ContractScoreCalculator/FetchContractScore:\n post:\n summary: Fetch contract scores for an entity\n operationId: fetchContractScore\n description: Calculates contract scores for an entity based on provided parameters and labels\n tags:\n - Contract Routing\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/CalContractScoreRequest"\n example:\n id: "merchant1"\n params: "card"\n labels: ["stripe", "adyen"]\n config:\n constants: [0.7, 0.3]\n time_scale:\n time_scale: "Day"\n responses:\n "200":\n description: Success rate calculated successfully\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/CalContractScoreResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /contract_routing.ContractScoreCalculator/UpdateContract:\n post:\n summary: Update contract information for an entity\n operationId: updateContract\n description: Updates the contract information for processors based on provided parameters\n tags:\n - Contract Routing\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/UpdateContractRequest"\n example:\n id: "merchant1"\n params: "update"\n labels_information:\n - label: "stripe"\n target_count: 1000\n target_time: 86400\n current_count: 500\n - label: "adyen"\n target_count: 1500\n target_time: 86400\n current_count: 750\n responses:\n "200":\n description: Contract update succeeded\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/UpdateContractResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /contract_routing.ContractScoreCalculator/InvalidateContract:\n post:\n summary: Invalidate contract information for an entity\n operationId: invalidateContract\n description: Invalidates the contract for a given entity identifier\n tags:\n - Contract Routing\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/InvalidateContractRequest"\n example:\n id: "merchant1"\n responses:\n "200":\n description: Contract invalidation succeeded\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/InvalidateContractResponse"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /euclid.EuclidService/Create:\n post:\n operationId: CreateRule\n summary: Create a routing Rule\n description: Creates a routing rule with the given parameters\n tags:\n - Static Routing\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/RoutingRule"\n example:\n name: "Test Routing Rule"\n algorithm:\n globals: {}\n default_selection:\n priority:\n connectors: ["stripe", "adyen", "checkout"]\n rules:\n - name: "Card Rule"\n routing_type: "priority"\n output:\n priority:\n connectors: ["stripe", "adyen"]\n statements:\n - condition:\n - lhs: "payment_method"\n comparison: "equal"\n value:\n enum_variant: "card"\n metadata: {}\n - lhs: "amount"\n comparison: "greater_than"\n value:\n number: 1000\n metadata: {}\n metadata: {}\n responses:\n "200":\n description: Successful creation\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/CreateResponse"\n example:\n algorithm_id: "routing_ec1ac351-7944-440f-bdc7-6a500df1116f"\n name: "Test Routing Rule"\n created_at: "2025-04-09 8:03:44.85588"\n modified_at: "2025-04-09 8:03:44.85588"\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\n /euclid.EuclidService/Evaluate:\n post:\n operationId: EvaluateRule\n summary: Evaludate an existing routing Rule\n description: Evaluates a given routing rule\n tags:\n - Static Routing\n parameters:\n - name: x-tenant-id\n in: header\n required: true\n schema:\n type: string\n example: public\n - name: x-profile-id\n in: header\n required: true\n schema:\n type: string\n example: pro_WX0giXQnzk2wQJjkKVBX\n - name: x-api-key\n in: header\n required: true\n schema:\n type: string\n example: dev_VLzQTxkPq3ALj2mlfiHL4mMtXca4uplOIOLaKEzmWAmNBXZjwsuv5bCLjnf0QYHm\n requestBody:\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/EvaluateRequest"\n example:\n algorithm_id: "routing_ec1ac351-7944-440f-bdc7-6a500df1116f"\n parameters:\n payment_method:\n type: enum_variant\n value: "card"\n amount:\n type: number\n value: 2000\n responses:\n "200":\n description: Evaluation result\n content:\n application/json:\n schema:\n $ref: "#/components/schemas/EvaluateResponse"\n example:\n status: "success"\n output:\n priority:\n connectors: ["stripe", "adyen"]\n evaluated_output:\n - "stripe"\n eligible_connectors: []\n "400":\n description: Invalid request parameters\n "500":\n description: Internal server error\n\ncomponents:\n schemas:\n LabelWithScoreList:\n type: object\n properties:\n score:\n type: number\n format: double\n example: 100.0\n description: Calculated success rate score\n label:\n type: string\n example: stripe\n description: Label identifier\n required:\n - score\n - label\n\n LabelWithScore:\n type: array\n items:\n $ref: "#/components/schemas/LabelWithScoreList"\n example:\n - score: 100.0\n label: stripe\n - score: 98.5\n label: adyen\n\n LabelWithStatusList:\n type: object\n properties:\n status:\n type: number\n format: boolean\n example: true\n description: Label status\n label:\n type: string\n example: stripe\n description: Label identifier\n required:\n - status\n - label\n\n LabelWithStatus:\n type: array\n items:\n $ref: "#/components/schemas/LabelWithStatusList"\n example:\n - status: false\n label: stripe\n - status: true\n label: adyen\n\n EliminationLabelWithStatus:\n type: object\n properties:\n label:\n type: string\n example: stripe\n elimination_information:\n items:\n $ref: "#/components/schemas/EliminationInformation"\n\n CalSuccessRateRequest:\n type: object\n properties:\n id:\n type: string\n example: merchant1\n description: Entity identifier\n params:\n type: string\n example: card\n description: Parameters on which success rate scores has to be maintained\n labels:\n type: array\n example: ["stripe", "adyen"]\n items:\n type: string\n description: Labels for which to calculate success rates\n config:\n $ref: "#/components/schemas/CalSuccessRateConfig"\n required:\n - id\n - params\n - labels\n\n CalSuccessRateConfig:\n type: object\n required:\n - min_aggregates_size\n - default_success_rate\n properties:\n min_aggregates_size:\n type: integer\n format: uint32\n example: 10\n default_success_rate:\n type: number\n format: double\n example: 0.95\n specificity_level:\n $ref: "#/components/schemas/SuccessRateSpecificityLevel"\n\n SuccessRateSpecificityLevel:\n type: string\n description: >\n Defines the specificity level to be used for calculating the success rate.\n enum:\n - ENTITY\n - GLOBAL\n example: ENTITY\n\n CalSuccessRateResponse:\n type: object\n properties:\n labels_with_score:\n type: array\n items:\n $ref: "#/components/schemas/LabelWithScore"\n description: List of labels with their calculated success rates\n\n UpdateSuccessRateWindowRequest:\n type: object\n properties:\n id:\n type: string\n example: merchant1\n description: Entity identifier\n params:\n type: string\n example: card\n description: Additional parameters for window update\n labels_with_status:\n type: array\n items:\n $ref: "#/components/schemas/LabelWithStatus"\n description: Entity-specific labels with their success/failure status\n example:\n - status: false\n label: stripe\n - status: true\n label: adyen\n global_labels_with_status:\n type: array\n items:\n $ref: "#/components/schemas/LabelWithStatus"\n description: Global labels with their success/failure status\n example:\n - status: false\n label: stripe\n - status: true\n label: adyen\n required:\n - id\n - params\n - labels_with_status\n\n UpdateSuccessRateWindowResponse:\n type: object\n properties:\n status:\n type: string\n enum: [WINDOW_UPDATION_SUCCEEDED, WINDOW_UPDATION_FAILED]\n description: Status of the window update operation\n required:\n - status\n\n InvalidateWindowsRequest:\n type: object\n properties:\n id:\n type: string\n example: merchant1\n description: Entity identifier for which to invalidate windows\n required:\n - id\n\n InvalidateWindowsResponse:\n type: object\n properties:\n status:\n type: string\n enum: [WINDOW_INVALIDATION_SUCCEEDED, WINDOW_INVALIDATION_FAILED]\n description: Status of the window invalidation operation\n required:\n - status\n\n CalGlobalSuccessRateRequest:\n type: object\n example:\n entity_id: "merchant1"\n entity_params: "card"\n entity_labels: ["stripe", "adyen"]\n global_labels: ["visa", "mastercard"]\n config:\n entity_min_aggregates_size: 10\n entity_default_success_rate: 0.85\n properties:\n entity_id:\n type: string\n example: "merchant1"\n entity_params:\n type: string\n example: "card"\n entity_labels:\n type: array\n items:\n type: string\n example: ["stripe", "adyen"]\n global_labels:\n type: array\n items:\n type: string\n example: ["visa", "mastercard"]\n config:\n $ref: "#/components/schemas/CalGlobalSuccessRateConfig"\n\n CalGlobalSuccessRateConfig:\n type: object\n example:\n entity_min_aggregates_size: 10\n entity_default_success_rate: 0.85\n properties:\n entity_min_aggregates_size:\n type: integer\n format: uint32\n example: 10\n entity_default_success_rate:\n type: number\n format: double\n example: 0.85\n\n CalGlobalSuccessRateResponse:\n type: object\n properties:\n entity_scores_with_labels:\n type: array\n items:\n $ref: "#/components/schemas/LabelWithScore"\n description: Entity-specific labels with their calculated success rates\n global_scores_with_labels:\n type: array\n items:\n $ref: "#/components/schemas/LabelWithScore"\n description: Global labels with their calculated success rates\n\n EliminationRequest:\n type: object\n properties:\n id:\n type: string\n example: merchant1\n description: Entity identifier\n params:\n type: string\n example: card\n description: Additional parameters for elimination analysis\n labels:\n type: array\n example: ["stripe", "adyen"]\n items:\n type: string\n description: Labels (processors) to check for elimination\n config:\n $ref: "#/components/schemas/EliminationBucketConfig"\n required:\n - id\n - labels\n - config\n\n EliminationBucketConfig:\n type: object\n properties:\n bucket_size:\n type: integer\n format: uint64\n example: 5\n description: Maximum failures allowed before elimination\n bucket_leak_interval_in_secs:\n type: number\n format: uint64\n example: 300\n description: Time interval after which failures are "forgotten"\n required:\n - bucket_size\n - bucket_leak_interval_in_secs\n\n EliminationResponse:\n type: object\n properties:\n labels_with_status:\n type: array\n items:\n $ref: "#/components/schemas/EliminationLabelWithStatus"\n description: Elimination status for each label\n example:\n labelsWithStatus:\n - label: "stripe"\n eliminationInformation:\n entity:\n isEliminated: true\n bucketName:\n - "processor_decline"\n global:\n isEliminated: true\n bucketName:\n - "processor_decline"\n\n EliminationInformation:\n type: object\n properties:\n entity:\n $ref: "#/components/schemas/BucketInformation"\n global:\n $ref: "#/components/schemas/BucketInformation"\n\n BucketInformation:\n type: object\n properties:\n is_eliminated:\n type: boolean\n example: true\n description: Whether the processor should be eliminated\n bucket_name:\n type: array\n items:\n type: string\n description: Bucket identifiers that triggered elimination\n\n UpdateEliminationBucketRequest:\n type: object\n properties:\n id:\n type: string\n description: "Entity identifier"\n example: merchant1\n params:\n type: string\n description: "Additional parameters"\n example: card\n labels_with_bucket_name:\n type: array\n items:\n $ref: "#/components/schemas/LabelWithBucketName"\n example: [{ "label": "stripe", "bucket_name": "processor_decline" }]\n config:\n $ref: "#/components/schemas/EliminationBucketConfig"\n required:\n - id\n - labels_with_bucket_name\n - config\n\n LabelWithBucketName:\n type: object\n properties:\n label:\n type: string\n description: "Processor identifier"\n bucket_name:\n type: string\n description: "Bucket to update (failure type)"\n required:\n - label\n - bucket_name\n\n UpdateEliminationBucketResponse:\n type: object\n properties:\n status:\n type: string\n description: "Status of the update operation"\n enum:\n - BUCKET_UPDATION_SUCCEEDED\n - BUCKET_UPDATION_FAILED\n required:\n - status\n\n InvalidateBucketRequest:\n type: object\n properties:\n id:\n type: string\n example: merchant1\n description: "Entity identifier to invalidate the bucket"\n required:\n - id\n\n InvalidateBucketResponse:\n type: object\n properties:\n status:\n type: string\n description: "Status of the invalidate operation"\n enum:\n - BUCKET_INVALIDATION_SUCCEEDED\n - BUCKET_INVALIDATION_FAILED\n required:\n - status\n\n CalContractScoreRequest:\n type: object\n properties:\n id:\n type: string\n description: Entity identifier\n example: merchant1\n params:\n type: string\n description: Additional parameters for contract calculation\n example: card\n labels:\n type: array\n items:\n type: string\n description: Labels (processors) to calculate scores for\n example: ["stripe", "adyen"]\n config:\n $ref: "#/components/schemas/CalContractScoreConfig"\n description: Configuration for calculation\n required:\n - id\n - labels\n - config\n\n CalContractScoreConfig:\n type: object\n properties:\n constants:\n type: array\n items:\n type: number\n format: double\n description: Constants used in score calculation algorithm\n example: [0.7, 0.3]\n time_scale:\n $ref: "#/components/schemas/TimeScale"\n description: Time scale for contract calculation\n required:\n - constants\n - time_scale\n\n TimeScale:\n type: object\n properties:\n time_scale:\n type: string\n enum:\n - Day\n - Month\n description: Selected time scale for contract calculation\n\n CalContractScoreResponse:\n type: object\n properties:\n labels_with_score:\n type: array\n items:\n $ref: "#/components/schemas/ScoreData"\n description: Contract scores for each label\n\n ScoreData:\n type: object\n properties:\n score:\n type: number\n format: double\n description: Contract score (higher values indicate higher priority)\n example: 0.95\n label:\n type: string\n description: Label (processor) identifier\n example: stripe\n current_count:\n type: integer\n format: uint64\n description: Current transaction count for this processor\n example: 500\n required:\n - score\n - label\n - current_count\n\n UpdateContractRequest:\n type: object\n properties:\n id:\n type: string\n description: Entity identifier\n example: merchant1\n params:\n type: string\n description: Additional parameters\n example: card\n labels_information:\n type: array\n items:\n $ref: "#/components/schemas/LabelInformation"\n description: Contract information for processors\n example:\n - label: stripe\n target_count: 1000\n target_time: 86400\n current_count: 500\n - label: adyen\n target_count: 1500\n target_time: 86400\n current_count: 750\n required:\n - id\n - labels_information\n\n LabelInformation:\n type: object\n properties:\n label:\n type: string\n description: Processor identifier\n example: stripe\n target_count:\n type: integer\n format: uint64\n description: Target transaction count in contract\n example: 10000\n target_time:\n type: integer\n format: uint64\n description: Time period for the target (in seconds)\n example: 1744803903\n current_count:\n type: integer\n format: uint64\n description: Current transaction count\n example: 500\n required:\n - label\n - target_count\n - target_time\n - current_count\n\n UpdateContractResponse:\n type: object\n properties:\n status:\n type: string\n enum:\n - CONTRACT_UPDATION_SUCCEEDED\n - CONTRACT_UPDATION_FAILED\n description: Status of the update operation\n required:\n - status\n\n InvalidateContractRequest:\n type: object\n properties:\n id:\n type: string\n description: Entity identifier to invalidate\n example: merchant1\n required:\n - id\n\n InvalidateContractResponse:\n type: object\n properties:\n status:\n type: string\n enum:\n - CONTRACT_INVALIDATION_SUCCEEDED\n - CONTRACT_INVALIDATION_FAILED\n description: Status of the invalidation operation\n required:\n - status\n\n RoutingRule:\n type: object\n example:\n algorithm:\n globals: {}\n default_selection:\n priority:\n connectors: ["stripe", "adyen", "checkout"]\n rules:\n - name: "Card Rule"\n routing_type: "priority"\n output:\n priority:\n connectors: ["stripe", "adyen"]\n statements:\n - condition:\n - lhs: "payment_method"\n comparison: "equal"\n value:\n enum_variant: "card"\n metadata: {}\n - lhs: "amount"\n comparison: "greater_than"\n value:\n number: 1000\n metadata: {}\n metadata: {}\n properties:\n name:\n type: string\n example: Test Routing Rule\n algorithm:\n $ref: "#/components/schemas/Program"\n\n CreateResponse:\n type: object\n properties:\n algorithm_id:\n type: string\n description: Algorithm Id for the routing rule\n example: routing_ec1ac351-7944-440f-bdc7-6a500df1116f\n name:\n type: string\n description: name of the routing rule\n example: test routing rule\n created_at:\n type: string\n description: Timestamp for creation of routing rule\n example: "2025-04-09 8:03:44.85588"\n modified_at:\n type: string\n description: Timestamp for modification of routing rule\n example: "2025-04-09 8:03:44.85588"\n\n EvaluateRequest:\n type: object\n example:\n algorithm_id: routing_ec1ac351-7944-440f-bdc7-6a500df1116f\n parameters:\n payment_method:\n type: enum_variant\n value: "card"\n amount:\n type: number\n value: 1500\n properties:\n algorithm_id:\n type: string\n example: routing_ec1ac351-7944-440f-bdc7-6a500df1116f\n parameters:\n type: object\n example:\n payment_method:\n type: enum_variant\n value: "card"\n amount:\n type: number\n value: 1500\n additionalProperties:\n $ref: "#/components/schemas/ValueType"\n\n EvaluateResponse:\n type: object\n example:\n status: "success"\n output:\n priority:\n connectors: ["stripe", "adyen"]\n evaluated_output: ["stripe", "adyen"]\n eligible_connectors: ["stripe", "adyen", "checkout"]\n properties:\n status:\n type: string\n output:\n $ref: "#/components/schemas/Output"\n evaluated_output:\n type: array\n items:\n type: string\n eligible_connectors:\n type: array\n items:\n type: string\n\n Program:\n type: object\n example:\n globals: {}\n default_selection:\n priority:\n connectors: ["stripe", "checkout"]\n rules:\n - name: High Amount Card\n routing_type: priority\n output:\n priority:\n connectors: ["adyen"]\n statements:\n - condition:\n - lhs: "payment_method"\n comparison: equal\n value: "card"\n metadata: {}\n - lhs: "amount"\n comparison: greater_than\n value: 1000\n metadata: {}\n metadata: {}\n properties:\n globals:\n type: object\n additionalProperties:\n $ref: "#/components/schemas/ValueTypeList"\n default_selection:\n $ref: "#/components/schemas/Output"\n rules:\n type: array\n items:\n $ref: "#/components/schemas/Rule"\n metadata:\n type: object\n additionalProperties:\n $ref: "#/components/schemas/MetadataValue"\n\n Rule:\n type: object\n example:\n name: High Volume Transactions\n routing_type: priority\n output:\n priority:\n connectors: ["stripe", "adyen"]\n statements:\n - condition:\n - lhs: amount\n comparison: greater_than\n value: 5000\n metadata: {}\n properties:\n name:\n type: string\n routing_type:\n $ref: "#/components/schemas/RoutingType"\n output:\n $ref: "#/components/schemas/Output"\n statements:\n type: array\n items:\n $ref: "#/components/schemas/IfStatement"\n\n RoutingType:\n type: string\n enum: [priority, volume_split, volume_split_priority]\n\n Output:\n type: object\n oneOf:\n - $ref: "#/components/schemas/PriorityOutput"\n - $ref: "#/components/schemas/VolumeSplitOutput"\n - $ref: "#/components/schemas/VolumeSplitPriorityOutput"\n\n PriorityOutput:\n type: object\n example:\n connectors: ["stripe", "adyen"]\n properties:\n connectors:\n type: array\n items:\n type: string\n\n VolumeSplitOutput:\n type: object\n properties:\n connectors:\n type: array\n items:\n $ref: "#/components/schemas/VolumeSplit"\n\n VolumeSplitPriorityOutput:\n type: object\n example:\n groups:\n - split: 60\n output: ["stripe", "adyen"]\n - split: 40\n output: ["checkout"]\n properties:\n groups:\n type: array\n items:\n $ref: "#/components/schemas/VolumeSplitGroup"\n\n VolumeSplit:\n type: object\n example:\n split: 70\n output: "stripe"\n properties:\n split:\n type: integer\n output:\n type: string\n\n VolumeSplitGroup:\n type: object\n example:\n split: 50\n output: ["adyen", "checkout"]\n properties:\n split:\n type: integer\n output:\n type: array\n items:\n type: string\n\n IfStatement:\n type: object\n example:\n condition:\n - lhs: "currency"\n comparison: equal\n value: "USD"\n metadata: {}\n nested:\n - condition:\n - lhs: "amount"\n comparison: greater_than\n value: 1000\n metadata: {}\n properties:\n condition:\n type: array\n items:\n $ref: "#/components/schemas/Comparison"\n nested:\n type: array\n items:\n $ref: "#/components/schemas/IfStatement"\n\n Comparison:\n type: object\n example:\n lhs: "payment_method"\n comparison: equal\n value: "card"\n metadata: {}\n properties:\n lhs:\n type: string\n comparison:\n $ref: "#/components/schemas/ComparisonType"\n value:\n $ref: "#/components/schemas/ValueType"\n metadata:\n type: object\n additionalProperties:\n $ref: "#/components/schemas/MetadataValue"\n\n ComparisonType:\n type: string\n enum:\n [\n equal,\n not_equal,\n less_than,\n less_than_equal,\n greater_than,\n greater_than_equal,\n ]\n\n ValueTypeList:\n type: object\n example:\n values: ["card", "bank_transfer"]\n properties:\n values:\n type: array\n items:\n $ref: "#/components/schemas/ValueType"\n\n ValueType:\n type: object\n oneOf:\n - type: integer\n format: uint64\n - type: string\n - $ref: "#/components/schemas/MetadataValue"\n\n MetadataValue:\n type: object\n properties:\n key:\n type: string\n value:\n type: string\n | dataset_sample\yaml\rust\hyperswitch_intelligent_router_open_api_spec.yml | hyperswitch_intelligent_router_open_api_spec.yml | YAML | 42,908 | 0.95 | 0.020915 | 0 | react-lib | 21 | 2023-09-26T03:20:59.845070 | BSD-3-Clause | false | 0b7c1788685760d3bd40d8f570a10b5a |
governance:\n type: BDFL\n BDFL: byron\n open for alternatives: yes, as project matures\n\nmaintainers:\n privileges:\n - push directly to 'main' branch\n - reviews or suggestions by other maintainers if PRs are used\n - co-ownership of contributed crates\n - receive sponsorship via GitHub from project page\n \n\n | dataset_sample\yaml\rust\info.yml | info.yml | YAML | 319 | 0.7 | 0.153846 | 0 | react-lib | 301 | 2023-12-06T01:32:23.406444 | BSD-3-Clause | false | e70595d224ab70bd5f84426e1d6e14a9 |
language: rust\nid: into-only-once\nrule:\n all:\n - kind: call_expression\n - pattern: "$EXPR.into().into()"\nfix: $EXPR.into()\n | dataset_sample\yaml\rust\into-into.yml | into-into.yml | YAML | 140 | 0.7 | 0 | 0 | vue-tools | 311 | 2023-12-28T18:33:31.654749 | BSD-3-Clause | false | d89f705cd876d268f6f12c1afed01452 |
question:\n issues:\n # Post a comment, `{issue-author}` is an optional placeholder\n comment: >\n Hi @{issue-author},\n\n\n Thanks for your question!\n\n\n We want to make sure to keep signal strong in the GitHub issue tracker – to make sure\n that it remains the best place to track issues that affect the development of Solana itself.\n\n\n Questions like yours deserve a purpose-built Q&A forum. Unless there exists evidence that\n this is a bug with Solana itself, please post your question to the Solana Stack Exchange\n using this link: https://solana.stackexchange.com/questions/ask\n\n \n ---\n\n _This\n [automated message](https://github.com/solana-labs/solana/blob/master/.github/label-actions.yml)\n is a result of having added the ‘question’ tag_.\n\n # Close the issue\n close: true\n | dataset_sample\yaml\rust\label-actions.yml | label-actions.yml | YAML | 863 | 0.8 | 0.037037 | 0.117647 | awesome-app | 773 | 2025-02-20T13:26:49.650532 | BSD-3-Clause | false | c3d5b0bac91f3e3cbbca6cd98667f1a4 |
comment:\n header: Hi, there.\n footer: "\\n ---\n\n\\n > This is an automated comment created by the [peaceiris/actions-label-commenter]. \\n Responding to the bot or mentioning it won't have any effect.\n\n\\n [peaceiris/actions-label-commenter]: https://github.com/peaceiris/actions-label-commenter"\n\nlabels:\n - name: 'user-facing-changes'\n labeled:\n pr:\n body: |\n :memo: **Telemetry Reminder**:\n If you're implementing this feature, please consider adding telemetry metrics to track its usage. This helps us understand how the feature is being used and improve it further.\n You can find the function `report_event` of telemetry reporting in the following files. Feel free to ask questions if you need any guidance!\n * `src/frontend/src/telemetry.rs`\n * `src/meta/src/telemetry.rs`\n * `src/stream/src/telemetry.rs`\n * `src/storage/compactor/src/telemetry.rs`\n Or calling `report_event_common` (`src/common/telemetry_event/src/lib.rs`) as if finding it hard to implement.\n :sparkles: Thank you for your contribution to RisingWave! :sparkles:\n | dataset_sample\yaml\rust\label-commenter-config.yml | label-commenter-config.yml | YAML | 1,149 | 0.95 | 0.181818 | 0.190476 | node-utils | 860 | 2023-09-27T13:01:32.803226 | Apache-2.0 | false | 13792f3a2455fd15775e702fbdd1214b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.