discourse/.licensed.yml
Loïc Guitaut 6b243ffdfd
DEV: Remove Unicorn web server in favor of Pitchfork (#39032)
Pitchfork has been the default web server for some time now. This
removes Unicorn entirely to simplify the codebase and unblock future
improvements (like Rack 3).

Notable changes beyond the straightforward removal:

- `Discourse.after_unicorn_worker_fork` →
`Discourse.apply_worker_db_variables_overrides`: renamed and wired into
pitchfork.conf.rb's `after_worker_fork`. This actually *fixes*
per-worker DB variable overrides (`unicorn_worker_db_variables_*`) which
were never called under Pitchfork.
- `bin/ember-cli`: `--unicorn` flag renamed to `--server` (`-u` kept).
- `lib/demon/sidekiq.rb`: removed Unicorn-specific USR1/USR2 signal
handlers and `reopen_logs` (called `Unicorn::Util.reopen_logs`), which
were already dead code under Pitchfork.

Intentionally kept unchanged:
- `config/unicorn_launcher` (used by Docker images, separate effort)
- `docker_manager` plugin (separate repo)
- `UNICORN_*` env vars (renaming deferred)
- Rack < 3 constraint (separate PR)
2026-04-01 15:04:59 +02:00

84 lines
2.1 KiB
YAML

sources:
bundler: true
allowed:
- 0bsd
- apache-2.0
- bsd-2-clause
- bsd-3-clause
- cc0-1.0
- isc
- mit
- ruby
ignored:
bundler:
- abbrev # Ruby (default gem)
- base64 # Ruby (default gem)
- bigdecimal # Ruby (default gem)
- cgi # Ruby (default gem)
- date # Ruby (default gem)
- digest # Ruby (default gem)
- erb # Ruby (default gem)
- io-console # Ruby (default gem)
- io-wait # Ruby (default gem)
- irb # Ruby (default gem)
- json # Ruby (default gem)
- logger # Ruby (default gem)
- mutex_m # BSD-2-Clause
- net-http # Ruby (default gem)
- net-protocol # Ruby (default gem)
- openssl # Ruby (default gem)
- ostruct # Ruby (default gem)
- pp # Ruby (default gem)
- prettyprint # Ruby (default gem)
- racc # Ruby (default gem)
- rchardet # LGPL
- rdoc # Ruby (default gem)
- reline # Ruby (default gem)
- ruby2_keywords # Ruby (default gem)
- stringio # Ruby (default gem)
- strscan # Ruby (default gem)
- timeout # Ruby (default gem)
- tsort # Ruby (default gem)
- uri # Ruby (default gem)
reviewed:
bundler:
- activerecord # MIT
- benchmark # Ruby
- coderay # MIT
- concurrent-ruby # MIT
- css_parser # MIT
- drb # BSD-2-Clause
- dry-initializer # MIT
- excon # MIT
- faraday-em_http # MIT
- faraday-em_synchrony # MIT
- faraday-excon # MIT
- faraday-httpclient # MIT
- faraday-net_http # MIT
- faraday-patron # MIT
- faraday-rack # MIT
- hashery # BSD-2-Clause
- highline # Ruby or GPL-2.0
- htmlentities # MIT
- image_size # MIT
- jwt # MIT
- kgio # LGPL-2.1+
- logstash-event # Apache-2.0
- net-imap # Ruby (bundled gem)
- net-pop # Ruby (bundled gem)
- net-smtp # Ruby (bundled gem)
- nio4r # MIT + BSD
- omniauth # MIT
- pg # Ruby
- pitchfork # Ruby or GPLv2/GPLv3
- r2 # Apache-2.0 (Twitter)
- raindrops # LGPL-2.1+
- rubyzip # Ruby
- securerandom # Ruby
- sidekiq # LGPL (Sidekiq)
- tilt # MIT
- ttfunk # Ruby or GPLv2/GPLv3
- unf # BSD-2-Clause