#1223 The Great Rename-ning

Reporter Zash
Owner Nobody
Created
Updated
Stars ★★ (2)
Tags
  • Type-Enhancement
  • Status-Fixed
  • Priority-Medium
  • Milestone-0.13
  1. Zash on

    Rename core.* to prosody.* So eg require"prosody.usermanager" Rename prosody-specific things from util.* into prosody.util.* Goals/benefits: - Improve the namespace - Install into OS standard Lua search paths without conflicts - Distribute util.* and net.* as separate package(s)

  2. Zash on

    Too big and disruptive for 0.12 which is meant to be prepared for release.

    Changes
    • tags Milestone-0.12
  3. Zash on

    New approach! To avoid the disruption of moving files around in the repo, we'll adjust require() behavior via searchers/search paths, allowing a gradual transition from require"util.foo" to require"prosody.util.foo" In a way, this was already started by using dh-lua for our Debian packages, where things are installed into e.g. /usr/share/lua/5.4/prosody/util/array.lua and then the search paths are patched with https://hg.prosody.im/debian/file/d5c9e036c195/patches/shared-paths

    Changes
    • tags Status-Started
  4. Zash on

    It is done: https://hg.prosody.im/trunk/log?rev=extra%28%22topic%22%2C+%22renamening%22%29

    Changes
    • tags Milestone-0.13 Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.