GitHub Killed Subversion (SVN) Support - Thank You For Breaking Stuff Per the Usual Microsoft

This commit is contained in:
earnolmartin 2024-01-23 18:56:28 -07:00
parent cce0c89ebd
commit cba950c39c
3 changed files with 13 additions and 8 deletions

View file

@ -302,12 +302,13 @@ function getLatestEHCPFiles(){
svnCount=0 svnCount=0
while [ ! -e "ehcp" ]; do while [ ! -e "ehcp" ]; do
if [ "$svnCount" -gt "0" ]; then if [ "$svnCount" -gt "0" ]; then
echo -e "Unable to download the EHCP files from SVN! Please make sure you are connected to the internet. Trying again..." echo -e "Unable to download the EHCP files from git! Please make sure you are connected to the internet. Trying again..."
fi fi
svn checkout https://github.com/earnolmartin/EHCP-Force-Edition/trunk/ehcp ./ehcp git clone "https://github.com/earnolmartin/EHCP-Force-Edition.git" "ehcp"
svnCount=$((svnCount+1)) svnCount=$((svnCount+1))
done done
rm -Rf .svn cd ehcp
rm -Rf .git
cd ehcp cd ehcp
CUREHCPDLDIR=$(pwd) CUREHCPDLDIR=$(pwd)
fi fi

View file

@ -14,7 +14,7 @@
# You should run this fork on Ubuntu. It will work perfectly on all supported Ubuntu versions (The ones Ubuntu officially supports such as the LTS release and latested versions). # You should run this fork on Ubuntu. It will work perfectly on all supported Ubuntu versions (The ones Ubuntu officially supports such as the LTS release and latested versions).
# Debian should work as well, but if it doesn't, please let me know. # Debian should work as well, but if it doesn't, please let me know.
# Based on Yeni EHCP Release # Based on Yeni EHCP Release
# Source code available via SVN so that multiple people can develop and track changes! # Source code available via git so that multiple people can develop and track changes!
# Does not add a EHCP reseller account by default without your knowledge ensuring security # Does not add a EHCP reseller account by default without your knowledge ensuring security
# Main Web Panel GUI theme is Ep-Ic V2 (theme I custom developed which links to all of the new functionality) # Main Web Panel GUI theme is Ep-Ic V2 (theme I custom developed which links to all of the new functionality)
# Other themes may not have the latest and greatest operations available # Other themes may not have the latest and greatest operations available

View file

@ -31,7 +31,7 @@ This version differs from the original version slightly. In fact, both the lead
In my version, custom FTP accounts to a custom file path can be created. Also, php chmod and FTP chmod should both work since the apache user has been changed. In my version, custom FTP accounts to a custom file path can be created. Also, php chmod and FTP chmod should both work since the apache user has been changed.
The code is managed and maintained within SVN (it is not in the original EHCP). The code is managed and maintained within GitHub (it is not in the original EHCP).
As new versions of Ubuntu are released, this version is updated more quickly. As new versions of Ubuntu are released, this version is updated more quickly.
@ -40,10 +40,14 @@ As new versions of Ubuntu are released, this version is updated more quickly.
################################# #################################
Run the following commands to install the latest version of EHCP [FoRcE Edition] from a terminal: Run the following commands to install the latest version of EHCP [FoRcE Edition] from a terminal:
sudo apt-get install subversion mkdir -p ~/Downloads
sudo apt-get -y install git
cd ~/Downloads cd ~/Downloads
svn checkout https://github.com/earnolmartin/EHCP-Force-Edition/trunk/ehcp ./ehcp if [ -e "ehcp" ]; then
rm -Rf .svn rm -rf "ehcp"
fi
git clone "https://github.com/earnolmartin/EHCP-Force-Edition.git" "ehcp"
cd ehcp
cd ehcp cd ehcp
sudo bash install.sh sudo bash install.sh