Skip to content
Snippets Groups Projects
Unverified Commit 1ab05174 authored by dpsutton's avatar dpsutton Committed by GitHub
Browse files

Adds dev/src/dev/nocommit to ignore file (#13353)

* Adds dev/src/dev/nocommit to ignore file [ci skip]

now you can create a folder nocommit/ under the dev classpath root so
you can keep some namespaces around as you work on features.

Ex:

```clojure
(ns dev.nocommit.oom
  (:require [metabase.models
             [database :refer [Database]]
             [field :refer [Field]]
             [table :refer [Table]]]
            [metabase.sync.analyze
             [fingerprint :as analyze.fingerprint]]
            [metabase.sync :as sync]
            [metabase.sync
             [field-values :as sync.field-values]]
            [metabase.models.field-values :as field-values]
            [metabase.sync.analyze.fingerprint.fingerprinters :as fingerprinters]
            [metabase
             [util :as u]]
            [metabase.sync.sync-metadata.fields :as metadata.fields]
            [metabase.sync.sync-metadata.fields.fetch-metadata :as fetch-metadata]
            [metabase.query-processor :as qp]
            [toucan.db :as db]
            [metabase.db
             [metadata-queries :as metadata-queries]]))

(def pg (Database 4))

(comment
  (fetch-metadata/db-metadata pg emails-table)
  (metadata.fields/sync-fields! pg)

  (sync/sync-database! pg))

(clojure.test/run-tests 'whatever-namespace)

```

I ended up with lots of `(comment ...)` blocks in lots of different
namespaces and this has helped keep my worktree clean.

* Empty commit to trigger CI [ci skip]

skipping ci thought so hopefully the checks on Github are satisified.
parent a8083e1f
No related branches found
No related tags found
No related merge requests found
......@@ -72,3 +72,4 @@ profiles.clj
target/checksum.txt
xcshareddata
xcuserdata
dev/src/dev/nocommit/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment