# This file contains a list of files that existed in earlier versions of the
# SDP package that are obsolete in the current version and should be removed.
# In some cases, files were moved to another location; for example
# p4_vars.template was moved from /p4/common/bin to /p4/common/config. This
# file handles only the removal; the sdp_ugprade.sh puts new version in place
# in the correct location.

# In some cases, obsolete files are not listed here for removal. This applies
# to files just might be needed in some environments. Generally, we err on
# the side of safey and lowest risk of impact. For example, while p4web_base
# is no longer included in the modern SDP, it is not listed here for removal,
# so that environments that already have it from an older SDP can keep using
# it (even though it is no longer supported nor recommended).  Files listed
# in here are deemed safe to remove (and possibly unsafe to keep around).

# Paths are listed relative to the /p4 directory, or more precisely, to the
# SDPInstallRoot directory (which is always /p4 for a production deployment).

# Only individual files/directories can be listed; wildcards (e.g. '*') are
# not supported.

# A path may also be a directory. Directories are removed with 'rmdir' only
# (never recursively), so a listed directory is only actually removed if it
# has become empty -- e.g. because every file it contained was also listed
# here and removed first. If a listed directory still has other files in it
# (e.g. customer files), it is left in place; that's expected/OK, not an
# error. List the directory's known files individually, plus the directory
# itself, if you want it cleaned up once those files are gone.

common/bin/2013.3_replica_upgrade.sh
common/bin/2013.3_upgrade.sh
common/bin/daily_backup.sh
common/bin/p4_vars.template
common/bin/p4admin_verify_client.txt
common/bin/p4review.cfg.template
common/bin/recreate_db_checkpoint.sh
common/bin/recreate_db_sync_replica.sh
common/bin/svclogin.sh
common/bin/sync_shared_replica.sh
common/bin/template.sh
common/bin/template.pl
common/bin/template.py
common/bin/template.py.cfg
common/bin/validate_sdp.sh
common/bin/weekly_backup.sh
common/bin/weekly_sync_replica.sh
common/bin/weekly_sync_shared_replica.sh

# The 'helix_binaries' directory (used for '-local' installs/upgrades with
# pre-fetched binaries) was renamed to 'p4_binaries'. List the known files
# individually, then the directory itself so it's cleaned up once it's
# empty. If your environment has other files here (e.g. from a customized
# 'get_helix_binaries.sh' setup), the directory will simply be left in
# place -- add those files here too if you want full cleanup.
sdp/helix_binaries/get_helix_binaries.sh
sdp/helix_binaries/p4
sdp/helix_binaries/p4d
sdp/helix_binaries/p4broker
sdp/helix_binaries/p4p
sdp/helix_binaries/P4.json
sdp/helix_binaries/P4D.json
sdp/helix_binaries/P4Broker.json
sdp/helix_binaries/P4Proxy.json
sdp/helix_binaries
