Skip to content
  1. Jun 08, 2024
  2. May 21, 2024
  3. Feb 08, 2024
    • Slatian's avatar
      Better shellcheck tooling · 54b6c1e4
      Slatian authored and Simon Lees's avatar Simon Lees committed
      Adds a script for developers that builds a given xdg-util using the Makefile, shellchecks it and calculates the lines in the source file.
      
      This should allow easier shellchecking of the final output and avoid getting used to false positives.
      
      This also disables SC3043 (`local <name>` statements without an declaration) which causes more noise than necessary.
      54b6c1e4
  4. Feb 06, 2024
  5. Feb 03, 2024
  6. Jan 30, 2024
  7. Jan 23, 2024
  8. Dec 04, 2023
  9. Dec 03, 2023
  10. Nov 27, 2023
  11. Nov 16, 2023
    • Slatian's avatar
      Shellchecked xdg-mime.in: · dbd5f25f
      Slatian authored
      * Replace legacy backticks with "$(
      * Fix ``for `echo $a | sed 's/:/ /g'`; …`` antipattern usinf IFS=:
      * Quote a lot of filepaths to avoid time of check time od use inconsistencies
      * Quote all other use of variables
      	* for none of them not-quoting seemend intentional
      	* even where it just "doen't hurt"
      	* except for `for` loops 😉
      * disable checks for mispelled variables where the spelling is intentional
      * move the `local` bashisms to thwir own lines so that when a posix shell trips over them the script shouldn't fail because of them.
      
      Did *not* fix:
      * local is posix "incompatible" (SC3043) (but worked around it)
      * SC2086 (info): Double quote to prevent globbing and word splitting. For `$xdg_redirect_output` pattern.
      dbd5f25f
  12. Nov 15, 2023
    • Simon Lees's avatar
      Update ChangeLog with latest changes · 21fb316b
      Simon Lees authored
      21fb316b
    • Slatian's avatar
      Shellchecked xdg-open · 2d9dfb3f
      Slatian authored and Simon Lees's avatar Simon Lees committed
      * Added a .shellcheckrc file
      * Replace legacy backticks with `"$(`
      * Comment where `read -r` is inteletially placed and where the `-r` is omitted.
      * Add quotes where they don't hurt
      * fix iterating over user and system_dirs by using IFS properly in `open_generic_xdg_mime`
      * Moved some `local` declarations out of the way
      * Remove unused variable from `open_envvar`
      * Disable checks fir the scary looking part of `open_envvar`
      * Removed unneccessary variable in `open_flatpak`
      *
      
      Did *not* fix:
      * `local` is posix "incompatible"
      2d9dfb3f
    • Slatian's avatar
      Shellchecked xdg-utils-common.in · be7cc695
      Slatian authored and Simon Lees's avatar Simon Lees committed
      with an always quote, unless intended policy
      except for SC2268 (x prefixes)
      be7cc695
  13. Nov 14, 2023
  14. Oct 29, 2023
  15. Oct 25, 2023
  16. Oct 11, 2023
  17. Oct 10, 2023
  18. Oct 09, 2023
  19. Sep 29, 2023
Loading