Project

General

Profile

Actions

Refactor #33895

closed

Feature #29991: Enable Zeitwerk autoload mode for Rails 6+

setup Zeitwerk inflector

Added by Ondřej Ezr about 3 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Zeitwerk uses constant to snake case to resolve the paths, if we want to change some constants to be Uppercase, we need to use inflector

From Adams [groundwork PR](https://github.com/theforeman/foreman/pull/8282), tho we might want to review the list:
'ui' => 'UI',
'proxy_api' => 'ProxyAPI',
'sti' => 'STI',
'dhcp' => 'DHCP',
'dns' => 'DNS',
'tftp' => 'TFTP',
'external_ipam' => 'ExternalIPAM',
'bmc' => 'BMC',
'ui_notifications' => 'UINotifications',
'ssh_provision' => 'SSHProvision',
'ipam' => 'IPAM',
'sso' => 'SSO',
'ec2' => 'EC2',
'gce' => 'GCE',
'aaaa_record' => 'AAAARecord',
'aix' => 'AIX',
'ptr4_record' => 'PTR4Record',
'ptr6_record' => 'PTR6Record',
'nxos' => 'NXOS',
'vrp' => 'VRP',


Subtasks 1 (1 open0 closed)

Refactor #33896: Document how plugins can adjust Zeitwerk inflectorNewActions
Actions #1

Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman/pull/10076 added
Actions #2

Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/10119 added
Actions #3

Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/theforeman/foreman/pull/9328 added
Actions #4

Updated by The Foreman Bot 8 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/10076, https://github.com/theforeman/foreman/pull/10119, https://github.com/theforeman/foreman/pull/9328)
Actions #5

Updated by The Foreman Bot 6 months ago

  • Pull request https://github.com/theforeman/foreman/pull/10131 added
Actions #6

Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/theforeman/foreman/pull/9328 added
Actions #7

Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman/pull/10299 added
Actions #8

Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.13.0 added
Actions #9

Updated by Ewoud Kohl van Wijngaarden 3 months ago

  • Status changed from Ready For Testing to Closed
Actions #10

Updated by The Foreman Bot 3 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/10131, https://github.com/theforeman/foreman/pull/9328, https://github.com/theforeman/foreman/pull/10299)
Actions

Also available in: Atom PDF