<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:00:29 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-3809] Add spotless to the build</title>
                <link>https://jira.mongodb.org/browse/JAVA-3809</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description></description>
                <environment></environment>
        <key id="1435024">JAVA-3809</key>
            <summary>Add spotless to the build</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="esha.bhargava@mongodb.com">Esha Bhargava</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Aug 2020 14:29:39 +0000</created>
                <updated>Wed, 30 Mar 2022 23:14:36 +0000</updated>
                                                                            <component>Internal</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3563428" author="JIRAUSER1258163" created="Wed, 13 Jan 2021 20:29:17 +0000"  >&lt;blockquote&gt;&lt;p&gt;Alternatively investigate: &lt;a href=&quot;https://github.com/ec4j&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ec4j&lt;/a&gt; inline with &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3922&quot; title=&quot;Share an EditorConfig config&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3922&quot;&gt;&lt;del&gt;JAVA-3922&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The only Gradle plugin ec4j has is &lt;a href=&quot;https://github.com/ec4j/editorconfig-gradle-plugin&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ec4j/editorconfig-gradle-plugin&lt;/a&gt;, and it seems dormant (the last commit was 2 years ago) and outdated (the last commit to &lt;a href=&quot;https://github.com/ec4j/editorconfig-maven-plugin&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ec4j/editorconfig-maven-plugin&lt;/a&gt; is 2 month old, so the ec4j team does work on plugins, but not on the Gradle plugin).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://editorconfig.org&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;editorconfig.org&lt;/a&gt; points to only one Gradle plugin, which is &lt;a href=&quot;https://github.com/ec4j/editorconfig-gradle-plugin&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ec4j/editorconfig-gradle-plugin&lt;/a&gt;. Searching the Internet also does not provide any other Gradle plugins.&lt;/p&gt;

&lt;p&gt;I am inclined to think that starting to use a dormant plugin is a good idea. Taking into account that &lt;a href=&quot;https://github.com/diffplug/spotless/tree/main/plugin-gradle&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Spotless plugin for Gradle&lt;/a&gt; does not support the EditorConfig format, we have to chose &lt;em&gt;either&lt;/em&gt; using &lt;tt&gt;.editorconfig&lt;/tt&gt; checked in a repo (flexible settings, but no way to enforce the format by having a pre-commit hook), or using Spotless (we are limited to using one of the few pre-configured formats, but are able to create a pre-commit hook). This was briefly discussed during the JVM triage meeting on 20201-Jan-11, and the decision was to use &lt;tt&gt;.editorconfig&lt;/tt&gt; (though I personally would prefer having a pre-commit hook, which means using Spotless).&lt;/p&gt;</comment>
                            <comment id="3557770" author="ross@10gen.com" created="Mon, 11 Jan 2021 16:01:15 +0000"  >&lt;p&gt;Alternatively investigate:  &lt;a href=&quot;https://github.com/ec4j&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ec4j&lt;/a&gt; inline with &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3922&quot; title=&quot;Share an EditorConfig config&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3922&quot;&gt;&lt;del&gt;JAVA-3922&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3557633" author="ross@10gen.com" created="Mon, 11 Jan 2021 15:17:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/diffplug/spotless/issues/734&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/diffplug/spotless/issues/734&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3554495" author="ross@10gen.com" created="Fri, 8 Jan 2021 09:45:11 +0000"  >&lt;p&gt;The initial hit of using spotless can lead to a lot of code churn over a single commit.  Here is a great article about ignoring bulk change commits when using git blame: &lt;a href=&quot;https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1583481">JAVA-3922</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>JAVA-3431</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyvb7r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>