Commit a105e4e
committed
vcs(feat[lock]): Implement version locking for repositories
why: Enable users to lock repositories to specific revisions for deployment consistency
and reproducible environments. This allows teams to ensure all members are working
with the same codebase state.
what:
- Added LockFile and LockedRepository models to config/models.py
- Implemented lock_repositories and apply_lock functions in operations.py
- Added get_revision and update_repo abstract methods to VCSInterface
- Implemented these methods for Git, Mercurial, and Subversion handlers
- Created CLI commands for locking repositories and applying locks
- Updated public exports in __init__.py files
refs: Completes CLI Tools / Version Locking section from notes/TODO.md1 parent 354b822 commit a105e4e
File tree
9 files changed
+978
-81
lines changed- src/vcspull
- cli
- config
- vcs
9 files changed
+978
-81
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
0 commit comments