From c00ecd095e269593dcb8babcae64e188c4162735 Mon Sep 17 00:00:00 2001 From: User Date: Sun, 28 Dec 2025 17:25:50 +0000 Subject: [PATCH] Migrate from GitHub to Gitea - Update all repository URLs to git.marketally.com - Remove GitHub Actions workflows (not compatible with Gitea) - Update documentation links in README, CONTRIBUTING, and CHANGELOG --- .github/workflows/publish-package.yml | 35 -------------------- .github/workflows/static-analysis.yml | 46 --------------------------- .github/workflows/tests.yml | 44 ------------------------- CHANGELOG.md | 4 +-- CONTRIBUTING.md | 6 ++-- README.md | 4 +-- composer.json | 10 ++---- examples/laravel-app/README.md | 2 +- 8 files changed, 10 insertions(+), 141 deletions(-) delete mode 100644 .github/workflows/publish-package.yml delete mode 100644 .github/workflows/static-analysis.yml delete mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml deleted file mode 100644 index 9b651ad..0000000 --- a/.github/workflows/publish-package.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Publish Package - -on: - release: - types: [created] - -jobs: - publish-github: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.2 - - - name: Validate composer.json - run: composer validate - - - name: Configure GitHub Packages - run: | - composer config repositories.github '{"type": "vcs", "url": "https://github.com/sqrtspace/spacetime-php"}' - composer config --global --auth github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} - - - name: Publish to GitHub Packages - run: | - sed -i 's/"name": "sqrtspace\/spacetime"/"name": "sqrtspace\/spacetime-php"/' composer.json - composer config repositories.github '{"type": "composer", "url": "https://nuget.pkg.github.com/sqrtspace/index.json"}' - echo "{\"github-oauth\": {\"github.com\": \"${{ secrets.GITHUB_TOKEN }}\"}}" > auth.json - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml deleted file mode 100644 index 9ef867f..0000000 --- a/.github/workflows/static-analysis.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Static Analysis - -on: - push: - branches: [ main, develop ] - pull_request: - branches: [ main ] - -jobs: - phpstan: - name: PHPStan - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.2 - coverage: none - - - name: Install composer dependencies - run: composer update --prefer-stable --prefer-dist --no-interaction - - - name: Run PHPStan - run: composer analyse - - php-cs-fixer: - name: PHP CS Fixer - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.2 - coverage: none - - - name: Install composer dependencies - run: composer update --prefer-stable --prefer-dist --no-interaction - - - name: Run PHP CS Fixer - run: composer cs-check \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index 8e403cc..0000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Tests - -on: - push: - branches: [ main, develop ] - pull_request: - branches: [ main ] - -jobs: - test: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: true - matrix: - os: [ubuntu-latest] - php: [8.1, 8.2, 8.3] - dependency-version: [prefer-lowest, prefer-stable] - - name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick - coverage: xdebug - - - name: Install dependencies - run: | - composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - - - name: Execute tests - run: composer test - - - name: Upload coverage to Codecov - if: matrix.php == '8.2' && matrix.dependency-version == 'prefer-stable' - uses: codecov/codecov-action@v3 - with: - files: ./build/logs/clover.xml - verbose: true \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b41ede..9ac379a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,5 +31,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Framework integrations for Laravel and Symfony - Type-safe operations with PHP 8.1+ features -[Unreleased]: https://github.com/sqrtspace/spacetime-php/compare/v1.0.0...HEAD -[1.0.0]: https://github.com/sqrtspace/spacetime-php/releases/tag/v1.0.0 \ No newline at end of file +[Unreleased]: https://git.marketally.com/sqrtspace/sqrtspace-php/compare/v1.0.0...HEAD +[1.0.0]: https://git.marketally.com/sqrtspace/sqrtspace-php/releases/tag/v1.0.0 \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9dc2fb0..6d5a131 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ By participating in this project, you agree to abide by our code of conduct: be ### Reporting Issues -1. Check if the issue already exists in the [issue tracker](https://github.com/ubiquity/spacetime-php/issues) +1. Check if the issue already exists in the [issue tracker](https://git.marketally.com/sqrtspace/sqrtspace-php/issues) 2. If not, create a new issue with: - Clear title and description - Steps to reproduce (if applicable) @@ -32,8 +32,8 @@ By participating in this project, you agree to abide by our code of conduct: be ```bash # Clone your fork -git clone https://github.com/YOUR_USERNAME/ubiquity-php.git -cd ubiquity-php +git clone https://git.marketally.com/YOUR_USERNAME/sqrtspace-php.git +cd sqrtspace-php # Install dependencies composer install diff --git a/README.md b/README.md index 39529b6..0271dff 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Memory-efficient algorithms and data structures for PHP using Williams' √n space-time tradeoffs. -**Paper Repository**: [github.com/sqrtspace/sqrtspace-paper](https://github.com/sqrtspace/sqrtspace-paper) +**Paper Repository**: [git.marketally.com/sqrtspace/sqrtspace-paper](https://git.marketally.com/sqrtspace/sqrtspace-paper) ## Installation @@ -474,7 +474,7 @@ public function exportOrders() ### Symfony -For a complete Symfony integration example, see our [Symfony bundle documentation](https://github.com/MarketAlly/Ubiquity/wiki/Symfony-Integration). +For a complete Symfony integration example, see our [Symfony bundle documentation](https://git.marketally.com/sqrtspace/sqrtspace-php/wiki/Symfony-Integration). ```yaml # config/bundles.php diff --git a/composer.json b/composer.json index 1d70e94..5739949 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "performance", "big-data" ], - "homepage": "https://github.com/sqrtspace/spacetime-php", + "homepage": "https://git.marketally.com/sqrtspace/sqrtspace-php", "license": "Apache-2.0", "authors": [ { @@ -85,11 +85,5 @@ } }, "minimum-stability": "stable", - "prefer-stable": true, - "repositories": [ - { - "type": "composer", - "url": "https://nuget.pkg.github.com/sqrtspace/index.json" - } - ] + "prefer-stable": true } \ No newline at end of file diff --git a/examples/laravel-app/README.md b/examples/laravel-app/README.md index e21f98c..d6d95c2 100644 --- a/examples/laravel-app/README.md +++ b/examples/laravel-app/README.md @@ -370,6 +370,6 @@ Log::channel('metrics')->info('spacetime.stats', $stats); ## Learn More -- [SqrtSpace SpaceTime Documentation](https://github.com/MarketAlly/Ubiquity) +- [SqrtSpace SpaceTime Documentation](https://git.marketally.com/sqrtspace/sqrtspace-php) - [Laravel Documentation](https://laravel.com/docs) - [Memory-Efficient PHP Patterns](https://example.com/patterns) \ No newline at end of file