You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ds...@apache.org on 2024/02/13 23:09:09 UTC

(solr) branch main updated: Remove dot-files not needed and update .gitignore (#2189)

This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new a89b2a62b91 Remove dot-files not needed and update .gitignore (#2189)
a89b2a62b91 is described below

commit a89b2a62b9124d471ad62dd56f75418bf38c649a
Author: David Smiley <ds...@apache.org>
AuthorDate: Tue Feb 13 18:09:03 2024 -0500

    Remove dot-files not needed and update .gitignore (#2189)
---
 .dir-locals.el |  3 --
 .gitignore     | 12 +++-----
 .hgignore      |  4 ---
 .inferconfig   | 96 ----------------------------------------------------------
 .lift.toml     | 13 --------
 .stignore      |  1 -
 6 files changed, 4 insertions(+), 125 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
deleted file mode 100644
index c51e1232603..00000000000
--- a/.dir-locals.el
+++ /dev/null
@@ -1,3 +0,0 @@
-;; set up Lucene style for emacs
-((java-mode . ((c-basic-offset . 2))))
-
diff --git a/.gitignore b/.gitignore
index 44c1d680b1c..8f874d5c087 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,8 +11,6 @@ build/
 **/*.ipr
 **/*.iws
 out/
-#    IntelliJ creates this folder, ignore.
-/dev-tools/missing-doclet/out/
 
 # Eclipse
 **/.project
@@ -24,9 +22,6 @@ out/
 
 .editorconfig
 
-# syncthing
-.stignore
-
 # macOS
 .DS_Store
 
@@ -34,12 +29,13 @@ out/
 .pydevproject
 __pycache__
 
-# Emacs backup
-*~
-
 # Ignore lucene included build
 /lucene
 
 # Ignore gradle wrapper
 gradle/wrapper/gradle-wrapper.jar
 .gradletasknamecache
+
+# WANT TO ADD MORE?  You can tell Git without adding to this file:
+# See https://git-scm.com/docs/gitignore
+# In particular, if you have tools you use, add to $GIT_DIR/info/exclude or use core.excludesFile
\ No newline at end of file
diff --git a/.hgignore b/.hgignore
deleted file mode 100644
index 1e17ec787de..00000000000
--- a/.hgignore
+++ /dev/null
@@ -1,4 +0,0 @@
-syntax: glob
-*/build/*
-*.class
-
diff --git a/.inferconfig b/.inferconfig
deleted file mode 100644
index d212c13c1a1..00000000000
--- a/.inferconfig
+++ /dev/null
@@ -1,96 +0,0 @@
-{
-  "racerd-ignore-classes": [
-    "org.apache.solr.common.util.ObjectReleaseTracker",
-    "org.noggit.CharArr"
-  ],
-  "external-java-packages": [
-    "org.slf4j"
-  ],
-  "quandary-sources": [
-    {
-      "procedure": "javax.servlet.http.HttpServletRequest.getParameter",
-      "kind": "UserControlledString"
-    },
-    {
-      "procedure": "javax.servlet.http.HttpServletRequest.getHeader",
-      "kind": "UserControlledString"
-    },
-    {
-      "procedure": "java.io.BufferedReader.read",
-      "kind": "UserControlledString"
-    },
-    {
-      "procedure": "javax.servlet.http.HttpServletRequest.getAttribute",
-      "kind": "UserControlledString"
-    }
-  ],
-  "quandary-sanitizers": [
-    {
-      "procedure": "org.owasp.encoder.Encode.forHtml"
-    },
-    {
-      "procedure": "org.owasp.esapi.Encoder.encodeForSQL"
-    },
-    {
-      "procedure": "org.apache.commons.lang.StringEscapeUtils.escapeHtml"
-    }
-  ],
-  "quandary-sinks": [
-    {
-      "procedure": "java.util.logging.Logger.info",
-      "kind": "Logging"
-    },
-    {
-      "procedure": "java.util.logging.Logger.log",
-      "kind": "Logging"
-    },
-    {
-      "procedure": "java.io.PrintWriter.write",
-      "kind": "Other"
-    },
-    {
-      "procedure": "org.springframework.jdbc.core.JdbcTemplate.queryForObject",
-      "kind": "SQLRead"
-    },
-    {
-      "procedure": "javax.jdo.PersistenceManager.newQuery",
-      "kind": "SQLWrite"
-    },
-    {
-      "procedure": "org.hibernate.Session.createQuery",
-      "kind": "SQLWrite"
-    },
-    {
-      "procedure": "org.apache.turbine.om.peer.BasePeer.executeQuery",
-      "kind": "SQLWrite"
-    },
-    {
-      "procedure": "javax.persistence.EntityManager.createQuery",
-      "kind": "SQLWrite"
-    },
-    {
-      "procedure": "java.sql.Statement.executeQuery",
-      "kind": "SQLWrite"
-    },
-    {
-      "procedure": "java.sql.PreparedStatement.executeUpdate",
-      "kind": "SQLWrite"
-    },
-    {
-      "procedure": "java.sql.PreparedStatement.executeQuery",
-      "kind": "SQLWrite"
-    },
-    {
-      "procedure": "com.google.codeu.data.Datastore.storeMessage",
-      "kind": "HTML"
-    },
-    {
-      "procedure": "org.springframework.web.servlet.ModelAndView",
-      "kind": "HTML"
-    },
-    {
-      "procedure": "javax.servlet.http.HttpSession.setAttribute",
-      "kind": "HTML"
-    }
-  ]
-}
diff --git a/.lift.toml b/.lift.toml
deleted file mode 100644
index 8666f6c5ad7..00000000000
--- a/.lift.toml
+++ /dev/null
@@ -1,13 +0,0 @@
-# This file can configure Lift PR static analysis. 
-# Docs for adding, removing or changing checks can be found here:
-# https://help.sonatype.com/lift/configuring-lift
-
-jdkVersion = "11"
-disableTools = [ "refactor-first" ]
-ignoreRules = [ "INTERFACE_NOT_THREAD_SAFE" ]
-ignoreFiles = '''
-**/test/**
-**/*.min.js
-solr/webapp/web/libs/*.js
-'''
-build = "./gradlew jar"
diff --git a/.stignore b/.stignore
deleted file mode 100644
index 378eac25d31..00000000000
--- a/.stignore
+++ /dev/null
@@ -1 +0,0 @@
-build