Skip to content

Simplifying and improving reliability of the TXP install procedure #713

@gomedia-adi

Description

@gomedia-adi

Upgrading Textpattern is currently a relatively simple procedure – as detailed here:

Copy the contents of the textpattern folder to the server’s textpattern folder. You may exclude the setup directory, since it is only used for first-time installations.

The instructions are clear, i.e. “Copy the contents” of the Textpattern folder.

Now that life is getting more complicated:

  • TXP 4.6 admin themes (& maybe it always was with multi-site installs)
  • Different operating systems and FTP clients implementing "merge" in varying degrees of functionality

... the "copy" bit of the instructions really means "merge with care & cognisance".

Can we improve the situation by:

  1. Moving all non-standard (i.e. not included in the distribution) files/folders somewhere else, so there's little danger of overwriting them by mistake during upgrades. Perhaps config.php is the place to contain paths to user templates, css, js etc etc; or just have a set directory structure where TXP always looks for "additional stuff".
  2. Providing a install script that does all the hard work (this is probably not even possible for all scenarios - FTP, Linux, Windows etc)
  3. If all else fails, flesh out the installation procedure to highlight the dangers.

Discussion open to the floor ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions