%global _empty_manifest_terminate_build 0 Name: python-gitutor Version: 0.6.5 Release: 1 Summary: A command line app that makes Git easy. License: MIT URL: https://gitutor.io Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f5/d9/ad7b5bf0333ac622e5a34d1b2154097493345b05fa127dba130ce959fb7f/gitutor-0.6.5.tar.gz BuildArch: noarch Requires: python3-click Requires: python3-GitPython Requires: python3-gitdb Requires: python3-smmap Requires: python3-pyinquirer Requires: python3-pygithub Requires: python3-colorama Requires: python3-requests %description [![pypiv](https://img.shields.io/pypi/v/gitutor.svg)](https://pypi.python.org/pypi/gitutor) [![pyv](https://img.shields.io/pypi/pyversions/gitutor.svg)](https://pypi.python.org/pypi/gitutor) # Gitutor Welcome to Gitutor. This tool is meant to get you up and running using gitmin the shortest time possible while learning on the go. Gitutor is a command line application that wraps git and provides beginner friendly versions of git's commands. It's Git the easy way. You can check out the tutorial and a further explanation of the commands in the [docs](https://gitutor.io/guide). And don't worry if you forget how to use a command you can always run $ gt --help If you have any problems please send us an email at support@gitutor.io or open an issue in our [repo](https://github.com/artemisa-mx/gitutor/issues), we usually answer in less than a day. ## Available commands 1. gt init - Initialize your local and remote repository. 2. gt save - Save you changes in the local and remote repository. 3. gt goback - Return to a previous commit. 4. gt compare - Compare the current state with a previous commit. 5. gt ignore - Make git ignore selected files. 6. gt lesson - See gitutor lessons and documentation. ## Installation guide > **NOTE**: pipx and gitutor work with Python3.6+ In order to use gitutor without any dependencies version conflicts we recommend installing it using pipx. Pipx creates a virtual environment for your package and exposes its entry point so you can run gitutor from anywhere. To install pipx and configure the $PATH run the following commands For Windows: $ python -m pip install pipx $ python -m pipx ensurepath For MacOS use: $ brew install pipx For Linux use: $ python3 -m pip install pipx $ python3 -m pipx ensurepath > **NOTE**: You may need to restart your terminal for the path updates to take effect. Once pipx is installed, run the following to install gitutor: $ pipx install gitutor And to upgrade gitutor to its latest version you only need to run: $ pipx upgrade gitutor To install gitutor without using pipx just run: $ pip install gitutor ## Additional notes Before using gitutor you need to have Git available in your computer. You can check the installation guide [here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git). It's also recommended to store your GitHub credentials so you won't have to authenticate everytime you realize a push or pull. You can do this by running $ git config --global credential.helper store This will store your credentials in a plain-text file (.git-gredentials) under your project directory. If you don't like this you can use any of the following approaches: On Mac OS X you can use its native keystore with $ git config --global credential.helper oskeychain For Windows you can install a helper called [Git Credential Manager for Windows](https://github.com/Microsoft/Git-Credential-Manager-for-Windows) and then run $ git config --global credential.helper manager If you like what we're doing you can buy as a [coffee](https://ko-fi.com/artemisamx) %package -n python3-gitutor Summary: A command line app that makes Git easy. Provides: python-gitutor BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-gitutor [![pypiv](https://img.shields.io/pypi/v/gitutor.svg)](https://pypi.python.org/pypi/gitutor) [![pyv](https://img.shields.io/pypi/pyversions/gitutor.svg)](https://pypi.python.org/pypi/gitutor) # Gitutor Welcome to Gitutor. This tool is meant to get you up and running using gitmin the shortest time possible while learning on the go. Gitutor is a command line application that wraps git and provides beginner friendly versions of git's commands. It's Git the easy way. You can check out the tutorial and a further explanation of the commands in the [docs](https://gitutor.io/guide). And don't worry if you forget how to use a command you can always run $ gt --help If you have any problems please send us an email at support@gitutor.io or open an issue in our [repo](https://github.com/artemisa-mx/gitutor/issues), we usually answer in less than a day. ## Available commands 1. gt init - Initialize your local and remote repository. 2. gt save - Save you changes in the local and remote repository. 3. gt goback - Return to a previous commit. 4. gt compare - Compare the current state with a previous commit. 5. gt ignore - Make git ignore selected files. 6. gt lesson - See gitutor lessons and documentation. ## Installation guide > **NOTE**: pipx and gitutor work with Python3.6+ In order to use gitutor without any dependencies version conflicts we recommend installing it using pipx. Pipx creates a virtual environment for your package and exposes its entry point so you can run gitutor from anywhere. To install pipx and configure the $PATH run the following commands For Windows: $ python -m pip install pipx $ python -m pipx ensurepath For MacOS use: $ brew install pipx For Linux use: $ python3 -m pip install pipx $ python3 -m pipx ensurepath > **NOTE**: You may need to restart your terminal for the path updates to take effect. Once pipx is installed, run the following to install gitutor: $ pipx install gitutor And to upgrade gitutor to its latest version you only need to run: $ pipx upgrade gitutor To install gitutor without using pipx just run: $ pip install gitutor ## Additional notes Before using gitutor you need to have Git available in your computer. You can check the installation guide [here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git). It's also recommended to store your GitHub credentials so you won't have to authenticate everytime you realize a push or pull. You can do this by running $ git config --global credential.helper store This will store your credentials in a plain-text file (.git-gredentials) under your project directory. If you don't like this you can use any of the following approaches: On Mac OS X you can use its native keystore with $ git config --global credential.helper oskeychain For Windows you can install a helper called [Git Credential Manager for Windows](https://github.com/Microsoft/Git-Credential-Manager-for-Windows) and then run $ git config --global credential.helper manager If you like what we're doing you can buy as a [coffee](https://ko-fi.com/artemisamx) %package help Summary: Development documents and examples for gitutor Provides: python3-gitutor-doc %description help [![pypiv](https://img.shields.io/pypi/v/gitutor.svg)](https://pypi.python.org/pypi/gitutor) [![pyv](https://img.shields.io/pypi/pyversions/gitutor.svg)](https://pypi.python.org/pypi/gitutor) # Gitutor Welcome to Gitutor. This tool is meant to get you up and running using gitmin the shortest time possible while learning on the go. Gitutor is a command line application that wraps git and provides beginner friendly versions of git's commands. It's Git the easy way. You can check out the tutorial and a further explanation of the commands in the [docs](https://gitutor.io/guide). And don't worry if you forget how to use a command you can always run $ gt --help If you have any problems please send us an email at support@gitutor.io or open an issue in our [repo](https://github.com/artemisa-mx/gitutor/issues), we usually answer in less than a day. ## Available commands 1. gt init - Initialize your local and remote repository. 2. gt save - Save you changes in the local and remote repository. 3. gt goback - Return to a previous commit. 4. gt compare - Compare the current state with a previous commit. 5. gt ignore - Make git ignore selected files. 6. gt lesson - See gitutor lessons and documentation. ## Installation guide > **NOTE**: pipx and gitutor work with Python3.6+ In order to use gitutor without any dependencies version conflicts we recommend installing it using pipx. Pipx creates a virtual environment for your package and exposes its entry point so you can run gitutor from anywhere. To install pipx and configure the $PATH run the following commands For Windows: $ python -m pip install pipx $ python -m pipx ensurepath For MacOS use: $ brew install pipx For Linux use: $ python3 -m pip install pipx $ python3 -m pipx ensurepath > **NOTE**: You may need to restart your terminal for the path updates to take effect. Once pipx is installed, run the following to install gitutor: $ pipx install gitutor And to upgrade gitutor to its latest version you only need to run: $ pipx upgrade gitutor To install gitutor without using pipx just run: $ pip install gitutor ## Additional notes Before using gitutor you need to have Git available in your computer. You can check the installation guide [here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git). It's also recommended to store your GitHub credentials so you won't have to authenticate everytime you realize a push or pull. You can do this by running $ git config --global credential.helper store This will store your credentials in a plain-text file (.git-gredentials) under your project directory. If you don't like this you can use any of the following approaches: On Mac OS X you can use its native keystore with $ git config --global credential.helper oskeychain For Windows you can install a helper called [Git Credential Manager for Windows](https://github.com/Microsoft/Git-Credential-Manager-for-Windows) and then run $ git config --global credential.helper manager If you like what we're doing you can buy as a [coffee](https://ko-fi.com/artemisamx) %prep %autosetup -n gitutor-0.6.5 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-gitutor -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 0.6.5-1 - Package Spec generated