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
This commit is contained in:
User
2025-12-28 17:25:50 +00:00
parent c28d85d526
commit c00ecd095e
8 changed files with 10 additions and 141 deletions

View File

@@ -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 }}

View File

@@ -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

View File

@@ -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

View File

@@ -31,5 +31,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Framework integrations for Laravel and Symfony - Framework integrations for Laravel and Symfony
- Type-safe operations with PHP 8.1+ features - Type-safe operations with PHP 8.1+ features
[Unreleased]: https://github.com/sqrtspace/spacetime-php/compare/v1.0.0...HEAD [Unreleased]: https://git.marketally.com/sqrtspace/sqrtspace-php/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/sqrtspace/spacetime-php/releases/tag/v1.0.0 [1.0.0]: https://git.marketally.com/sqrtspace/sqrtspace-php/releases/tag/v1.0.0

View File

@@ -10,7 +10,7 @@ By participating in this project, you agree to abide by our code of conduct: be
### Reporting Issues ### 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: 2. If not, create a new issue with:
- Clear title and description - Clear title and description
- Steps to reproduce (if applicable) - 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 ```bash
# Clone your fork # Clone your fork
git clone https://github.com/YOUR_USERNAME/ubiquity-php.git git clone https://git.marketally.com/YOUR_USERNAME/sqrtspace-php.git
cd ubiquity-php cd sqrtspace-php
# Install dependencies # Install dependencies
composer install composer install

View File

@@ -7,7 +7,7 @@
Memory-efficient algorithms and data structures for PHP using Williams' √n space-time tradeoffs. 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 ## Installation
@@ -474,7 +474,7 @@ public function exportOrders()
### Symfony ### 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 ```yaml
# config/bundles.php # config/bundles.php

View File

@@ -13,7 +13,7 @@
"performance", "performance",
"big-data" "big-data"
], ],
"homepage": "https://github.com/sqrtspace/spacetime-php", "homepage": "https://git.marketally.com/sqrtspace/sqrtspace-php",
"license": "Apache-2.0", "license": "Apache-2.0",
"authors": [ "authors": [
{ {
@@ -85,11 +85,5 @@
} }
}, },
"minimum-stability": "stable", "minimum-stability": "stable",
"prefer-stable": true, "prefer-stable": true
"repositories": [
{
"type": "composer",
"url": "https://nuget.pkg.github.com/sqrtspace/index.json"
}
]
} }

View File

@@ -370,6 +370,6 @@ Log::channel('metrics')->info('spacetime.stats', $stats);
## Learn More ## 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) - [Laravel Documentation](https://laravel.com/docs)
- [Memory-Efficient PHP Patterns](https://example.com/patterns) - [Memory-Efficient PHP Patterns](https://example.com/patterns)