1. 18 Nov, 2019 1 commit
    • David Beitey's avatar
      Fix mounting custom directories via sshfs · 48f6c64c
      David Beitey authored
      It appears that the script was attempting to allow URLs with a colon
      present to pass through unmodified, so someone could specify a custom
      directory to found, such as `ssh://host.example.com:/path/on/remote`.
      However, the regex check for  URLs was testing for the character
      literals :" (colon, double quote) within a protocol-stripped URL (which
      it has been at this point int he code, being
      `host.example.com:/path/on/remote`). Given how the later `sshfs` line
      operates (wraps $FINAL_REMOTE_URL in double quotes), if one was to
      specify a URL with `:"`, then it'll never end up working when passed to
      sshfs.
      
      This change simplifies the regex match for stripped URLs to just a `.*:`
      (colon character somewhere) such that if schapps detects a URL that's
      been passed to it like the first example above, it will mount
      `/path/on/remote` from `host.example.com`.
      
      Prior to this patch, there was no way of setting `remote.url` to a value
      that would allow mounting a specific path over sshfs; one could only
      mount `host.example.com:` (the default, which corresponds to the user's
      home directory).
      
      Given how the original code was written, it seems like it might have
      just been a typo having the double-quote character there.
      48f6c64c
  2. 22 Aug, 2019 1 commit
  3. 17 Jul, 2019 2 commits
  4. 14 May, 2019 1 commit
  5. 13 May, 2019 1 commit
  6. 28 Apr, 2019 6 commits
  7. 27 Apr, 2019 3 commits
  8. 26 Apr, 2019 2 commits
  9. 02 Feb, 2019 5 commits
  10. 22 Sep, 2018 2 commits
  11. 07 Aug, 2018 1 commit
  12. 07 Mar, 2018 1 commit
  13. 16 Nov, 2017 2 commits
  14. 09 Sep, 2017 1 commit
  15. 17 Jun, 2017 1 commit
  16. 22 Aug, 2016 1 commit
  17. 01 Aug, 2016 1 commit
  18. 27 Jul, 2016 4 commits
  19. 14 Jul, 2016 1 commit
  20. 25 May, 2016 1 commit
  21. 19 May, 2016 1 commit
    • Michal Hrusecky's avatar
      schnapps: Little cleanup and enhancement · 66d331f3
      Michal Hrusecky authored
      Important fixes:
      * not trying to remove lock before I lock it
      * fixed delete and mount of multiple snapshots
      * fixed modify command
      
      Few changes:
      * ignoring errors in cleanup function
      * recording date just in case
      * more intuitive description in create command
      
      One new feature:
      * new diff command
      66d331f3
  22. 06 May, 2016 1 commit