From f32bca77014187ba880e4923103c0dc415898c97 Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 29 May 2021 15:44:36 +0200 Subject: [PATCH 1/5] Enhance .gitignore --- .gitignore | 182 ++++++++++++++++++++++++++++++++++++----- airtime_mvc/.gitignore | 6 ++ docs/.gitignore | 11 +++ 3 files changed, 178 insertions(+), 21 deletions(-) create mode 100644 airtime_mvc/.gitignore create mode 100644 docs/.gitignore diff --git a/.gitignore b/.gitignore index a3830700f..8f01937ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,163 @@ -*.*~ -*.pyc -vendor/* -composer.phar -*~$ -*\.log.* -**/*.egg-info/* -**/build/* -**/dist/* -*~ -/airtime_mvc/tests/test_results.xml -/tests/results.html -/tests/*.jar -VERSION -airtime_mvc/tests/log/*.log -.vagrant/ +## Custom .gitignore +################################################################################ + .DS_Store .idea/ -/docs/_site/* -/docs/.jekyll-cache/* -/docs/.gems/* -Gemfile.lock -api.log +.vagrant/ +*.log +*~ +VERSION + +## Github Composer .gitignore +## See https://github.com/github/gitignore/blob/master/Composer.gitignore +################################################################################ + +composer.phar +/vendor/ + +# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control +# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file +# composer.lock + +## Github Python .gitignore +## See https://github.com/github/gitignore/blob/master/Python.gitignore +################################################################################ + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ diff --git a/airtime_mvc/.gitignore b/airtime_mvc/.gitignore new file mode 100644 index 000000000..b74fe9c95 --- /dev/null +++ b/airtime_mvc/.gitignore @@ -0,0 +1,6 @@ +## Custom .gitignore +################################################################################ + +/tests/*.jar +/tests/results.html +/tests/test_results.xml diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 000000000..5e3dc5255 --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,11 @@ +## Custom .gitignore +################################################################################ + +## Github Jekyll .gitignore +## See https://github.com/github/gitignore/blob/master/Jekyll.gitignore +################################################################################ + +_site/ +.sass-cache/ +.jekyll-cache/ +.jekyll-metadata From b4a69e2d3a3b9a06f3b81261ddf7c62f892bb2fa Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 29 May 2021 17:38:58 +0200 Subject: [PATCH 2/5] Comment docs/ section in root gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8f01937ab..a7870c471 100644 --- a/.gitignore +++ b/.gitignore @@ -94,7 +94,7 @@ instance/ .scrapy # Sphinx documentation -docs/_build/ +# docs/_build/ # PyBuilder .pybuilder/ From 1b2c047eb5f22848957fde7437b47fd8e4e76663 Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 29 May 2021 17:39:35 +0200 Subject: [PATCH 3/5] Add extra pyenv to the list of environment dirs --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index a7870c471..de03d5a9a 100644 --- a/.gitignore +++ b/.gitignore @@ -137,6 +137,7 @@ venv/ ENV/ env.bak/ venv.bak/ +pyenv # Spyder project settings .spyderproject From 39f717dba91cc97649ae42812de65dcd8bc9d4c5 Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 29 May 2021 17:41:45 +0200 Subject: [PATCH 4/5] Remove duplicate --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index de03d5a9a..4e4b47015 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ .DS_Store .idea/ .vagrant/ -*.log *~ VERSION From 932408c8954b344b535286d636665437d8882844 Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 29 May 2021 19:21:45 +0200 Subject: [PATCH 5/5] Remove sphinx specific gitignore --- .gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4e4b47015..e7f374ff6 100644 --- a/.gitignore +++ b/.gitignore @@ -92,9 +92,6 @@ instance/ # Scrapy stuff: .scrapy -# Sphinx documentation -# docs/_build/ - # PyBuilder .pybuilder/ target/