mirror of
https://github.com/Grace-Solutions/PSMinIO.git
synced 2026-08-19 08:56:19 +00:00
Major project reorganization: Centralized version management and improved structure
- Reorganized project structure with proper directory separation: * All scripts moved to scripts/ directory (including examples) * All documentation moved to docs/ directory (except README.md) * Centralized version management in Version.ps1 - Implemented centralized version management system: * Version.ps1 provides single source of truth for version information * Automatic yyyy.MM.dd.HHmm versioning based on build time * scripts/Update-Version.ps1 updates all version references * src/Properties/AssemblyInfo.cs for assembly version information - Enhanced build system: * scripts/Build.ps1 - Full build with validation and packaging * scripts/Quick-Build.ps1 - Fast build handling file locking issues * Removed automatic copy from project file to avoid locking * Integrated version updates into build process - Updated PowerShell Gallery publishing: * scripts/Publish-PSMinIOToGallery.ps1 updated for new structure * docs/POWERSHELL-GALLERY-RELEASE.md comprehensive publishing guide * Module manifest updated with proper metadata and release notes - Updated all documentation and examples: * README.md updated with PowerShell Gallery installation * All example scripts updated with correct import paths * scripts/examples/README.md updated for new location * docs/PROJECT-STRUCTURE.md documents new organization - Version updated to 2025.07.11.1151 with centralized management - All import paths corrected for new structure - Professional project organization following PowerShell best practices
This commit is contained in:
@@ -17,14 +17,23 @@ A comprehensive PowerShell module for MinIO object storage operations, built on
|
||||
|
||||
## Installation
|
||||
|
||||
### From PowerShell Gallery
|
||||
```powershell
|
||||
# Install from PowerShell Gallery
|
||||
Install-Module -Name PSMinIO -Scope CurrentUser
|
||||
|
||||
# Import the module
|
||||
Import-Module PSMinIO
|
||||
```
|
||||
|
||||
### From Source
|
||||
```powershell
|
||||
# Clone the repository
|
||||
git clone https://github.com/yourusername/PSMinIO.git
|
||||
git clone https://github.com/Grace-Solutions/PSMinIO.git
|
||||
cd PSMinIO
|
||||
|
||||
# Build the module
|
||||
dotnet build PSMinIO.csproj --configuration Release
|
||||
# Build the module (automatically updates version)
|
||||
.\scripts\Build.ps1
|
||||
|
||||
# Import the module
|
||||
Import-Module .\Module\PSMinIO\PSMinIO.psd1
|
||||
@@ -124,7 +133,7 @@ All operations provide detailed timing information:
|
||||
|
||||
## Examples
|
||||
|
||||
See the [examples](./examples/) directory for comprehensive usage examples:
|
||||
See the [scripts/examples](./scripts/examples/) directory for comprehensive usage examples:
|
||||
- **Basic Operations**: Connection, bucket management, simple uploads/downloads
|
||||
- **Advanced Scenarios**: Chunked transfers, directory management, bulk operations
|
||||
- **Enterprise Patterns**: Policy management, monitoring, and automation scripts
|
||||
|
||||
Reference in New Issue
Block a user