rust-crate-pipeline 1.1.0__tar.gz → 1.2.0__tar.gz
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.
- rust_crate_pipeline-1.2.0/CHANGELOG.md +160 -0
- rust_crate_pipeline-1.2.0/PKG-INFO +573 -0
- rust_crate_pipeline-1.2.0/README.md +524 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/pyproject.toml +2 -1
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/requirements.txt +1 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/ai_processing.py +10 -8
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/analysis.py +2 -1
- rust_crate_pipeline-1.2.0/rust_crate_pipeline/github_token_checker.py +102 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/main.py +20 -0
- rust_crate_pipeline-1.2.0/rust_crate_pipeline/production_config.py +76 -0
- rust_crate_pipeline-1.2.0/rust_crate_pipeline/version.py +23 -0
- rust_crate_pipeline-1.2.0/rust_crate_pipeline.egg-info/PKG-INFO +573 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline.egg-info/SOURCES.txt +4 -6
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline.egg-info/requires.txt +1 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/setup.py +1 -1
- rust_crate_pipeline-1.1.0/PKG-INFO +0 -473
- rust_crate_pipeline-1.1.0/PUBLISHING.md +0 -93
- rust_crate_pipeline-1.1.0/README.md +0 -425
- rust_crate_pipeline-1.1.0/READY_FOR_PYPI.md +0 -107
- rust_crate_pipeline-1.1.0/SETUP_GUIDE.md +0 -177
- rust_crate_pipeline-1.1.0/requirements-dev.txt +0 -21
- rust_crate_pipeline-1.1.0/rust_crate_pipeline/version.py +0 -13
- rust_crate_pipeline-1.1.0/rust_crate_pipeline.egg-info/PKG-INFO +0 -473
- rust_crate_pipeline-1.1.0/tests/test_basic.py +0 -39
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/LICENSE +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/MANIFEST.in +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/__init__.py +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/__main__.py +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/config.py +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/network.py +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/pipeline.py +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/utils/file_utils.py +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline/utils/logging_utils.py +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline.egg-info/dependency_links.txt +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline.egg-info/entry_points.txt +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/rust_crate_pipeline.egg-info/top_level.txt +0 -0
- {rust_crate_pipeline-1.1.0 → rust_crate_pipeline-1.2.0}/setup.cfg +0 -0
@@ -0,0 +1,160 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to the Rust Crate Pipeline project.
|
4
|
+
|
5
|
+
## [1.2.0] - 2025-06-18
|
6
|
+
|
7
|
+
### 🚀 Major Release - Production Ready
|
8
|
+
|
9
|
+
**This is a significant release that transforms the project into a production-ready, PyPI-published package.**
|
10
|
+
|
11
|
+
#### ✨ Added
|
12
|
+
- **Complete PyPI package structure** with proper metadata and entry points
|
13
|
+
- **Unified comprehensive README.md** consolidating all documentation
|
14
|
+
- **Production-optimized configurations** with reduced runtime warnings
|
15
|
+
- **Enhanced GitHub token integration** with automatic detection and setup
|
16
|
+
- **Docker deployment ready** with optimized containers and compose files
|
17
|
+
- **Comprehensive CLI interface** with help system and examples
|
18
|
+
- **Professional package metadata** with badges, descriptions, and links
|
19
|
+
|
20
|
+
#### 🔧 Changed
|
21
|
+
- **Moved all source code** into proper `rust_crate_pipeline/` package structure
|
22
|
+
- **Consolidated documentation** from multiple files into single unified README
|
23
|
+
- **Optimized import structure** for better package organization
|
24
|
+
- **Enhanced error handling** with graceful degradation
|
25
|
+
- **Improved logging** with appropriate levels for production
|
26
|
+
|
27
|
+
#### 🗑️ Removed
|
28
|
+
- **All non-essential files** including test scripts and development artifacts
|
29
|
+
- **Redundant documentation** files (PROJECT_STRUCTURE.md, various guides)
|
30
|
+
- **Development-only modules** (optimizations.py, docker_optimizations.py)
|
31
|
+
- **Windows-specific scripts** focusing on Linux production deployment
|
32
|
+
- **Cache files and build artifacts** for clean distribution
|
33
|
+
|
34
|
+
#### 🛡️ Security
|
35
|
+
- **Enhanced GitHub token handling** with secure storage and validation
|
36
|
+
- **Production environment configurations** with appropriate access controls
|
37
|
+
|
38
|
+
#### 📦 Distribution
|
39
|
+
- **Published to PyPI** as `rust-crate-pipeline`
|
40
|
+
- **Docker Hub ready** with multi-stage builds
|
41
|
+
- **Comprehensive installation options** (PyPI, source, development)
|
42
|
+
|
43
|
+
#### 🔄 Migration Notes
|
44
|
+
- Package is now installed via `pip install rust-crate-pipeline`
|
45
|
+
- All functionality preserved with enhanced reliability
|
46
|
+
- New unified documentation provides complete usage guide
|
47
|
+
- GitHub token setup simplified with interactive script
|
48
|
+
|
49
|
+
---
|
50
|
+
|
51
|
+
## [1.1.1] - 2025-06-18
|
52
|
+
|
53
|
+
### 🚀 Major Features Added
|
54
|
+
|
55
|
+
#### GitHub Token Integration
|
56
|
+
- **Automatic token detection**: Pipeline now checks for GitHub token on startup
|
57
|
+
- **Interactive setup prompts**: Guides users through token configuration if missing
|
58
|
+
- **Token validation**: Verifies token works with GitHub API before processing
|
59
|
+
- **Setup scripts**: Added `setup_github_token.sh` for easy Linux configuration
|
60
|
+
- **Verification tool**: `check_github_token.py` for comprehensive token testing
|
61
|
+
|
62
|
+
#### Production Optimizations
|
63
|
+
- **Production mode**: `PRODUCTION=true` environment variable for optimized settings
|
64
|
+
- **Reduced warnings**: GitHub API rate limit warnings minimized (100→500 threshold)
|
65
|
+
- **Smart retries**: LLM validation retries reduced from 3→2 attempts
|
66
|
+
- **Enhanced logging**: Appropriate log levels (DEBUG/INFO/WARNING) based on context
|
67
|
+
- **Production launcher**: `run_production.py` script with optimized defaults
|
68
|
+
|
69
|
+
#### Docker & Deployment Ready
|
70
|
+
- **Production Dockerfile**: Optimized container configuration
|
71
|
+
- **Docker Compose**: Ready-to-use orchestration with environment variables
|
72
|
+
- **SSH deployment**: Background execution with logging and monitoring
|
73
|
+
- **Systemd service**: Linux service configuration for persistent execution
|
74
|
+
- **Environment detection**: Automatic production vs development mode switching
|
75
|
+
|
76
|
+
### 🔧 Technical Improvements
|
77
|
+
|
78
|
+
#### Package Structure
|
79
|
+
- **PyPI ready**: Complete package configuration with `pyproject.toml`
|
80
|
+
- **Proper imports**: Fixed all relative imports and module structure
|
81
|
+
- **Version management**: Centralized version handling with `version.py`
|
82
|
+
- **Dependencies**: Updated `requirements.txt` with all necessary packages
|
83
|
+
- **Build system**: Added `setup.py` and `MANIFEST.in` for distribution
|
84
|
+
|
85
|
+
#### Code Quality
|
86
|
+
- **Error handling**: Enhanced exception handling throughout pipeline
|
87
|
+
- **Type hints**: Improved type annotations where possible
|
88
|
+
- **Configuration**: Centralized settings with production overrides
|
89
|
+
- **Logging**: Structured logging with configurable levels
|
90
|
+
- **Testing**: Added integration tests and verification scripts
|
91
|
+
|
92
|
+
#### Performance & Reliability
|
93
|
+
- **Smart rate limiting**: Proactive GitHub API management
|
94
|
+
- **Caching optimization**: Enhanced request caching for better performance
|
95
|
+
- **Memory management**: Optimized batch processing and resource usage
|
96
|
+
- **Fallback strategies**: Graceful degradation when services unavailable
|
97
|
+
- **Progress tracking**: Improved checkpointing and progress reporting
|
98
|
+
|
99
|
+
### 📦 New Files Added
|
100
|
+
|
101
|
+
#### Configuration & Setup
|
102
|
+
- `rust_crate_pipeline/production_config.py` - Production settings
|
103
|
+
- `rust_crate_pipeline/optimizations.py` - Performance optimization utilities
|
104
|
+
- `rust_crate_pipeline/github_token_checker.py` - Token validation module
|
105
|
+
- `setup_github_token.sh` - Interactive Linux token setup
|
106
|
+
- `check_github_token.py` - Comprehensive token verification
|
107
|
+
|
108
|
+
#### Docker & Deployment
|
109
|
+
- `Dockerfile` - Production container configuration
|
110
|
+
- `docker-compose.yml` - Orchestration configuration
|
111
|
+
- `.dockerignore` - Container build optimization
|
112
|
+
- `docker-entrypoint.sh` - Container startup script
|
113
|
+
|
114
|
+
#### Testing & Validation
|
115
|
+
- `test_optimizations.py` - Test optimization modules
|
116
|
+
- `test_token_integration.py` - Test GitHub token integration
|
117
|
+
- `run_production.py` - Production launcher script
|
118
|
+
|
119
|
+
#### Documentation
|
120
|
+
- Consolidated `README.md` - Comprehensive user guide
|
121
|
+
- `CHANGELOG.md` - Version history and improvements
|
122
|
+
|
123
|
+
### 🐛 Bug Fixes
|
124
|
+
- **Import errors**: Fixed `relativedelta` import by switching to `python-dateutil`
|
125
|
+
- **Module structure**: Resolved package import issues
|
126
|
+
- **Configuration**: Fixed config file loading and environment variable handling
|
127
|
+
- **Docker builds**: Resolved container build and runtime issues
|
128
|
+
- **Error reporting**: Improved error messages and user guidance
|
129
|
+
|
130
|
+
### 🔄 Breaking Changes
|
131
|
+
- **Package structure**: Moved all source files to `rust_crate_pipeline/` directory
|
132
|
+
- **Dependencies**: Added `python-dateutil` as required dependency
|
133
|
+
- **Configuration**: Some config options moved to production-specific settings
|
134
|
+
|
135
|
+
### 📈 Performance Improvements
|
136
|
+
- **API efficiency**: Reduced redundant GitHub API calls
|
137
|
+
- **Memory usage**: Optimized batch processing and caching
|
138
|
+
- **Startup time**: Faster initialization with lazy loading
|
139
|
+
- **Error recovery**: Better handling of transient failures
|
140
|
+
- **Resource monitoring**: Enhanced disk space and memory tracking
|
141
|
+
|
142
|
+
### 🎯 User Experience
|
143
|
+
- **Clearer messages**: Improved user feedback and error messages
|
144
|
+
- **Guided setup**: Step-by-step token configuration assistance
|
145
|
+
- **Production readiness**: One-command deployment for production use
|
146
|
+
- **Monitoring tools**: Built-in status checking and validation
|
147
|
+
- **Documentation**: Comprehensive guides for all use cases
|
148
|
+
|
149
|
+
## [1.0.0] - Previous Release
|
150
|
+
|
151
|
+
### Initial Features
|
152
|
+
- Basic crate metadata collection
|
153
|
+
- AI-powered enrichment
|
154
|
+
- Source code analysis
|
155
|
+
- Dependency mapping
|
156
|
+
- Command-line interface
|
157
|
+
|
158
|
+
---
|
159
|
+
|
160
|
+
**Migration Guide**: To upgrade from 1.1.1 to 1.2.0, simply install the new version via `pip install --upgrade rust-crate-pipeline`. All functionality is preserved with enhanced reliability and the new unified documentation provides a complete usage guide.
|