export PS1='$USER@${HOSTNAME%%.*}:$PWD '
alias md='mkdir -p'
alias rd=rmdir
alias cls=clear
alias o='p4 opened ...'
# Add 'p4h' help alias to pipe pages of help docs to 'less', a popular pager.
# Sample Usage: p4h dvcs
function p4h () { p4 help "$*" | less; }
[[ -r /p4/common/bin/p4_vars ]] && source /p4/common/bin/p4_vars EDITME_SDP_INSTANCE
#------------------------------------------------------------------------------
# Independent per-terminal session command history. Over time, this will
# create a number of history files that can be cleaned with a command like
# this sample, which removes all shell history files over a year old.
# $ find ~/.hist -type f -mtime +365 -exec rm -f {} \;
#------------------------------------------------------------------------------
export HISTFILESIZE=5000
export HISTTIMEFORMAT="%Y/%m/%d %Z %H:%M:%S "
# Set per-shell history files stored in ~/.hist unless HISTFILE is readonly.
if [[ -z "$(readonly | grep HISTFILE 2>/dev/null)" ]]; then
[[ ! -d ~/.hist ]] && mkdir ~/.hist
export HISTFILE=~/.hist/history.$$.$RANDOM
fi
# If you invoke command completion with a path that references a shell variable,
# by default the command completion injects an annoying backslash in front of
# the '$' character, thus breaking the completion. For example, if you type
# 'ls $LOGS/p4' and hit Tab to invoke command completion, it'll get a leading
# backslash to become '\$LOGS/p4', and the completion no longer works. The
# 'shopt -s direxpand' disables expansion, which fixes this problem. When you
# hit the tab, $LOGS will get expanded the directory, e.g. '/p4/1/logs', and
# you the expansion will be '/p4/1/logs/p4', and the tab completion will then
# work as expected.
shopt -s direxpand
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 33444 | Claude (AI Agent by Anthropic) | Initial population of r26.1.0.BETA from main. | ||
| //p4-sdp/main/Server/Unix/setup/bash/perforce_bashrc | |||||
| #1 | 33433 | Claude (AI Agent by Anthropic) |
Copy Up from //p4-sdp/dev into //p4-sdp/main. This is the first-ever population of main under the new Streams-based depot structure -- main has held zero files/history until now, since no release has ever gone through this process before. 463 files, covering the entire 2026.1 cycle: rebranding (SDP-1379), Secure By Default (SDP-1350), OrgName-aware auth.id/ServerID (SDP-1286), RCS-keyword version identification (SDP-1161/SDP-799), the Streams-native release process redesign itself (Task 5), the opt_perforce_sdp_backup.sh false-error fix, the P4D 2026.1 test-suite targeting, refreshed P4*.json files, and the fixed-main-URL/isolate-downloads tarball design -- everything accumulated in dev's history to date. Isolated paths (ai_dev_support/, Version, doc/*.html, doc/*.pdf, doc/gen/*.man.txt, doc/gen/sdp_install.cfg, Unsupported/doc/*.html, Unsupported/doc/*.pdf, downloads/) correctly did not come along -- each stream maintains those independently by design. Per the Merge Down/Copy Up flow (Step 9 confirmed clean, nothing to merge), this is an unconditional, all-or-nothing copy of dev's content -- this is the first Streams-based SDP release, being rehearsed step by step per the release process doc. Agent: Claude Code, Model: Claude Sonnet 5 (claude-sonnet-5), operating as bot_Claude_Anthropic. |
||
| //p4-sdp/dev/Server/Unix/setup/bash/perforce_bashrc | |||||
| #1 | 31397 | C. Thomas Tyler | Populate -b SDP_Classic_to_Streams -s //guest/perforce_software/sdp/...@31368. | ||
| //guest/perforce_software/sdp/dev/Server/Unix/setup/bash/perforce_bashrc | |||||
| #2 | 31359 | C. Thomas Tyler |
Adapated fix for HI-139 into SDP-ported perforce_bashrc. Enhanced detail in comments about shopt setting. |
||
| #1 | 30782 | C. Thomas Tyler |
Added new install_sdp.sh script and supporting documentation. The new install_sdp.sh makes SDP independent of the separate Helix Installer software (the reset_sdp.sh script). The new script greatly improves the installation experience for new server machines. It is ground up rewrite of the reset_sdp.sh script. The new script preserves the desired behaviors of the original Helix Installer script, but is focused on the use case of a fresh install on a new server machine. With this focus, the scripts does not have any "reset" logic, making it completely safe. Added various files and functionalityfrom Helix Installer into SDP. * Added firewalld templates to SDP, and added ufw support. * Improved sudoers generation. * Added bash shell templates. This script also installs in the coming SDP Package structure. New installs use a modified SDP structure that makes it so the /p4/sdp and /p4/common now point to folders on the local OS volume rather than the /hxepots volume. The /hxdepots volume, which is often NFS mounted, is still used for depots and checkpoints, and for backups. The new structure uses a new /opt/perforce/helix-sdp structure under which /p4/sdp and /p4/common point. This structure also contains the expaneded SDP tarball, downloads, helix_binaries, etc. This change represents the first of 3-phase rollout of the new package structure. In this first phase, the "silent beta" phase, the new structure is used for new installations only. This phase requires no changes to released SDP scripts except for mkdirs.sh, and even that script remains backward-compatible with the old structure if used independently of install_sdp.sh. If used with install_sdp.sh, the new structure is used. In the second phase (targeted for SPD 2024.2 release), the sdp_upgrade.sh script will convert existing installations to the new structure. In the third phase (targeted for SDP 2025.x), this script will be incorporated into OS pacakge installations for the helix-sdp package. Perforce internal wikis have more detail on this change. #review-30783 |
||