1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +01:00
phorge-phorge/scripts
epriestley 074bf4ed7d Add a script for purging long-lived caches
Summary: See task; installs occasionally need to do this themselves, and a
script is much better than me telling them to truncate tables.

Test Plan:
Ran various flavors of this command:

  - purge_cache.php
  - purge_cache.php derp
  - purge_cache.php --help
  - purge_cache.php --all
  - purge_cache.php --differential
  - purge_cache.php --differential --maniphest

Then I verified the actual behavior:

  - Visited a Differential revision with comments, observed cache update in
'Services' tab.
  - Visited a Maniphest task with comments, observed cache update in 'Services'
tab.
  - Reloaded a diff standalone view, got a cache update.

Reviewers: Makinde, btrahan, jungejason

Reviewed By: jungejason

CC: aran, jungejason

Maniphest Tasks: T676

Differential Revision: 1214
2011-12-16 12:43:31 -08:00
..
crossref Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
daemon Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
install Add test to check all symbols can be loaded 2011-10-20 16:43:13 -07:00
mail Fix encodings for mime headers and body if not UTF-8 2011-12-02 08:47:45 -08:00
repository Add Related Commits for Owners 2011-12-14 22:48:57 -08:00
search Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
setup Test for pcntl availability from the command line, not Apache 2011-05-30 21:02:08 -07:00
sql Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
user Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
util Add a script for purging long-lived caches 2011-12-16 12:43:31 -08:00
__init_env__.php Fix __init_script__.php issue with event engine. 2011-09-30 13:17:45 -07:00
__init_script__.php Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
celerity_mapper.php Add cycle detection to celerity mapper 2011-11-29 12:09:08 -08:00