# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#26 | 26680 | Robert Cowham |
Remove installation scripts - useful in the past, but now people should use packages. |
||
#25 | 25225 | C. Thomas Tyler |
No functional change. Just added code comments re: packages needed for SuSE using the zypper package manager. |
||
#24 | 25103 | C. Thomas Tyler |
Updated Python and P4Pyton versions: * Python from 3.6.5 -> 3.6.8, the last 3.6.x maintenance release. * P4Python and P4 API from 2017.2 -> 2018.2. Test confirms successful build. |
||
#23 | 24415 | C. Thomas Tyler |
Corrected error message indicating command needed to get OpenSSL package installed on Ubuntu, as needed to build P4Python with SSL support. |
||
#22 | 24231 | C. Thomas Tyler |
Changd versions for SDP Python/P4Pyton installer: Python 3.6.2 -> 3.6.5 P4Python r17.1 -> r17.2 This works in the Battle School Lab/Test Environment. |
||
#21 | 24227 | C. Thomas Tyler |
Fixed typos in docs. No functional change. Skipping code review. |
||
#20 | 22606 | C. Thomas Tyler |
Updated to build with newer Python (3.6.2) and P4Python (r17.1). Added check for a known (common?) error building Python, a missing zlib package. If the Python build fails and the build log contains "zlib not available", helpful information on how to solve that problem is displayed (sudo yum install/ sudo apt-get install commands). Added check for a known (common?) error building P4Python, a missing crypto package. If the P4Python build fails and the build log contains "cannot find -lcrypto", helpful information on how to solve that problem is displayed (sudo yum install/ sudo apt-get install commands). |
||
#19 | 21962 | C. Thomas Tyler |
Updated various scripts to use run() and rrun() functions in favor of predecessor runCmd() and runRemoteCmd(). The older functions won't be removed to avoid breaking scripts that rely on their behavior and have no issues with them. The newer fuctions are more scalable and avoid erroneous "Argument list too long" from bash due to buffer overruns when used with commands with large amounts of output. Enhanced runRemoteCmd() to clean up after itself, as it generated files in /tmp that didn't get automatically cleaned up. If used in scripts called very often (e.g. every 5 minutes in a crontab), this leads to significant issues with /tmp filling up with garbage files over a period of several weeks. Enhanced test_utils.sh to test new run() and rrun() calls. |
||
#18 | 21480 | C. Thomas Tyler |
Update to P4Python/SSL build. New behavior: * Always build using openssl version found in PATH. * If no SSL found on PATH, bail. * A '-no_ssl' flag allows building non-SSL version if openssl is not available, though it is ignored if openssl is available. * The OPENSSLDIR is extracted from output of: openssl version -a Bypassing pre-commit review for this. #review-21481 |
||
#17 | 21474 | C. Thomas Tyler |
Final adjustment to fix issue with P4Python on SSL-enabled servers; worked with Sven on this. By-passing pre-commit review for this. #review-21475 |
||
#16 | 21471 | C. Thomas Tyler | Merged down from main. | ||
#15 | 21440 | C. Thomas Tyler |
Replaced -use_ssl with -no_ssl flag, and reversed logic to build with -ssl by default. Fixed bug where OpenSSL wasn't pulled when needed. Updated OpenSSL version to 1.1.0.c Fixed issues in logic to build SSL, and adjusted to build a private OpenSSL in /p4/common/openssl. |
||
#14 | 21214 | C. Thomas Tyler | Removed hard-coded reference to SDP instance 1 for temp files. | ||
#13 | 21177 | C. Thomas Tyler |
Enhanced SDP Python installer to 'http:' protocol in place of 'ftp:' in URL references. This works around a problem I encountered with outbound 'ftp' being blocked by some corporate firewall (not the local machine firewall). Using 'http:' in the URL works just as well for the purposes of this script. Enhanced SDP Perl installer in the same way, but the SDP Perl is broken now for unrelated reasons. |
||
#12 | 20671 | Robert Cowham |
Fix typo. Only install SSL if not found. |
||
#11 | 20668 | Robert Cowham |
Fixed option to build P4Python with SSL support - downloads and builds openssl as well now. Fixed handling of -P parameter. |
||
#10 | 20322 | C. Thomas Tyler |
install_sdp_python.sh v1.4.1: * Updated to use latest GA of Python available, 3.5.2. * Updated to use latest GA of P4Python available, 2016.1. * Now sports a '-use_ssl' flag to compile with SSL enabled. |
||
#9 | 18913 | C. Thomas Tyler |
Updated to latest available Perl (5.22.1.2201), P4Perl (2014.1), Python (3.5.1), and P4Python (2015.2). Tweaked temp working dirs to distinguish Perl from Python dir. These are tested on CentOS 7.2. This may not work with older CentOS boxes, but we can't do much about that since ActiveState has deprecated the older ActivePerl releases. |
||
#8 | 16563 | C. Thomas Tyler |
Routine Merge Down to dev from main using: p4 merge -b perforce_software-sdp-dev p4 resolve -as |
||
#7 | 16029 | C. Thomas Tyler |
Routine merge to dev from main using: p4 merge -b perforce_software-sdp-dev |
||
#6 | 13930 | C. Thomas Tyler | Path tweak to help find wget on Mac. | ||
#5 | 13902 | C. Thomas Tyler |
Modified install_sdp_python and install_sdp_perl to use independent donwloads directories, since each may need to build with a separate version of the core Perforce C++ API. For example, presently P4Python 2015.1 builds with 2015.1 of the API, why P4Perl 2014.1 uses the 2014.1 API. Moved version ID near the top of the file. Updated default versions for utilities to install. |
||
#4 | 10958 | C. Thomas Tyler |
install_sdp_python.sh v1.3.5: * Updated P4API, P4Python, and Python versions. * Cosmetic fixes. |
||
#3 | 10642 | C. Thomas Tyler |
install_sdp_python.sh v1.3.2: * Fixed very minor typos. No functional changes. |
||
#2 | 10641 | C. Thomas Tyler |
install_sdp_python.sh v1.3.1: * Changed Copyright to version appropriate for The Workshop. * Changed hard-coded 'perforce' operating user to instead grab the OSUSER value defined in the SDP p4_vars file. * Enhanced documentation and added REQUIREMENTS and PLATFORM SUPPORT sections. * Added support for Mac OSX (specifically darwin90x86_64). |
||
#1 | 10640 | C. Thomas Tyler |
Added script to install Python and P4Python in a standard SDP locations, /p4/common/python. Installation to this location requires only access by the 'perforce' user; 'root' access is not required. |