appydave-tools 0.18.4 → 0.18.5

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: 13697577cf21ab548b3ab152ad3a12194cf26c034eeaf2fdf5325b49730fe120
4
- data.tar.gz: b1d7ee7daf7b60c00b80b0ec399ca7d5664d38d41cdacec959f8f8ba3f440d64
3
+ metadata.gz: 94b533e9d8174f22fe36c1dbc435b1051ddef31ac461184741958e75ae451c47
4
+ data.tar.gz: 252ea976c625cd3a473c46e219e4595e7f568d6f5fdbb96060b8e399cb52fd48
5
5
  SHA512:
6
- metadata.gz: 8d6d9643703e76b3946ca0f5923b74972e04b3981a5cd2ca3ebbac315d2d42c98064dc5e6dc12dbc0833073e1b7b36c5b41f1276b38acb5a01dd86802f7aabce
7
- data.tar.gz: 390852362fe0ecc9c45bf4c45bfb87ef8fc697051026b89e3f93eacdfd55a8ed9796f2892870e2d661ab4491fc0183ac07d4046ae6051588fe4111b1b0140c21
6
+ metadata.gz: 1078bed7c6b2b0f4144af45d572a96c10ffa8e31d34f6dc100bc4094a847be67b500dfdf00c8e67a790e71f5e6946d29105fd37466f4412a9326dbdc509d139a
7
+ data.tar.gz: aa2c82acd177c562f5950b0610c05d4b278e76e44b9bd3af68d89a946dd8ffeb9cfc8359dd3e91f13d738058e7c0504978f9772640a3025bb3b2905044eec5d3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.18.4](https://github.com/appydave/appydave-tools/compare/v0.18.3...v0.18.4) (2025-11-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * document dry-run and force flag support for all DAM commands in usage guide and test plan ([b4f54da](https://github.com/appydave/appydave-tools/commit/b4f54da17589b31c029d5ef62c92af8b3724ee2f))
7
+
1
8
  ## [0.18.3](https://github.com/appydave/appydave-tools/compare/v0.18.2...v0.18.3) (2025-11-10)
2
9
 
3
10
 
@@ -30,17 +30,32 @@
30
30
  **Commands - Phase 2 Complete** (CLI args + auto-detect):
31
31
  - ✅ `dam s3-down` - Download from S3
32
32
  - ✅ `dam s3-status` - Check sync status
33
- - ✅ `dam s3-cleanup` - Delete S3 files
33
+ - ✅ `dam s3-cleanup-remote` / `s3-cleanup-local` - Delete S3/local files
34
34
 
35
- **Commands - Not Yet Migrated**:
36
- - `dam manifest` - Generate project manifest
37
- - `dam archive` - Archive to SSD
38
- - `dam sync-ssd` - Sync from SSD
35
+ **Commands - Phase 3 Complete** (Archive & Manifest):
36
+ - `dam manifest` - Generate project manifest (supports `--all` for all brands)
37
+ - `dam archive` - Archive to SSD with dry-run and force options
38
+ - `dam sync-ssd` - Restore light files from SSD (dry-run supported)
39
39
 
40
- **Utilities - Not Migrated** (not DAM commands):
41
- - ❌ `status-all.sh` - Git status for all repos (workflow script, not needed in gem)
42
- - `sync-all.sh` - Git pull for all repos (workflow script, not needed in gem)
43
- - ❌ `clone-all.sh` - Clone all repos (workflow script, not needed in gem)
40
+ **Git Repository Management Scripts - Intentionally Not Migrated**:
41
+
42
+ These are **shell scripts** for managing the multi-repo video-projects git structure, NOT video asset management commands:
43
+
44
+ - ❌ `status-all.sh` - Runs `git status` on all v-* brand repos (git workflow, not asset management)
45
+ - ❌ `sync-all.sh` - Runs `git pull` on all v-* brand repos (git workflow, not asset management)
46
+ - ❌ `clone-all.sh` - Clones all v-* brand repos if missing (git workflow, not asset management)
47
+
48
+ **Why not migrated:**
49
+ 1. These manage **git repositories**, not **video assets**
50
+ 2. They loop through brand folders running git commands
51
+ 3. They're workflow automation for the video-projects repo structure
52
+ 4. They belong in `/video-projects/v-shared/`, not in the appydave-tools gem
53
+ 5. Different use case: repo management vs. video file management
54
+
55
+ **If you want these migrated:** We could add `dam repo-status`, `dam repo-sync`, `dam repo-clone` commands, but they would:
56
+ - Need Ruby implementations of multi-repo git operations
57
+ - Duplicate functionality that shell scripts handle well
58
+ - Mix concerns (video assets vs. git repos)
44
59
 
45
60
  ---
46
61
 
@@ -635,51 +650,51 @@ done
635
650
 
636
651
  ---
637
652
 
638
- ## Not Yet Implemented (Future Work)
653
+ ## All DAM Commands Implemented
639
654
 
640
- ### Commands Migrated but Not Updated for CLI Args
655
+ All video asset management commands have been successfully migrated and are fully functional:
641
656
 
642
- These commands were copied from the original DAM but still need Phase 2 updates:
657
+ ### Phase 1: Core Commands
658
+ - ✅ `dam help` - Comprehensive help system
659
+ - ✅ `dam list` - Project discovery with 4 modes
643
660
 
644
- #### Generate Manifest
645
- ```bash
646
- # Current: bin/generate_manifest.rb
647
- # Expected: dam manifest appydave
648
- ```
649
- **Status**: Copied but needs CLI arg support
650
- **Priority**: Low (utility command, not core workflow)
661
+ ### Phase 2: S3 Collaboration
662
+ - ✅ `dam s3-up` - Upload to S3 with dry-run
663
+ - `dam s3-down` - Download from S3 with dry-run
664
+ - `dam s3-status` - Check sync status
665
+ - ✅ `dam s3-cleanup-remote` - Delete S3 files (force + dry-run)
666
+ - `dam s3-cleanup-local` - Delete local staging (force + dry-run)
651
667
 
652
- ---
668
+ ### Phase 3: Archive & Manifest
669
+ - ✅ `dam manifest` - Generate project manifest (single brand or `--all`)
670
+ - ✅ `dam archive` - Archive to SSD (dry-run + optional force)
671
+ - ✅ `dam sync-ssd` - Restore light files from SSD (dry-run)
653
672
 
654
- #### Archive Project
655
- ```bash
656
- # Current: bin/archive_project.rb
657
- # Expected: dam archive appydave b63
658
- ```
659
- **Status**: Copied but needs CLI arg support
660
- **Priority**: Medium (used for completed projects)
673
+ ### All Commands Support:
674
+ - **CLI args**: `dam <command> <brand> <project>`
675
+ - **Auto-detect**: Works from project directory (where applicable)
676
+ - **Dry-run**: All destructive operations support `--dry-run`
677
+ - **Force flags**: Extra safety for deletions
661
678
 
662
679
  ---
663
680
 
664
- #### Sync from SSD
665
- ```bash
666
- # Current: bin/sync_from_ssd.rb
667
- # Expected: dam sync-ssd appydave
668
- ```
669
- **Status**: Copied but needs CLI arg support
670
- **Priority**: Medium (used for recovery)
681
+ ## Git Repository Scripts - Separate Concern
671
682
 
672
- ---
683
+ The following shell scripts are **intentionally not migrated** as they manage git repositories, not video assets:
673
684
 
674
- ### Workflow Scripts (Not Migrating to Gem)
685
+ ### `/video-projects/v-shared/*.sh`
675
686
 
676
- These are repository management scripts, not DAM commands:
687
+ - `status-all.sh` - Runs `git status` on all v-* brand repos
688
+ - `sync-all.sh` - Runs `git pull` on all v-* brand repos
689
+ - `clone-all.sh` - Clones missing v-* brand repos
677
690
 
678
- - ❌ `status-all.sh` - Git status for all v-* repos
679
- - `sync-all.sh` - Git pull for all repos
680
- - `clone-all.sh` - Clone all brand repos
691
+ **Why separate:**
692
+ 1. Different domain: Git repository management vs. video asset management
693
+ 2. Different tools: Shell + git commands vs. Ruby + AWS/file operations
694
+ 3. Different location: Belongs in video-projects workspace, not in distributed gem
695
+ 4. Shell scripts work perfectly for this use case
681
696
 
682
- **Rationale**: These are development workflow tools for managing the video-projects repository structure, not video asset operations. They belong in the video-projects folder, not the appydave-tools gem.
697
+ **If migration is desired:** Could add `dam repo-status/sync/clone` but would duplicate working shell functionality and mix concerns.
683
698
 
684
699
  ---
685
700
 
@@ -739,14 +754,15 @@ These are repository management scripts, not DAM commands:
739
754
  - [x] `dam s3-up` - Upload to S3
740
755
  - [x] `dam s3-down` - Download from S3 ⭐ Phase 2 complete
741
756
  - [x] `dam s3-status` - Check sync status ⭐ Phase 2 complete
742
- - [x] `dam s3-cleanup` - Delete S3 files ⭐ Phase 2 complete
757
+ - [x] `dam s3-cleanup-remote` / `s3-cleanup-local` - Delete S3/local files ⭐ Phase 2 complete
758
+ - [x] `dam manifest` - Generate project manifest ⭐ Phase 3 complete
759
+ - [x] `dam archive` - Archive to SSD (dry-run + force) ⭐ Phase 3 complete
760
+ - [x] `dam sync-ssd` - Sync from SSD (dry-run) ⭐ Phase 3 complete
743
761
 
744
762
  ### ⏳ Pending Implementation
745
763
 
746
- **Commands (Copied but need CLI arg support)**:
747
- - [ ] `dam manifest` - Generate project manifest
748
- - [ ] `dam archive` - Archive to SSD
749
- - [ ] `dam sync-ssd` - Sync from SSD
764
+ **Commands**:
765
+ - [x] All DAM commands COMPLETE
750
766
 
751
767
  **Testing**:
752
768
  - [ ] Manual integration tests (Phase 2)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.18.4'
5
+ VERSION = '0.18.5'
6
6
  end
7
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appydave-tools",
3
- "version": "0.18.4",
3
+ "version": "0.18.5",
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.18.4
4
+ version: 0.18.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
@@ -241,10 +241,10 @@ files:
241
241
  - docs/configuration/README.md
242
242
  - docs/configuration/channels.example.json
243
243
  - docs/configuration/settings.example.json
244
+ - docs/dam/dam-testing-plan.md
244
245
  - docs/dam/dam-vision.md
245
246
  - docs/dam/session-summary-2025-11-09.md
246
247
  - docs/dam/usage.md
247
- - docs/dam/vat-testing-plan.md
248
248
  - docs/dam/windows-testing-guide.md
249
249
  - docs/development/CODEX-recommendations.md
250
250
  - docs/development/README.md