diff options
author | 6543 <6543@obermui.de> | 2020-09-02 18:57:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 12:57:08 -0400 |
commit | 84eac6ed6c1b02a28c83cd2695aa470c4acf46e9 (patch) | |
tree | 82a7122c06ed84fc808691d9d43480f2b983ce9e /options/gitignore | |
parent | 3ecd030cd5aa7ded57438a5b9c1459faf237993f (diff) | |
download | gitea-84eac6ed6c1b02a28c83cd2695aa470c4acf46e9.tar.gz gitea-84eac6ed6c1b02a28c83cd2695aa470c4acf46e9.zip |
Add make targed generate-license & generate-gitignore + Update (#12682)
* Add make targed generate-license & generate-gitignore
* Update Gitignores & Licenses
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'options/gitignore')
31 files changed, 353 insertions, 50 deletions
diff --git a/options/gitignore/Android b/options/gitignore/Android index 56cc6425e0..23de6e20a6 100644 --- a/options/gitignore/Android +++ b/options/gitignore/Android @@ -83,3 +83,6 @@ lint/generated/ lint/outputs/ lint/tmp/ # lint/reports/ + +# Android Profiling +*.hprof diff --git a/options/gitignore/Autotools b/options/gitignore/Autotools index 3523288c49..f2c137d046 100644 --- a/options/gitignore/Autotools +++ b/options/gitignore/Autotools @@ -6,6 +6,8 @@ Makefile.in /py-compile /test-driver /ylwrap +.deps/ +.dirstamp # http://www.gnu.org/software/autoconf diff --git a/options/gitignore/Concrete5 b/options/gitignore/Concrete5 index 1fe53611e5..d6c11ad2b4 100644 --- a/options/gitignore/Concrete5 +++ b/options/gitignore/Concrete5 @@ -1,4 +1,21 @@ +# ignore the error log and .htaccess and others +error_log +.htaccess + +# concrete5 5.6 specific + config/site.php files/cache/* files/tmp/* -.htaccess + +# concrete5 5.7 specific + +# ignore everything but the index.html +/application/files/* +!/application/files/index.html + +# ignore updates folder +/updates/* + +# ignore sitemap.xml +/sitemap.xml diff --git a/options/gitignore/Coq b/options/gitignore/Coq index a3e2ac49dd..829ac44a1c 100644 --- a/options/gitignore/Coq +++ b/options/gitignore/Coq @@ -31,3 +31,13 @@ lia.cache nia.cache nlia.cache nra.cache + +# generated timing files +*.timing.diff +*.v.after-timing +*.v.before-timing +*.v.timing +time-of-build-after.log +time-of-build-before.log +time-of-build-both.log +time-of-build-pretty.log diff --git a/options/gitignore/Dart b/options/gitignore/Dart index dbef116d22..6d21af37c9 100644 --- a/options/gitignore/Dart +++ b/options/gitignore/Dart @@ -19,3 +19,6 @@ doc/api/ *.js_ *.js.deps *.js.map + +.flutter-plugins +.flutter-plugins-dependencies diff --git a/options/gitignore/Drupal b/options/gitignore/Drupal index 1c101273f5..8421b86412 100644 --- a/options/gitignore/Drupal +++ b/options/gitignore/Drupal @@ -23,25 +23,25 @@ # Ignore drupal core (if not versioning drupal sources) /core +/vendor /modules/README.txt /profiles/README.txt +/themes/README.txt /sites/README.txt /sites/example.sites.php /sites/example.settings.local.php /sites/development.services.yml -/themes/README.txt -/vendor /.csslintrc /.editorconfig /.eslintignore /.eslintrc.json /.gitattributes +/.ht.router.php /.htaccess /autoload.php -/composer.json -/composer.lock /example.gitignore /index.php +/INSTALL.txt /LICENSE.txt /README.txt /robots.txt diff --git a/options/gitignore/Eclipse b/options/gitignore/Eclipse index a5f94da062..acec74ac06 100644 --- a/options/gitignore/Eclipse +++ b/options/gitignore/Eclipse @@ -54,3 +54,7 @@ local.properties .cache-main .scala_dependencies .worksheet + +# Uncomment this line if you wish to ignore the project description file. +# Typically, this file would be tracked if it contains build/dependency configurations: +#.project diff --git a/options/gitignore/Godot b/options/gitignore/Godot index 79d3eb446e..4f48ad79f8 100644 --- a/options/gitignore/Godot +++ b/options/gitignore/Godot @@ -1,9 +1,11 @@ - # Godot-specific ignores .import/ export.cfg export_presets.cfg +# Imported translations (automatically generated from CSV files) +*.translation + # Mono-specific ignores .mono/ data_*/ diff --git a/options/gitignore/Gradle b/options/gitignore/Gradle index a1fc39c070..8d68edc977 100644 --- a/options/gitignore/Gradle +++ b/options/gitignore/Gradle @@ -1,5 +1,6 @@ .gradle -/build/ +**/build/ +!src/**/build/ # Ignore Gradle GUI config gradle-app.setting diff --git a/options/gitignore/JENKINS_HOME b/options/gitignore/JENKINS_HOME index 6df01d6210..2516c09949 100644 --- a/options/gitignore/JENKINS_HOME +++ b/options/gitignore/JENKINS_HOME @@ -1,25 +1,50 @@ -#Learn more about Jenkins and JENKINS_HOME directory for which this file is intended. +# Learn more about Jenkins and JENKINS_HOME directory for which this file is +# intended. +# # http://jenkins-ci.org/ # https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins +# +# Note: secret.key is purposefully not tracked by git. This should be backed up +# separately because configs may contain secrets which were encrypted using the +# secret.key. To back up secrets use 'tar -czf /tmp/secrets.tgz secret*' and +# save the file separate from your repository. If you want secrets backed up +# with configuration, then see the bottom of this file for an example. -#ignore all JENKINS_HOME except jobs directory, root xml config, and .gitignore file +# Ignore all JENKINS_HOME except jobs directory, root xml config, and +# .gitignore file. /* !/jobs !/.gitignore !/*.xml -#ignore all files in jobs subdirectories except for folders -#note: git doesn't track folders, only file content +# Ignore all files in jobs subdirectories except for folders. +# Note: git doesn't track folders, only file content. jobs/** !jobs/**/ -#uncomment the following line to save next build numbers with config +# Uncomment the following line to save next build numbers with config. + #!jobs/**/nextBuildNumber -#exclude only config.xml files in repository subdirectories +# For performance reasons, we want to ignore builds in Jenkins jobs because it +# contains many tiny files on large installations. This can impact git +# performance when running even basic commands like 'git status'. +builds +indexing + +# Exclude only config.xml files in repository subdirectories. !config.xml -#don't track workspaces (when users build on the master) +# Don't track workspaces (when users build on the master). jobs/**/*workspace -#as a result only settings and job config.xml files in JENKINS_HOME will be tracked by git +# Security warning: If secrets are included with your configuration, then an +# adversary will be able to decrypt all encrypted secrets within Jenkins +# config. Including secrets is a bad practice, but the example is included in +# case someone still wants it for convenience. Uncomment the following line to +# include secrets for decryption with repository configuration in Git. + +#!/secret* + +# As a result, only Jenkins settings and job config.xml files in JENKINS_HOME +# will be tracked by git. diff --git a/options/gitignore/JetBrains b/options/gitignore/JetBrains index 37be74a974..8da0824ba5 100644 --- a/options/gitignore/JetBrains +++ b/options/gitignore/JetBrains @@ -1,4 +1,4 @@ -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 # User-specific stuff diff --git a/options/gitignore/Jigsaw b/options/gitignore/Jigsaw new file mode 100644 index 0000000000..7cf61e81b1 --- /dev/null +++ b/options/gitignore/Jigsaw @@ -0,0 +1,6 @@ +# gitignore template for Jigsaw Static Site Generator +# +# website - https://jigsaw.tighten.co + +# Ignore build folder +build_* diff --git a/options/gitignore/KiCad b/options/gitignore/KiCad index 853ee63f78..bd70969a0f 100644 --- a/options/gitignore/KiCad +++ b/options/gitignore/KiCad @@ -6,6 +6,8 @@ *.bak *.bck *.kicad_pcb-bak +*.kicad_sch-bak +*.kicad_prl *.sch-bak *~ _autosave-* diff --git a/options/gitignore/Metals b/options/gitignore/Metals new file mode 100644 index 0000000000..516e7e33f2 --- /dev/null +++ b/options/gitignore/Metals @@ -0,0 +1,5 @@ + # Generated Metals (Scala Language Server) files + # Reference: https://scalameta.org/metals/ +.metals/ +.bloop/ +project/metals.sbt diff --git a/options/gitignore/Node b/options/gitignore/Node index 9b9ca9eb6b..1f22b9c26a 100644 --- a/options/gitignore/Node +++ b/options/gitignore/Node @@ -41,8 +41,8 @@ build/Release node_modules/ jspm_packages/ -# TypeScript v1 declaration files -typings/ +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ # TypeScript cache *.tsbuildinfo @@ -74,9 +74,11 @@ typings/ # parcel-bundler cache (https://parceljs.org/) .cache +.parcel-cache # Next.js build output .next +out # Nuxt.js build / generate output .nuxt @@ -105,3 +107,10 @@ dist # Stores VSCode versions used for testing VSCode extensions .vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* diff --git a/options/gitignore/Prestashop b/options/gitignore/Prestashop index 81f45e19eb..9da6d29ad4 100644 --- a/options/gitignore/Prestashop +++ b/options/gitignore/Prestashop @@ -1,34 +1,173 @@ -# Private files -# The following files contain your database credentials and other personal data. +# Cache, temp and personal files -config/settings.*.php +/.htaccess +*.log -# Cache, temp and generated files -# The following files are generated by PrestaShop. - -admin-dev/autoupgrade/ +# Cache /cache/* -!/cache/index.php -!/cache/*/ -/cache/*/* +!/cache/.htaccess !/cache/cachefs/index.php +!/cache/deprecated.txt +!/cache/index.php !/cache/purifier/index.php +!/cache/push/activity !/cache/push/index.php +!/cache/push/trends !/cache/sandbox/index.php +!/cache/smarty/cache/index.php +!/cache/smarty/compile/index.php !/cache/smarty/index.php !/cache/tcpdf/index.php -config/xml/*.xml -/log/* -*sitemap.xml -themes/*/cache/ -modules/*/config*.xml -# Site content -# The following folders contain product images, virtual products, CSV's, etc. +# Download +/download/* +!/download/.htaccess +!/download/index.php -admin-dev/backups/ -admin-dev/export/ -admin-dev/import/ -download/ +# Images /img/* -upload/ +!/img/.htaccess +!/img/index.php +!/img/404.gif +!/img/bg_500.png +!/img/bg_loader.png +!/img/favicon.ico +!/img/loader.gif +!/img/loadingAnimation.gif +!/img/logo.jpg +!/img/logo.png +!/img/logo_invoice.jpg +!/img/logo_stores.png +!/img/macFFBgHack.png +!/img/prestashop-avatar.png +!/img/prestashop@2x.png +!/img/preston-login-wink@2x.png +!/img/preston-login@2x.png +!/img/questionmark.png +!/img/genders/index.php +!/img/admin/index.php +!/img/c/index.php +!/img/cms/index.php +!/img/co/index.php +!/img/jquery-ui +!/img/l/index.php +!/img/m/index.php +!/img/os/index.php +!/img/p/index.php +!/img/s/index.php +!/img/scenes +!/img/st/index.php +!/img/su/index.php +!/img/t/index.php +!/img/tmp/index.php + +# Upload +/upload/* +!/upload/.htaccess + +/vendor/* +/docs/phpdoc-sf/ +/composer.lock +*.hot-update.js +*.hot-update.json + + +/admin-dev/autoupgrade/* +!/admin-dev/autoupgrade/index.php +!/admin-dev/autoupgrade/backup/index.php + +/admin-dev/backups/* +!/admin-dev/backups/.htaccess + +/admin-dev/import/* +!/admin-dev/import/.htaccess +!/admin-dev/import/index.php + +/admin-dev/export/* +!/admin-dev/export/.htaccess +!/admin-dev/export/index.php + +# Downloaded RTL files +/admin-dev/themes/default/css/bundle/default_rtl.css +/admin-dev/themes/default/css/bundle/shared_rtl.css +/admin-dev/themes/default/css/font_rtl.css +/admin-dev/themes/default/css/overrides_rtl.css +/admin-dev/themes/default/css/vendor/font-awesome/font-awesome_rtl.css +/admin-dev/themes/default/css/vendor/nv.d3_rtl.css +/admin-dev/themes/default/css/vendor/titatoggle-min_rtl.css +/admin-dev/themes/default/public/theme_rtl.css +/admin-dev/themes/new-theme/css/module/drop_rtl.css +/admin-dev/themes/new-theme/css/right-sidebar_rtl.css + +themes/*/cache/* + +# Config + +config/settings.inc.php +config/settings.old.php +config/xml/* +config/themes/* +!config/xml/themes/default.xml +themes/*/config/settings_*.json +app/config/parameters.old.yml +app/config/config.php + +# Themes, modules and overrides + +modules/* +override/* +themes/*/ +!themes/classic +!themes/_core +!themes/_libraries + +# Vendors and dependencies + +bower_components/ +node_modules/ +composer.phar +php-cs-fixer +.grunt/* + +# Translations and emails templates + +translations/* +mails/* +!mails/themes/ +!mails/_partials/ +themes/default-bootstrap/lang/* +themes/default-bootstrap/modules/*/translations/*.php +themes/default-bootstrap/mails/* +!themes/default-bootstrap/mails/en/ +themes/default-bootstrap/modules/*/mails/* +!themes/default-bootstrap/modules/*/mails/en + +# MISC + +*sitemap.xml +/robots.txt + +# Symfony + +/bin/ +/app/Resources/geoip/GeoLite2-City.mmdb +/app/Resources/translations/* +!/app/Resources/translations/default +/app/config/parameters.yml +/app/config/parameters.php +/build/ +/phpunit.xml +/var/* +!/var/cache +/var/cache/* +!var/cache/.gitkeep +!/var/logs +/var/logs/* +!var/logs/.gitkeep +!/var/sessions +/var/sessions/* +!var/sessions/.gitkeep +!var/SymfonyRequirements.php +/vendor/ +/web/bundles/ + diff --git a/options/gitignore/PureScript b/options/gitignore/PureScript index 361cf5277b..de86604d37 100644 --- a/options/gitignore/PureScript +++ b/options/gitignore/PureScript @@ -1,5 +1,6 @@ # Dependencies .psci_modules +.spago bower_components node_modules diff --git a/options/gitignore/Python b/options/gitignore/Python index b6e47617de..a81c8ee121 100644 --- a/options/gitignore/Python +++ b/options/gitignore/Python @@ -20,7 +20,6 @@ parts/ sdist/ var/ wheels/ -pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg @@ -50,6 +49,7 @@ coverage.xml *.py,cover .hypothesis/ .pytest_cache/ +cover/ # Translations *.mo @@ -72,6 +72,7 @@ instance/ docs/_build/ # PyBuilder +.pybuilder/ target/ # Jupyter Notebook @@ -82,7 +83,9 @@ profile_default/ ipython_config.py # pyenv -.python-version +# 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. @@ -127,3 +130,9 @@ dmypy.json # Pyre type checker .pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ diff --git a/options/gitignore/Qt b/options/gitignore/Qt index f147edf387..101354027a 100644 --- a/options/gitignore/Qt +++ b/options/gitignore/Qt @@ -50,3 +50,5 @@ compile_commands.json # QtCreator local machine specific files for imported projects *creator.user* + +*_qmlcache.qrc diff --git a/options/gitignore/R b/options/gitignore/R index fae8299aea..da10c745ee 100644 --- a/options/gitignore/R +++ b/options/gitignore/R @@ -37,3 +37,9 @@ vignettes/*.pdf # R Environment Variables .Renviron + +# pkgdown site +docs/ + +# translation temp files +po/*~ diff --git a/options/gitignore/Rails b/options/gitignore/Rails index 8969914f01..ae9df64484 100644 --- a/options/gitignore/Rails +++ b/options/gitignore/Rails @@ -66,3 +66,4 @@ yarn-debug.log* # Ignore uploaded files in development /storage/* !/storage/.keep +/public/uploads diff --git a/options/gitignore/Raku b/options/gitignore/Raku new file mode 100644 index 0000000000..e792f6e466 --- /dev/null +++ b/options/gitignore/Raku @@ -0,0 +1,7 @@ +# Gitignore for Raku (https://raku.org) +# As part of https://github.com/github/gitignore + +# precompiled files +.precomp +lib/.precomp + diff --git a/options/gitignore/Rust b/options/gitignore/Rust index 088ba6ba7d..ff47c2d77d 100644 --- a/options/gitignore/Rust +++ b/options/gitignore/Rust @@ -1,6 +1,7 @@ # Generated by Cargo # will have compiled files and executables -/target/ +debug/ +target/ # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html diff --git a/options/gitignore/SAM b/options/gitignore/SAM new file mode 100644 index 0000000000..dc9d020aee --- /dev/null +++ b/options/gitignore/SAM @@ -0,0 +1,5 @@ +# gitignore template for AWS Serverless Application Model project +# website: https://docs.aws.amazon.com/serverless-application-model + +# Ignore build folder +.aws-sam/ diff --git a/options/gitignore/SublimeText b/options/gitignore/SublimeText index 86c3fa455a..fdf0abb442 100644 --- a/options/gitignore/SublimeText +++ b/options/gitignore/SublimeText @@ -12,6 +12,7 @@ # SFTP configuration file sftp-config.json +sftp-config-alt*.json # Package control specific files Package Control.last-run diff --git a/options/gitignore/TeX b/options/gitignore/TeX index 859f705bdb..8a42ebbd98 100644 --- a/options/gitignore/TeX +++ b/options/gitignore/TeX @@ -135,8 +135,8 @@ acs-*.bib # knitr *-concordance.tex -# TODO Comment the next line if you want to keep your tikz graphics files -*.tikz +# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files +# *.tikz *-tikzDictionary # listings @@ -274,3 +274,11 @@ TSWLatexianTemp* # Makeindex log files *.lpz + +# xwatermark package +*.xwm + +# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib +# option is specified. Footnotes are the stored in a file with suffix Notes.bib. +# Uncomment the next line to have this generated file ignored. +#*Notes.bib diff --git a/options/gitignore/Terraform b/options/gitignore/Terraform index 7a3e2fd094..beb38d84d0 100644 --- a/options/gitignore/Terraform +++ b/options/gitignore/Terraform @@ -8,11 +8,12 @@ # Crash log files crash.log -# Ignore any .tfvars files that are generated automatically for each Terraform run. Most -# .tfvars files are managed as part of configuration and so should be included in -# version control. +# Exclude all .tfvars files, which are likely to contain sentitive data, such as +# password, private keys, and other secrets. These should not be part of version +# control as they are data points which are potentially sensitive and subject +# to change depending on the environment. # -# example.tfvars +*.tfvars # Ignore override files as they are usually used to override resources locally and so # are not checked in @@ -27,3 +28,7 @@ override.tf.json # Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan # example: *tfplan* + +# Ignore CLI configuration files +.terraformrc +terraform.rc diff --git a/options/gitignore/Umbraco b/options/gitignore/Umbraco index cd90af3071..c286845766 100644 --- a/options/gitignore/Umbraco +++ b/options/gitignore/Umbraco @@ -14,10 +14,16 @@ # Ignore Umbraco content cache file **/App_Data/umbraco.config +## this [Uu]mbraco/ folder should be created by cmd like `Install-Package UmbracoCms -Version 8.5.3` +## you can find your umbraco version at your Web.config. (i.e. <add key="Umbraco.Core.ConfigurationStatus" value="8.5.3" />) +## Uncomment this line if you think it fits the way you work on your project. +## **/[Uu]mbraco/ + # Don't ignore Umbraco packages (VisualStudio.gitignore mistakes this for a NuGet packages folder) # Make sure to include details from VisualStudio.gitignore BEFORE this !**/App_Data/[Pp]ackages/* !**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages/* +!**/[Uu]mbraco/[Vv]iews/[Pp]ackages/* # ImageProcessor DiskCache **/App_Data/cache/ diff --git a/options/gitignore/Unity b/options/gitignore/Unity index b3433dae65..72c27e4fe2 100644 --- a/options/gitignore/Unity +++ b/options/gitignore/Unity @@ -8,6 +8,10 @@ /[Bb]uild/ /[Bb]uilds/ /[Ll]ogs/ +/[Uu]ser[Ss]ettings/ + +# MemoryCaptures can get excessive in size. +# They also could contain extremely sensitive data /[Mm]emoryCaptures/ # Asset meta data should only be ignored when the corresponding asset is also ignored @@ -53,8 +57,15 @@ sysinfo.txt # Builds *.apk +*.aab *.unitypackage # Crashlytics generated file crashlytics-build.properties +# Packed Addressables +/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* + +# Temporary auto-generated Android Assets +/[Aa]ssets/[Ss]treamingAssets/aa.meta +/[Aa]ssets/[Ss]treamingAssets/aa/* diff --git a/options/gitignore/VisualStudio b/options/gitignore/VisualStudio index 611428faba..1ee53850b8 100644 --- a/options/gitignore/VisualStudio +++ b/options/gitignore/VisualStudio @@ -23,6 +23,7 @@ mono_crash.* [Rr]eleases/ x64/ x86/ +[Ww][Ii][Nn]32/ [Aa][Rr][Mm]/ [Aa][Rr][Mm]64/ bld/ @@ -61,6 +62,9 @@ project.lock.json project.fragment.lock.json artifacts/ +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + # StyleCop StyleCopReport.xml @@ -138,7 +142,9 @@ _TeamCity* !.axoCover/settings.json # Coverlet is a free, cross platform Code Coverage Tool -coverage*[.json, .xml, .info] +coverage*.json +coverage*.xml +coverage*.info # Visual Studio code coverage results *.coverage @@ -351,3 +357,6 @@ MigrationBackup/ # Ionide (cross platform F# VS Code tools) working folder .ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd diff --git a/options/gitignore/VisualStudioCode b/options/gitignore/VisualStudioCode index afba0a7c61..85813e1cbc 100644 --- a/options/gitignore/VisualStudioCode +++ b/options/gitignore/VisualStudioCode @@ -4,3 +4,6 @@ !.vscode/launch.json !.vscode/extensions.json *.code-workspace + +# Local History for Visual Studio Code +.history/ |