wslc-wip 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3599b0a90a3528f5366a5ea007c213b60d66e47070e0ab419f267c7786587760
4
- data.tar.gz: 5afad9f0783d325bdf5ccc72f84d3b4e7308ff326dab3c5d0837e029ab5b234e
3
+ metadata.gz: 39d1c4da0d3b7446f90692ccf3d16ed693613edce14fafc4941d9fd51732486b
4
+ data.tar.gz: bdd0f8e5b7a5a18ffd833d77844c5d0acf5638f0e0e2f2a337c0129b9cb0682a
5
5
  SHA512:
6
- metadata.gz: e57b54f645f50bc881a3702f54cb3a91ce099351047b75bd00df8aebfdea2536fb257756dd6f7d2277d629578d6afa764c7531befcd8b3b4eaf58e6174bbb818
7
- data.tar.gz: cc735ce314bd1c1f5e8f543d1a4f145dd61465cb236f8c99adc79d73104d454f00d4d79d0087daefa0be5b877eab76166ca14b3c87dff8892d469421de512e4e
6
+ metadata.gz: c5e3824808f307422ad5e6e402309242bb884bbcc2b3d708e8f576a97100a66fda81e20e5b63922b5123160c7348987716ca951e8de37f8a4875b522cd23d471
7
+ data.tar.gz: a187b673ed8efea261c2c8218e69940e1e5fd64cdc911ea2b217f2276eb72193d674c4933709ce1437f67359ac46376a3280b04c397d3f7e98d78f2492141624
@@ -16,9 +16,14 @@ module Wip
16
16
  DEFAULT_TARGET = '/app'
17
17
  DEFAULT_BINARY = 'rsync'
18
18
  DEFAULT_INTERVAL = 2
19
- # -a preserves modes and timestamps so file watchers and bundler see a
20
- # faithful copy rather than a tree that looks freshly written every sync.
21
- BASE_OPTIONS = %w[-a].freeze
19
+ # Minimal set for a fast local-to-local mirror: -r walks the tree, -l
20
+ # keeps symlinks as symlinks, -t preserves mtimes so re-syncs can quick-
21
+ # check (size+mtime) instead of re-transferring unchanged files, and
22
+ # --whole-file skips the delta-transfer checksum pass that only pays off
23
+ # over a slow network. Owner/group/perm preservation (-o -g -p, part of
24
+ # -a) is left out since both sides are the same user; add them back via
25
+ # sync.options if a project needs them.
26
+ BASE_OPTIONS = %w[-r -l -t --whole-file].freeze
22
27
  # Trailing mount options wslc/docker accept after the container path.
23
28
  VOLUME_MODES = %w[ro rw z Z cached delegated consistent].freeze
24
29
 
data/lib/wip/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wip
4
- VERSION = '0.7.3'
4
+ VERSION = '0.7.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wslc-wip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wip contributors