source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/valkey.rb | Ruby | apache-2.0 | 225 | master | 1,580 | require "#{Omnibus::Config.project_root}/lib/gitlab/ohai_helper.rb"
name 'valkey'
license 'BSD-3-Clause'
license_file 'COPYING'
skip_transitive_dependency_licensing true
dependency 'config_guess'
dependency 'openssl' unless Build::Check.use_system_ssl?
version = Gitlab::Version.new('valkey', '7.2.11')
default_vers... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/ruby-grpc.rb | Ruby | apache-2.0 | 225 | master | 2,451 | #
# Copyright:: Copyright (c) 2017-2022 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/chef-gem.rb | Ruby | apache-2.0 | 225 | master | 1,876 | #
# Copyright 2012-2014 Chef Software, Inc.
# Copyright 2017-2022 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libedit.rb | Ruby | apache-2.0 | 225 | master | 1,686 | # Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitaly.rb | Ruby | apache-2.0 | 225 | master | 5,788 | #
# Copyright:: Copyright (c) 2017-2022 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/cosign.rb | Ruby | apache-2.0 | 225 | master | 1,613 | #
## Copyright:: Copyright (c) 2014 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/ncurses.rb | Ruby | apache-2.0 | 225 | master | 3,393 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/curl.rb | Ruby | apache-2.0 | 225 | master | 3,024 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/psycopg2.rb | Ruby | apache-2.0 | 225 | master | 1,383 | #
# Copyright:: Copyright (c) 2020 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libevent.rb | Ruby | apache-2.0 | 225 | master | 1,741 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libossp-uuid.rb | Ruby | apache-2.0 | 225 | master | 1,339 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-pg-ctl.rb | Ruby | apache-2.0 | 225 | master | 1,891 | #
# Copyright:: Copyright (c) 2018 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libicu.rb | Ruby | apache-2.0 | 225 | master | 1,826 | #
## Copyright:: Copyright (c) 2014 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/openssl_3.rb | Ruby | apache-2.0 | 225 | master | 2,877 | #
# Copyright 2012-2019, Chef Software Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/postgres-exporter.rb | Ruby | apache-2.0 | 225 | master | 1,690 | #
## Copyright:: Copyright (c) 2016 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the 'License');
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/package-scripts.rb | Ruby | apache-2.0 | 225 | master | 1,840 | #
# Copyright:: Copyright (c) 2012 Opscode, Inc.
# Copyright:: Copyright (c) 2015 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# h... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-selinux.rb | Ruby | apache-2.0 | 225 | master | 1,485 | #
# Copyright:: Copyright (c) 2014 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/pkg-config-lite.rb | Ruby | apache-2.0 | 225 | master | 1,461 | #
# Copyright 2013-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/openssl_1.rb | Ruby | apache-2.0 | 225 | master | 2,138 | #
# Copyright 2012-2019, Chef Software Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libiconv.rb | Ruby | apache-2.0 | 225 | master | 1,668 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/rubygems.rb | Ruby | apache-2.0 | 225 | master | 909 | #
# Copyright 2016-2023 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/consul.rb | Ruby | apache-2.0 | 225 | master | 1,578 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/fast-stats.rb | Ruby | apache-2.0 | 225 | master | 1,634 | #
# Copyright 2012-2014 Chef Software, Inc.
# Copyright 2017-2026 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-psql.rb | Ruby | apache-2.0 | 225 | master | 1,890 | #
# Copyright:: Copyright (c) 2016 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/zlib-ng.rb | Ruby | apache-2.0 | 225 | master | 1,705 | #
# Copyright 2012-2018 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libksba.rb | Ruby | apache-2.0 | 225 | master | 1,590 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/python3.rb | Ruby | apache-2.0 | 225 | master | 3,134 | #
# Copyright:: Copyright (c) 2013-2014 Chef Software, Inc.
# Copyright:: Copyright (c) 2016-2021 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the Lice... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/unzip.rb | Ruby | apache-2.0 | 225 | master | 4,985 | #
## Copyright:: Copyright (c) 2016 GitLab Inc
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-ctl-ee.rb | Ruby | apache-2.0 | 225 | master | 989 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/python-setuptools.rb | Ruby | apache-2.0 | 225 | master | 952 | #
## Copyright:: Copyright (c) 2014-2025 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/ruby.rb | Ruby | apache-2.0 | 225 | master | 10,114 | #
# Copyright 2012-2016 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/mattermost.rb | Ruby | apache-2.0 | 225 | master | 3,514 | #
## Copyright:: Copyright (c) 2015 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libtool.rb | Ruby | apache-2.0 | 225 | master | 1,402 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/inspec-gem.rb | Ruby | apache-2.0 | 225 | master | 1,545 | #
# Copyright 2012-2014 Chef Software, Inc.
# Copyright 2017-2022 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/liblzma.rb | Ruby | apache-2.0 | 225 | master | 1,160 | #
# Copyright 2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/openssl.rb | Ruby | apache-2.0 | 225 | master | 389 | openssl_software_definition = if Gitlab::Util.get_env('OPENSSL_VERSION')&.start_with?("3")
File.join(Omnibus::Config.software_dir, 'openssl_3.rb')
else
File.join(Omnibus::Config.software_dir, 'openssl_1.rb')
... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libtiff.rb | Ruby | apache-2.0 | 225 | master | 2,111 | #
# Copyright:: Copyright (c) 2020 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/python-docutils.rb | Ruby | apache-2.0 | 225 | master | 1,045 | #
## Copyright:: Copyright (c) 2014-2020 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/runit.rb | Ruby | apache-2.0 | 225 | master | 3,114 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/omnibus-gitlab-gems.rb | Ruby | apache-2.0 | 225 | master | 2,177 | #
## Copyright:: Copyright (c) 2021 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/nginx-module-vts.rb | Ruby | apache-2.0 | 225 | master | 1,243 | #
# Copyright:: Copyright (c) 2012-2014 Chef Software, Inc.
# Copyright:: Copyright (c) 2014 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License a... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libffi.rb | Ruby | apache-2.0 | 225 | master | 1,876 | #
# Copyright 2012-2015 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/config_guess.rb | Ruby | apache-2.0 | 225 | master | 1,765 | #
# Copyright 2015 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/go-crond.rb | Ruby | apache-2.0 | 225 | master | 1,044 | #
# Copyright 2018 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/graphicsmagick.rb | Ruby | apache-2.0 | 225 | master | 2,198 | #
# Copyright:: Copyright (c) 2018-2021 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libxslt.rb | Ruby | apache-2.0 | 225 | master | 2,245 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/spamcheck.rb | Ruby | apache-2.0 | 225 | master | 1,596 | #
## Copyright:: Copyright (c) 2021 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libgcrypt.rb | Ruby | apache-2.0 | 225 | master | 1,811 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/node-exporter.rb | Ruby | apache-2.0 | 225 | master | 1,827 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/redis.rb | Ruby | apache-2.0 | 225 | master | 2,663 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/pgbouncer.rb | Ruby | apache-2.0 | 225 | master | 1,999 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/logrotate.rb | Ruby | apache-2.0 | 225 | master | 1,309 | #
# Copyright 2013-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libgpg-error.rb | Ruby | apache-2.0 | 225 | master | 2,030 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/bzip2.rb | Ruby | apache-2.0 | 225 | master | 1,955 | #
# Copyright 2013-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libassuan.rb | Ruby | apache-2.0 | 225 | master | 1,749 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-shell.rb | Ruby | apache-2.0 | 225 | master | 1,295 | #
## Copyright:: Copyright (c) 2014 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/rsync.rb | Ruby | apache-2.0 | 225 | master | 1,790 | #
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/krb5.rb | Ruby | apache-2.0 | 225 | master | 1,938 | #
# Copyright:: Copyright (c) 2014 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/git-filter-repo.rb | Ruby | apache-2.0 | 225 | master | 1,510 | #
# Copyright:: Copyright (c) 2023 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-scripts.rb | Ruby | apache-2.0 | 225 | master | 1,181 | #
# Copyright:: Copyright (c) 2015 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/chef-acme.rb | Ruby | apache-2.0 | 225 | master | 1,563 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/pcre2.rb | Ruby | apache-2.0 | 225 | master | 1,487 | #
# Copyright 2018 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlabsos.rb | Ruby | apache-2.0 | 225 | master | 1,465 | #
# Copyright 2012-2014 Chef Software, Inc.
# Copyright 2017-2026 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libpng.rb | Ruby | apache-2.0 | 225 | master | 1,651 | #
# Copyright:: Copyright (c) 2018 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/redis-exporter.rb | Ruby | apache-2.0 | 225 | master | 1,726 | #
## Copyright:: Copyright (c) 2014 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the 'License');
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-config-template.rb | Ruby | apache-2.0 | 225 | master | 973 | #
# Copyright:: Copyright (c) 2014 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-ctl.rb | Ruby | apache-2.0 | 225 | master | 2,722 | #
# Copyright:: Copyright (c) 2012 Opscode, Inc.
# Copyright:: Copyright (c) 2014 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# h... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-backup-cli.rb | Ruby | apache-2.0 | 225 | master | 1,227 | #
# Copyright:: Copyright (c) 2024 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/ngx_security_headers.rb | Ruby | apache-2.0 | 225 | master | 1,258 | #
# Copyright:: Copyright (c) 2012-2014 Chef Software, Inc.
# Copyright:: Copyright (c) 2021 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License a... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gnupg.rb | Ruby | apache-2.0 | 225 | master | 1,962 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/compat_resource.rb | Ruby | apache-2.0 | 225 | master | 953 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-pages.rb | Ruby | apache-2.0 | 225 | master | 1,903 | #
# Copyright:: Copyright (c) 2016 GitLab Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/omnibus-ctl.rb | Ruby | apache-2.0 | 225 | master | 1,869 | #
# Copyright 2012-2015 Chef Software, Inc.
# Copyright 2017-2022 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libxml2.rb | Ruby | apache-2.0 | 225 | master | 2,001 | #
# Copyright:: Chef Software Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gpgme.rb | Ruby | apache-2.0 | 225 | master | 1,677 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/postgresql.rb | Ruby | apache-2.0 | 225 | master | 2,483 | #
# Copyright 2012-2014 Chef Software, Inc.
# Copyright:: Copyright (c) 2016 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libyaml.rb | Ruby | apache-2.0 | 225 | master | 1,622 | #
# Copyright:: Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/gitlab-elasticsearch-indexer.rb | Ruby | apache-2.0 | 225 | master | 1,327 | #
# Copyright:: Copyright (c) 2017 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/registry.rb | Ruby | apache-2.0 | 225 | master | 1,714 | #
## Copyright:: Copyright (c) 2016 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/pgbouncer-exporter.rb | Ruby | apache-2.0 | 225 | master | 1,800 | #
## Copyright:: Copyright (c) 2018 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
#... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/libjpeg-turbo.rb | Ruby | apache-2.0 | 225 | master | 1,561 | #
# Copyright:: Copyright (c) 2020 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/software/ruby-ffi.rb | Ruby | apache-2.0 | 225 | master | 1,878 | #
# Copyright:: Copyright (c) 2024 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | config/projects/gitlab.rb | Ruby | apache-2.0 | 225 | master | 11,930 | #
## Copyright:: Copyright (c) 2013, 2014 GitLab Inc.
## License:: Apache License, Version 2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/rubocop/cop/specify_default_version.rb | Ruby | apache-2.0 | 225 | master | 658 | module Rubocop
module Cop
class SpecifyDefaultVersion < RuboCop::Cop::Base
NOTICE_REGEXP = '^ *default_version'.freeze
MSG = 'Specify default_version for the component.'.freeze
def on_new_investigation
return if notice_found?(processed_source)
add_global_offense(format(MSG))
... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/rubocop/cop/avoid_using_env.rb | Ruby | apache-2.0 | 225 | master | 2,126 | module Rubocop
module Cop
class AvoidUsingEnv < RuboCop::Cop::Base
MSG_GET = 'Do not use ENV directly to retrieve environment variables. Use Gitlab::Util.get_env method instead.'.freeze
MSG_SET = 'Do not use ENV directly to set environment variables, use Gitlab::Util.set_env or Gitlab::Util.set_env_if... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/package_size.rb | Ruby | apache-2.0 | 225 | master | 3,532 | require_relative 'build/check'
require_relative 'build/info/secrets'
require_relative 'ohai_helper'
require_relative 'util'
require 'gitlab'
class PackageSizeCheck
CE_MAX_SIZE_MB = Gitlab::Util.get_env('CE_MAX_SIZE_MB')&.to_i || 950
EE_MAX_SIZE_MB = Gitlab::Util.get_env('EE_MAX_SIZE_MB')&.to_i || 1000
ALERT_END... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/ohai_helper.rb | Ruby | apache-2.0 | 225 | master | 5,175 | require 'ohai'
class OhaiHelper
class << self
# This prints something like 'ubuntu-xenial'
def platform_dir
os, codename, arch = fetch_os_with_codename
return "#{os}-#{codename}_#{arch}" if arm64?
return "#{os}-#{codename}_fips" if Build::Check.use_system_ssl?
"#{os}-#{codename}"
... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/prometheus_helper.rb | Ruby | apache-2.0 | 225 | master | 441 | require 'time'
module Prometheus
class VersionFlags
def initialize(version)
common_version = 'github.com/prometheus/common/version'
@ldflags = [
"-X #{common_version}.Version=#{version.print(false)}",
"-X #{common_version}.Branch=master",
"-X #{common_version}.BuildUser=GitLa... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/skopeo_helper.rb | Ruby | apache-2.0 | 225 | master | 1,457 | require 'open3'
require 'retriable'
class SkopeoHelper
ImageNotFoundError = Class.new(StandardError)
class << self
def login(username, password, registry)
status = Open3.popen3({}, *%W[skopeo login --tls-verify --username=#{username} --password-stdin #{registry}]) do |stdin, stdout, stderr, wait_thr|
... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/gitlab_release_helper.rb | Ruby | apache-2.0 | 225 | master | 1,808 | require 'json'
require_relative 'build/info/package'
class GitlabReleaseHelper
class << self
def release_details
content = release_contents
return if content.empty?
content.unshift("# GitLab #{Build::Info::Package.edition.upcase} #{Build::Info::Package.semver_version}").join("\n")
end
... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/build_iteration.rb | Ruby | apache-2.0 | 225 | master | 766 | require_relative 'build/check'
# This module has tests in spec/gitlab/build_iteration_spec.rb
module Gitlab
class BuildIteration
def build_iteration
if Build::Check.on_tag?
tag_name = Build::Info::Git.tag_name
match = /[^+]*\+([^\-]*)/.match(tag_name)
if match && !match[1].empty?
... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/deployer_helper.rb | Ruby | apache-2.0 | 225 | master | 2,127 | require 'http'
require 'json'
require_relative 'build/info/docker'
require_relative 'util'
PipelineTriggerFailure = Class.new(StandardError)
class DeployerHelper
TRIGGER_RETRY_INTERVAL = 5
TRIGGER_RETRIES = 3
def initialize(trigger_token, deploy_env, trigger_ref)
@deploy_env = deploy_env
@trigger_token ... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/util.rb | Ruby | apache-2.0 | 225 | master | 1,707 | module Gitlab
class Util
class ShellOutExecutionError < StandardError
attr_accessor :stdout, :stderr
def initialize(command, exitcode, stdout, stderr)
@stdout = stdout
@stderr = stderr
msg = "Execution of command `#{command}` failed with exit code #{exitcode}."
super(... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/api_client.rb | Ruby | apache-2.0 | 225 | master | 559 | require 'gitlab'
require_relative 'build/info/ci'
require_relative 'build/info/secrets'
module Gitlab
class APIClient
def initialize(endpoint = Build::Info::CI.api_v4_url, token = Build::Info::Secrets.api_token)
@client = ::Gitlab::Client.new(endpoint: endpoint, private_token: token)
end
def get_... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/docker_helper.rb | Ruby | apache-2.0 | 225 | master | 3,227 | require 'open3'
require_relative 'docker_operations'
# TODO: Deprecate DockerOperations
class DockerHelper < DockerOperations
class << self
def authenticate(username: nil, password: nil, registry: nil)
puts "Logging in to Docker registry"
stdout, stderr, status = Open3.popen3({}, *%W[docker login --... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/linker_helper.rb | Ruby | apache-2.0 | 225 | master | 1,049 | class LinkerHelper
class << self
def ldconfig
# Update the linker library cache
system("ldconfig")
ldconfig_raw_output = IO.popen(%w[ldconfig -p], &:read)&.split("\n")&.map { |line| line.strip }
ldconfig_raw_output.shift
libraries = {}
ldconfig_raw_output.each do |line|
... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/version.rb | Ruby | apache-2.0 | 225 | master | 5,743 | require 'uri'
require 'yaml'
require_relative 'util'
module Gitlab
class Version
DEFAULT_SOURCE = 'remote'.freeze
ALTERNATIVE_SOURCE = 'alternative'.freeze
SECURITY_SOURCE = 'security'.freeze
CUSTOM_SOURCES_FILENAME = '.custom_sources.yml'.freeze
COMPONENTS_ENV_VARS = {
'gitlab-rails' =>... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/openssl_helper.rb | Ruby | apache-2.0 | 225 | master | 2,334 | require_relative 'linker_helper'
require_relative 'ohai_helper'
class OpenSSLHelper
@base_libs = %w[libssl libcrypto]
@pkg_config_files = OhaiHelper.amazon_linux_2? ? { "openssl11.pc" => nil, "libssl11.pc" => nil, "libcrypto11.pc" => nil } : { "openssl.pc" => nil, "libssl.pc" => nil, "libcrypto.pc" => nil }
@dep... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/package_repository.rb | Ruby | apache-2.0 | 225 | master | 2,665 | # PackageRepository - Factory and base class for package repository implementations
#
# This module provides a factory pattern for creating repository-specific instances
# based on the REPOSITORY_TYPE environment variable.
#
# ## Architecture
#
# The PackageRepository uses an object-oriented design with:
# - A base cla... |
github | gitlabhq/omnibus-gitlab | https://github.com/gitlabhq/omnibus-gitlab | lib/gitlab/docker_operations.rb | Ruby | apache-2.0 | 225 | master | 1,999 | require 'docker'
require_relative 'util'
class DockerOperations
def self.set_timeout
timeout = Gitlab::Util.get_env('DOCKER_TIMEOUT') || 1200
Docker.options = { read_timeout: timeout, write_timeout: timeout }
end
def self.build(location, image, tag, dockerfile: nil, buildargs: nil)
set_timeout
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.