Skip to main content

Python module and CLI tool tool that reads Apache2 configuration files and automagically performs wp-cli updates and maintenance on discovered wordpress installations.

Project description

# Wordpress Updater

wordpress-updater is a script I coded for my digitalocean LAMP droplets that run wordpress sites. I prefer to update all the time, and deal with websites breaking than deal with websites being abused and the associated problems.

Basically, it is a simple script to call wp-cli {core,plugin,theme} update on each wordpress setup it finds. It uses Apache’s configuration files to get DocumentRoot entries to initiate searches for wordpress instances.

It then runs wp-cli on those locations, according to command line options.

It supports core update, plugin update –all, theme update –all, transient delete –expired.

Additionally, it supports conditional execution when run with –tags parameters. This functionality is only available on DigitalOcean droplets.

Installation is done through pip3, please check the wiki for more information: https://www.github.com/buanzo/wordpress-updater/wiki

Cheers!

Arturo ‘Buanzo’ Busleiman

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wordpressupdater-0.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

wordpressupdater-0.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file wordpressupdater-0.2.tar.gz.

File metadata

  • Download URL: wordpressupdater-0.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.5

File hashes

Hashes for wordpressupdater-0.2.tar.gz
Algorithm Hash digest
SHA256 6e03a3a46f721b67eb0776d0941044ffbb8a44ce84e3193c6924c8f9d66ab602
MD5 c658380546aef4c4855a107bc750ab21
BLAKE2b-256 bdaf3d706705e05bbd864fce76d10b459a763d804dbb79b99950f78a2f2ec7cf

See more details on using hashes here.

File details

Details for the file wordpressupdater-0.2-py3-none-any.whl.

File metadata

  • Download URL: wordpressupdater-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.5

File hashes

Hashes for wordpressupdater-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3738f16d1694ebaf999dddedb009ffba358c40b97f41e25f39df4a8999ddcc5c
MD5 c6afc7e79a8e9ef967d587dbc0f349bb
BLAKE2b-256 a8d6693b863ea35284b9eacceafdbfe072a50f8f25c7acfa1fd7fc3dcea236e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page