appydave-tools 0.31.0 → 0.31.2
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 +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/appydave/tools/dam/repo_status.rb +18 -2
- data/lib/appydave/tools/version.rb +1 -1
- data/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d71eea74244afc1759f28541b577f58dcbef18d9d41a2915b71b009ef3a0560
|
|
4
|
+
data.tar.gz: 1aa6391d4c239f940dfb29331c8a1148b3653c481b96704a65674e5e994600f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c0ddfef1fa42b395b1f0912cba44176fd9d4f65ea90314a0e295c6ba68b3b898c6a37f05e2c9c8945cf27e08bda8c91e1c6ad8ea14eddf3745d8dbddf4a9573
|
|
7
|
+
data.tar.gz: 48d56692a182c8da2c256ee7ea1f0128e90bd25505ee0c1aa06e77dd9ce8b344106e60c21ed43e6bf3aa52bfba42b12ac1afd4d605a1e26af2cff9b62056d367
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [0.31.1](https://github.com/appydave/appydave-tools/compare/v0.31.0...v0.31.1) (2025-11-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add git fetch to repo-status for accurate remote sync detection ([cdbf411](https://github.com/appydave/appydave-tools/commit/cdbf411d4978195c247656c0e443f390d60cdfe8))
|
|
7
|
+
|
|
8
|
+
# [0.31.0](https://github.com/appydave/appydave-tools/compare/v0.30.0...v0.31.0) (2025-11-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* fix ManifestGenerator to scan only projects subfolder when configured - prevents scanning brand root organizational folders (brand/, personas/, video-scripts/) as projects ([2c8d84c](https://github.com/appydave/appydave-tools/commit/2c8d84c70f783a0f87ff36cc1e79c00df668def5))
|
|
14
|
+
|
|
1
15
|
# [0.30.0](https://github.com/appydave/appydave-tools/compare/v0.29.0...v0.30.0) (2025-11-21)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -62,6 +62,9 @@ module Appydave
|
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
def show_git_info(indent: '')
|
|
65
|
+
# Fetch latest from remote to ensure accurate status
|
|
66
|
+
fetch_from_remote
|
|
67
|
+
|
|
65
68
|
status = git_status_info
|
|
66
69
|
|
|
67
70
|
puts "#{indent}🌿 Branch: #{status[:branch]}"
|
|
@@ -81,8 +84,14 @@ module Appydave
|
|
|
81
84
|
|
|
82
85
|
def sync_status_text(ahead, behind)
|
|
83
86
|
parts = []
|
|
84
|
-
|
|
85
|
-
|
|
87
|
+
if ahead.positive?
|
|
88
|
+
commit_word = ahead == 1 ? 'commit' : 'commits'
|
|
89
|
+
parts << "#{ahead} #{commit_word} to push"
|
|
90
|
+
end
|
|
91
|
+
if behind.positive?
|
|
92
|
+
commit_word = behind == 1 ? 'commit' : 'commits'
|
|
93
|
+
parts << "#{behind} #{commit_word} to pull"
|
|
94
|
+
end
|
|
86
95
|
parts.join(', ')
|
|
87
96
|
end
|
|
88
97
|
|
|
@@ -156,6 +165,13 @@ module Appydave
|
|
|
156
165
|
rescue StandardError
|
|
157
166
|
# Silently fail if git status fails
|
|
158
167
|
end
|
|
168
|
+
|
|
169
|
+
# Fetch latest changes from remote to ensure accurate sync status
|
|
170
|
+
def fetch_from_remote
|
|
171
|
+
`git -C "#{brand_path}" fetch origin 2>/dev/null`
|
|
172
|
+
rescue StandardError
|
|
173
|
+
# Silently fail if fetch fails (e.g., no network, no remote)
|
|
174
|
+
end
|
|
159
175
|
end
|
|
160
176
|
end
|
|
161
177
|
end
|
data/package.json
CHANGED