Skip to content

User Guide

Comprehensive guides covering all depkeeper features and common workflows.


Guides


Common Workflows

Daily Development

Bash
# Morning: Check what's outdated
depkeeper check --outdated-only

# When ready: Update safely
depkeeper update --backup -y

Before Release

Bash
# Full check with conflict resolution
depkeeper check

# Preview updates
depkeeper update --dry-run

# Apply after review
depkeeper update -y

CI/CD Pipeline

Bash
# Exit non-zero if outdated (for CI notifications)
depkeeper check --format json --outdated-only

# Automated update with backup
depkeeper update --backup -y

Best Practices

Version Pinning

Always pin your direct dependencies to specific versions for reproducible builds:

Text Only
requests==2.31.0
flask==2.3.3

Regular Updates

Check for updates weekly or integrate into your CI/CD pipeline for automated notifications.

Test After Updates

Always run your test suite after updating dependencies:

Bash
depkeeper update -y && pytest

Major Versions

depkeeper won't cross major version boundaries automatically. When you're ready for a major upgrade, update manually and test thoroughly.