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