├── .gitignore ├── LICENSE ├── README.md ├── builder-0.0.1 ├── bin │ └── builder ├── builder │ ├── initialize.sh │ ├── js │ │ ├── angular │ │ │ └── initialize.sh │ │ ├── initialize.sh │ │ └── react │ │ │ └── initialize.sh │ ├── php │ │ ├── initialize.sh │ │ ├── install-phalcon.sh │ │ ├── installer │ │ │ ├── ide.sh │ │ │ └── xampp.sh │ │ ├── magento │ │ │ ├── magento-support.sh │ │ │ ├── meqp-setup-xampp.sh │ │ │ └── meqp-setup.sh │ │ └── xdebug-setup-xampp.sh │ └── python │ │ └── initialize.sh └── debian │ ├── .debhelper │ └── generated │ │ └── builder │ │ ├── installed-by-dh_install │ │ └── installed-by-dh_installdocs │ ├── README.Debian │ ├── README.source │ ├── builder-docs.docs │ ├── builder.cron.d.ex │ ├── builder.doc-base.EX │ ├── builder.substvars │ ├── builder │ ├── DEBIAN │ │ ├── control │ │ └── md5sums │ ├── opt │ │ └── builder │ │ │ ├── initialize.sh │ │ │ ├── js │ │ │ ├── angular │ │ │ │ └── initialize.sh │ │ │ ├── initialize.sh │ │ │ └── react │ │ │ │ └── initialize.sh │ │ │ ├── php │ │ │ ├── initialize.sh │ │ │ ├── install-phalcon.sh │ │ │ ├── installer │ │ │ │ ├── ide.sh │ │ │ │ └── xampp.sh │ │ │ ├── magento │ │ │ │ ├── magento-support.sh │ │ │ │ ├── meqp-setup-xampp.sh │ │ │ │ └── meqp-setup.sh │ │ │ └── xdebug-setup-xampp.sh │ │ │ └── python │ │ │ └── initialize.sh │ └── usr │ │ ├── bin │ │ └── builder │ │ └── share │ │ └── doc │ │ └── builder │ │ ├── README.Debian │ │ ├── changelog.Debian.gz │ │ └── copyright │ ├── changelog │ ├── compat │ ├── control │ ├── copyright │ ├── debhelper-build-stamp │ ├── files │ ├── install │ ├── manpage.1.ex │ ├── manpage.sgml.ex │ ├── manpage.xml.ex │ ├── menu.ex │ ├── postinst.ex │ ├── postrm.ex │ ├── preinst.ex │ ├── prerm.ex │ ├── rules │ ├── source │ └── format │ └── watch.ex ├── builder_0.0.1-1_all.deb ├── builder_0.0.1-1_amd64.build ├── builder_0.0.1-1_amd64.buildinfo ├── builder_0.0.1-1_amd64.changes └── builder_0.0.1.orig.tar.xz /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .tmp 3 | builder-0.0.1/bin/marketplace-eqp 4 | builder-0.0.1/bin/magento-coding-standard 5 | builder-0.0.1/bin/MEQP 6 | builder-0.0.1/bin/MEQP1 7 | builder-0.0.1/bin/xdebug 8 | builder-0.0.1/bin/composer.phar -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Milind Singh 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Builder 2 | 3 | + CLI script suite to setup a development environment in a single go. 4 | + Specially designed for PHP + Magento needs. 5 | 6 | # Creating Deb 7 | 8 | + https://blog.packagecloud.io/eng/2016/12/15/howto-build-debian-package-containing-simple-shell-scripts/ 9 | + Use `dpkg-buildpackage -b` on `debuild -us -uc` failure -------------------------------------------------------------------------------- /builder-0.0.1/bin/builder: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Locate folder for builder scripts 4 | BUILDER_HOME=../builder/ 5 | # Path to save downloaded files 6 | BUILDER_TMP=/tmp/builder/ 7 | 8 | if [ ! -d "$BUILDER_HOME" ]; then 9 | BUILDER_HOME=/opt/builder/ 10 | if [ ! -d "$BUILDER_HOME" ]; then 11 | echo 12 | echo "Builder scripts are not installed or missing. Exiting..." 13 | echo 14 | exit 0 15 | fi 16 | fi 17 | 18 | echo "System setup initiated" 19 | echo 20 | 21 | USER=$(whoami) 22 | if [[ $USER = "root" ]] 23 | then 24 | echo "Please use without root user or sudo. Exiting...." 25 | exit 0 26 | fi 27 | 28 | 29 | read -p "Do you want to setup SSH|cURL|Git [Y|N]? " -n 1 -r 30 | echo 31 | if [[ $REPLY =~ ^[Yy]$ ]] 32 | then 33 | $BUILDER_HOME/initialize.sh 34 | fi 35 | 36 | read -p "Do you want to setup XAMPP [Y|N]? " -n 1 -r 37 | echo 38 | if [[ $REPLY =~ ^[Yy]$ ]] 39 | then 40 | $BUILDER_HOME/php/installer/xampp.sh 41 | fi 42 | 43 | read -p "Do you want to setup Composer [Y|N]? " -n 1 -r 44 | echo 45 | if [[ $REPLY =~ ^[Yy]$ ]] 46 | then 47 | $BUILDER_HOME/php/initialize.sh 48 | fi 49 | 50 | read -p "Do you want to setup Xdebug [Y|N]? " -n 1 -r 51 | echo 52 | if [[ $REPLY =~ ^[Yy]$ ]] 53 | then 54 | $BUILDER_HOME/php/xdebug-setup-xampp.sh 55 | fi 56 | 57 | read -p "Do you want to setup MEQP [Y|N]? " -n 1 -r 58 | echo 59 | if [[ $REPLY =~ ^[Yy]$ ]] 60 | then 61 | $BUILDER_HOME/php/magento/meqp-setup-xampp.sh 62 | fi 63 | 64 | read -p "Do you want to setup IDE [Y|N]? " -n 1 -r 65 | echo 66 | if [[ $REPLY =~ ^[Yy]$ ]] 67 | then 68 | $BUILDER_HOME/php/installer/ide.sh 69 | fi 70 | 71 | echo 72 | echo "System setup complete" 73 | echo 74 | 75 | 76 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Install common development softwares: 4 | # SSH 5 | # Git 6 | # Curl 7 | 8 | USER=$(whoami) 9 | 10 | export PATH=$PATH:/opt/lampp/bin 11 | 12 | BUILDER_BASE_DIR=$(pwd) 13 | BUILDER_TMP_PATH="${BASE_DIR}/tmp/" 14 | 15 | ##http://ubuntuhandbook.org/index.php/2016/04/enable-ssh-ubuntu-16-04-lts/ 16 | echo -e "\e[94m Installing SSH......\e[39m" 17 | echo "" 18 | sudo apt install openssh-server -y --force-yes 19 | echo "" 20 | echo -e "\e[32m Installed SSH Successfully.\e[39m" 21 | echo "" 22 | 23 | echo -e "\e[94m Installing Git......\e[39m" 24 | echo "" 25 | sudo apt install git -y --force-yes 26 | echo "" 27 | echo -e "\e[32m Installed Git Successfully.\e[39m" 28 | echo "" 29 | 30 | echo -e "\e[94m Installing Curl......\e[39m" 31 | echo "" 32 | sudo apt install curl -y --force-yes 33 | 34 | echo "" 35 | echo -e "\e[32m Installed Git Successfully.\e[39m" 36 | echo "" 37 | 38 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/js/angular/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/js/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/js/react/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/php/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export PATH=$PATH:/opt/lampp/bin 4 | USER=$(whoami) 5 | 6 | echo -e "\e[94m Installing Composer......\e[39m" 7 | 8 | DIRECTORY="/home/${USER}/.composer" 9 | if [ ! -d "$DIRECTORY" ]; then 10 | sudo mkdir "/home/$USER/.composer" 11 | fi 12 | 13 | sudo chmod 777 -R "/home/$USER/.composer" 14 | 15 | 16 | echo "" 17 | sudo curl -s https://getcomposer.org/installer | php 18 | echo "" 19 | 20 | sudo cp ./composer.phar /usr/local/bin/composer 21 | 22 | sudo chmod 777 -R "/home/$USER/.composer" 23 | 24 | echo -e "\e[32m Installed Composer Successfully.\e[39m" 25 | echo "" 26 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/php/install-phalcon.sh: -------------------------------------------------------------------------------- 1 | git clone --depth=1 "git://github.com/phalcon/cphalcon.git" 2 | cd cphalcon/build 3 | yes Y 2>/dev/null | sudo apt-get install libpcre3-dev 4 | sudo ./install --with-php-config=/opt/lampp/bin/php-config 5 | echo -e "\e[94m write extension=phalcon.so in your php.ini and restart server......\e[39m" 6 | echo -e "\e[94m Install the phalcon plugin for using the phalcon in your ide......\e[39m" 7 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/php/installer/ide.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | [ $(id -u) != "0" ] && exec sudo "$0" "$@" 4 | echo -e " \e[94mInstalling Jetbrains Toolbox.......\e[39m" 5 | echo "" 6 | 7 | URL="https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.13.4733.tar.gz" 8 | FILE=$(basename ${URL}) 9 | 10 | DEST=$PWD/$FILE 11 | DIR="/opt/jetbrains-toolbox" 12 | if [ ! -d "$DIR" ]; 13 | then 14 | echo "" 15 | echo -e "\e[94m Downloading Jetbrains Toolbox files.....\e[39m" 16 | echo "" 17 | wget -cO ${DEST} ${URL} --read-timeout=5 --tries=0 18 | echo "" 19 | echo -e "\e[32m Jetbrains Toolbox Download complete.\e[39m" 20 | echo "" 21 | 22 | echo "" 23 | echo -e "\e[94m Installing Jetbrains Toolbox to $DIR\e[39m" 24 | echo "" 25 | if mkdir ${DIR}; then 26 | tar -xzf ${DEST} -C ${DIR} --strip-components=1 27 | fi 28 | 29 | chmod -R +rwx ${DIR} 30 | touch ${DIR}/jetbrains-toolbox.sh 31 | echo "#!/bin/bash" >> $DIR/jetbrains-toolbox.sh 32 | echo "$DIR/jetbrains-toolbox" >> $DIR/jetbrains-toolbox.sh 33 | 34 | ln -s ${DIR}/jetbrains-toolbox.sh /usr/local/bin/jetbrains-toolbox 35 | chmod -R +rwx /usr/local/bin/jetbrains-toolbox 36 | chmod -R 777 /usr/local/bin/jetbrains-toolbox 37 | echo "" 38 | rm ${DEST} 39 | echo -e "\e[32m Jetbrains Toolbox Installation Done.\e[39m" 40 | echo "" 41 | fi 42 | 43 | echo -e "\e[95m Run 'jetbrains-toolbox' to install PhpStorm. \e[39m" 44 | echo "" 45 | echo -e "\e[95m Then Open PhpStorm from the menu and setup MEQP. \e[39m" 46 | echo "" 47 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/php/installer/xampp.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | USER=$(whoami) 4 | EXE_PATH=$PWD 5 | HOME_USER_PATH="/home/$USER" 6 | XAMPP_BIN="/opt/lampp/bin" 7 | BUILDER_TMP="/tmp/builder/" 8 | 9 | XAMPP_NAME7_2=xampp-linux-x64-7.2.20-0-installer.run 10 | XAMPP_URL7_2=https://www.apachefriends.org/xampp-files/7.2.20/xampp-linux-x64-7.2.20-0-installer.run 11 | XAMPP_PATH7_2=/opt/lampp7.2 12 | 13 | XAMPP_NAME7_3=xampp-linux-x64-7.3.7-0-installer.run 14 | XAMPP_URL7_3=https://www.apachefriends.org/xampp-files/7.3.7/xampp-linux-x64-7.3.7-0-installer.run 15 | XAMPP_PATH7_3=/opt/lampp7.3 16 | 17 | XAMPP_NAME5=xampp-linux-x64-5.6.40-0-installer.run 18 | XAMPP_URL5=https://www.apachefriends.org/xampp-files/5.6.40/xampp-linux-x64-5.6.40-0-installer.run 19 | XAMPP_PATH5=/opt/lampp5 20 | 21 | declare -a XAMPP_VERSIONS=( 22 | "5" 23 | "7_2" 24 | "7_3" 25 | ) 26 | for i in "${XAMPP_VERSIONS[@]}" 27 | do 28 | eval XAMPP_NAME=( \${XAMPP_NAME$i} ) ; 29 | eval XAMPP_PATH=( \${XAMPP_PATH$i} ) ; 30 | eval XAMPP_URL=( \${XAMPP_URL$i} ) ; 31 | read -p "Do you want to install XAMPP PHP $i? " -n 1 -r 32 | echo 33 | if [[ $REPLY =~ ^[Yy]$ ]] 34 | then 35 | if [ -f "$BUILDER_TMP$XAMPP_NAME" ] 36 | then 37 | echo -e "\e[94m Using XAMPP with PHP $i file: '$XAMPP_NAME' ......\e[39m" 38 | else 39 | echo "" 40 | echo -e "\e[94m Downloading XAMPP with PHP $i......\e[39m" 41 | echo "" 42 | wget ${XAMPP_URL} -P ${BUILDER_TMP} 43 | echo "" 44 | echo -e "\e[32m Downloaded XAMPP with PHP $i Successfully.\e[39m" 45 | echo "" 46 | fi 47 | 48 | echo -e "\e[94m Installing XAMPP with PHP $i in '/opt/' ......\e[39m" 49 | echo "" 50 | 51 | #Making executable 52 | sudo chmod +x ${BUILDER_TMP}${XAMPP_NAME} 53 | 54 | #Installing xampp 55 | yes Y | sudo ${BUILDER_TMP}${XAMPP_NAME} --mode text --launchapps 0 --enable-components xampp_developer_files 56 | echo "" 57 | 58 | #Moving lampp 59 | sudo mv /opt/lampp ${XAMPP_PATH} 60 | 61 | #Change the permission of htdocs 62 | cd ${XAMPP_PATH}/htdocs 63 | sudo find . -type f -exec chmod 644 {} \; 64 | sudo find . -type d -exec chmod 755 {} \; 65 | echo "" 66 | echo -e "\e[32m Installed XAMPP with PHP $i Successfully.\e[39m" 67 | echo "" 68 | 69 | fi 70 | done 71 | 72 | #Changing to exe path 73 | cd ${EXE_PATH} 74 | 75 | echo "#!/usr/bin/env bash 76 | 77 | if [ ! -z \"$1\" -a \"$1\" != \" \" ] && [ -d \"/opt/lampp${1}\" ]; 78 | then 79 | if [[ -f '/opt/lampp/xampp' && -L '/opt/lampp/xampp' ]] 80 | then 81 | sudo /opt/lampp/xampp stop 82 | sudo rm /opt/lampp 83 | fi 84 | 85 | sudo ln -s /opt/lampp${1} /opt/lampp 86 | echo 87 | sudo /opt/lampp/xampp start 88 | echo -e \"\e[32m XAMPP${1} started.\e[39m\" 89 | exit 90 | fi; 91 | 92 | 93 | if [ -d '/opt/lampp' ] 94 | then 95 | echo 96 | echo \"Available version:\" 97 | ls -l /opt/lampp | awk '{print $11}' 98 | fi 99 | 100 | echo 101 | echo \"Which XAMPP would you like to activate?\" 102 | echo 103 | echo \"Enter '7.2' for XAMPP with PHP 7.2\" 104 | echo 105 | echo \"Enter '7.3' for XAMPP with PHP 7.3\" 106 | echo 107 | echo \"Enter '5' for XAMPP with PHP 5\" 108 | echo 109 | 110 | read version 111 | 112 | echo 113 | if [[ -f '/opt/lampp/xampp' && -L '/opt/lampp/xampp' ]] 114 | then 115 | sudo /opt/lampp/xampp stop 116 | sudo rm /opt/lampp 117 | fi 118 | 119 | if [ -d \"/opt/lampp\${version}\" ] 120 | then 121 | sudo ln -s /opt/lampp\${version} /opt/lampp 122 | 123 | echo 124 | sudo /opt/lampp/xampp start 125 | echo -e \"\e[32m XAMPP\${version} started.\e[39m\" 126 | fi 127 | 128 | echo" > "${BUILDER_TMP}xampp.sh" 129 | sudo cp "${BUILDER_TMP}/xampp.sh" "/usr/bin/xampp" 130 | sudo chmod +x "/usr/bin/xampp" 131 | 132 | sudo echo "if [ -d \"${XAMPP_BIN}\" ] ; then 133 | PATH=\"${XAMPP_BIN}:\$PATH\" 134 | fi" >> /home/${USER}/.profile 135 | sudo echo "if [ -d \"${XAMPP_BIN}\" ] ; then 136 | PATH=\"${XAMPP_BIN}:\$PATH\" 137 | fi" >> /home/${USER}/.bashrc 138 | 139 | source /home/${USER}/.profile 140 | source /home/${USER}/.bashrc 141 | xampp 7 142 | 143 | echo "" 144 | echo -e "\e[32m Installed and Setup XAMPP in your system Successfully.\e[39m" 145 | echo "" 146 | 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/php/magento/magento-support.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DIR=$(pwd) 3 | 4 | ProgName=$(basename $0) 5 | 6 | sub_help(){ 7 | echo "Usage: $ProgName [options]\n" 8 | echo "Subcommands:" 9 | echo " set-permissions [\magento\root\dir\path, default: .]" 10 | echo " clean [\magento\root\dir\path, default: .]" 11 | echo "" 12 | echo "For help with each subcommand run:" 13 | echo "$ProgName -h|--help" 14 | echo "" 15 | } 16 | 17 | sub-set-permissions(){ 18 | read -r -p "Confirm your magento directory: '$DIR'? [y/N] " response 19 | if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]] 20 | then 21 | cd $DIR; # 22 | find $DIR -type f -exec chmod 644 {} \; # 644 permission for files 23 | echo "Set 644 permission for files"; 24 | find $DIR -type d -exec chmod 755 {} \; # 755 permission for directory 25 | echo "Set 755 permission for directory "; 26 | find $DIR/var -type d -exec chmod 777 {} \; # 777 permission for var folder 27 | echo "Set 777 permission for var folder"; 28 | find $DIR/pub/media -type d -exec chmod 777 {} \; 29 | find $DIR/pub/static -type d -exec chmod 777 {} \; 30 | chmod 777 ./app/etc 31 | chmod 644 ./app/etc/*.xml 32 | echo "All permissions updated successfully." 33 | else 34 | echo "Failed. exit" 35 | fi 36 | } 37 | 38 | sub-clean(){ 39 | cd $DIR; # 40 | $(sudo /opt/lampp/bin/php bin/magento cache:clean) 41 | echo "Done. exit" 42 | } 43 | 44 | subcommand=$1 45 | case $subcommand in 46 | "" | "-h" | "--help") 47 | sub_help 48 | ;; 49 | *) 50 | shift 51 | sub-${subcommand} $@ 52 | if [ $? = 127 ]; then 53 | echo "Error: '$subcommand' is not a known subcommand." >&2 54 | echo " Run '$ProgName --help' for a list of known subcommands." >&2 55 | exit 1 56 | fi 57 | ;; 58 | esac -------------------------------------------------------------------------------- /builder-0.0.1/builder/php/magento/meqp-setup-xampp.sh: -------------------------------------------------------------------------------- 1 | USER=$(whoami) 2 | 3 | #MODE="PEAR" 4 | MODE="COMPOSER" 5 | BUILDER_TMP="/tmp/builder/" 6 | 7 | echo -e "\e[94m Removing Global PHP......\e[39m" 8 | sudo apt purge -y php-* --force-yes 9 | 10 | echo -e "\e[94m Installing Git......\e[39m" 11 | sudo apt install -y git --force-yes 12 | echo "" 13 | 14 | echo -e "\e[94m Installing Autoconf......\e[39m" 15 | sudo apt install -y autoconf --force-yes 16 | echo "" 17 | 18 | # PHP 7.2 does not support pear install. 19 | if [ ${MODE}="COMPOSER" ]; then 20 | echo -e "\e[94m PHP Code Sniffer Installing......\e[39m" 21 | COMPOSER_BIN="/home/${USER}/.composer/vendor/bin" 22 | COMPOSER_CS_STANDARDS="/home/${USER}/.composer/vendor/squizlabs/php_codesniffer/src/Standards/" 23 | composer global require "squizlabs/php_codesniffer=*" 24 | sudo echo "if [ -d \"${COMPOSER_BIN}\" ] ; then 25 | PATH=\"${COMPOSER_BIN}:\$PATH\" 26 | fi" >> /home/${USER}/.profile 27 | sudo echo "if [ -d \"${COMPOSER_BIN}\" ] ; then 28 | PATH=\"${COMPOSER_BIN}:\$PATH\" 29 | fi" >> /home/${USER}/.bashrc 30 | echo "" 31 | echo -e "\e[32m PHP Code Sniffer Installed Successfully.\e[39m" 32 | echo "" 33 | 34 | echo -e "\e[94m MEQP Standards Installing......\e[39m" 35 | sudo rm -rf ${BUILDER_TMP}marketplace-eqp 36 | git clone https://github.com/magento/marketplace-eqp.git ${BUILDER_TMP}marketplace-eqp 37 | sudo cp -R ${BUILDER_TMP}marketplace-eqp/MEQP1 ${COMPOSER_CS_STANDARDS}MEQP1 38 | sudo cp -R ${BUILDER_TMP}marketplace-eqp/MEQP ${COMPOSER_CS_STANDARDS}MEQP 39 | sudo sed -i "18irequire_once('${COMPOSER_CS_STANDARDS}MEQP/Utils/Helper.php');" "/home/${USER}/.composer/vendor/squizlabs/php_codesniffer/autoload.php" 40 | 41 | sudo rm -rf ${BUILDER_TMP}magento-coding-standard 42 | git clone https://github.com/magento/magento-coding-standard.git ${BUILDER_TMP}magento-coding-standard 43 | sudo cp -R ${BUILDER_TMP}magento-coding-standard/Magento2 ${COMPOSER_CS_STANDARDS}Magento2 44 | 45 | echo "" 46 | echo -e "\e[32m MEQP Standards Installed Successfully.\e[39m" 47 | echo "" 48 | source /home/${USER}/.profile 49 | source /home/${USER}/.bashrc 50 | 51 | elif [ ${MODE}="PEAR" ]; then 52 | echo -e "\e[94m PHP Code Sniffer Installing......\e[39m" 53 | printf "\n" | sudo /opt/lampp/bin/pear install --alldeps php_codesniffer 54 | echo "" 55 | echo -e "\e[32m PHP Code Sniffer Installed Successfully.\e[39m" 56 | echo "" 57 | 58 | echo -e "\e[94m MEQP Standards Installing......\e[39m" 59 | sudo rm -rf ${BUILDER_TMP}marketplace-eqp 60 | git clone https://github.com/magento/marketplace-eqp.git ${BUILDER_TMP}marketplace-eqp 61 | sudo cp -R ${BUILDER_TMP}marketplace-eqp/MEQP1 ${COMPOSER_CS_STANDARDS}MEQP1 62 | sudo cp -R ${BUILDER_TMP}marketplace-eqp/MEQP ${COMPOSER_CS_STANDARDS}MEQP 63 | sudo sed -i "18irequire_once('${COMPOSER_CS_STANDARDS}MEQP/Utils/Helper.php');" "/home/${USER}/.composer/vendor/squizlabs/php_codesniffer/autoload.php" 64 | 65 | sudo rm -rf ${BUILDER_TMP}magento-coding-standard 66 | git clone https://github.com/magento/magento-coding-standard.git ${BUILDER_TMP}magento-coding-standard 67 | sudo cp -R ${BUILDER_TMP}magento-coding-standard/Magento2 ${COMPOSER_CS_STANDARDS}Magento2 68 | 69 | echo "" 70 | echo -e "\e[32m MEQP Standards Installed Successfully.\e[39m" 71 | echo "" 72 | fi 73 | 74 | echo -e "\e[94m PHP Mess Detector Installing......\e[39m" 75 | printf "\n" | sudo /opt/lampp/bin/pear channel-discover pear.phpmd.org 76 | printf "\n" | sudo /opt/lampp/bin/pear channel-discover pear.pdepend.org 77 | printf "\n" | sudo /opt/lampp/bin/pear install --alldeps phpmd/PHP_PMD 78 | echo "" 79 | echo -e "\e[32m PHP Mess Detector Installed Successfully.\e[39m" 80 | echo "" 81 | 82 | 83 | echo -e "\e[32mInstallation completed.\e[39m" 84 | echo "" 85 | 86 | echo "To show Code Sniffer Standards : " 87 | echo "phpcs -i" 88 | echo "" 89 | echo "To use Code Sniffer: " 90 | echo "" 91 | echo -e "\e[94m phpcs --report=xml --report-file=/path/to/report.xml /path/to/code --standard=MEQP2 --severity=10 -p \e[39m" 92 | echo "" 93 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/php/magento/meqp-setup.sh: -------------------------------------------------------------------------------- 1 | 2 | echo -e "\e[94m PHP 5.6 Installing in OS......\e[39m" 3 | sudo add-apt-repository -y ppa:ondrej/php 4 | sudo apt update -y -qq --force-yes 5 | 6 | echo "" 7 | echo -e "\e[94m Running system upgrades......\e[39m" 8 | sudo apt upgrade -y -qq --force-yes 9 | echo -e "\e[32m System Upgrades Installed Successfully.\e[39m" 10 | echo "" 11 | 12 | sudo apt install -y php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml --force-yes 13 | sudo apt install -y php5-dev --force-yes 14 | echo "" 15 | echo -e "\e[32m PHP 5.6 Installed Successfully.\e[39m" 16 | echo "" 17 | 18 | echo -e "\e[94m PHP 7.0 Installing in OS......\e[39m" 19 | echo "" 20 | 21 | sudo apt install -y php7.0 php7.0-mysql php7.0-mbstring php7.0-mcrypt php7.0-xml --force-yes 22 | echo "" 23 | echo -e "\e[32m PHP 7.0 Installed Successfully.\e[39m" 24 | echo "" 25 | 26 | echo -e "\e[94m PHP Code Sniffer Installing......\e[39m" 27 | printf "\n" | sudo apt install -y php-pear --force-yes 28 | printf "\n" | sudo pear install PHP_CodeSniffer 29 | echo "" 30 | echo -e "\e[32m PHP Code Sniffer Installed Successfully.\e[39m" 31 | echo "" 32 | 33 | echo -e "\e[94m MEQP Standards Installing......\e[39m" 34 | git clone https://github.com/magento/marketplace-eqp.git 35 | sudo cp -R marketplace-eqp/MEQP1 /usr/share/php/PHP/CodeSniffer/src/Standards/ 36 | sudo cp -R marketplace-eqp/MEQP2 /usr/share/php/PHP/CodeSniffer/src/Standards/ 37 | sudo cp -R marketplace-eqp/MEQP /usr/share/php/PHP/CodeSniffer/src/Standards/ 38 | echo "" 39 | echo -e "\e[32m MEQP Standards Installed Successfully.\e[39m" 40 | echo "" 41 | 42 | echo -e "\e[94m PHP Mess Detector Installing......\e[39m" 43 | printf "\n" | sudo pear channel-discover pear.phpmd.org 44 | printf "\n" | sudo pear channel-discover pear.pdepend.org 45 | printf "\n" | sudo pear install --alldeps phpmd/PHP_PMD 46 | 47 | 48 | echo "" 49 | echo -e "\e[32m PHP Mess Detector Installed Successfully.\e[39m" 50 | echo "" 51 | 52 | echo -e "\e[32mInstallation completed.\e[39m" 53 | echo "" 54 | 55 | echo "To use Code Sniffer: " 56 | echo "" 57 | echo -e "\e[94mphpcs --report=xml --report-file=/opt/lampp/htdocs/magento/app/code/Ced/Advance/report.xml /opt/lampp/htdocs/magento/app/code/Ced/Advance --standard=MEQP2 --severity=10 -p\e[39m" 58 | echo "" 59 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/php/xdebug-setup-xampp.sh: -------------------------------------------------------------------------------- 1 | GIT='0' 2 | BUILDER_TMP="/tmp/builder/" 3 | 4 | read -p "Install Xdebug from Git Source [Y|N]? " -n 1 -r 5 | echo # (optional) move to a new line 6 | if [[ $REPLY =~ ^[Yy]$ ]] 7 | then 8 | GIT='1' 9 | fi 10 | 11 | IP=$(hostname -I| cut -d " " -f 1) 12 | 13 | echo "Xdebug installation started........." 14 | echo "" 15 | 16 | echo "Removing global PHP........." 17 | echo "" 18 | sudo apt purge -y php-* --force-yes 19 | 20 | echo "Installing dependencies........." 21 | echo "" 22 | sudo apt install -y autoconf --force-yes 23 | sudo apt install -y libc6-dev --force-yes 24 | echo "" 25 | 26 | if [ "$GIT" = "1" ]; 27 | then 28 | echo "Installing via Git........." 29 | EXTENSIONS_PATH='/opt/lampp/lib/php/extensions' 30 | 31 | if [ ! -d "./xdebug" ]; 32 | then 33 | sudo apt-get install -y git 34 | git clone --single-branch -b xdebug_2_8 https://github.com/xdebug/xdebug.git ${BUILDER_TMP}xdebug 35 | fi 36 | 37 | sudo chmod 777 -R ${BUILDER_TMP}xdebug 38 | cd ${BUILDER_TMP}xdebug 39 | /opt/lampp/bin/phpize 40 | ./configure --enable-xdebug --with-php-config=/opt/lampp/bin/php-config 41 | make 42 | sudo cp modules/xdebug.so /opt/lampp/lib/php/extensions 43 | else 44 | echo "Installing via pecl........." 45 | sudo /opt/lampp/bin/pecl install xdebug 46 | EXTENSIONS_PATH=$(find /opt/lampp/lib/php/extensions/ -maxdepth 1 -type d -name '*no-debug-non-zts-*' -print -quit) 47 | fi 48 | 49 | if [ -f $EXTENSIONS_PATH/xdebug.so ]; 50 | then 51 | echo "Updating php.ini ........." 52 | echo " 53 | [xdebug] 54 | zend_extension=$EXTENSIONS_PATH/xdebug.so 55 | 56 | xdebug.remote_enable=1 57 | 58 | xdebug.remote_host=${IP} 59 | 60 | xdebug.remote_handler=dbgp 61 | 62 | xdebug.remote_mode=req 63 | 64 | xdebug.remote_port=9000 65 | 66 | xdebug.max_nesting_level=300 67 | 68 | xdebug.ide_key=’PHPSTORM’ 69 | 70 | xdebug.remote_connect_back=1 71 | " | sudo tee -a "/opt/lampp/etc/php.ini" 72 | 73 | echo "Restarting xampp........." 74 | sudo /opt/lampp/xampp restart 75 | else 76 | echo "xdebug.so not available.........." 77 | fi 78 | 79 | echo "Xdebug installation completed........." 80 | echo "" 81 | 82 | echo "Restarting xampp........." 83 | sudo /opt/lampp/xampp restart 84 | 85 | echo "PHP Version:" 86 | echo 87 | php -v 88 | -------------------------------------------------------------------------------- /builder-0.0.1/builder/python/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/.debhelper/generated/builder/installed-by-dh_install: -------------------------------------------------------------------------------- 1 | ./bin/builder 2 | ./builder/initialize.sh 3 | ./builder/js 4 | ./builder/php 5 | ./builder/python 6 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/.debhelper/generated/builder/installed-by-dh_installdocs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milindsingh/builder/1fbae838287bd504b0f401234cdcc4bdc5fafa53/builder-0.0.1/debian/.debhelper/generated/builder/installed-by-dh_installdocs -------------------------------------------------------------------------------- /builder-0.0.1/debian/README.Debian: -------------------------------------------------------------------------------- 1 | builder for Debian 2 | ----------------- 3 | 4 | 5 | 6 | -- Milind Singh Fri, 07 Jun 2019 11:29:17 +0530 7 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/README.source: -------------------------------------------------------------------------------- 1 | builder for Debian 2 | ----------------- 3 | 4 | 6 | 7 | 8 | 9 | -- Milind Singh Fri, 07 Jun 2019 11:29:17 +0530 10 | 11 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder-docs.docs: -------------------------------------------------------------------------------- 1 | README.Debian 2 | README.source 3 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder.cron.d.ex: -------------------------------------------------------------------------------- 1 | # 2 | # Regular cron jobs for the builder package 3 | # 4 | 0 4 * * * root [ -x /usr/bin/builder_maintenance ] && /usr/bin/builder_maintenance 5 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder.doc-base.EX: -------------------------------------------------------------------------------- 1 | Document: builder 2 | Title: Debian builder Manual 3 | Author: 4 | Abstract: This manual describes what builder is 5 | and how it can be used to 6 | manage online manuals on Debian systems. 7 | Section: unknown 8 | 9 | Format: debiandoc-sgml 10 | Files: /usr/share/doc/builder/builder.sgml.gz 11 | 12 | Format: postscript 13 | Files: /usr/share/doc/builder/builder.ps.gz 14 | 15 | Format: text 16 | Files: /usr/share/doc/builder/builder.text.gz 17 | 18 | Format: HTML 19 | Index: /usr/share/doc/builder/html/index.html 20 | Files: /usr/share/doc/builder/html/*.html 21 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder.substvars: -------------------------------------------------------------------------------- 1 | misc:Depends= 2 | misc:Pre-Depends= 3 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/DEBIAN/control: -------------------------------------------------------------------------------- 1 | Package: builder 2 | Version: 0.0.1-1 3 | Architecture: all 4 | Maintainer: Milind Singh 5 | Installed-Size: 45 6 | Section: unknown 7 | Priority: optional 8 | Homepage: https://github.com/milindsingh/builder 9 | Description: System setup scripts 10 | Simple shell scripts for developer system setup via cli 11 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/DEBIAN/md5sums: -------------------------------------------------------------------------------- 1 | 7a99e107e3c9b65a525fba6a0c95b1a9 opt/builder/initialize.sh 2 | e3cfb7adaca4c3a35da56337a8e55c4a opt/builder/js/angular/initialize.sh 3 | e3cfb7adaca4c3a35da56337a8e55c4a opt/builder/js/initialize.sh 4 | e3cfb7adaca4c3a35da56337a8e55c4a opt/builder/js/react/initialize.sh 5 | a640e80cc309c63c7cf18df85061ecb3 opt/builder/php/initialize.sh 6 | 3fb9486cf574a1ec250c371f8cd55df2 opt/builder/php/install-phalcon.sh 7 | 5307a96bf83b8129b5309850fa7d59dd opt/builder/php/installer/ide.sh 8 | 2e1401b7fe103abb35d5fa959a50cae7 opt/builder/php/installer/xampp.sh 9 | 7f81947980f02f13fb480de43a62f4c9 opt/builder/php/magento/magento-support.sh 10 | 52585e8dfdd5cb732a6b453e4485093e opt/builder/php/magento/meqp-setup-xampp.sh 11 | 0846acb570284d6d82b855ee42057bc7 opt/builder/php/magento/meqp-setup.sh 12 | e3750555eac454fb33ca63540504aa57 opt/builder/php/xdebug-setup-xampp.sh 13 | e3cfb7adaca4c3a35da56337a8e55c4a opt/builder/python/initialize.sh 14 | 970c78fcaeb6e6e31c0abe6b2a401b76 usr/bin/builder 15 | 95a03b542ce259a5a515178974f7699c usr/share/doc/builder/README.Debian 16 | 3ebcac989e8f41eaf4320da3d268e134 usr/share/doc/builder/changelog.Debian.gz 17 | 6b0331377b4feebf3f557900ea9a7c8a usr/share/doc/builder/copyright 18 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Install common development softwares: 4 | # SSH 5 | # Git 6 | # Curl 7 | 8 | USER=$(whoami) 9 | 10 | export PATH=$PATH:/opt/lampp/bin 11 | 12 | BUILDER_BASE_DIR=$(pwd) 13 | BUILDER_TMP_PATH="${BASE_DIR}/tmp/" 14 | 15 | ##http://ubuntuhandbook.org/index.php/2016/04/enable-ssh-ubuntu-16-04-lts/ 16 | echo -e "\e[94m Installing SSH......\e[39m" 17 | echo "" 18 | sudo apt install openssh-server -y --force-yes 19 | echo "" 20 | echo -e "\e[32m Installed SSH Successfully.\e[39m" 21 | echo "" 22 | 23 | echo -e "\e[94m Installing Git......\e[39m" 24 | echo "" 25 | sudo apt install git -y --force-yes 26 | echo "" 27 | echo -e "\e[32m Installed Git Successfully.\e[39m" 28 | echo "" 29 | 30 | echo -e "\e[94m Installing Curl......\e[39m" 31 | echo "" 32 | sudo apt install curl -y --force-yes 33 | 34 | echo "" 35 | echo -e "\e[32m Installed Git Successfully.\e[39m" 36 | echo "" 37 | 38 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/js/angular/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/js/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/js/react/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/php/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export PATH=$PATH:/opt/lampp/bin 4 | USER=$(whoami) 5 | 6 | echo -e "\e[94m Installing Composer......\e[39m" 7 | 8 | DIRECTORY="/home/${USER}/.composer" 9 | if [ ! -d "$DIRECTORY" ]; then 10 | sudo mkdir "/home/$USER/.composer" 11 | fi 12 | 13 | sudo chmod 777 -R "/home/$USER/.composer" 14 | 15 | 16 | echo "" 17 | sudo curl -s https://getcomposer.org/installer | php 18 | echo "" 19 | 20 | sudo cp ./composer.phar /usr/local/bin/composer 21 | 22 | sudo chmod 777 -R "/home/$USER/.composer" 23 | 24 | echo -e "\e[32m Installed Composer Successfully.\e[39m" 25 | echo "" 26 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/php/install-phalcon.sh: -------------------------------------------------------------------------------- 1 | git clone --depth=1 "git://github.com/phalcon/cphalcon.git" 2 | cd cphalcon/build 3 | yes Y 2>/dev/null | sudo apt-get install libpcre3-dev 4 | sudo ./install --with-php-config=/opt/lampp/bin/php-config 5 | echo -e "\e[94m write extension=phalcon.so in your php.ini and restart server......\e[39m" 6 | echo -e "\e[94m Install the phalcon plugin for using the phalcon in your ide......\e[39m" 7 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/php/installer/ide.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | [ $(id -u) != "0" ] && exec sudo "$0" "$@" 4 | echo -e " \e[94mInstalling Jetbrains Toolbox.......\e[39m" 5 | echo "" 6 | 7 | URL="https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.13.4733.tar.gz" 8 | FILE=$(basename ${URL}) 9 | 10 | DEST=$PWD/$FILE 11 | DIR="/opt/jetbrains-toolbox" 12 | if [ ! -d "$DIR" ]; 13 | then 14 | echo "" 15 | echo -e "\e[94m Downloading Jetbrains Toolbox files.....\e[39m" 16 | echo "" 17 | wget -cO ${DEST} ${URL} --read-timeout=5 --tries=0 18 | echo "" 19 | echo -e "\e[32m Jetbrains Toolbox Download complete.\e[39m" 20 | echo "" 21 | 22 | echo "" 23 | echo -e "\e[94m Installing Jetbrains Toolbox to $DIR\e[39m" 24 | echo "" 25 | if mkdir ${DIR}; then 26 | tar -xzf ${DEST} -C ${DIR} --strip-components=1 27 | fi 28 | 29 | chmod -R +rwx ${DIR} 30 | touch ${DIR}/jetbrains-toolbox.sh 31 | echo "#!/bin/bash" >> $DIR/jetbrains-toolbox.sh 32 | echo "$DIR/jetbrains-toolbox" >> $DIR/jetbrains-toolbox.sh 33 | 34 | ln -s ${DIR}/jetbrains-toolbox.sh /usr/local/bin/jetbrains-toolbox 35 | chmod -R +rwx /usr/local/bin/jetbrains-toolbox 36 | chmod -R 777 /usr/local/bin/jetbrains-toolbox 37 | echo "" 38 | rm ${DEST} 39 | echo -e "\e[32m Jetbrains Toolbox Installation Done.\e[39m" 40 | echo "" 41 | fi 42 | 43 | echo -e "\e[95m Run 'jetbrains-toolbox' to install PhpStorm. \e[39m" 44 | echo "" 45 | echo -e "\e[95m Then Open PhpStorm from the menu and setup MEQP. \e[39m" 46 | echo "" 47 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/php/installer/xampp.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | USER=$(whoami) 4 | EXE_PATH=$PWD 5 | HOME_USER_PATH="/home/$USER" 6 | XAMPP_BIN="/opt/lampp/bin" 7 | BUILDER_TMP="/tmp/builder/" 8 | 9 | XAMPP_NAME7_2=xampp-linux-x64-7.2.20-0-installer.run 10 | XAMPP_URL7_2=https://www.apachefriends.org/xampp-files/7.2.20/xampp-linux-x64-7.2.20-0-installer.run 11 | XAMPP_PATH7_2=/opt/lampp7.2 12 | 13 | XAMPP_NAME7_3=xampp-linux-x64-7.3.7-0-installer.run 14 | XAMPP_URL7_3=https://www.apachefriends.org/xampp-files/7.3.7/xampp-linux-x64-7.3.7-0-installer.run 15 | XAMPP_PATH7_3=/opt/lampp7.3 16 | 17 | XAMPP_NAME5=xampp-linux-x64-5.6.40-0-installer.run 18 | XAMPP_URL5=https://www.apachefriends.org/xampp-files/5.6.40/xampp-linux-x64-5.6.40-0-installer.run 19 | XAMPP_PATH5=/opt/lampp5 20 | 21 | declare -a XAMPP_VERSIONS=( 22 | "5" 23 | "7_2" 24 | "7_3" 25 | ) 26 | for i in "${XAMPP_VERSIONS[@]}" 27 | do 28 | eval XAMPP_NAME=( \${XAMPP_NAME$i} ) ; 29 | eval XAMPP_PATH=( \${XAMPP_PATH$i} ) ; 30 | eval XAMPP_URL=( \${XAMPP_URL$i} ) ; 31 | read -p "Do you want to install XAMPP PHP $i? " -n 1 -r 32 | echo 33 | if [[ $REPLY =~ ^[Yy]$ ]] 34 | then 35 | if [ -f "$BUILDER_TMP$XAMPP_NAME" ] 36 | then 37 | echo -e "\e[94m Using XAMPP with PHP $i file: '$XAMPP_NAME' ......\e[39m" 38 | else 39 | echo "" 40 | echo -e "\e[94m Downloading XAMPP with PHP $i......\e[39m" 41 | echo "" 42 | wget ${XAMPP_URL} -P ${BUILDER_TMP} 43 | echo "" 44 | echo -e "\e[32m Downloaded XAMPP with PHP $i Successfully.\e[39m" 45 | echo "" 46 | fi 47 | 48 | echo -e "\e[94m Installing XAMPP with PHP $i in '/opt/' ......\e[39m" 49 | echo "" 50 | 51 | #Making executable 52 | sudo chmod +x ${BUILDER_TMP}${XAMPP_NAME} 53 | 54 | #Installing xampp 55 | yes Y | sudo ${BUILDER_TMP}${XAMPP_NAME} --mode text --launchapps 0 --enable-components xampp_developer_files 56 | echo "" 57 | 58 | #Moving lampp 59 | sudo mv /opt/lampp ${XAMPP_PATH} 60 | 61 | #Change the permission of htdocs 62 | cd ${XAMPP_PATH}/htdocs 63 | sudo find . -type f -exec chmod 644 {} \; 64 | sudo find . -type d -exec chmod 755 {} \; 65 | echo "" 66 | echo -e "\e[32m Installed XAMPP with PHP $i Successfully.\e[39m" 67 | echo "" 68 | 69 | fi 70 | done 71 | 72 | #Changing to exe path 73 | cd ${EXE_PATH} 74 | 75 | echo "#!/usr/bin/env bash 76 | 77 | if [ ! -z \"$1\" -a \"$1\" != \" \" ] && [ -d \"/opt/lampp${1}\" ]; 78 | then 79 | if [[ -f '/opt/lampp/xampp' && -L '/opt/lampp/xampp' ]] 80 | then 81 | sudo /opt/lampp/xampp stop 82 | sudo rm /opt/lampp 83 | fi 84 | 85 | sudo ln -s /opt/lampp${1} /opt/lampp 86 | echo 87 | sudo /opt/lampp/xampp start 88 | echo -e \"\e[32m XAMPP${1} started.\e[39m\" 89 | exit 90 | fi; 91 | 92 | 93 | if [ -d '/opt/lampp' ] 94 | then 95 | echo 96 | echo \"Available version:\" 97 | ls -l /opt/lampp | awk '{print $11}' 98 | fi 99 | 100 | echo 101 | echo \"Which XAMPP would you like to activate?\" 102 | echo 103 | echo \"Enter '7.2' for XAMPP with PHP 7.2\" 104 | echo 105 | echo \"Enter '7.3' for XAMPP with PHP 7.3\" 106 | echo 107 | echo \"Enter '5' for XAMPP with PHP 5\" 108 | echo 109 | 110 | read version 111 | 112 | echo 113 | if [[ -f '/opt/lampp/xampp' && -L '/opt/lampp/xampp' ]] 114 | then 115 | sudo /opt/lampp/xampp stop 116 | sudo rm /opt/lampp 117 | fi 118 | 119 | if [ -d \"/opt/lampp\${version}\" ] 120 | then 121 | sudo ln -s /opt/lampp\${version} /opt/lampp 122 | 123 | echo 124 | sudo /opt/lampp/xampp start 125 | echo -e \"\e[32m XAMPP\${version} started.\e[39m\" 126 | fi 127 | 128 | echo" > "${BUILDER_TMP}xampp.sh" 129 | sudo cp "${BUILDER_TMP}/xampp.sh" "/usr/bin/xampp" 130 | sudo chmod +x "/usr/bin/xampp" 131 | 132 | sudo echo "if [ -d \"${XAMPP_BIN}\" ] ; then 133 | PATH=\"${XAMPP_BIN}:\$PATH\" 134 | fi" >> /home/${USER}/.profile 135 | sudo echo "if [ -d \"${XAMPP_BIN}\" ] ; then 136 | PATH=\"${XAMPP_BIN}:\$PATH\" 137 | fi" >> /home/${USER}/.bashrc 138 | 139 | source /home/${USER}/.profile 140 | source /home/${USER}/.bashrc 141 | xampp 7 142 | 143 | echo "" 144 | echo -e "\e[32m Installed and Setup XAMPP in your system Successfully.\e[39m" 145 | echo "" 146 | 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/php/magento/magento-support.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DIR=$(pwd) 3 | 4 | ProgName=$(basename $0) 5 | 6 | sub_help(){ 7 | echo "Usage: $ProgName [options]\n" 8 | echo "Subcommands:" 9 | echo " set-permissions [\magento\root\dir\path, default: .]" 10 | echo " clean [\magento\root\dir\path, default: .]" 11 | echo "" 12 | echo "For help with each subcommand run:" 13 | echo "$ProgName -h|--help" 14 | echo "" 15 | } 16 | 17 | sub-set-permissions(){ 18 | read -r -p "Confirm your magento directory: '$DIR'? [y/N] " response 19 | if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]] 20 | then 21 | cd $DIR; # 22 | find $DIR -type f -exec chmod 644 {} \; # 644 permission for files 23 | echo "Set 644 permission for files"; 24 | find $DIR -type d -exec chmod 755 {} \; # 755 permission for directory 25 | echo "Set 755 permission for directory "; 26 | find $DIR/var -type d -exec chmod 777 {} \; # 777 permission for var folder 27 | echo "Set 777 permission for var folder"; 28 | find $DIR/pub/media -type d -exec chmod 777 {} \; 29 | find $DIR/pub/static -type d -exec chmod 777 {} \; 30 | chmod 777 ./app/etc 31 | chmod 644 ./app/etc/*.xml 32 | echo "All permissions updated successfully." 33 | else 34 | echo "Failed. exit" 35 | fi 36 | } 37 | 38 | sub-clean(){ 39 | cd $DIR; # 40 | $(sudo /opt/lampp/bin/php bin/magento cache:clean) 41 | echo "Done. exit" 42 | } 43 | 44 | subcommand=$1 45 | case $subcommand in 46 | "" | "-h" | "--help") 47 | sub_help 48 | ;; 49 | *) 50 | shift 51 | sub-${subcommand} $@ 52 | if [ $? = 127 ]; then 53 | echo "Error: '$subcommand' is not a known subcommand." >&2 54 | echo " Run '$ProgName --help' for a list of known subcommands." >&2 55 | exit 1 56 | fi 57 | ;; 58 | esac -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/php/magento/meqp-setup-xampp.sh: -------------------------------------------------------------------------------- 1 | USER=$(whoami) 2 | 3 | #MODE="PEAR" 4 | MODE="COMPOSER" 5 | BUILDER_TMP="/tmp/builder/" 6 | 7 | echo -e "\e[94m Removing Global PHP......\e[39m" 8 | sudo apt purge -y php-* --force-yes 9 | 10 | echo -e "\e[94m Installing Git......\e[39m" 11 | sudo apt install -y git --force-yes 12 | echo "" 13 | 14 | echo -e "\e[94m Installing Autoconf......\e[39m" 15 | sudo apt install -y autoconf --force-yes 16 | echo "" 17 | 18 | # PHP 7.2 does not support pear install. 19 | if [ ${MODE}="COMPOSER" ]; then 20 | echo -e "\e[94m PHP Code Sniffer Installing......\e[39m" 21 | COMPOSER_BIN="/home/${USER}/.composer/vendor/bin" 22 | COMPOSER_CS_STANDARDS="/home/${USER}/.composer/vendor/squizlabs/php_codesniffer/src/Standards/" 23 | composer global require "squizlabs/php_codesniffer=*" 24 | sudo echo "if [ -d \"${COMPOSER_BIN}\" ] ; then 25 | PATH=\"${COMPOSER_BIN}:\$PATH\" 26 | fi" >> /home/${USER}/.profile 27 | sudo echo "if [ -d \"${COMPOSER_BIN}\" ] ; then 28 | PATH=\"${COMPOSER_BIN}:\$PATH\" 29 | fi" >> /home/${USER}/.bashrc 30 | echo "" 31 | echo -e "\e[32m PHP Code Sniffer Installed Successfully.\e[39m" 32 | echo "" 33 | 34 | echo -e "\e[94m MEQP Standards Installing......\e[39m" 35 | sudo rm -rf ${BUILDER_TMP}marketplace-eqp 36 | git clone https://github.com/magento/marketplace-eqp.git ${BUILDER_TMP}marketplace-eqp 37 | sudo cp -R ${BUILDER_TMP}marketplace-eqp/MEQP1 ${COMPOSER_CS_STANDARDS}MEQP1 38 | sudo cp -R ${BUILDER_TMP}marketplace-eqp/MEQP ${COMPOSER_CS_STANDARDS}MEQP 39 | sudo sed -i "18irequire_once('${COMPOSER_CS_STANDARDS}MEQP/Utils/Helper.php');" "/home/${USER}/.composer/vendor/squizlabs/php_codesniffer/autoload.php" 40 | 41 | sudo rm -rf ${BUILDER_TMP}magento-coding-standard 42 | git clone https://github.com/magento/magento-coding-standard.git ${BUILDER_TMP}magento-coding-standard 43 | sudo cp -R ${BUILDER_TMP}magento-coding-standard/Magento2 ${COMPOSER_CS_STANDARDS}Magento2 44 | 45 | echo "" 46 | echo -e "\e[32m MEQP Standards Installed Successfully.\e[39m" 47 | echo "" 48 | source /home/${USER}/.profile 49 | source /home/${USER}/.bashrc 50 | 51 | elif [ ${MODE}="PEAR" ]; then 52 | echo -e "\e[94m PHP Code Sniffer Installing......\e[39m" 53 | printf "\n" | sudo /opt/lampp/bin/pear install --alldeps php_codesniffer 54 | echo "" 55 | echo -e "\e[32m PHP Code Sniffer Installed Successfully.\e[39m" 56 | echo "" 57 | 58 | echo -e "\e[94m MEQP Standards Installing......\e[39m" 59 | sudo rm -rf ${BUILDER_TMP}marketplace-eqp 60 | git clone https://github.com/magento/marketplace-eqp.git ${BUILDER_TMP}marketplace-eqp 61 | sudo cp -R ${BUILDER_TMP}marketplace-eqp/MEQP1 ${COMPOSER_CS_STANDARDS}MEQP1 62 | sudo cp -R ${BUILDER_TMP}marketplace-eqp/MEQP ${COMPOSER_CS_STANDARDS}MEQP 63 | sudo sed -i "18irequire_once('${COMPOSER_CS_STANDARDS}MEQP/Utils/Helper.php');" "/home/${USER}/.composer/vendor/squizlabs/php_codesniffer/autoload.php" 64 | 65 | sudo rm -rf ${BUILDER_TMP}magento-coding-standard 66 | git clone https://github.com/magento/magento-coding-standard.git ${BUILDER_TMP}magento-coding-standard 67 | sudo cp -R ${BUILDER_TMP}magento-coding-standard/Magento2 ${COMPOSER_CS_STANDARDS}Magento2 68 | 69 | echo "" 70 | echo -e "\e[32m MEQP Standards Installed Successfully.\e[39m" 71 | echo "" 72 | fi 73 | 74 | echo -e "\e[94m PHP Mess Detector Installing......\e[39m" 75 | printf "\n" | sudo /opt/lampp/bin/pear channel-discover pear.phpmd.org 76 | printf "\n" | sudo /opt/lampp/bin/pear channel-discover pear.pdepend.org 77 | printf "\n" | sudo /opt/lampp/bin/pear install --alldeps phpmd/PHP_PMD 78 | echo "" 79 | echo -e "\e[32m PHP Mess Detector Installed Successfully.\e[39m" 80 | echo "" 81 | 82 | 83 | echo -e "\e[32mInstallation completed.\e[39m" 84 | echo "" 85 | 86 | echo "To show Code Sniffer Standards : " 87 | echo "phpcs -i" 88 | echo "" 89 | echo "To use Code Sniffer: " 90 | echo "" 91 | echo -e "\e[94m phpcs --report=xml --report-file=/path/to/report.xml /path/to/code --standard=MEQP2 --severity=10 -p \e[39m" 92 | echo "" 93 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/php/magento/meqp-setup.sh: -------------------------------------------------------------------------------- 1 | 2 | echo -e "\e[94m PHP 5.6 Installing in OS......\e[39m" 3 | sudo add-apt-repository -y ppa:ondrej/php 4 | sudo apt update -y -qq --force-yes 5 | 6 | echo "" 7 | echo -e "\e[94m Running system upgrades......\e[39m" 8 | sudo apt upgrade -y -qq --force-yes 9 | echo -e "\e[32m System Upgrades Installed Successfully.\e[39m" 10 | echo "" 11 | 12 | sudo apt install -y php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml --force-yes 13 | sudo apt install -y php5-dev --force-yes 14 | echo "" 15 | echo -e "\e[32m PHP 5.6 Installed Successfully.\e[39m" 16 | echo "" 17 | 18 | echo -e "\e[94m PHP 7.0 Installing in OS......\e[39m" 19 | echo "" 20 | 21 | sudo apt install -y php7.0 php7.0-mysql php7.0-mbstring php7.0-mcrypt php7.0-xml --force-yes 22 | echo "" 23 | echo -e "\e[32m PHP 7.0 Installed Successfully.\e[39m" 24 | echo "" 25 | 26 | echo -e "\e[94m PHP Code Sniffer Installing......\e[39m" 27 | printf "\n" | sudo apt install -y php-pear --force-yes 28 | printf "\n" | sudo pear install PHP_CodeSniffer 29 | echo "" 30 | echo -e "\e[32m PHP Code Sniffer Installed Successfully.\e[39m" 31 | echo "" 32 | 33 | echo -e "\e[94m MEQP Standards Installing......\e[39m" 34 | git clone https://github.com/magento/marketplace-eqp.git 35 | sudo cp -R marketplace-eqp/MEQP1 /usr/share/php/PHP/CodeSniffer/src/Standards/ 36 | sudo cp -R marketplace-eqp/MEQP2 /usr/share/php/PHP/CodeSniffer/src/Standards/ 37 | sudo cp -R marketplace-eqp/MEQP /usr/share/php/PHP/CodeSniffer/src/Standards/ 38 | echo "" 39 | echo -e "\e[32m MEQP Standards Installed Successfully.\e[39m" 40 | echo "" 41 | 42 | echo -e "\e[94m PHP Mess Detector Installing......\e[39m" 43 | printf "\n" | sudo pear channel-discover pear.phpmd.org 44 | printf "\n" | sudo pear channel-discover pear.pdepend.org 45 | printf "\n" | sudo pear install --alldeps phpmd/PHP_PMD 46 | 47 | 48 | echo "" 49 | echo -e "\e[32m PHP Mess Detector Installed Successfully.\e[39m" 50 | echo "" 51 | 52 | echo -e "\e[32mInstallation completed.\e[39m" 53 | echo "" 54 | 55 | echo "To use Code Sniffer: " 56 | echo "" 57 | echo -e "\e[94mphpcs --report=xml --report-file=/opt/lampp/htdocs/magento/app/code/Ced/Advance/report.xml /opt/lampp/htdocs/magento/app/code/Ced/Advance --standard=MEQP2 --severity=10 -p\e[39m" 58 | echo "" 59 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/php/xdebug-setup-xampp.sh: -------------------------------------------------------------------------------- 1 | GIT='0' 2 | BUILDER_TMP="/tmp/builder/" 3 | 4 | read -p "Install Xdebug from Git Source [Y|N]? " -n 1 -r 5 | echo # (optional) move to a new line 6 | if [[ $REPLY =~ ^[Yy]$ ]] 7 | then 8 | GIT='1' 9 | fi 10 | 11 | IP=$(hostname -I| cut -d " " -f 1) 12 | 13 | echo "Xdebug installation started........." 14 | echo "" 15 | 16 | echo "Removing global PHP........." 17 | echo "" 18 | sudo apt purge -y php-* --force-yes 19 | 20 | echo "Installing dependencies........." 21 | echo "" 22 | sudo apt install -y autoconf --force-yes 23 | sudo apt install -y libc6-dev --force-yes 24 | echo "" 25 | 26 | if [ "$GIT" = "1" ]; 27 | then 28 | echo "Installing via Git........." 29 | EXTENSIONS_PATH='/opt/lampp/lib/php/extensions' 30 | 31 | if [ ! -d "./xdebug" ]; 32 | then 33 | sudo apt-get install -y git 34 | git clone https://github.com/xdebug/xdebug.git ${BUILDER_TMP}xdebug 35 | fi 36 | 37 | sudo chmod 777 -R ${BUILDER_TMP}xdebug 38 | cd ${BUILDER_TMP}xdebug 39 | /opt/lampp/bin/phpize 40 | ./configure --enable-xdebug --with-php-config=/opt/lampp/bin/php-config 41 | make 42 | sudo cp modules/xdebug.so /opt/lampp/lib/php/extensions 43 | else 44 | echo "Installing via pecl........." 45 | sudo /opt/lampp/bin/pecl install xdebug 46 | EXTENSIONS_PATH=$(find /opt/lampp/lib/php/extensions/ -maxdepth 1 -type d -name '*no-debug-non-zts-*' -print -quit) 47 | fi 48 | 49 | if [ -f $EXTENSIONS_PATH/xdebug.so ]; 50 | then 51 | echo "Updating php.ini ........." 52 | echo " 53 | [xdebug] 54 | zend_extension=$EXTENSIONS_PATH/xdebug.so 55 | 56 | xdebug.remote_enable=1 57 | 58 | xdebug.remote_host=${IP} 59 | 60 | xdebug.remote_handler=dbgp 61 | 62 | xdebug.remote_mode=req 63 | 64 | xdebug.remote_port=9000 65 | 66 | xdebug.max_nesting_level=300 67 | 68 | xdebug.ide_key=’PHPSTORM’ 69 | 70 | xdebug.remote_connect_back=1 71 | " | sudo tee -a "/opt/lampp/etc/php.ini" 72 | 73 | echo "Restarting xampp........." 74 | sudo /opt/lampp/xampp restart 75 | else 76 | echo "xdebug.so not available.........." 77 | fi 78 | 79 | echo "Xdebug installation completed........." 80 | echo "" 81 | 82 | echo "Restarting xampp........." 83 | sudo /opt/lampp/xampp restart 84 | 85 | echo "PHP Version:" 86 | echo 87 | php -v 88 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/opt/builder/python/initialize.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/usr/bin/builder: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Locate folder for builder scripts 4 | BUILDER_HOME=../builder/ 5 | # Path to save downloaded files 6 | BUILDER_TMP=/tmp/builder/ 7 | 8 | if [ ! -d "$BUILDER_HOME" ]; then 9 | BUILDER_HOME=/opt/builder/ 10 | if [ ! -d "$BUILDER_HOME" ]; then 11 | echo 12 | echo "Builder scripts are not installed or missing. Exiting..." 13 | echo 14 | exit 0 15 | fi 16 | fi 17 | 18 | echo "System setup initiated" 19 | echo 20 | 21 | USER=$(whoami) 22 | if [[ $USER = "root" ]] 23 | then 24 | echo "Please use without root user or sudo. Exiting...." 25 | exit 0 26 | fi 27 | 28 | 29 | read -p "Do you want to setup SSH|cURL|Git [Y|N]? " -n 1 -r 30 | echo 31 | if [[ $REPLY =~ ^[Yy]$ ]] 32 | then 33 | $BUILDER_HOME/initialize.sh 34 | fi 35 | 36 | read -p "Do you want to setup XAMPP [Y|N]? " -n 1 -r 37 | echo 38 | if [[ $REPLY =~ ^[Yy]$ ]] 39 | then 40 | $BUILDER_HOME/php/installer/xampp.sh 41 | fi 42 | 43 | read -p "Do you want to setup Composer [Y|N]? " -n 1 -r 44 | echo 45 | if [[ $REPLY =~ ^[Yy]$ ]] 46 | then 47 | $BUILDER_HOME/php/initialize.sh 48 | fi 49 | 50 | read -p "Do you want to setup Xdebug [Y|N]? " -n 1 -r 51 | echo 52 | if [[ $REPLY =~ ^[Yy]$ ]] 53 | then 54 | $BUILDER_HOME/php/xdebug-setup-xampp.sh 55 | fi 56 | 57 | read -p "Do you want to setup MEQP [Y|N]? " -n 1 -r 58 | echo 59 | if [[ $REPLY =~ ^[Yy]$ ]] 60 | then 61 | $BUILDER_HOME/php/magento/meqp-setup-xampp.sh 62 | fi 63 | 64 | read -p "Do you want to setup IDE [Y|N]? " -n 1 -r 65 | echo 66 | if [[ $REPLY =~ ^[Yy]$ ]] 67 | then 68 | $BUILDER_HOME/php/installer/ide.sh 69 | fi 70 | 71 | echo 72 | echo "System setup complete" 73 | echo 74 | 75 | 76 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/usr/share/doc/builder/README.Debian: -------------------------------------------------------------------------------- 1 | builder for Debian 2 | ----------------- 3 | 4 | 5 | 6 | -- Milind Singh Fri, 07 Jun 2019 11:29:17 +0530 7 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/usr/share/doc/builder/changelog.Debian.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milindsingh/builder/1fbae838287bd504b0f401234cdcc4bdc5fafa53/builder-0.0.1/debian/builder/usr/share/doc/builder/changelog.Debian.gz -------------------------------------------------------------------------------- /builder-0.0.1/debian/builder/usr/share/doc/builder/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: builder 3 | Source: https://github.com/milindsingh/builder 4 | 5 | Files: * 6 | Copyright: 2019 Milind Singh 7 | License: MIT 8 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /builder-0.0.1/debian/changelog: -------------------------------------------------------------------------------- 1 | builder (0.0.1-1) unstable; urgency=medium 2 | 3 | * Initial release (Closes: #nnnn) 4 | 5 | -- Milind Singh Fri, 07 Jun 2019 11:29:17 +0530 6 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/compat: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/control: -------------------------------------------------------------------------------- 1 | Source: builder 2 | Section: unknown 3 | Priority: optional 4 | Maintainer: Milind Singh 5 | Build-Depends: debhelper (>= 10) 6 | Standards-Version: 4.1.2 7 | Homepage: https://github.com/milindsingh/builder 8 | #Vcs-Git: https://anonscm.debian.org/git/collab-maint/builder.git 9 | #Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/builder.git 10 | 11 | Package: builder 12 | Architecture: all 13 | Depends: ${misc:Depends} 14 | Description: System setup scripts 15 | Simple shell scripts for developer system setup via cli 16 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: builder 3 | Source: https://github.com/milindsingh/builder 4 | 5 | Files: * 6 | Copyright: 2019 Milind Singh 7 | License: MIT 8 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /builder-0.0.1/debian/debhelper-build-stamp: -------------------------------------------------------------------------------- 1 | builder 2 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/files: -------------------------------------------------------------------------------- 1 | builder_0.0.1-1_all.deb unknown optional 2 | builder_0.0.1-1_amd64.buildinfo unknown optional 3 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/install: -------------------------------------------------------------------------------- 1 | bin/builder usr/bin 2 | builder/* opt/builder 3 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/manpage.1.ex: -------------------------------------------------------------------------------- 1 | .\" Hey, EMACS: -*- nroff -*- 2 | .\" (C) Copyright 2019 Milind Singh , 3 | .\" 4 | .\" First parameter, NAME, should be all caps 5 | .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection 6 | .\" other parameters are allowed: see man(7), man(1) 7 | .TH Builder SECTION "June 7 2019" 8 | .\" Please adjust this date whenever revising the manpage. 9 | .\" 10 | .\" Some roff macros, for reference: 11 | .\" .nh disable hyphenation 12 | .\" .hy enable hyphenation 13 | .\" .ad l left justify 14 | .\" .ad b justify to both left and right margins 15 | .\" .nf disable filling 16 | .\" .fi enable filling 17 | .\" .br insert line break 18 | .\" .sp insert n+1 empty lines 19 | .\" for manpage-specific macros, see man(7) 20 | .SH NAME 21 | builder \- program to do something 22 | .SH SYNOPSIS 23 | .B builder 24 | .RI [ options ] " files" ... 25 | .br 26 | .B bar 27 | .RI [ options ] " files" ... 28 | .SH DESCRIPTION 29 | This manual page documents briefly the 30 | .B builder 31 | and 32 | .B bar 33 | commands. 34 | .PP 35 | .\" TeX users may be more comfortable with the \fB\fP and 36 | .\" \fI\fP escape sequences to invode bold face and italics, 37 | .\" respectively. 38 | \fBbuilder\fP is a program that... 39 | .SH OPTIONS 40 | These programs follow the usual GNU command line syntax, with long 41 | options starting with two dashes (`-'). 42 | A summary of options is included below. 43 | For a complete description, see the Info files. 44 | .TP 45 | .B \-h, \-\-help 46 | Show summary of options. 47 | .TP 48 | .B \-v, \-\-version 49 | Show version of program. 50 | .SH SEE ALSO 51 | .BR bar (1), 52 | .BR baz (1). 53 | .br 54 | The programs are documented fully by 55 | .IR "The Rise and Fall of a Fooish Bar" , 56 | available via the Info system. 57 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/manpage.sgml.ex: -------------------------------------------------------------------------------- 1 | manpage.1'. You may view 5 | the manual page with: `docbook-to-man manpage.sgml | nroff -man | 6 | less'. A typical entry in a Makefile or Makefile.am is: 7 | 8 | manpage.1: manpage.sgml 9 | docbook-to-man $< > $@ 10 | 11 | 12 | The docbook-to-man binary is found in the docbook-to-man package. 13 | Please remember that if you create the nroff version in one of the 14 | debian/rules file targets (such as build), you will need to include 15 | docbook-to-man in your Build-Depends control field. 16 | 17 | --> 18 | 19 | 20 | FIRSTNAME"> 21 | SURNAME"> 22 | 23 | June 7 2019"> 24 | 26 | SECTION"> 27 | milind7@live.com"> 28 | 29 | Builder"> 30 | 31 | 32 | Debian"> 33 | GNU"> 34 | GPL"> 35 | ]> 36 | 37 | 38 | 39 |
40 | &dhemail; 41 |
42 | 43 | &dhfirstname; 44 | &dhsurname; 45 | 46 | 47 | 2003 48 | &dhusername; 49 | 50 | &dhdate; 51 |
52 | 53 | &dhucpackage; 54 | 55 | &dhsection; 56 | 57 | 58 | &dhpackage; 59 | 60 | program to do something 61 | 62 | 63 | 64 | &dhpackage; 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | DESCRIPTION 73 | 74 | This manual page documents briefly the 75 | &dhpackage; and bar 76 | commands. 77 | 78 | This manual page was written for the &debian; distribution 79 | because the original program does not have a manual page. 80 | Instead, it has documentation in the &gnu; 81 | Info format; see below. 82 | 83 | &dhpackage; is a program that... 84 | 85 | 86 | 87 | OPTIONS 88 | 89 | These programs follow the usual &gnu; command line syntax, 90 | with long options starting with two dashes (`-'). A summary of 91 | options is included below. For a complete description, see the 92 | Info files. 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | Show summary of options. 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | Show version of program. 109 | 110 | 111 | 112 | 113 | 114 | SEE ALSO 115 | 116 | bar (1), baz (1). 117 | 118 | The programs are documented fully by The Rise and 119 | Fall of a Fooish Bar available via the 120 | Info system. 121 | 122 | 123 | AUTHOR 124 | 125 | This manual page was written by &dhusername; &dhemail; for 126 | the &debian; system (and may be used by others). Permission is 127 | granted to copy, distribute and/or modify this document under 128 | the terms of the &gnu; General Public License, Version 2 any 129 | later version published by the Free Software Foundation. 130 | 131 | 132 | On Debian systems, the complete text of the GNU General Public 133 | License can be found in /usr/share/common-licenses/GPL. 134 | 135 | 136 | 137 |
138 | 139 | 155 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/manpage.xml.ex: -------------------------------------------------------------------------------- 1 | 2 | .
will be generated. You may view the 15 | manual page with: nroff -man .
| less'. A typical entry 16 | in a Makefile or Makefile.am is: 17 | 18 | DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl 19 | XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" 20 | 21 | manpage.1: manpage.xml 22 | $(XP) $(DB2MAN) $< 23 | 24 | The xsltproc binary is found in the xsltproc package. The XSL files are in 25 | docbook-xsl. A description of the parameters you can use can be found in the 26 | docbook-xsl-doc-* packages. Please remember that if you create the nroff 27 | version in one of the debian/rules file targets (such as build), you will need 28 | to include xsltproc and docbook-xsl in your Build-Depends control field. 29 | Alternatively use the xmlto command/package. That will also automatically 30 | pull in xsltproc and docbook-xsl. 31 | 32 | Notes for using docbook2x: docbook2x-man does not automatically create the 33 | AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as 34 | ... . 35 | 36 | To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections 37 | read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be 38 | found in the docbook-xsl-doc-html package. 39 | 40 | Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` 41 | 42 | General documentation about man-pages and man-page-formatting: 43 | man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ 44 | 45 | --> 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 56 | 57 | 59 | 60 | 61 | 62 | ]> 63 | 64 | 65 | 66 | &dhtitle; 67 | &dhpackage; 68 | 69 | 70 | &dhfirstname; 71 | &dhsurname; 72 | Wrote this manpage for the Debian system. 73 |
74 | &dhemail; 75 |
76 |
77 |
78 | 79 | 2007 80 | &dhusername; 81 | 82 | 83 | This manual page was written for the Debian system 84 | (and may be used by others). 85 | Permission is granted to copy, distribute and/or modify this 86 | document under the terms of the GNU General Public License, 87 | Version 2 or (at your option) any later version published by 88 | the Free Software Foundation. 89 | On Debian systems, the complete text of the GNU General Public 90 | License can be found in 91 | /usr/share/common-licenses/GPL. 92 | 93 |
94 | 95 | &dhucpackage; 96 | &dhsection; 97 | 98 | 99 | &dhpackage; 100 | program to do something 101 | 102 | 103 | 104 | &dhpackage; 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | this 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | this 122 | that 123 | 124 | 125 | 126 | 127 | &dhpackage; 128 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | DESCRIPTION 148 | This manual page documents briefly the 149 | &dhpackage; and bar 150 | commands. 151 | This manual page was written for the Debian distribution 152 | because the original program does not have a manual page. 153 | Instead, it has documentation in the GNU 154 | info 155 | 1 156 | format; see below. 157 | &dhpackage; is a program that... 158 | 159 | 160 | OPTIONS 161 | The program follows the usual GNU command line syntax, 162 | with long options starting with two dashes (`-'). A summary of 163 | options is included below. For a complete description, see the 164 | 165 | info 166 | 1 167 | files. 168 | 169 | 172 | 173 | 174 | 175 | 176 | Does this and that. 177 | 178 | 179 | 180 | 181 | 182 | 183 | Show summary of options. 184 | 185 | 186 | 187 | 188 | 189 | 190 | Show version of program. 191 | 192 | 193 | 194 | 195 | 196 | FILES 197 | 198 | 199 | /etc/foo.conf 200 | 201 | The system-wide configuration file to control the 202 | behaviour of &dhpackage;. See 203 | 204 | foo.conf 205 | 5 206 | for further details. 207 | 208 | 209 | 210 | ${HOME}/.foo.conf 211 | 212 | The per-user configuration file to control the 213 | behaviour of &dhpackage;. See 214 | 215 | foo.conf 216 | 5 217 | for further details. 218 | 219 | 220 | 221 | 222 | 223 | ENVIRONMENT 224 | 225 | 226 | FOO_CONF 227 | 228 | If used, the defined file is used as configuration 229 | file (see also ). 230 | 231 | 232 | 233 | 234 | 235 | DIAGNOSTICS 236 | The following diagnostics may be issued 237 | on stderr: 238 | 239 | 240 | Bad configuration file. Exiting. 241 | 242 | The configuration file seems to contain a broken configuration 243 | line. Use the option, to get more info. 244 | 245 | 246 | 247 | 248 | &dhpackage; provides some return codes, that can 249 | be used in scripts: 250 | 251 | Code 252 | Diagnostic 253 | 254 | 0 255 | Program exited successfully. 256 | 257 | 258 | 1 259 | The configuration file seems to be broken. 260 | 261 | 262 | 263 | 264 | 265 | BUGS 266 | The program is currently limited to only work 267 | with the foobar library. 268 | The upstreams BTS can be found 269 | at . 270 | 271 | 272 | SEE ALSO 273 | 274 | 275 | bar 276 | 1 277 | , 278 | baz 279 | 1 280 | , 281 | foo.conf 282 | 5 283 | 284 | The programs are documented fully by The Rise and 285 | Fall of a Fooish Bar available via the 286 | info 287 | 1 288 | system. 289 | 290 |
291 | 292 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/menu.ex: -------------------------------------------------------------------------------- 1 | ?package(builder):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ 2 | title="builder" command="/usr/bin/builder" 3 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/postinst.ex: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # postinst script for builder 3 | # 4 | # see: dh_installdeb(1) 5 | 6 | set -e 7 | 8 | # summary of how this script can be called: 9 | # * `configure' 10 | # * `abort-upgrade' 11 | # * `abort-remove' `in-favour' 12 | # 13 | # * `abort-remove' 14 | # * `abort-deconfigure' `in-favour' 15 | # `removing' 16 | # 17 | # for details, see https://www.debian.org/doc/debian-policy/ or 18 | # the debian-policy package 19 | 20 | 21 | case "$1" in 22 | configure) 23 | ;; 24 | 25 | abort-upgrade|abort-remove|abort-deconfigure) 26 | ;; 27 | 28 | *) 29 | echo "postinst called with unknown argument \`$1'" >&2 30 | exit 1 31 | ;; 32 | esac 33 | 34 | # dh_installdeb will replace this with shell code automatically 35 | # generated by other debhelper scripts. 36 | 37 | #DEBHELPER# 38 | 39 | exit 0 40 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/postrm.ex: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # postrm script for builder 3 | # 4 | # see: dh_installdeb(1) 5 | 6 | set -e 7 | 8 | # summary of how this script can be called: 9 | # * `remove' 10 | # * `purge' 11 | # * `upgrade' 12 | # * `failed-upgrade' 13 | # * `abort-install' 14 | # * `abort-install' 15 | # * `abort-upgrade' 16 | # * `disappear' 17 | # 18 | # for details, see https://www.debian.org/doc/debian-policy/ or 19 | # the debian-policy package 20 | 21 | 22 | case "$1" in 23 | purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) 24 | ;; 25 | 26 | *) 27 | echo "postrm called with unknown argument \`$1'" >&2 28 | exit 1 29 | ;; 30 | esac 31 | 32 | # dh_installdeb will replace this with shell code automatically 33 | # generated by other debhelper scripts. 34 | 35 | #DEBHELPER# 36 | 37 | exit 0 38 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/preinst.ex: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # preinst script for builder 3 | # 4 | # see: dh_installdeb(1) 5 | 6 | set -e 7 | 8 | # summary of how this script can be called: 9 | # * `install' 10 | # * `install' 11 | # * `upgrade' 12 | # * `abort-upgrade' 13 | # for details, see https://www.debian.org/doc/debian-policy/ or 14 | # the debian-policy package 15 | 16 | 17 | case "$1" in 18 | install|upgrade) 19 | ;; 20 | 21 | abort-upgrade) 22 | ;; 23 | 24 | *) 25 | echo "preinst called with unknown argument \`$1'" >&2 26 | exit 1 27 | ;; 28 | esac 29 | 30 | # dh_installdeb will replace this with shell code automatically 31 | # generated by other debhelper scripts. 32 | 33 | #DEBHELPER# 34 | 35 | exit 0 36 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/prerm.ex: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # prerm script for builder 3 | # 4 | # see: dh_installdeb(1) 5 | 6 | set -e 7 | 8 | # summary of how this script can be called: 9 | # * `remove' 10 | # * `upgrade' 11 | # * `failed-upgrade' 12 | # * `remove' `in-favour' 13 | # * `deconfigure' `in-favour' 14 | # `removing' 15 | # 16 | # for details, see https://www.debian.org/doc/debian-policy/ or 17 | # the debian-policy package 18 | 19 | 20 | case "$1" in 21 | remove|upgrade|deconfigure) 22 | ;; 23 | 24 | failed-upgrade) 25 | ;; 26 | 27 | *) 28 | echo "prerm called with unknown argument \`$1'" >&2 29 | exit 1 30 | ;; 31 | esac 32 | 33 | # dh_installdeb will replace this with shell code automatically 34 | # generated by other debhelper scripts. 35 | 36 | #DEBHELPER# 37 | 38 | exit 0 39 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | # See debhelper(7) (uncomment to enable) 3 | # output every command that modifies files on the build system. 4 | #export DH_VERBOSE = 1 5 | 6 | 7 | # see FEATURE AREAS in dpkg-buildflags(1) 8 | #export DEB_BUILD_MAINT_OPTIONS = hardening=+all 9 | 10 | # see ENVIRONMENT in dpkg-buildflags(1) 11 | # package maintainers to append CFLAGS 12 | #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic 13 | # package maintainers to append LDFLAGS 14 | #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed 15 | 16 | 17 | %: 18 | dh $@ 19 | 20 | 21 | # dh_make generated override targets 22 | # This is example for Cmake (See https://bugs.debian.org/641051 ) 23 | #override_dh_auto_configure: 24 | # dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) 25 | 26 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /builder-0.0.1/debian/watch.ex: -------------------------------------------------------------------------------- 1 | # Example watch control file for uscan 2 | # Rename this file to "watch" and then you can run the "uscan" command 3 | # to check for upstream updates and more. 4 | # See uscan(1) for format 5 | 6 | # Compulsory line, this is a version 4 file 7 | version=4 8 | 9 | # PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig 10 | #opts="pgpsigurlmangle=s%$%.sig%" 11 | 12 | # HTTP site (basic) 13 | #http://example.com/downloads.html \ 14 | # files/builder-([\d\.]+)\.tar\.gz debian uupdate 15 | 16 | # Uncomment to examine an FTP server 17 | #ftp://ftp.example.com/pub/builder-(.*)\.tar\.gz debian uupdate 18 | 19 | # SourceForge hosted projects 20 | # http://sf.net/builder/ builder-(.*)\.tar\.gz debian uupdate 21 | 22 | # GitHub hosted projects 23 | #opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%-$1.tar.gz%" \ 24 | # https://github.com//builder/tags \ 25 | # (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate 26 | 27 | # PyPI 28 | # https://pypi.debian.net/builder/builder-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) 29 | 30 | # Direct Git 31 | # opts="mode=git" http://git.example.com/builder.git \ 32 | # refs/tags/v([\d\.]+) debian uupdate 33 | 34 | 35 | 36 | 37 | # Uncomment to find new files on GooglePages 38 | # http://example.googlepages.com/foo.html builder-(.*)\.tar\.gz 39 | -------------------------------------------------------------------------------- /builder_0.0.1-1_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milindsingh/builder/1fbae838287bd504b0f401234cdcc4bdc5fafa53/builder_0.0.1-1_all.deb -------------------------------------------------------------------------------- /builder_0.0.1-1_amd64.build: -------------------------------------------------------------------------------- 1 | dpkg-buildpackage -rfakeroot -us -uc -ui 2 | dpkg-buildpackage: info: source package builder 3 | dpkg-buildpackage: info: source version 0.0.1-1 4 | dpkg-buildpackage: info: source distribution unstable 5 | dpkg-buildpackage: info: source changed by Milind Singh 6 | dpkg-source --before-build builder-0.0.1 7 | dpkg-buildpackage: info: host architecture amd64 8 | fakeroot debian/rules clean 9 | dh clean 10 | dh_clean 11 | dpkg-source -b builder-0.0.1 12 | dpkg-source: info: using source format '3.0 (quilt)' 13 | dpkg-source: info: building builder using existing ./builder_0.0.1.orig.tar.xz 14 | dpkg-source: warning: ignoring deletion of file initialize.sh, use --include-removal to override 15 | dpkg-source: warning: ignoring deletion of directory js 16 | dpkg-source: warning: ignoring deletion of file js/initialize.sh, use --include-removal to override 17 | dpkg-source: warning: ignoring deletion of directory js/angular 18 | dpkg-source: warning: ignoring deletion of file js/angular/initialize.sh, use --include-removal to override 19 | dpkg-source: warning: ignoring deletion of directory js/react 20 | dpkg-source: warning: ignoring deletion of file js/react/initialize.sh, use --include-removal to override 21 | dpkg-source: warning: ignoring deletion of directory python 22 | dpkg-source: warning: ignoring deletion of file python/initialize.sh, use --include-removal to override 23 | dpkg-source: warning: ignoring deletion of directory php 24 | dpkg-source: warning: ignoring deletion of file php/install-phalcon.sh, use --include-removal to override 25 | dpkg-source: warning: ignoring deletion of file php/xdebug-setup-xampp.sh, use --include-removal to override 26 | dpkg-source: warning: ignoring deletion of file php/initialize.sh, use --include-removal to override 27 | dpkg-source: warning: ignoring deletion of directory php/installer 28 | dpkg-source: warning: ignoring deletion of file php/installer/xampp.sh, use --include-removal to override 29 | dpkg-source: warning: ignoring deletion of file php/installer/ide.sh, use --include-removal to override 30 | dpkg-source: warning: ignoring deletion of directory php/magento 31 | dpkg-source: warning: ignoring deletion of file php/magento/meqp-setup.sh, use --include-removal to override 32 | dpkg-source: warning: ignoring deletion of file php/magento/meqp-setup-xampp.sh, use --include-removal to override 33 | dpkg-source: warning: ignoring deletion of file php/magento/magento-support.sh, use --include-removal to override 34 | dpkg-source: warning: executable mode 0775 of 'builder/initialize.sh' will not be represented in diff 35 | dpkg-source: warning: executable mode 0775 of 'builder/js/angular/initialize.sh' will not be represented in diff 36 | dpkg-source: warning: executable mode 0775 of 'builder/js/initialize.sh' will not be represented in diff 37 | dpkg-source: warning: executable mode 0775 of 'builder/js/react/initialize.sh' will not be represented in diff 38 | dpkg-source: warning: executable mode 0775 of 'builder/php/initialize.sh' will not be represented in diff 39 | dpkg-source: warning: executable mode 0775 of 'builder/php/install-phalcon.sh' will not be represented in diff 40 | dpkg-source: warning: executable mode 0775 of 'builder/php/installer/ide.sh' will not be represented in diff 41 | dpkg-source: warning: executable mode 0775 of 'builder/php/installer/xampp.sh' will not be represented in diff 42 | dpkg-source: warning: file builder-0.0.1/builder/php/magento/magento-support.sh has no final newline (either original or modified version) 43 | dpkg-source: warning: executable mode 0775 of 'builder/php/magento/magento-support.sh' will not be represented in diff 44 | dpkg-source: warning: executable mode 0775 of 'builder/php/magento/meqp-setup-xampp.sh' will not be represented in diff 45 | dpkg-source: warning: executable mode 0775 of 'builder/php/magento/meqp-setup.sh' will not be represented in diff 46 | dpkg-source: warning: executable mode 0775 of 'builder/php/xdebug-setup-xampp.sh' will not be represented in diff 47 | dpkg-source: warning: executable mode 0775 of 'builder/python/initialize.sh' will not be represented in diff 48 | dpkg-source: info: local changes detected, the modified files are: 49 | builder-0.0.1/bin/builder 50 | builder-0.0.1/builder/initialize.sh 51 | builder-0.0.1/builder/js/angular/initialize.sh 52 | builder-0.0.1/builder/js/initialize.sh 53 | builder-0.0.1/builder/js/react/initialize.sh 54 | builder-0.0.1/builder/php/initialize.sh 55 | builder-0.0.1/builder/php/install-phalcon.sh 56 | builder-0.0.1/builder/php/installer/ide.sh 57 | builder-0.0.1/builder/php/installer/xampp.sh 58 | builder-0.0.1/builder/php/magento/magento-support.sh 59 | builder-0.0.1/builder/php/magento/meqp-setup-xampp.sh 60 | builder-0.0.1/builder/php/magento/meqp-setup.sh 61 | builder-0.0.1/builder/php/xdebug-setup-xampp.sh 62 | builder-0.0.1/builder/python/initialize.sh 63 | dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/builder_0.0.1-1.diff.JEITVx 64 | dpkg-source: info: you can integrate the local changes with dpkg-source --commit 65 | dpkg-buildpackage: error: dpkg-source -b builder-0.0.1 subprocess returned exit status 2 66 | -------------------------------------------------------------------------------- /builder_0.0.1-1_amd64.buildinfo: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP SIGNED MESSAGE----- 2 | Hash: SHA256 3 | 4 | Format: 1.0 5 | Source: builder 6 | Binary: builder 7 | Architecture: all 8 | Version: 0.0.1-1 9 | Checksums-Md5: 10 | 0730ebf9d394960f50f81da29b923e27 7176 builder_0.0.1-1_all.deb 11 | Checksums-Sha1: 12 | baf2920a84821d27907bd42ff8237cfe2d615adc 7176 builder_0.0.1-1_all.deb 13 | Checksums-Sha256: 14 | 31c55d1275d1b2d2d54e4d584b0742611a1a9b29f6fd3f04bc66b8b197b157e1 7176 builder_0.0.1-1_all.deb 15 | Build-Origin: Ubuntu 16 | Build-Architecture: amd64 17 | Build-Date: Mon, 22 Jul 2019 13:54:47 +0530 18 | Installed-Build-Depends: 19 | autoconf (= 2.69-11), 20 | automake (= 1:1.15.1-3ubuntu2), 21 | autopoint (= 0.19.8.1-6ubuntu0.3), 22 | autotools-dev (= 20180224.1), 23 | base-files (= 10.1ubuntu2.4), 24 | base-passwd (= 3.5.44), 25 | bash (= 4.4.18-2ubuntu1.2), 26 | binutils (= 2.30-21ubuntu1~18.04.2), 27 | binutils-common (= 2.30-21ubuntu1~18.04.2), 28 | binutils-x86-64-linux-gnu (= 2.30-21ubuntu1~18.04.2), 29 | bsdmainutils (= 11.1.2ubuntu1), 30 | bsdutils (= 1:2.31.1-0.4ubuntu3.3), 31 | build-essential (= 12.4ubuntu1), 32 | bzip2 (= 1.0.6-8.1ubuntu0.2), 33 | coreutils (= 8.28-1ubuntu1), 34 | cpp (= 4:7.4.0-1ubuntu2.3), 35 | cpp-7 (= 7.4.0-1ubuntu1~18.04.1), 36 | dash (= 0.5.8-2.10), 37 | debconf (= 1.5.66ubuntu1), 38 | debhelper (= 11.1.6ubuntu2), 39 | debianutils (= 4.8.4), 40 | dh-autoreconf (= 17), 41 | dh-strip-nondeterminism (= 0.040-1.1~build1), 42 | diffutils (= 1:3.6-1), 43 | dpkg (= 1.19.0.5ubuntu2.1), 44 | dpkg-dev (= 1.19.0.5ubuntu2.1), 45 | e2fsprogs (= 1.44.1-1ubuntu1.1), 46 | fdisk (= 2.31.1-0.4ubuntu3.3), 47 | file (= 1:5.32-2ubuntu0.2), 48 | findutils (= 4.6.0+git+20170828-2), 49 | g++ (= 4:7.4.0-1ubuntu2.3), 50 | g++-7 (= 7.4.0-1ubuntu1~18.04.1), 51 | gawk (= 1:4.1.4+dfsg-1build1), 52 | gcc (= 4:7.4.0-1ubuntu2.3), 53 | gcc-7 (= 7.4.0-1ubuntu1~18.04.1), 54 | gcc-7-base (= 7.4.0-1ubuntu1~18.04.1), 55 | gcc-8-base (= 8.3.0-6ubuntu1~18.04.1), 56 | gettext (= 0.19.8.1-6ubuntu0.3), 57 | gettext-base (= 0.19.8.1-6ubuntu0.3), 58 | grep (= 3.1-2), 59 | groff-base (= 1.22.3-10), 60 | gzip (= 1.6-5ubuntu1), 61 | hostname (= 3.20), 62 | init-system-helpers (= 1.51), 63 | install-info (= 6.5.0.dfsg.1-2), 64 | intltool-debian (= 0.35.0+20060710.4), 65 | libacl1 (= 2.2.52-3build1), 66 | libarchive-zip-perl (= 1.60-1ubuntu0.1), 67 | libasan4 (= 7.4.0-1ubuntu1~18.04.1), 68 | libatomic1 (= 8.3.0-6ubuntu1~18.04.1), 69 | libattr1 (= 1:2.4.47-2build1), 70 | libaudit-common (= 1:2.8.2-1ubuntu1), 71 | libaudit1 (= 1:2.8.2-1ubuntu1), 72 | libbinutils (= 2.30-21ubuntu1~18.04.2), 73 | libblkid1 (= 2.31.1-0.4ubuntu3.3), 74 | libbsd0 (= 0.8.7-1), 75 | libbz2-1.0 (= 1.0.6-8.1ubuntu0.2), 76 | libc-bin (= 2.27-3ubuntu1), 77 | libc-dev-bin (= 2.27-3ubuntu1), 78 | libc6 (= 2.27-3ubuntu1), 79 | libc6-dev (= 2.27-3ubuntu1), 80 | libcap-ng0 (= 0.7.7-3.1), 81 | libcc1-0 (= 8.3.0-6ubuntu1~18.04.1), 82 | libcilkrts5 (= 7.4.0-1ubuntu1~18.04.1), 83 | libcom-err2 (= 1.44.1-1ubuntu1.1), 84 | libcroco3 (= 0.6.12-2), 85 | libdb5.3 (= 5.3.28-13.1ubuntu1.1), 86 | libdebconfclient0 (= 0.213ubuntu1), 87 | libdpkg-perl (= 1.19.0.5ubuntu2.1), 88 | libext2fs2 (= 1.44.1-1ubuntu1.1), 89 | libfdisk1 (= 2.31.1-0.4ubuntu3.3), 90 | libffi6 (= 3.2.1-8), 91 | libfile-stripnondeterminism-perl (= 0.040-1.1~build1), 92 | libgcc-7-dev (= 7.4.0-1ubuntu1~18.04.1), 93 | libgcc1 (= 1:8.3.0-6ubuntu1~18.04.1), 94 | libgcrypt20 (= 1.8.1-4ubuntu1.1), 95 | libgdbm-compat4 (= 1.14.1-6), 96 | libgdbm5 (= 1.14.1-6), 97 | libglib2.0-0 (= 2.56.4-0ubuntu0.18.04.4), 98 | libgmp10 (= 2:6.1.2+dfsg-2), 99 | libgomp1 (= 8.3.0-6ubuntu1~18.04.1), 100 | libgpg-error0 (= 1.27-6), 101 | libicu60 (= 60.2-3ubuntu3), 102 | libisl19 (= 0.19-1), 103 | libitm1 (= 8.3.0-6ubuntu1~18.04.1), 104 | liblsan0 (= 8.3.0-6ubuntu1~18.04.1), 105 | liblz4-1 (= 0.0~r131-2ubuntu3), 106 | liblzma5 (= 5.2.2-1.3), 107 | libmagic-mgc (= 1:5.32-2ubuntu0.2), 108 | libmagic1 (= 1:5.32-2ubuntu0.2), 109 | libmount1 (= 2.31.1-0.4ubuntu3.3), 110 | libmpc3 (= 1.1.0-1), 111 | libmpfr6 (= 4.0.1-1), 112 | libmpx2 (= 8.3.0-6ubuntu1~18.04.1), 113 | libncursesw5 (= 6.1-1ubuntu1.18.04), 114 | libpam-modules (= 1.1.8-3.6ubuntu2.18.04.1), 115 | libpam-modules-bin (= 1.1.8-3.6ubuntu2.18.04.1), 116 | libpam-runtime (= 1.1.8-3.6ubuntu2.18.04.1), 117 | libpam0g (= 1.1.8-3.6ubuntu2.18.04.1), 118 | libpcre3 (= 2:8.39-9), 119 | libperl5.26 (= 5.26.1-6ubuntu0.3), 120 | libpipeline1 (= 1.5.0-1), 121 | libquadmath0 (= 8.3.0-6ubuntu1~18.04.1), 122 | libreadline7 (= 7.0-3), 123 | libseccomp2 (= 2.4.1-0ubuntu0.18.04.2), 124 | libselinux1 (= 2.7-2build2), 125 | libsigsegv2 (= 2.12-1), 126 | libsmartcols1 (= 2.31.1-0.4ubuntu3.3), 127 | libss2 (= 1.44.1-1ubuntu1.1), 128 | libstdc++-7-dev (= 7.4.0-1ubuntu1~18.04.1), 129 | libstdc++6 (= 8.3.0-6ubuntu1~18.04.1), 130 | libsystemd0 (= 237-3ubuntu10.24), 131 | libtimedate-perl (= 2.3000-2), 132 | libtinfo5 (= 6.1-1ubuntu1.18.04), 133 | libtool (= 2.4.6-2), 134 | libtsan0 (= 8.3.0-6ubuntu1~18.04.1), 135 | libubsan0 (= 7.4.0-1ubuntu1~18.04.1), 136 | libudev1 (= 237-3ubuntu10.24), 137 | libunistring2 (= 0.9.9-0ubuntu2), 138 | libuuid1 (= 2.31.1-0.4ubuntu3.3), 139 | libxml2 (= 2.9.4+dfsg1-6.1ubuntu1.2), 140 | libzstd1 (= 1.3.3+dfsg-2ubuntu1), 141 | linux-libc-dev (= 4.15.0-54.58), 142 | login (= 1:4.5-1ubuntu2), 143 | m4 (= 1.4.18-1), 144 | make (= 4.1-9.1ubuntu1), 145 | man-db (= 2.8.3-2ubuntu0.1), 146 | mawk (= 1.3.3-17ubuntu3), 147 | ncurses-base (= 6.1-1ubuntu1.18.04), 148 | ncurses-bin (= 6.1-1ubuntu1.18.04), 149 | patch (= 2.7.6-2ubuntu1), 150 | perl (= 5.26.1-6ubuntu0.3), 151 | perl-base (= 5.26.1-6ubuntu0.3), 152 | perl-modules-5.26 (= 5.26.1-6ubuntu0.3), 153 | po-debconf (= 1.0.20), 154 | readline-common (= 7.0-3), 155 | sed (= 4.4-2), 156 | sysvinit-utils (= 2.88dsf-59.10ubuntu1), 157 | tar (= 1.29b-2ubuntu0.1), 158 | util-linux (= 2.31.1-0.4ubuntu3.3), 159 | xz-utils (= 5.2.2-1.3), 160 | zlib1g (= 1:1.2.11.dfsg-0ubuntu2) 161 | Environment: 162 | DEB_BUILD_OPTIONS="parallel=2" 163 | LANG="en_IN" 164 | SOURCE_DATE_EPOCH="1559887157" 165 | 166 | -----BEGIN PGP SIGNATURE----- 167 | 168 | iQHFBAEBCAAvFiEE2KEIur0YsdTKfpA2LprV5jB5Z/sFAl01ctARHG1pbGluZDdA 169 | bGl2ZS5jb20ACgkQLprV5jB5Z/s4hgv/c4U+yxrf56c2VUpoKbBM0IF+4t9UrUSK 170 | hhiXDZ15lLA0RRXZaq1Wzw/+eV4hh1vMYmWqNvCJhiUOXqflmNNVMzxEjSRtnlUj 171 | KDAZ35Lfp1LP/aGOfgEMcGzck0wzIp+VdOfuxWMZCi/4UuoYm5cW1ki4mmOD7Na7 172 | gSQOG9ggzgNEfEcWDRhHDaS04NGMDoCtMG8RkKML0/lebpYj6/fFPtuG7YNpBfWZ 173 | 5W81eVC+7zdi8puJaPnb1NrC20lL4j0ef7z4tv9MLOGwh2mTxLmIqjzNtQyb7Epv 174 | rEaz1XoW+z80Ndj1piza10isckv3+PZ7h2hQrQtaLuXl5+03OQ4vIKk/Bkk0voMP 175 | OVSBu0B0fu66FQCjCWeYmbTHiyXeGGKhL5Vux06BWWE0llHC40xlHSvH5+SDYGkB 176 | 7TJdvzEMUwFLyUUeioUHky2nEyD9lqcmEQ20Kk1B4dtRMvgAGXSwKqkGgpvkzcUM 177 | DPJyTTE6/ykEUJ557wGXkH+Ju+6PcRMy 178 | =d2mx 179 | -----END PGP SIGNATURE----- 180 | -------------------------------------------------------------------------------- /builder_0.0.1-1_amd64.changes: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP SIGNED MESSAGE----- 2 | Hash: SHA256 3 | 4 | Format: 1.8 5 | Date: Fri, 07 Jun 2019 11:29:17 +0530 6 | Source: builder 7 | Binary: builder 8 | Architecture: all 9 | Version: 0.0.1-1 10 | Distribution: unstable 11 | Urgency: medium 12 | Maintainer: Milind Singh 13 | Changed-By: Milind Singh 14 | Description: 15 | builder - System setup scripts 16 | Changes: 17 | builder (0.0.1-1) unstable; urgency=medium 18 | . 19 | * Initial release (Closes: #nnnn) 20 | Checksums-Sha1: 21 | baf2920a84821d27907bd42ff8237cfe2d615adc 7176 builder_0.0.1-1_all.deb 22 | 87073044720f643fd1d4062ac906ed58ff07a0f7 5990 builder_0.0.1-1_amd64.buildinfo 23 | Checksums-Sha256: 24 | 31c55d1275d1b2d2d54e4d584b0742611a1a9b29f6fd3f04bc66b8b197b157e1 7176 builder_0.0.1-1_all.deb 25 | 60c268b82502e0a18fb525d0f9bce322c7f241c929989f16b53c314507cddc0e 5990 builder_0.0.1-1_amd64.buildinfo 26 | Files: 27 | 0730ebf9d394960f50f81da29b923e27 7176 unknown optional builder_0.0.1-1_all.deb 28 | 8614c498c88fff4b5d63a03f18d16b66 5990 unknown optional builder_0.0.1-1_amd64.buildinfo 29 | 30 | -----BEGIN PGP SIGNATURE----- 31 | 32 | iQHFBAEBCAAvFiEE2KEIur0YsdTKfpA2LprV5jB5Z/sFAl01ctARHG1pbGluZDdA 33 | bGl2ZS5jb20ACgkQLprV5jB5Z/tyMgv/SgJ2++ZQgT4JvIMtkYz5NMjMpRO7zS9c 34 | ejIITfbRGfJDOIJmzfPrtkW0aXNdM+TrVHAH0pVvenLuQVQDBJTQFlpCXO4zfik7 35 | Pm51Y+arlALO8oadnylFow9s2vbERS6JZYqRDJPG435Kp+uiLLVCS3G5fDOM2+fv 36 | XjAK2HG061Q88mP6eBpKvRMB9xvP51yEC+choVsVyxOud661P5pqzSARZDwj98tU 37 | 35Kts4oKt+Sq5QWL5dz8C3xGMG0AJ6tm1a0KGv0NSqHc1aLJ0cwV1saMwMk/mnGV 38 | sQiBtg+rGGV6oW1oq+SIzJwlxe0iySmAjrkalYkLKQzX2px+d60NBrDCWAhoiZhr 39 | kGsgFuz2icRNhi6N+0ZXB6j8F1b4WiQ2b4UmrW6sMRzsm9a8x9gHZmc46gTgYfda 40 | 5b8YWzgqnTvn3O+1oKHofMMi6hiMhSXgG50jnreZPOwV1Ro9n4Jhd87cj3Bx1iRR 41 | 1+1o2sGv+R1EJGp1RSbmak9C0zc8qm84 42 | =qFLs 43 | -----END PGP SIGNATURE----- 44 | -------------------------------------------------------------------------------- /builder_0.0.1.orig.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milindsingh/builder/1fbae838287bd504b0f401234cdcc4bdc5fafa53/builder_0.0.1.orig.tar.xz --------------------------------------------------------------------------------