Skip to content

Commit

Permalink
Replace references to ISAAC by GMTA
Browse files Browse the repository at this point in the history
The original organisation no longer exists, so I'm transferring the
repositories and packages to my own accounts.
  • Loading branch information
gmta committed Apr 26, 2024
1 parent fe67bab commit dc15df6
Show file tree
Hide file tree
Showing 23 changed files with 53 additions and 50 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2020 ISAAC Software Solutions B.V.
Copyright (c) 2017-2024 Jelle Raaijmakers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Velocita Composer plugin

[![Packagist Version](https://img.shields.io/packagist/v/isaac/composer-velocita)](https://packagist.org/packages/isaac/composer-velocita)
[![Packagist Downloads](https://img.shields.io/packagist/dt/isaac/composer-velocita)](https://packagist.org/packages/isaac/composer-velocita)
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/isaac/composer-velocita)
[![License](https://img.shields.io/github/license/isaaceindhoven/composer-velocita)](https://github.com/isaaceindhoven/composer-velocita/blob/master/LICENSE)
[![Packagist Version](https://img.shields.io/packagist/v/gmta/composer-velocita)](https://packagist.org/packages/gmta/composer-velocita)
[![Packagist Downloads](https://img.shields.io/packagist/dt/gmta/composer-velocita)](https://packagist.org/packages/gmta/composer-velocita)
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/gmta/composer-velocita)
[![License](https://img.shields.io/github/license/gmta/composer-velocita)](https://github.com/gmta/composer-velocita/blob/master/LICENSE)

Fast and reliable Composer package downloads using Velocita: a caching reverse proxy that does not require you to
modify your projects.
Expand All @@ -13,7 +13,7 @@ modify your projects.
### Prerequisites

* PHP 7.4 or newer
* A running [Velocita](https://github.com/isaaceindhoven/velocita) instance
* A running [Velocita Proxy](https://github.com/gmta/velocita-proxy) instance
* Composer 2

### Installation
Expand All @@ -22,8 +22,8 @@ Installation and configuration of the Velocita plugin is global, so you can use
without having to add it to your project's `composer.json`.

```
composer global config allow-plugins.isaac/composer-velocita true
composer global require isaac/composer-velocita
composer global config allow-plugins.gmta/composer-velocita true
composer global require gmta/composer-velocita
composer velocita:enable https://url.to.your.velocita.tld/
```

Expand All @@ -43,7 +43,7 @@ composer velocita:disable
If you want to remove the plugin completely, execute:

```
composer global remove isaac/composer-velocita
composer global remove gmta/composer-velocita
```

## Authors
Expand All @@ -52,7 +52,7 @@ composer global remove isaac/composer-velocita

## Contributing

Raise an issue or submit a pull request on [GitHub](https://github.com/isaaceindhoven/composer-velocita).
Raise an issue or submit a pull request on [GitHub](https://github.com/gmta/composer-velocita).

## License

Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "isaac/composer-velocita",
"name": "gmta/composer-velocita",
"description": "Fast and reliable Composer package downloads by using Velocita",
"keywords": ["composer", "cache", "performance", "speed", "availability", "velocita"],
"type": "composer-plugin",
Expand All @@ -10,6 +10,9 @@
"email": "[email protected]"
}
],
"replace": {
"isaac/composer-velocita": "*"
},
"require": {
"php": ">=7.4",
"ext-json": "*",
Expand All @@ -26,7 +29,7 @@
"prefer-stable": true,
"autoload": {
"psr-4": {
"ISAAC\\Velocita\\Composer\\": "src/"
"GMTA\\Velocita\\Composer\\": "src/"
}
},
"config": {
Expand All @@ -37,6 +40,6 @@
}
},
"extra": {
"class": "ISAAC\\Velocita\\Composer\\VelocitaPlugin"
"class": "GMTA\\Velocita\\Composer\\VelocitaPlugin"
}
}
4 changes: 2 additions & 2 deletions src/Commands/CommandProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Commands;
namespace GMTA\Velocita\Composer\Commands;

use Composer\Plugin\Capability\CommandProvider as CommandProviderCapability;
use ISAAC\Velocita\Composer\VelocitaPlugin;
use GMTA\Velocita\Composer\VelocitaPlugin;

class CommandProvider implements CommandProviderCapability
{
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/DisableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Commands;
namespace GMTA\Velocita\Composer\Commands;

use Composer\Command\BaseCommand;
use ISAAC\Velocita\Composer\VelocitaPlugin;
use GMTA\Velocita\Composer\VelocitaPlugin;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

Expand Down
4 changes: 2 additions & 2 deletions src/Commands/EnableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Commands;
namespace GMTA\Velocita\Composer\Commands;

use Composer\Command\BaseCommand;
use ISAAC\Velocita\Composer\VelocitaPlugin;
use GMTA\Velocita\Composer\VelocitaPlugin;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/InputInterfaceAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Commands;
namespace GMTA\Velocita\Composer\Commands;

use Symfony\Component\Console\Input\InputInterface;
use UnexpectedValueException;
Expand Down
8 changes: 4 additions & 4 deletions src/Compatibility/CompatibilityDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Compatibility;
namespace GMTA\Velocita\Composer\Compatibility;

use Composer\Composer;
use Composer\Installer\PackageEvent;
use Composer\IO\IOInterface;
use ISAAC\Velocita\Composer\Composer\OperationAdapter;
use ISAAC\Velocita\Composer\Composer\PluginHelper;
use ISAAC\Velocita\Composer\UrlMapper;
use GMTA\Velocita\Composer\Composer\OperationAdapter;
use GMTA\Velocita\Composer\Composer\PluginHelper;
use GMTA\Velocita\Composer\UrlMapper;

use function array_key_exists;
use function get_class;
Expand Down
2 changes: 1 addition & 1 deletion src/Compatibility/CompatibilityFix.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Compatibility;
namespace GMTA\Velocita\Composer\Compatibility;

use Composer\Plugin\PluginInterface;

Expand Down
2 changes: 1 addition & 1 deletion src/Compatibility/SymfonyFlexCompatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Compatibility;
namespace GMTA\Velocita\Composer\Compatibility;

use Composer\IO\IOInterface;
use Composer\Plugin\PluginInterface;
Expand Down
4 changes: 2 additions & 2 deletions src/Compatibility/SymfonyFlexHttpDownloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Compatibility;
namespace GMTA\Velocita\Composer\Compatibility;

use Composer\Config;
use Composer\IO\IOInterface;
use Composer\Util\HttpDownloader;
use ISAAC\Velocita\Composer\UrlMapper;
use GMTA\Velocita\Composer\UrlMapper;

use function sprintf;

Expand Down
2 changes: 1 addition & 1 deletion src/Composer/ComposerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Composer;
namespace GMTA\Velocita\Composer\Composer;

use Composer\Factory;

Expand Down
2 changes: 1 addition & 1 deletion src/Composer/OperationAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Composer;
namespace GMTA\Velocita\Composer\Composer;

use Composer\DependencyResolver\Operation\InstallOperation;
use Composer\DependencyResolver\Operation\MarkAliasInstalledOperation;
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/PluginHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Composer;
namespace GMTA\Velocita\Composer\Composer;

use LogicException;

Expand Down
2 changes: 1 addition & 1 deletion src/Config/MirrorMapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Config;
namespace GMTA\Velocita\Composer\Config;

use UnexpectedValueException;

Expand Down
2 changes: 1 addition & 1 deletion src/Config/PluginConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Config;
namespace GMTA\Velocita\Composer\Config;

use RuntimeException;

Expand Down
4 changes: 2 additions & 2 deletions src/Config/PluginConfigReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Config;
namespace GMTA\Velocita\Composer\Config;

use ISAAC\Velocita\Composer\Exceptions\IOException;
use GMTA\Velocita\Composer\Exceptions\IOException;

use function array_key_exists;
use function file_get_contents;
Expand Down
2 changes: 1 addition & 1 deletion src/Config/PluginConfigWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Config;
namespace GMTA\Velocita\Composer\Config;

use function dirname;
use function file_put_contents;
Expand Down
2 changes: 1 addition & 1 deletion src/Config/RemoteConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Config;
namespace GMTA\Velocita\Composer\Config;

use UnexpectedValueException;

Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/IOException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer\Exceptions;
namespace GMTA\Velocita\Composer\Exceptions;

use RuntimeException;

Expand Down
4 changes: 2 additions & 2 deletions src/UrlMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer;
namespace GMTA\Velocita\Composer;

use ISAAC\Velocita\Composer\Config\MirrorMapping;
use GMTA\Velocita\Composer\Config\MirrorMapping;

use function ltrim;
use function preg_match;
Expand Down
16 changes: 8 additions & 8 deletions src/VelocitaPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace ISAAC\Velocita\Composer;
namespace GMTA\Velocita\Composer;

use Composer\Composer;
use Composer\EventDispatcher\EventSubscriberInterface;
Expand All @@ -15,13 +15,13 @@
use Composer\Plugin\PluginInterface;
use Composer\Plugin\PreFileDownloadEvent;
use Exception;
use ISAAC\Velocita\Composer\Commands\CommandProvider;
use ISAAC\Velocita\Composer\Compatibility\CompatibilityDetector;
use ISAAC\Velocita\Composer\Composer\ComposerFactory;
use ISAAC\Velocita\Composer\Config\PluginConfig;
use ISAAC\Velocita\Composer\Config\PluginConfigReader;
use ISAAC\Velocita\Composer\Config\PluginConfigWriter;
use ISAAC\Velocita\Composer\Config\RemoteConfig;
use GMTA\Velocita\Composer\Commands\CommandProvider;
use GMTA\Velocita\Composer\Compatibility\CompatibilityDetector;
use GMTA\Velocita\Composer\Composer\ComposerFactory;
use GMTA\Velocita\Composer\Config\PluginConfig;
use GMTA\Velocita\Composer\Config\PluginConfigReader;
use GMTA\Velocita\Composer\Config\PluginConfigWriter;
use GMTA\Velocita\Composer\Config\RemoteConfig;
use LogicException;
use RuntimeException;
use UnexpectedValueException;
Expand Down
4 changes: 2 additions & 2 deletions tests/testsuite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ runCreateProject() {

installVelocita() {
composer global config repositories.velocita-src path /usr/src/velocita/
composer global require isaac/composer-velocita @dev
composer global require gmta/composer-velocita @dev
}

enableVelocita() {
Expand All @@ -47,7 +47,7 @@ runInstall /output/vanilla-install-output.txt

# Configure Composer to allow plugins
composer config -g allow-plugins.symfony/flex true
composer config -g allow-plugins.isaac/composer-velocita true
composer config -g allow-plugins.gmta/composer-velocita true

# Velocita install
installVelocita
Expand Down

0 comments on commit dc15df6

Please sign in to comment.