From db1d52b2dd1ed897408eb7ac856418743891b507 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 10:08:57 -0300 Subject: [PATCH 01/31] Move current Drupal into ecosystem directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Luís Pedro Algarvio --- ecosystem/Python/Drupal7.gitignore | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ecosystem/Python/Drupal7.gitignore diff --git a/ecosystem/Python/Drupal7.gitignore b/ecosystem/Python/Drupal7.gitignore new file mode 100644 index 00000000..072b6831 --- /dev/null +++ b/ecosystem/Python/Drupal7.gitignore @@ -0,0 +1,39 @@ +# Ignore configuration files that may contain sensitive information. +sites/*/*settings*.php +sites/example.sites.php + +# Ignore paths that contain generated content. +files/ +sites/*/files +sites/*/private +sites/*/translations + +# Ignore default text files +robots.txt +/CHANGELOG.txt +/COPYRIGHT.txt +/INSTALL*.txt +/LICENSE.txt +/MAINTAINERS.txt +/UPGRADE.txt +/README.txt +sites/README.txt +sites/all/libraries/README.txt +sites/all/modules/README.txt +sites/all/themes/README.txt + +# Ignore everything but the "sites" folder ( for non core developer ) +.htaccess +web.config +authorize.php +cron.php +index.php +install.php +update.php +xmlrpc.php +/includes +/misc +/modules +/profiles +/scripts +/themes From 344e52b5efed9aa725a14b79fdc4e768c4239564 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 10:09:11 -0300 Subject: [PATCH 02/31] Update default template to Drupal 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Luís Pedro Algarvio --- Drupal.gitignore | 77 ++++++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 35 deletions(-) diff --git a/Drupal.gitignore b/Drupal.gitignore index 072b6831..5e907072 100644 --- a/Drupal.gitignore +++ b/Drupal.gitignore @@ -1,39 +1,46 @@ -# Ignore configuration files that may contain sensitive information. -sites/*/*settings*.php -sites/example.sites.php +# gitignore template for Drupal 8 projects +# +# earlier versions of Drupal are tracked in `ecosystem/Python/` -# Ignore paths that contain generated content. -files/ -sites/*/files -sites/*/private -sites/*/translations +# Ignore configuration files that may contain sensitive information +/sites/*/*settings*.php +/sites/*/*services*.yml -# Ignore default text files -robots.txt -/CHANGELOG.txt -/COPYRIGHT.txt -/INSTALL*.txt +# Ignore paths that may contain user-generated content +/sites/*/files +/sites/*/public +/sites/*/private +/sites/*/files-public +/sites/*/files-private + +# Ignore paths that may contain temporary files +/sites/*/translations +/sites/*/tmp +/sites/*/cache + +# Ignore drupal core (if not versioning drupal sources) +/core +/modules/README.txt +/profiles/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 +/.htaccess +/autoload.php +/composer.json +/composer.lock +/example.gitignore +/index.php /LICENSE.txt -/MAINTAINERS.txt -/UPGRADE.txt /README.txt -sites/README.txt -sites/all/libraries/README.txt -sites/all/modules/README.txt -sites/all/themes/README.txt - -# Ignore everything but the "sites" folder ( for non core developer ) -.htaccess -web.config -authorize.php -cron.php -index.php -install.php -update.php -xmlrpc.php -/includes -/misc -/modules -/profiles -/scripts -/themes +/robots.txt +/update.php +/web.config \ No newline at end of file From 7af655e423f88737e67cb99f0674aa36ab59041b Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 10:26:24 -0300 Subject: [PATCH 03/31] add a better header to the old template --- ecosystem/Python/Drupal7.gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ecosystem/Python/Drupal7.gitignore b/ecosystem/Python/Drupal7.gitignore index 072b6831..da61e4a5 100644 --- a/ecosystem/Python/Drupal7.gitignore +++ b/ecosystem/Python/Drupal7.gitignore @@ -1,3 +1,7 @@ +# gitignore template for Drupal 7 projects +# +# It is recommended that you use `Drupal.gitignore` as this is the latest version + # Ignore configuration files that may contain sensitive information. sites/*/*settings*.php sites/example.sites.php From 663ff83ba7ad73d631bcca79918a8491398db165 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 10:27:38 -0300 Subject: [PATCH 04/31] Move Magento v1 into ecosystem Co-Authored-By: Nolwennig --- ecosystem/PHP/Magento1.gitignore | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ecosystem/PHP/Magento1.gitignore diff --git a/ecosystem/PHP/Magento1.gitignore b/ecosystem/PHP/Magento1.gitignore new file mode 100644 index 00000000..aac92ca7 --- /dev/null +++ b/ecosystem/PHP/Magento1.gitignore @@ -0,0 +1,45 @@ +# gitignore template for Magento v1 projects +# +# It is recommended that you use `Magento.gitignore` as this is the latest version + +/PATCH_*.sh + +/app/etc/local.xml + +/media/* +!/media/.htaccess + +!/media/customer +/media/customer/* +!/media/customer/.htaccess + +!/media/dhl +/media/dhl/* +!/media/dhl/logo.jpg + +!/media/downloadable +/media/downloadable/* +!/media/downloadable/.htaccess + +!/media/xmlconnect +/media/xmlconnect/* + +!/media/xmlconnect/custom +/media/xmlconnect/custom/* +!/media/xmlconnect/custom/ok.gif + +!/media/xmlconnect/original +/media/xmlconnect/original/* +!/media/xmlconnect/original/ok.gif + +!/media/xmlconnect/system +/media/xmlconnect/system/* +!/media/xmlconnect/system/ok.gif + +/var/* +!/var/.htaccess + +!/var/package +/var/package/* +!/var/package/*.xml + From 37ec8ba529097314ea1707b36317c6f71fc98dea Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 10:41:57 -0300 Subject: [PATCH 05/31] add section about updated folder structure --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index adb59664..77018198 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,17 @@ the following resources are a great place to start: ## Folder structure -The files in the root directory are for `.gitignore` templates that are -project-specific, such as language or framework specific templates. -Global (operating system or editor specific) templates should go into the -[`Global/`](./Global) directory. +We support a collection of templates, organized in this way: + +- [`Global`](./Global) contains templates for various editors, tools and + operating systems that can be used in different situations. It is recommended + that you either [add these to your global template](https://help.github.com/articles/ignoring-files/#create-a-global-gitignore) + or merge these rules into your project-specific templates if you want to use + them permanently. +- [`ecosystem`](./ecosystem) contains specialized templates coalescing around + popular programming languages, but don't make sense to live in the mainstream + templates. These should be added to your project-specific templates when you + decide to adopt the framework or tool. ## Contributing guidelines From 1980e4f1ea31f79378eb4c955675ffb1be9c6da6 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 10:42:08 -0300 Subject: [PATCH 06/31] prettify things --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 77018198..5a136de0 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ high quality, we request that contributions adhere to the following guidelines. - **Explain why you’re making a change**. Even if it seems self-evident, please take a sentence or two to tell us why your change or addition should happen. - It’s especially helpful to articulate why this change applies to *everyone* + It’s especially helpful to articulate why this change applies to _everyone_ who works with the applicable technology, rather than just you or your team. - **Please consider the scope of your change**. If your change is specific to a @@ -54,7 +54,7 @@ high quality, we request that contributions adhere to the following guidelines. template for that language or framework, rather than to the template for an editor, tool, or operating system. -- **Please only modify *one template* per pull request**. This helps keep pull +- **Please only modify _one template_ per pull request**. This helps keep pull requests and feedback focused on a specific project or technology. In general, the more you can do to help us understand the change you’re making, @@ -66,7 +66,7 @@ helpful than a simple `ls`. If it's not possible to curate a small set of useful rules, then the template might not be a good fit for this collection. Please also understand that we can’t list every tool that ever existed. -Our aim is to curate a collection of the *most common and helpful* templates, +Our aim is to curate a collection of the _most common and helpful_ templates, not to make sure we cover every project possible. If we choose not to include your language, tool, or project, it’s not because it’s not awesome. From 1abbddba2100fdf50ac742d0b2875d6be3018a86 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 11:02:38 -0300 Subject: [PATCH 07/31] expanded new sections --- README.md | 71 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 63 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5a136de0..31f13a7b 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ the following resources are a great place to start: We support a collection of templates, organized in this way: +- the root folder contains templates in common use, to help people get started + with popular programming languages and technologies. These define a meaningful + set of rules to help get started, and ensure you are not committing + unimportant files into your repository - [`Global`](./Global) contains templates for various editors, tools and operating systems that can be used in different situations. It is recommended that you either [add these to your global template](https://help.github.com/articles/ignoring-files/#create-a-global-gitignore) @@ -30,6 +34,23 @@ We support a collection of templates, organized in this way: templates. These should be added to your project-specific templates when you decide to adopt the framework or tool. +## What makes a good template? + +A template should contain a set of rules to help Git repositories work with a +specific programming language, framework, tool or environment. + +If it's not possible to curate a small set of useful rules for this situation, +then the template is not a good fit for this collection. + +If a template is mostly a list of files installed by a particular version of +some software (e.g. a PHP framework), it should live under the `ecosystem` +directory. See [versioned templates]() for a guide to this setup. + +Please also understand that we can’t list every tool that ever existed. +Our aim is to curate a collection of the _most common and helpful_ templates, +not to make sure we cover every project possible. If we choose not to +include your language, tool, or project, it’s not because it’s not awesome. + ## Contributing guidelines We’d love for you to help us improve this project. To help us keep this collection @@ -60,15 +81,49 @@ high quality, we request that contributions adhere to the following guidelines. In general, the more you can do to help us understand the change you’re making, the more likely we’ll be to accept your contribution quickly. -If a template is mostly a list of files installed by a particular version of -some software (e.g. a PHP framework) then it's brittle and probably no more -helpful than a simple `ls`. If it's not possible to curate a small set of -useful rules, then the template might not be a good fit for this collection. +## Versioned templates -Please also understand that we can’t list every tool that ever existed. -Our aim is to curate a collection of the _most common and helpful_ templates, -not to make sure we cover every project possible. If we choose not to -include your language, tool, or project, it’s not because it’s not awesome. +Some templates can change greatly between versions, and if you wish to contribute +to this repository we need to follow this specific flow: + +- the template at the root should be the current supported version +- the template at the root should not have a version in the filename (i.e. + "evergreen") +- previous versions of templates should live under `ecosystem` +- previous versions of the template should embed the version in the filename, + for readability + +This helps ensure users get the latest version (because they'll use whatever is +at the root) but helps maintainers support older versions still in the wild. + +## Specialized templates + +If you have a template that you would like to contribute, but it isn't quite +mainstream, please consider adding this to the `ecosystem` directory under a +folder that best suits where it belongs. + +The rules in your specialized template should be specific to the framework or +tool, and any additional templates should be mentioned in a comment in the +header of the template + +For example + +``` +# gitignore template for InforCRM (formerly SalesLogix) +# +# Recommended: VisualStudio.gitignore + +# Ignore model files that are auto-generated +ModelIndex.xml +ExportedFiles.xml + +# Ignore deployment files +[Mm]odel/[Dd]eployment + +# Force include portal SupportFiles +!Model/Portal/*/SupportFiles/[Bb]in/ +!Model/Portal/PortalTemplates/*/SupportFiles/[Bb]in +``` ## Contributing workflow From ded1daba15e8a62c4abf6f915c1ea46b4fff1d3f Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 11:07:36 -0300 Subject: [PATCH 08/31] a bit more edits --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31f13a7b..0da26805 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,16 @@ then the template is not a good fit for this collection. If a template is mostly a list of files installed by a particular version of some software (e.g. a PHP framework), it should live under the `ecosystem` -directory. See [versioned templates]() for a guide to this setup. +directory. See [versioned templates](#versioned-templates) for more details. + +If you have a small set of rules, or want to support a technology that is not +widely in use, and still believe this will be helpful to others, please read the +section about [specialized templates](#specialized-templates) for more details. + +If you believe your template is important and should be highly visible, please +add details about the impact of the technology when you open a pull request. We +may not accept it immediately, but we can promote it to the root at a later date +based on demand. Please also understand that we can’t list every tool that ever existed. Our aim is to curate a collection of the _most common and helpful_ templates, From 3641b16bef48964f4613f9f9b2f073027a890aa2 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 11:13:16 -0300 Subject: [PATCH 09/31] tweaks to example template --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0da26805..c3f62cf7 100644 --- a/README.md +++ b/README.md @@ -115,10 +115,11 @@ The rules in your specialized template should be specific to the framework or tool, and any additional templates should be mentioned in a comment in the header of the template -For example +For example, this template might live at `ecosystem/DotNet/InforCRM.gitignore`: ``` # gitignore template for InforCRM (formerly SalesLogix) +# website: https://www.infor.com/product-summary/cx/infor-crm/ # # Recommended: VisualStudio.gitignore From c440ae4d9c9171e04cedc41043353217bacabaa0 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sat, 27 Oct 2018 12:07:44 -0300 Subject: [PATCH 10/31] stub an example Vue gitignore template --- ecosystem/JavaScript/Vue.gitignore | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ecosystem/JavaScript/Vue.gitignore diff --git a/ecosystem/JavaScript/Vue.gitignore b/ecosystem/JavaScript/Vue.gitignore new file mode 100644 index 00000000..4538951c --- /dev/null +++ b/ecosystem/JavaScript/Vue.gitignore @@ -0,0 +1,9 @@ +# gitignore template for Vue.js projects +# +# Recommended template: Node.gitignore + +# TODO: where does this rule come from? +docs/_book + +# TODO: where does this rule come from? +test/ From eda6ba515be0ec77f462953d125cc197724d639e Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 08:58:24 -0300 Subject: [PATCH 11/31] rename ecosystem to community --- README.md | 10 +++++----- {ecosystem => community}/JavaScript/Vue.gitignore | 0 {ecosystem => community}/PHP/Magento1.gitignore | 0 {ecosystem => community}/Python/Drupal7.gitignore | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename {ecosystem => community}/JavaScript/Vue.gitignore (100%) rename {ecosystem => community}/PHP/Magento1.gitignore (100%) rename {ecosystem => community}/Python/Drupal7.gitignore (100%) diff --git a/README.md b/README.md index c3f62cf7..422056e5 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ If it's not possible to curate a small set of useful rules for this situation, then the template is not a good fit for this collection. If a template is mostly a list of files installed by a particular version of -some software (e.g. a PHP framework), it should live under the `ecosystem` +some software (e.g. a PHP framework), it should live under the `community` directory. See [versioned templates](#versioned-templates) for more details. If you have a small set of rules, or want to support a technology that is not @@ -53,7 +53,7 @@ section about [specialized templates](#specialized-templates) for more details. If you believe your template is important and should be highly visible, please add details about the impact of the technology when you open a pull request. We may not accept it immediately, but we can promote it to the root at a later date -based on demand. +based on interest. Please also understand that we can’t list every tool that ever existed. Our aim is to curate a collection of the _most common and helpful_ templates, @@ -98,7 +98,7 @@ to this repository we need to follow this specific flow: - the template at the root should be the current supported version - the template at the root should not have a version in the filename (i.e. "evergreen") -- previous versions of templates should live under `ecosystem` +- previous versions of templates should live under `community` - previous versions of the template should embed the version in the filename, for readability @@ -108,14 +108,14 @@ at the root) but helps maintainers support older versions still in the wild. ## Specialized templates If you have a template that you would like to contribute, but it isn't quite -mainstream, please consider adding this to the `ecosystem` directory under a +mainstream, please consider adding this to the `community` directory under a folder that best suits where it belongs. The rules in your specialized template should be specific to the framework or tool, and any additional templates should be mentioned in a comment in the header of the template -For example, this template might live at `ecosystem/DotNet/InforCRM.gitignore`: +For example, this template might live at `community/DotNet/InforCRM.gitignore`: ``` # gitignore template for InforCRM (formerly SalesLogix) diff --git a/ecosystem/JavaScript/Vue.gitignore b/community/JavaScript/Vue.gitignore similarity index 100% rename from ecosystem/JavaScript/Vue.gitignore rename to community/JavaScript/Vue.gitignore diff --git a/ecosystem/PHP/Magento1.gitignore b/community/PHP/Magento1.gitignore similarity index 100% rename from ecosystem/PHP/Magento1.gitignore rename to community/PHP/Magento1.gitignore diff --git a/ecosystem/Python/Drupal7.gitignore b/community/Python/Drupal7.gitignore similarity index 100% rename from ecosystem/Python/Drupal7.gitignore rename to community/Python/Drupal7.gitignore From 1ab24a3be37e96e8019ac213e3d76eb203ebf253 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 09:08:04 -0300 Subject: [PATCH 12/31] add support for Nuxt.js Co-Authored-By: FURUKAWA,Daisuke --- community/JavaScript/Nuxt.gitignore | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 community/JavaScript/Nuxt.gitignore diff --git a/community/JavaScript/Nuxt.gitignore b/community/JavaScript/Nuxt.gitignore new file mode 100644 index 00000000..cd6c77a3 --- /dev/null +++ b/community/JavaScript/Nuxt.gitignore @@ -0,0 +1,9 @@ +# gitignore template for Nuxt.js projects +# +# Recommended template: Node.gitignore + +# Nuxt build +.nuxt + + # Nuxt generate +dist From 05c5eacc7a4e62cacc1197e3506431a811a4edbb Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 09:11:02 -0300 Subject: [PATCH 13/31] add a template for Phoenix projects Co-Authored-By: JuanPablo Co-Authored-By: Sean Callan --- community/Elixir/Phoenix.gitignore | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 community/Elixir/Phoenix.gitignore diff --git a/community/Elixir/Phoenix.gitignore b/community/Elixir/Phoenix.gitignore new file mode 100644 index 00000000..522c8d56 --- /dev/null +++ b/community/Elixir/Phoenix.gitignore @@ -0,0 +1,22 @@ +# gitignore template for Phoenix projects +# website: http://www.phoenixframework.org/ +# +# Recommended template: Elixir.gitignore + +# Temporary files +/tmp + +# Static artifacts +/node_modules +/assets/node_modules + +# Since we are building assets from web/static, +# we ignore priv/static. You may want to comment +# this depending on your deployment strategy. +/priv/static/ + +# Installer-related files +/installer/_build +/installer/tmp +/installer/doc +/installer/deps From bd97b795f158f5ef9cee4e7d8549a7a1bbea1124 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 09:28:30 -0300 Subject: [PATCH 14/31] added community Pimcore template Co-Authored-By: Martin Kuric --- community/PHP/Pimcore.gitignore | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 community/PHP/Pimcore.gitignore diff --git a/community/PHP/Pimcore.gitignore b/community/PHP/Pimcore.gitignore new file mode 100644 index 00000000..549e7a8f --- /dev/null +++ b/community/PHP/Pimcore.gitignore @@ -0,0 +1,53 @@ +# gitignore template for Pimcore CMS + +# pimcore source files +/pimcore + +# asset files +/website/var/assets/* + +# backups +/website/var/backup/* + +# file cache +/website/var/cache/* + +# generated PHP classes, keep definition files (.psf) +/website/var/classes/Object* +!/website/var/classes/objectbricks + +# various configuration files +/website/var/config/system.xml +/website/var/config/cache.xml +/website/var/config/robots.txt +/website/var/config/Geo* +/website/var/config/object/* +/website/var/config/portal/* +/website/var/config/sqlreport/* + +# sent e-mail log files +/website/var/email/* + +# log files +/website/var/log/*.log + +# serialized recyclebin files +/website/var/recyclebin/* + +# search plugin +/website/var/search/* + +# various temp files +/website/var/system/* +/website/var/tmp/* + +# serialized version files +/website/var/versions/asset/* +/website/var/versions/document/* +/website/var/versions/object/* + +# user profile images +/website/var/user-image/* + +# keep .dummy files +!.dummy \ No newline at end of file From 2055dc101026b338cec2922ff41e1e6ae0054ba0 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 09:29:06 -0300 Subject: [PATCH 15/31] Added community template for ThinkPHP Co-Authored-By: Parallel --- community/PHP/ThinkPHP.gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 community/PHP/ThinkPHP.gitignore diff --git a/community/PHP/ThinkPHP.gitignore b/community/PHP/ThinkPHP.gitignore new file mode 100644 index 00000000..348ebf05 --- /dev/null +++ b/community/PHP/ThinkPHP.gitignore @@ -0,0 +1,8 @@ +# gitignore template for ThinkPHP v3.2.3 +# website: http://www.thinkphp.cn/ + +# Logs and Cache files +/Application/Runtime/ + +# Common configure file +/Application/Common/Conf/config.php \ No newline at end of file From bbd34a4472535e7d00f050879fc1768781c8e788 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 09:55:44 -0300 Subject: [PATCH 16/31] add community Snap template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: 林博仁(Buo-ren Lin) Co-Authored-By: Marius Gripsgard --- community/Linux/Snap.gitignore | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 community/Linux/Snap.gitignore diff --git a/community/Linux/Snap.gitignore b/community/Linux/Snap.gitignore new file mode 100644 index 00000000..ea38c6dd --- /dev/null +++ b/community/Linux/Snap.gitignore @@ -0,0 +1,14 @@ +# gitginore template for creating Snap packages +# website: https://snapcraft.io/ + +parts/ +prime/ +stage/ +*.snap + +# Snapcraft global state tracking data(automatically generated) +# https://forum.snapcraft.io/t/location-to-save-global-state/768 +/snap/.snapcraft/ + +# Source archive packed by `snapcraft cleanbuild` before pushing to the LXD container +/*_source.tar.bz2 From d298644fc3026a4c16db211e6bd9d4b13d14d9eb Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 10:00:39 -0300 Subject: [PATCH 17/31] added Hugo community template Co-Authored-By: Julien Liabeuf Co-Authored-By: Ricardo N Feliciano --- community/Golang/Hugo.gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 community/Golang/Hugo.gitignore diff --git a/community/Golang/Hugo.gitignore b/community/Golang/Hugo.gitignore new file mode 100644 index 00000000..23f43cbe --- /dev/null +++ b/community/Golang/Hugo.gitignore @@ -0,0 +1,8 @@ +# gitginore template for Hugo projects +# website: https://gohugo.io + +# generated files by hugo +/public/ + +# executable may be added to repository +hugo.exe \ No newline at end of file From e67a985416e4c516b4134d721966e2ec469e7441 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 10:06:42 -0300 Subject: [PATCH 18/31] Add community template for Red language Co-Authored-By: SouthWolf Co-Authored-By: Trent Patterson Co-Authored-By: PeterWAWood --- community/Red.gitignore | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/Red.gitignore diff --git a/community/Red.gitignore b/community/Red.gitignore new file mode 100644 index 00000000..b78a06fc --- /dev/null +++ b/community/Red.gitignore @@ -0,0 +1,16 @@ +# gitignore template for Red programming language +# website: http://www.red-lang.org/ + +# Red Compiled code +*.red + +# Libraries +crush.dll +crush.dylib +crush.so + +# Files generated during test +quick-test/quick-test.log +quick-test/runnable/ +system/tests/source/units/auto-tests/ +tests/source/units/auto-tests/ From 8a2fae7d6cb2882630b7878063c8b685375cc8ea Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 10:55:32 -0300 Subject: [PATCH 19/31] add templates for older JBoss versions Co-Authored-By: Marcos Estevam --- community/Java/JBoss4.gitignore | 19 +++++++++++++++++++ community/Java/JBoss6.gitignore | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 community/Java/JBoss4.gitignore create mode 100644 community/Java/JBoss6.gitignore diff --git a/community/Java/JBoss4.gitignore b/community/Java/JBoss4.gitignore new file mode 100644 index 00000000..d416538c --- /dev/null +++ b/community/Java/JBoss4.gitignore @@ -0,0 +1,19 @@ +# gitignore for JBoss v4 projects + +/server/all/data +/server/all/log +/server/all/tmp +/server/all/work +/server/default/data +/server/default/log +/server/default/tmp +/server/default/work +/server/minimal/data +/server/minimal/log +/server/minimal/tmp +/server/minimal/work + +# Note: +# there may be other directories that contain *.xml.failed or *.war.failed files +/server/default/deploy/*.xml.failed +/server/default/deploy/*.war.failed diff --git a/community/Java/JBoss6.gitignore b/community/Java/JBoss6.gitignore new file mode 100644 index 00000000..dc7dce76 --- /dev/null +++ b/community/Java/JBoss6.gitignore @@ -0,0 +1,33 @@ +# gitignore for JBoss v6 projects +# +# Note: to ensure empty directories remain part of the repository, like +# `/server/minimal/lib`, you should add an empty `.gitignore` or `.gitkeep` file +# to the directory - otherwise you may have issues when starting the service. + +/server/all/data +/server/all/log +/server/all/tmp +/server/all/work +/server/default/data +/server/default/log +/server/default/tmp +/server/default/work +/server/minimal/data +/server/minimal/log +/server/minimal/tmp +/server/minimal/work +/server/jbossweb-standalone/data +/server/jbossweb-standalone/log +/server/jbossweb-standalone/tmp +/server/jbossweb-standalone/work +/server/standard/data +/server/standard/log +/server/standard/tmp +/server/standard/work +/server/default/deploy/*.jar.failed +/server/default/deploy/*.jar.dodeploy +/server/default/deploy/*.xml.failed +/server/default/deploy/*.xml.dodeploy +/server/default/deploy/*.war.failed +/server/default/deploy/*.war.dodeploy + From 991accab3f0ed16a51397a280fbe372e93c2b543 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 11:39:03 -0300 Subject: [PATCH 20/31] add community template for KenticoCMS Co-Authored-By: Christopher Jennings --- community/DotNet/Kentico.gitignore | 64 ++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 community/DotNet/Kentico.gitignore diff --git a/community/DotNet/Kentico.gitignore b/community/DotNet/Kentico.gitignore new file mode 100644 index 00000000..6c6d8d63 --- /dev/null +++ b/community/DotNet/Kentico.gitignore @@ -0,0 +1,64 @@ +# gitignore template for using Kentico CMS +# website: http://www.kentico.com/ +# +# Recommended template: VisualStudio.gitignore + +# Include some Kentico folders excluded by Visual Studio rules +!CMS/CMSAdminControls/*/ +!CMS/CMSModules/System/*/ +!CMS/App_Data/CIRepository/** + +# Kentico temporary/environment files +CMS/App_Data/AzureCache +CMS/App_Data/AzureTemp +CMS/App_Data/CMSModules/DeviceProfile/logFiftyOne.txt +CMS/App_Data/CMSModules/DeviceProfiles/logFiftyOne.txt +CMS/App_Data/CMSModules/WebFarm/webfarm.sync +CMS/App_Data/CMSTemp +CMS/App_Data/Persistent +CMS/CMSSiteUtils/Export +CMS/CMSSiteUtils/Import + +# Ignore all smart search indexes, but not the other system folder contents +CMS/App_Data/CMSModules/SmartSearch/** +!CMS/App_Data/CMSModules/SmartSearch/*/ +!CMS/App_Data/CMSModules/SmartSearch/_StopWords/** +!CMS/App_Data/CMSModules/SmartSearch/_Synonyms/** + +## Kentico Starter Sites +# Starter site resource Files +CMS/App_Data/DancingGoat + +# Starter site web templates +CMS/App_Data/Templates/CommunitySite +CMS/App_Data/Templates/CorporateSite +CMS/App_Data/Templates/DancingGoat +CMS/App_Data/Templates/EcommerceSite +CMS/App_Data/Templates/IntranetPortal +CMS/App_Data/Templates/PersonalSite + +# Starter site app themes +CMS/App_Themes/CommunitySite +CMS/App_Themes/CorporateSite +CMS/App_Themes/EcommerceSite +CMS/App_Themes/IntranetPortal* +CMS/App_Themes/PersonalSite + +# Starter site ASPX templates +CMS/CMSTemplates/CorporateSite + +# Starter site media libraries +CMS/CommunitySite +CMS/CorporateSite +CMS/DancingGoat +CMS/EcommerceSite +CMS/IntranetPortal +CMS/PersonalSite + +## Project specific ignores +# Sensitive settings +AppSettings.config +ConnectionStrings.config + +# Project media libraries (recommend shared file storage) +# e.g. CMS/{SiteCodeName} \ No newline at end of file From eff87b9c8bc028de8b85b2afe8b00d8862cd7f3f Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 11:39:57 -0300 Subject: [PATCH 21/31] added community template for InforCRM Co-Authored-By: Customer FX Development --- community/DotNet/InforCMS.gitignore | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 community/DotNet/InforCMS.gitignore diff --git a/community/DotNet/InforCMS.gitignore b/community/DotNet/InforCMS.gitignore new file mode 100644 index 00000000..6f4d951e --- /dev/null +++ b/community/DotNet/InforCMS.gitignore @@ -0,0 +1,15 @@ +# gitignore template for InforCRM (formerly SalesLogix) +# website: https://www.infor.com/product-summary/cx/infor-crm/ +# +# Recommended: VisualStudio.gitignore + +# Ignore model files that are auto-generated +ModelIndex.xml +ExportedFiles.xml + +# Ignore deployment files +[Mm]odel/[Dd]eployment + +# Force include portal SupportFiles +!Model/Portal/*/SupportFiles/[Bb]in/ +!Model/Portal/PortalTemplates/*/SupportFiles/[Bb]in \ No newline at end of file From 7637178dd21c8a903b2eefcc5dfec7208a061a20 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 18:07:39 -0300 Subject: [PATCH 22/31] add community template for Meteor Co-Authored-By: CodeHunter --- community/JavaScript/Meteor.gitignore | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 community/JavaScript/Meteor.gitignore diff --git a/community/JavaScript/Meteor.gitignore b/community/JavaScript/Meteor.gitignore new file mode 100644 index 00000000..7194fd0e --- /dev/null +++ b/community/JavaScript/Meteor.gitignore @@ -0,0 +1,12 @@ +# gitignore template for the Meteor framework +# website: https://www.meteor.com/ +# +# Recommended template: Node.gitignore + +# protect api keys in setting json +settings-production.json +settings.json + +# protect your mup.json settings +mup.json +mup.js From 213a053ce7bec535974598c2f5699050ee6a2953 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 18:16:14 -0300 Subject: [PATCH 23/31] added community template for PHP CodeSniffer Co-Authored-By: moltra --- community/PHP/CodeSniffer.gitignore | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 community/PHP/CodeSniffer.gitignore diff --git a/community/PHP/CodeSniffer.gitignore b/community/PHP/CodeSniffer.gitignore new file mode 100644 index 00000000..e2d9e306 --- /dev/null +++ b/community/PHP/CodeSniffer.gitignore @@ -0,0 +1,7 @@ +# gitignore for the PHP Codesniffer framework +# website: https://github.com/squizlabs/PHP_CodeSniffer +# +# Recommended template: PHP.gitignore + +/vendor/* +/wpcs/* \ No newline at end of file From e5c5a2bb9c96a86e75c9543ceedd466fae1f27a8 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 18:16:51 -0300 Subject: [PATCH 24/31] add community template for Racket Co-Authored-By: Will Price Co-Authored-By: Stefan --- community/Racket.gitignore | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 community/Racket.gitignore diff --git a/community/Racket.gitignore b/community/Racket.gitignore new file mode 100644 index 00000000..c97e0899 --- /dev/null +++ b/community/Racket.gitignore @@ -0,0 +1,15 @@ +# gitignore template for the Racket language +# website: http://www.racket-lang.org/ + +# DrRacket autosave files +*.rkt~ +*.rkt.bak +\#*.rkt# +\#*.rkt#*# + +# Compiled racket bytecode +compiled/ +*.zo + +# Dependency tracking files +*.dep \ No newline at end of file From f29f4047a03c0981706d92f5458aa73499e1ce47 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 18:24:05 -0300 Subject: [PATCH 25/31] add community template for LogTalk Co-Authored-By: Paulo Moura --- community/Logtalk.gitignore | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 community/Logtalk.gitignore diff --git a/community/Logtalk.gitignore b/community/Logtalk.gitignore new file mode 100644 index 00000000..d02dd2e1 --- /dev/null +++ b/community/Logtalk.gitignore @@ -0,0 +1,19 @@ +# gitignore template for LogTalk, a programming language that builds upon Prolog +# website: https://logtalk.org/ + +# Logtalk temporary file directories +.lgt_tmp/ +lgt_tmp/ + +# Logtalk default unit testing and doclet results and logs directories +logtalk_tester_logs/ +logtalk_doclet_logs/ + +# backend Prolog compiler temporary files +.pl-history +*.out +*.xwam +*.qo +*.ql +*.itf +*.po \ No newline at end of file From d9977d1bdffaacb697f8e3db5094f5bb8c79c8e7 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 18:28:43 -0300 Subject: [PATCH 26/31] add community template for Cordova Co-Authored-By: Andre Christoga S Co-Authored-By: Chaoyi Zha --- community/JavaScript/Cordova.gitignore | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 community/JavaScript/Cordova.gitignore diff --git a/community/JavaScript/Cordova.gitignore b/community/JavaScript/Cordova.gitignore new file mode 100644 index 00000000..4bd87859 --- /dev/null +++ b/community/JavaScript/Cordova.gitignore @@ -0,0 +1,10 @@ +# gitignore template for the Cordova framework +# website: https://cordova.apache.org/ +# +# Recommended template: Node.gitignore + +# App platform binaries and built files +/platforms + +# Optional to ignore plugin Git clones +#/plugins From 227764535c0404960e6b6f20d8abff74fc4bf5b5 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 28 Oct 2018 18:30:27 -0300 Subject: [PATCH 27/31] add community template for NW.js Co-Authored-By: Josh Plant --- community/JavaScript/NWjs.gitignore | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 community/JavaScript/NWjs.gitignore diff --git a/community/JavaScript/NWjs.gitignore b/community/JavaScript/NWjs.gitignore new file mode 100644 index 00000000..f006b08b --- /dev/null +++ b/community/JavaScript/NWjs.gitignore @@ -0,0 +1,29 @@ +# gitignore template for NW.js projects +# website: https://nwjs.io/ + +# Seen in standard and sdk versions +credits.html +locales/ +libEGL.dll +libGLEv2.dll +node.dll +nw.dll +nw.exe +natives_blob.bin +nw_100_percent.pak +nw_200_percent.pak +nw_elf.dll +snapshot_blob.bin +resources.pak + +# Seen only in standard +d3dcompiler_47.dll +ffmpeg.dll +icudtl.dat + +# Seen only in sdk +pnacl/ +chromedriver.exe +nacl_irt_x86_64.nexe +nwjc.exe +payload.exe From 9c477781eba9d571c11c002fdec00d2943e7400d Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Thu, 22 Nov 2018 15:17:51 -0400 Subject: [PATCH 28/31] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 422056e5..db171347 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ We support a collection of templates, organized in this way: that you either [add these to your global template](https://help.github.com/articles/ignoring-files/#create-a-global-gitignore) or merge these rules into your project-specific templates if you want to use them permanently. -- [`ecosystem`](./ecosystem) contains specialized templates coalescing around - popular programming languages, but don't make sense to live in the mainstream +- [`community`](./community) contains specialized templates for other popular + languages, tools and project, which don't currently belong in the mainstream templates. These should be added to your project-specific templates when you decide to adopt the framework or tool. @@ -43,7 +43,7 @@ If it's not possible to curate a small set of useful rules for this situation, then the template is not a good fit for this collection. If a template is mostly a list of files installed by a particular version of -some software (e.g. a PHP framework), it should live under the `community` +some software (e.g. a PHP framework), it could live under the `community` directory. See [versioned templates](#versioned-templates) for more details. If you have a small set of rules, or want to support a technology that is not @@ -98,7 +98,7 @@ to this repository we need to follow this specific flow: - the template at the root should be the current supported version - the template at the root should not have a version in the filename (i.e. "evergreen") -- previous versions of templates should live under `community` +- previous versions of templates should live under `community/` - previous versions of the template should embed the version in the filename, for readability From b7dc63aa1bb2536dd7f316eada0efd9e92f26b98 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Thu, 22 Nov 2018 15:33:56 -0400 Subject: [PATCH 29/31] added bitrix community template --- community/PHP/Bitrix.gitignore | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 community/PHP/Bitrix.gitignore diff --git a/community/PHP/Bitrix.gitignore b/community/PHP/Bitrix.gitignore new file mode 100644 index 00000000..d288916f --- /dev/null +++ b/community/PHP/Bitrix.gitignore @@ -0,0 +1,23 @@ +# gitignore template for 1C-Bitrix, a PHP-based CMS +# website: https://www.1c-bitrix.ru + +#Exclude all of core files +/bitrix/* + +#But not the templates and non bitrix components +!/bitrix/templates +!/bitrix/components +/bitrix/components/bitrix + +#Exclude bitrix gadgets +!/bitrix/gadgets +/bitrix/gadgets/bitrix + +#User can use that directory to store some stuff, but it's not really recommended, just use /local instead of this +!/bitrix/php_interface/ + +#Exclude database configs +/bitrix/php_interface/dbconn.php + +#Exclude default file storage directory +/upload/ From e9883e5f27a5e38b452675efacbe4b0176532c18 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Thu, 22 Nov 2018 15:34:14 -0400 Subject: [PATCH 30/31] update header for Drupal template --- Drupal.gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Drupal.gitignore b/Drupal.gitignore index 5e907072..50d3eef8 100644 --- a/Drupal.gitignore +++ b/Drupal.gitignore @@ -1,6 +1,6 @@ # gitignore template for Drupal 8 projects # -# earlier versions of Drupal are tracked in `ecosystem/Python/` +# earlier versions of Drupal are tracked in `community/Python/` # Ignore configuration files that may contain sensitive information /sites/*/*settings*.php @@ -43,4 +43,4 @@ /README.txt /robots.txt /update.php -/web.config \ No newline at end of file +/web.config From f7c4f2e4e95460cfc93384dc66155bcaf8c3d930 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Thu, 22 Nov 2018 15:38:46 -0400 Subject: [PATCH 31/31] line endings --- community/DotNet/InforCMS.gitignore | 2 +- community/DotNet/Kentico.gitignore | 2 +- community/Golang/Hugo.gitignore | 2 +- community/Logtalk.gitignore | 2 +- community/PHP/CodeSniffer.gitignore | 2 +- community/PHP/Pimcore.gitignore | 2 +- community/Racket.gitignore | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/community/DotNet/InforCMS.gitignore b/community/DotNet/InforCMS.gitignore index 6f4d951e..29c7d8e5 100644 --- a/community/DotNet/InforCMS.gitignore +++ b/community/DotNet/InforCMS.gitignore @@ -12,4 +12,4 @@ ExportedFiles.xml # Force include portal SupportFiles !Model/Portal/*/SupportFiles/[Bb]in/ -!Model/Portal/PortalTemplates/*/SupportFiles/[Bb]in \ No newline at end of file +!Model/Portal/PortalTemplates/*/SupportFiles/[Bb]in diff --git a/community/DotNet/Kentico.gitignore b/community/DotNet/Kentico.gitignore index 6c6d8d63..3b278b6a 100644 --- a/community/DotNet/Kentico.gitignore +++ b/community/DotNet/Kentico.gitignore @@ -61,4 +61,4 @@ AppSettings.config ConnectionStrings.config # Project media libraries (recommend shared file storage) -# e.g. CMS/{SiteCodeName} \ No newline at end of file +# e.g. CMS/{SiteCodeName} diff --git a/community/Golang/Hugo.gitignore b/community/Golang/Hugo.gitignore index 23f43cbe..acccf884 100644 --- a/community/Golang/Hugo.gitignore +++ b/community/Golang/Hugo.gitignore @@ -5,4 +5,4 @@ /public/ # executable may be added to repository -hugo.exe \ No newline at end of file +hugo.exe diff --git a/community/Logtalk.gitignore b/community/Logtalk.gitignore index d02dd2e1..c680e647 100644 --- a/community/Logtalk.gitignore +++ b/community/Logtalk.gitignore @@ -16,4 +16,4 @@ logtalk_doclet_logs/ *.qo *.ql *.itf -*.po \ No newline at end of file +*.po diff --git a/community/PHP/CodeSniffer.gitignore b/community/PHP/CodeSniffer.gitignore index e2d9e306..d4b37684 100644 --- a/community/PHP/CodeSniffer.gitignore +++ b/community/PHP/CodeSniffer.gitignore @@ -4,4 +4,4 @@ # Recommended template: PHP.gitignore /vendor/* -/wpcs/* \ No newline at end of file +/wpcs/* diff --git a/community/PHP/Pimcore.gitignore b/community/PHP/Pimcore.gitignore index 549e7a8f..4090b4ad 100644 --- a/community/PHP/Pimcore.gitignore +++ b/community/PHP/Pimcore.gitignore @@ -50,4 +50,4 @@ /website/var/user-image/* # keep .dummy files -!.dummy \ No newline at end of file +!.dummy diff --git a/community/Racket.gitignore b/community/Racket.gitignore index c97e0899..962478a1 100644 --- a/community/Racket.gitignore +++ b/community/Racket.gitignore @@ -12,4 +12,4 @@ compiled/ *.zo # Dependency tracking files -*.dep \ No newline at end of file +*.dep