{"id":31690186,"url":"https://github.com/mirshahreza/zync","last_synced_at":"2025-10-08T12:12:35.983Z","repository":{"id":316808985,"uuid":"1064925227","full_name":"mirshahreza/Zync","owner":"mirshahreza","description":"A database package manager, similar to npm, for easily installing and managing SQL objects like stored procedures and functions with automatic dependency resolution.","archived":false,"fork":false,"pushed_at":"2025-10-05T04:57:40.000Z","size":1378,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T06:17:12.005Z","etag":null,"topics":["package-management","package-manager","rdbms","sql"],"latest_commit_sha":null,"homepage":"","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mirshahreza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-26T19:12:27.000Z","updated_at":"2025-10-05T06:06:52.000Z","dependencies_parsed_at":"2025-09-26T21:28:12.508Z","dependency_job_id":null,"html_url":"https://github.com/mirshahreza/Zync","commit_stats":null,"previous_names":["mirshahreza/zync"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mirshahreza/Zync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirshahreza%2FZync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirshahreza%2FZync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirshahreza%2FZync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirshahreza%2FZync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirshahreza","download_url":"https://codeload.github.com/mirshahreza/Zync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirshahreza%2FZync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278940602,"owners_count":26072553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package-management","package-manager","rdbms","sql"],"created_at":"2025-10-08T12:12:33.047Z","updated_at":"2025-10-08T12:12:35.978Z","avatar_url":"https://github.com/mirshahreza.png","language":"TSQL","readme":"# 🗄️ Zync - Database Package Manager\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE.txt)\n[![SQL Server](https://img.shields.io/badge/SQL%20Server-Supported-blue.svg)](https://www.microsoft.com/en-us/sql-server/)\n\n**Zync** is a database package manager similar to npm for Node.js or NuGet for .NET. It helps you easily install, manage, and deploy database objects (stored procedures, functions, views, tables) from standardized repositories with automatic dependency resolution.\n\n## ✨ Core Concepts\n\nZync simplifies database development by applying modern package management principles to SQL:\n\n- 📦 **Package Management**: Manage database objects (procedures, functions, etc.) as modular packages.\n- 🔄 **Dependency Resolution**: Automatically install dependencies in the correct order.\n- 🎯 **Simple Commands**: Use single commands to deploy entire packages or individual scripts.\n- 🛡️ **Safe Deployment**: Handle object creation and updates safely without manual intervention.\n- 🏗️ **Standard Repositories**: Use a built-in library of utilities or create your own.\n\n## 🚀 Getting Started\n\nZync currently supports only **SQL Server** (MsSql). All scripts, tests, and docs live under the `MsSql/` folder.\n\n### 📊 SQL Server\n\u003e ✅ **Status**: Production-ready with comprehensive test coverage (100% pass rate)\n\n**[📖 Get Started with SQL Server →](MsSql/README.md)**\n\nQuick installation and test:\n\n```powershell\n# Install Zync core\nsqlcmd -S .\\SQL2022 -d master -E -C -i \"c:\\Workspace\\Projects\\Zync\\MsSql\\Zync.sql\"\n\n# Install all packages\n.\\InstallLocalPackages.ps1\n\n# Run comprehensive tests\n.\\RunAllTests.ps1\n\n# Or run specific package test\n.\\RunSingleTest.ps1 -TestName string\n```\n\n## 🏗️ Project Structure\n\n```\nZync/\n├── LICENSE.txt\n├── README.md                # Project overview (you are here)\n└── MsSql/                   # SQL Server implementation\n    ├── README.md            # SQL Server documentation\n    ├── Zync.sql             # Core package manager (v3.0)\n    ├── Packages/            # 12 Available packages (131 objects)\n    │   ├── Backup/          # Backup \u0026 restore utilities (4 objects)\n    │   ├── Base/            # Base tables for common use (8 objects)\n    │   ├── DbMan/           # Database management (23 objects)\n    │   ├── DbMon/           # Monitoring \u0026 diagnostics (35 objects)\n    │   ├── DateTime/        # Date/time functions (32 objects)\n    │   ├── Financial/       # Financial calculations (9 objects)\n    │   ├── Geographic/      # Geographic calculations (26 objects)\n    │   ├── Json/            # JSON manipulation (5 objects)\n    │   ├── Math/            # Mathematical functions (35 objects)\n    │   ├── Security/        # Security \u0026 encryption (5 objects)\n    │   ├── String/          # String operations (43 objects)\n    │   └── Validation/      # Validation functions (5 objects)\n    ├── scripts/             # PowerShell automation scripts\n    │   ├── TestConnection.ps1        # Test database connectivity\n    │   ├── InstallLocalPackages.ps1  # Install all packages\n    │   ├── RunAllTests.ps1           # Run comprehensive test suite\n    │   ├── RunSingleTest.ps1         # Run individual package test\n    │   ├── ZyncConfig.psm1           # Configuration module\n    │   └── ...\n    ├── Test/                # Comprehensive test suite (11 files)\n    │   ├── zync_test_*.sql  # Package-specific tests\n    │   └── README.md        # Test documentation\n    └── TestLogs/            # Test execution logs \u0026 reports\n```\n\n## 🎯 Naming Conventions\n\nWe recommend prefixing utility objects with `Zz` to keep them organized and separate from your project's business logic. They will appear at the end of database object lists, ensuring your primary objects are always visible first.\n\nExample:\n```\nCustomer_Orders        (your business objects)\nProduct_Inventory      \n...\nZzSplitString         (Zync utilities)\nZzCreateTable        \n```\n\n## � Current Status\n\n- ✅ **SQL Server**: Production-ready with 12 packages (131 objects)\n- ✅ **Test Coverage**: 100% pass rate with comprehensive test suite\n- ✅ **PowerShell Automation**: Complete installation and testing scripts\n- ✅ **Documentation**: Full documentation for all packages and tools\n\n## �🛣️ Roadmap\n\n- [ ] **Oracle** support\n- [ ] **MySQL** support  \n- [ ] **PostgreSQL** support\n- [ ] **Package versioning** system (v1.0 in progress)\n- [ ] **Package dependency** visualization\n- [ ] **Web-based package** browser\n- [ ] **CI/CD integration** examples\n\n## 🤝 Support, Donations \u0026 Contributing\n\nIf you encounter any issues, have questions, or would like to contribute, here’s how you can help:\n\n### 🆘 Getting Support\n- **📝 Create an issue**: The best way to report bugs or request features.\n- **📧 Contact the maintainers**: For direct inquiries.\n- **📚 Check the documentation**: Each package has its own `README` file.\n\n\u003c!--\n### ❤️ Financial Support\nIf you find this project helpful, your contribution would be greatly appreciated. Donations help us dedicate more time to maintenance and new features.\n\n- **[💖 Sponsor on GitHub](https://github.com/sponsors/mirshahreza)**\n\nThank you for your support!\n--\u003e\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details.\n\n---\n\n**Made with ❤️ for the database community**","funding_links":["https://github.com/sponsors/mirshahreza"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirshahreza%2Fzync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirshahreza%2Fzync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirshahreza%2Fzync/lists"}