]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Merge pull request #318 from b3nj5m1n/fix-missing-program
authorb3nj5m1n <47924309+b3nj5m1n@users.noreply.github.com>
Sun, 7 Jan 2024 07:37:45 +0000 (08:37 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Jan 2024 07:37:45 +0000 (08:37 +0100)
Fix skipping one program during check

22 files changed:
mycli.json [new file with mode: 0644]
programs/boinc.json [new file with mode: 0644]
programs/dropbox.json [new file with mode: 0644]
programs/earthly.json [new file with mode: 0644]
programs/erlang.json [new file with mode: 0644]
programs/flatpak.json
programs/flyctl.json [new file with mode: 0644]
programs/ghc.json
programs/itch.json [new file with mode: 0644]
programs/kani.json [new file with mode: 0644]
programs/mixxx.json [new file with mode: 0644]
programs/mtpaint.json [new file with mode: 0644]
programs/neomutt.json [new file with mode: 0644]
programs/ngrok.json [new file with mode: 0644]
programs/nix.json
programs/ohmyzsh.json
programs/openjfx.json [new file with mode: 0644]
programs/pkg.json [new file with mode: 0644]
programs/protonvpn-cli.json [new file with mode: 0644]
programs/roswell.json [new file with mode: 0644]
programs/zoom.json
programs/zsh.json

diff --git a/mycli.json b/mycli.json
new file mode 100644 (file)
index 0000000..13febf4
--- /dev/null
@@ -0,0 +1,20 @@
+{
+    "files": [
+        {
+            "help": "Move the file to $XDG_CONFIG_HOME/mycli/myclirc\n",
+            "movable": true,
+            "path": "$HOME/.myclirc"
+        },
+        {
+            "help": "Set MYCLI_HISTFILE to $XDG_STATE_HOME/mycli/mycli_history\n",
+            "movable": true,
+            "path": "$HOME/.mycli-history"
+        },
+        {
+            "help": "Set this in your myclirc:\n```log_file=~/.cache/mycli.log```\nDoes not work with enviorment variables\n Relevant issue : https://github.com/dbcli/mycli/issues/581\n",
+            "movable": true,
+            "path": "$HOME/.mycli.log"
+        }
+    ],
+    "name": "mycli"
+}
diff --git a/programs/boinc.json b/programs/boinc.json
new file mode 100644 (file)
index 0000000..220c91c
--- /dev/null
@@ -0,0 +1,15 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.BOINC",
+            "movable": false,
+            "help": "Currently not supported.\n\nhttps://github.com/BOINC/boinc/blob/b978d5c14aab539116b885deebe30aa62d538fba/lib/diagnostics.cpp#L302-L303\n"
+        },
+        {
+            "path": "$HOME/.BOINC Manager",
+            "movable": false,
+            "help": "Currently not supported.\n"
+        }
+    ],
+    "name": "BOINC"
+}
diff --git a/programs/dropbox.json b/programs/dropbox.json
new file mode 100644 (file)
index 0000000..38c9882
--- /dev/null
@@ -0,0 +1,15 @@
+{
+  "name": "Dropbox",
+  "files": [
+      {
+        "path": "$HOME/.dropbox",
+        "movable": false,
+        "help": "Currently unsupported.\n\n_Relevant issue_: https://github.com/dropbox/nautilus-dropbox/issues/5\n"
+      },
+      {
+        "path": "$HOME/.dropbox-dist",
+        "movable": false,
+        "help": "Currently unsupported.\n\n_Relevant issue_: https://github.com/dropbox/nautilus-dropbox/issues/5\n"
+      }
+  ]
+}
diff --git a/programs/earthly.json b/programs/earthly.json
new file mode 100644 (file)
index 0000000..599fed0
--- /dev/null
@@ -0,0 +1,11 @@
+
+{
+  "name": "earthly",
+  "files": [
+    {
+      "path": "$HOME/.earthly",
+      "movable": false,
+      "help": "Currently unsupported.\n\n_Relevant issue_: https://github.com/earthly/earthly/issues/2210\n"
+        }
+    ]
+}
diff --git a/programs/erlang.json b/programs/erlang.json
new file mode 100644 (file)
index 0000000..01b3c7b
--- /dev/null
@@ -0,0 +1,10 @@
+{
+  "name": "erlang",
+  "files": [
+    {
+      "path": "$HOME/.erlang.cookie",
+      "movable": true,
+      "help": "Erlang supports the XDG spec, so just move this file to _$XDG_CONFIG_HOME/erlang/.erlang.cookie_.\n\n"
+    }
+  ]
+}
index e8c845b229ceaaa987783b74f8fa4d00c06ab86f..a8466d385ea1cca086faab3949cddefa6d7635bc 100644 (file)
@@ -3,7 +3,7 @@
         {
             "path": "$HOME/.var",
             "movable": false,
-            "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/flatpak/flatpak/issues/1519\n"
+            "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/flatpak/flatpak/issues/3997\n"
         }
     ],
     "name": "Flatpak"
diff --git a/programs/flyctl.json b/programs/flyctl.json
new file mode 100644 (file)
index 0000000..95a2249
--- /dev/null
@@ -0,0 +1,10 @@
+{
+  "name": "flyctl",
+  "files": [
+    {
+      "path": "$HOME/.fly",
+      "movable": false,
+      "help": "Currently unsupported.\n\n_Merge Request_: https://github.com/superfly/flyctl/pull/2785\n"
+    }
+  ]
+}
index 800aa65f56e29e6ab7f875008312f51767af6da4..9ab5816661832134f8dbdd9e043d2568cadef53f 100644 (file)
@@ -3,7 +3,7 @@
         {
             "path": "$HOME/.ghc",
             "movable": false,
-            "help": "Currently unsupported.\n"
+            "help": "Supported starting with v9.4.1\n\nhttps://downloads.haskell.org/~ghc/9.4.1/docs/users_guide/9.4.1-notes.html?highlight=xdg\n"
         }
     ],
     "name": "GHC"
diff --git a/programs/itch.json b/programs/itch.json
new file mode 100644 (file)
index 0000000..b35defe
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "itch",
+    "files": [
+        {
+            "path": "$HOME/.itch",
+            "movable": false,
+            "help": "Currently unsupported.\n\nhttps://github.com/itchio/itch-setup/blob/f7e77569fee0b2dcf91b19e3c6533f4a1b5f02e9/native/native_linux.go#L39-L41\n"
+        }
+    ]
+}
diff --git a/programs/kani.json b/programs/kani.json
new file mode 100644 (file)
index 0000000..b12d5c1
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.kani",
+            "movable": true,
+            "help": "Export the following environment variables:\n\n```bash\nexport KANI_HOME=\"$XDG_DATA_HOME\"/kani\n```\n"
+        }
+    ],
+    "name": "kani"
+}
diff --git a/programs/mixxx.json b/programs/mixxx.json
new file mode 100644 (file)
index 0000000..a654367
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.mixxx",
+            "movable": false,
+            "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/mixxxdj/mixxx/issues/8090\n"
+        }
+    ],
+    "name": "Mixx"
+}
diff --git a/programs/mtpaint.json b/programs/mtpaint.json
new file mode 100644 (file)
index 0000000..5568531
--- /dev/null
@@ -0,0 +1,11 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.mtpaint",
+            "movable": true,
+            "help": "mtPaint supports setting its config file path through a system-wide configuration file.\n\nCreate file `/etc/mtpaint/mtpaintrc` and add the following contents:\n\n```userINI = ~/.config/mtpaint```\n\n*Relevant issue:* https://github.com/wjaguar/mtPaint/issues/22"
+        }
+    ],
+    "name": "mtPaint"
+}
+
diff --git a/programs/neomutt.json b/programs/neomutt.json
new file mode 100644 (file)
index 0000000..32dc6e8
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.mutt_certificates",
+            "movable": true,
+            "help": "Move the file to _$XDG_CACHE_HOME/neomutt/certificates_ and add the following to neomuttrc:\n\n```\nset certificate_file=\"$XDG_CACHE_HOME/neomutt/certificates\"\n```\n"
+        }
+    ],
+    "name": "neomutt"
+}
diff --git a/programs/ngrok.json b/programs/ngrok.json
new file mode 100644 (file)
index 0000000..be0fb4f
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "ngrok",
+    "files": [
+        {
+            "path": "$HOME/.ngrok2",
+            "movable": true,
+            "help": "Ngrok v3 uses the XDG spec.\n Update from v2 to v3 and run the following command to automatically relocate your configuration to __XDG_CONFIG_HOME__:\n\n```ngrok config upgrade --relocate```\n\nYou have to manually delete the old folder in your __HOME__ after that."
+        }
+    ]
+}
index 681aea035c6bf6ccb9dd8daadce3a014a4cc3b5b..d4cdcbeab5ff5665661b67fd5496d0f7503c5c70 100644 (file)
@@ -4,17 +4,17 @@
         {
             "path": "$HOME/.nix-channels",
             "movable": false,
-            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
+            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-channels\" \"$XDG_STATE_HOME/nix/channels\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
         },
         {
             "path": "$HOME/.nix-defexpr",
             "movable": false,
-            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
+            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-defexpr\" \"$XDG_STATE_HOME/nix/defexpr\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
         },
         {
             "path": "$HOME/.nix-profile",
             "movable": false,
-            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
+            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-profile\" \"$XDG_STATE_HOME/nix/profile\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
         }
     ]
 }
index 6593cdd18f7b04fe96cb2fe56a45e01a8eeee633..8eb6c92d5faee1bf954947136c30175101a2e020 100644 (file)
@@ -4,6 +4,16 @@
             "path": "$HOME/.oh-my-zsh",
             "movable": true,
             "help": "See the relevant [issue](https://github.com/ohmyzsh/ohmyzsh/issues/9543).\n\nExport the following environment variables:\n\n```bash\nexport ZSH=\"$XDG_DATA_HOME\"/oh-my-zsh \n```\n"
+        },
+        {
+            "path": "$HOME/.zshrc.pre-oh-my-zsh",
+            "movable": true,
+            "help": "If it exists, it is used when switching back to the default shell you had before installing Oh My Zsh. See the [FAQ](https://github.com/ohmyzsh/ohmyzsh/wiki/FAQ#how-do-i-uninstall-oh-my-zsh) for more information.\n\nYou can either back it up elsewhere or delete it.\n"
+        },
+        {
+            "path": "$HOME/.zshrc.pre-oh-my-zsh-[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]_[0-9][0-9]-[0-9][0-9]-[0-9][0-9]",
+            "movable": true,
+            "help": "If it exists, it is used when switching back to the default shell you had before installing Oh My Zsh. See the [FAQ](https://github.com/ohmyzsh/ohmyzsh/wiki/FAQ#how-do-i-uninstall-oh-my-zsh) for more information.\n\nYou can either back it up elsewhere or delete it.\n"
         }
     ],
     "name": "ohmyzsh"
diff --git a/programs/openjfx.json b/programs/openjfx.json
new file mode 100644 (file)
index 0000000..ab8dea9
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "help": "**Disclaimer: some applications don't respect this setting.**\n\nExport the following environment variable:\n\n```bash\nexport _JAVA_OPTIONS=\"-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java -Djavafx.cachedir=${XDG_CACHE_HOME}/openjfx\"\n```\n\n_Relevant pull request:_ https://github.com/javafxports/openjdk-jfx/pull/300\n",
+            "movable": true,
+            "path": "$HOME/.openjfx"
+        }
+    ],
+    "name": "OpenJFX"
+}
diff --git a/programs/pkg.json b/programs/pkg.json
new file mode 100644 (file)
index 0000000..ba113eb
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.pkg-cache",
+            "movable": true,
+            "help": "Export the following environment variable:\n\n```bash\nexport PKG_CACHE_PATH=\"$XDG_CACHE_HOME\"/pkg-cache\n```\n"
+        }
+    ],
+    "name": "pkg"
+}
diff --git a/programs/protonvpn-cli.json b/programs/protonvpn-cli.json
new file mode 100644 (file)
index 0000000..feca603
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.pvpn-cli",
+            "movable": false,
+            "help": "Currently unsupported.\n\n_Relevant Pull Request:_ https://github.com/Rafficer/linux-cli-community/pull/96\n"
+        }
+    ],
+    "name": "protonvpn-cli"
+}
diff --git a/programs/roswell.json b/programs/roswell.json
new file mode 100644 (file)
index 0000000..d83466c
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.roswell",
+            "movable": true,
+            "help": "Export the following environment variables:\n\n```bash\nexport ROSWELL_HOME=\"$XDG_DATA_HOME\"/roswell\n```\n"
+        }
+    ],
+    "name": "roswell"
+}
index d06a39a261e73764a08ceb666ab3647845ce83eb..735d93907dc1778da58f9515c563a1c5f98241b4 100644 (file)
@@ -3,7 +3,7 @@
        "files": [
                {
                        "path": "$HOME/.zoom",
-                       "movable": true,
+                       "movable": false,
                        "help": "Unrecommended: setting the following variable moves the contents of .zoom but the directory itself always gets created. Moreover, it breaks some functionalities eg. being able to start a meeting:\n\n```bash\nexport SSB_HOME=\"$XDG_DATA_HOME\"/zoom\n```\n"
                }
        ]
index ca546538c9977467d67d25e3ca52f67a81a4bf6a..b908485a19739f6f3d474bacfe621c2952015b4f 100644 (file)
@@ -8,7 +8,7 @@
         {
             "help": "Set this in your zshrc:\n\n```bash\ncompinit -d \"$XDG_CACHE_HOME\"/zsh/zcompdump-\"$ZSH_VERSION\"\n```\n",
             "movable": true,
-            "path": "$HOME/.zcompdump"
+            "path": "$HOME/.zcompdump*"
         },
         {
             "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n",
@@ -47,4 +47,4 @@
         }
     ],
     "name": "zsh"
-}
\ No newline at end of file
+}