appydave-tools 0.54.0 → 0.55.0

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: ad89af91a1c5f675f56c18a4ae9847a697f707c498761babdc2150bc967f24e3
4
- data.tar.gz: 396854a45828e0bddc16d5e84772a8f73dc43a18d54483012d4bb5a7cfed675f
3
+ metadata.gz: d2ee9f523cadcc7a664c9eb568dbafd833363a011e60f006bcb249e5fa45e768
4
+ data.tar.gz: 11f6b4a34e4a13969674557b2bc56f19f4e4ae1a56487fc62e9e5279bab305a2
5
5
  SHA512:
6
- metadata.gz: 697f5b020e091548cf5b1986a59f801caf4e75ccf007581cd8cd41ecddbc85c9b4dd5f6cc4f0dd99747340bfd722dbe47204e6f2b12ec972735489aa5bd598cc
7
- data.tar.gz: 60eb9b9eeb63abb866b865525242a387eebc9eb5e0b1d4bf104a41ee9de7d42a7f72e9665099321be1c5f48973f39e79a90add357f5accd1657745dba86baa32
6
+ metadata.gz: b7a9ca99ce9fe351eb0440f353f6ded07bed8aa6dd675cc24dc9a92bb0321b33825ce2e03a5bc746acd294dda454b6b3f8a5360507f3282742cffbc0233cb674
7
+ data.tar.gz: fb0c3d660664c9eb0aaff6e5818a197cf4e278f383208c3037420d81f9dfc12af0296506aa946b2144bff9cc158fc492085b7a590fc17dbf9ad6bd6bba094a20
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [0.54.0](https://github.com/appydave/appydave-tools/compare/v0.53.0...v0.54.0) (2025-11-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * add brand context header to project list showing git branch, S3 config, and SSD path ([48d9523](https://github.com/appydave/appydave-tools/commit/48d9523793501c933fb78e8b68b56e18206c3d61))
7
+
1
8
  # [0.53.0](https://github.com/appydave/appydave-tools/compare/v0.52.0...v0.53.0) (2025-11-21)
2
9
 
3
10
 
@@ -76,6 +76,8 @@ module Appydave
76
76
  manifest = load_manifest
77
77
  if manifest
78
78
  show_manifest_summary(manifest)
79
+ puts ''
80
+ show_brand_suggestions(manifest)
79
81
  else
80
82
  puts '❌ Manifest not found'
81
83
  puts " Run: dam manifest #{brand}"
@@ -349,6 +351,50 @@ module Appydave
349
351
  '⚠️ Stale'
350
352
  end
351
353
  end
354
+
355
+ def show_brand_suggestions(manifest)
356
+ suggestions = []
357
+
358
+ # Check manifest age
359
+ if manifest[:config] && manifest[:config][:last_updated]
360
+ age = calculate_manifest_age(manifest[:config][:last_updated])
361
+ days = age / 86_400 if age
362
+ suggestions << "dam manifest #{brand} # Manifest is stale (#{days.round}d old)" if days && days > 7
363
+ end
364
+
365
+ # Check git status if repo exists
366
+ if git_repo?
367
+ status = git_status_info
368
+ if status[:modified_count].positive? || status[:untracked_count].positive?
369
+ suggestions << "git add . && git commit -m 'Update' # Uncommitted changes (#{status[:modified_count]} modified, #{status[:untracked_count]} untracked)"
370
+ end
371
+ if status[:ahead].positive?
372
+ suggestions << "git push # Push #{status[:ahead]} commit#{'s' if status[:ahead] != 1} to remote"
373
+ end
374
+ if status[:behind].positive?
375
+ suggestions << "git pull # Pull #{status[:behind]} commit#{'s' if status[:behind] != 1} from remote"
376
+ end
377
+ end
378
+
379
+ # Check for projects not backed up to SSD (task #43)
380
+ ssd_configured = brand_info.locations.ssd_backup &&
381
+ brand_info.locations.ssd_backup != 'NOT-SET'
382
+ if ssd_configured
383
+ projects_without_ssd = manifest[:projects].select do |p|
384
+ p[:storage][:local][:exists] && !p[:storage][:ssd][:exists]
385
+ end
386
+ if projects_without_ssd.any?
387
+ count = projects_without_ssd.size
388
+ suggestions << "dam archive #{brand} <project> # #{count} project#{'s' if count != 1} not backed up to SSD"
389
+ end
390
+ end
391
+
392
+ # Show suggestions if any
393
+ return unless suggestions.any?
394
+
395
+ puts '💡 Suggestions:'
396
+ suggestions.each { |s| puts " #{s}" }
397
+ end
352
398
  end
353
399
  end
354
400
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.54.0'
5
+ VERSION = '0.55.0'
6
6
  end
7
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appydave-tools",
3
- "version": "0.54.0",
3
+ "version": "0.55.0",
4
4
  "description": "AppyDave YouTube Automation Tools",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appydave-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys