Skip to content

Commit

Permalink
Rename ISAAC to the GMTA namespace
Browse files Browse the repository at this point in the history
The project was transfered since the organisation no longer exists.
  • Loading branch information
gmta committed Apr 26, 2024
1 parent 711fac6 commit 029b3df
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 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,8 +1,8 @@
# Velocita

[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/isaaceindhoven/velocita-proxy?sort=semver)](https://hub.docker.com/r/isaaceindhoven/velocita-proxy)
[![Docker Pulls](https://img.shields.io/docker/pulls/isaaceindhoven/velocita-proxy)](https://hub.docker.com/r/isaaceindhoven/velocita-proxy)
[![License](https://img.shields.io/github/license/isaaceindhoven/velocita-proxy)](https://github.com/isaaceindhoven/velocita-proxy/blob/master/LICENSE)
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/gmta/velocita-proxy?sort=semver)](https://hub.docker.com/r/gmta/velocita-proxy)
[![Docker Pulls](https://img.shields.io/docker/pulls/gmta/velocita-proxy)](https://hub.docker.com/r/gmta/velocita-proxy)
[![License](https://img.shields.io/github/license/gmta/velocita-proxy)](https://github.com/gmta/velocita-proxy/blob/master/LICENSE)

Velocita is a caching reverse proxy for Composer repositories and package distribution locations, such as Packagist or GitHub.

Expand All @@ -16,7 +16,7 @@ Velocita is a caching reverse proxy for Composer repositories and package distri
There are two parts to Velocita:

* Velocita Proxy, a caching reverse proxy
* [Composer-velocita](https://github.com/isaaceindhoven/composer-velocita), a plugin which instructs Composer to use a Velocita Proxy instance
* [Composer-velocita](https://github.com/gmta/composer-velocita), a plugin which instructs Composer to use a Velocita Proxy instance

### Running Velocita Proxy

Expand All @@ -27,7 +27,7 @@ Velocita is available as a Docker image. There are two supported ways to run thi
1. Clone this repository:

```
git clone https://github.com/isaaceindhoven/velocita-proxy
git clone https://github.com/gmta/velocita-proxy
cd velocita-proxy
```
Expand All @@ -53,15 +53,15 @@ Alternatively, you can run the Docker image directly: see [the image's usage ins
### Using Composer-velocita
[Composer-velocita](https://github.com/isaaceindhoven/composer-velocita) is a Composer plugin that redirects downloads
[Composer-velocita](https://github.com/gmta/composer-velocita) is a Composer plugin that redirects downloads
to your Velocita instance for all repositories it supports.
Run the following commands on the machine where you want to enable Velocita, replacing
`https://url.to.your.velocita.tld/` with the URL of your instance:
```
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 Down Expand Up @@ -107,7 +107,7 @@ Benchmark setup:
## Contributing
Raise an issue or submit a pull request on [GitHub](https://github.com/isaaceindhoven/velocita-proxy).
Raise an issue or submit a pull request on [GitHub](https://github.com/gmta/velocita-proxy).
## License
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.2'
services:
proxy:
env_file: .env
image: isaaceindhoven/velocita-proxy:latest
image: gmta/velocita-proxy:latest
ports:
- "0.0.0.0:${VELOCITA_HTTP_PORT}:8080"
volumes:
Expand Down
12 changes: 6 additions & 6 deletions proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Velocita Proxy Docker image

[Velocita](https://github.com/isaaceindhoven/velocita-proxy) acts as a caching reverse proxy to Composer repositories.
[Velocita](https://github.com/gmta/velocita-proxy) acts as a caching reverse proxy to Composer repositories.

Combined with [composer-velocita](https://github.com/isaaceindhoven/composer-velocita), it increases the performance
Combined with [composer-velocita](https://github.com/gmta/composer-velocita), it increases the performance
of a `composer install` when a local cache is not yet available and makes sure packages can be downloaded even if the
source location is experiencing issues.

Expand All @@ -15,7 +15,7 @@ docker run -d --name velocita -p 80:8080 \
-e MIRROR_PACKAGIST_URL=https://repo.packagist.org \
-e MIRROR_PACKAGIST_TYPE=composer \
-e MIRROR_GITHUB_CODELOAD_URL=https://codeload.github.com \
isaaceindhoven/velocita-proxy
gmta/velocita-proxy
```

Go ahead and visit `http://localhost/mirror/packagist/packages.json` - this should now give you the Packagist index!
Expand Down Expand Up @@ -46,7 +46,7 @@ docker run -d --name velocita -p 80:8080 \
-e MIRROR_WPACKAGIST_TYPE=composer \
-e MIRROR_FIREGENTO_URL=https://packages.firegento.com \
-e MIRROR_FIREGENTO_TYPE=composer \
isaaceindhoven/velocita-proxy
gmta/velocita-proxy
```

For every mirror, the following configuration options are available:
Expand Down Expand Up @@ -76,7 +76,7 @@ docker run -d --name velocita -p 80:8080 \
-e MIRROR_PACKAGIST_URL=https://repo.packagist.org \
-e MIRROR_PACKAGIST_TYPE=composer \
-v /path/on/host:/var/cache/velocita \
isaaceindhoven/velocita-proxy
gmta/velocita-proxy
```

## Enabling HTTPS
Expand All @@ -95,7 +95,7 @@ docker run -d --name velocita -p 80:8080 -p 443:8443 \
-e MIRROR_PACKAGIST_TYPE=composer \
-v /path/to/certificate.crt:/etc/nginx/server.crt \
-v /path/to/keyfile.pem:/etc/nginx/server.key \
isaaceindhoven/velocita-proxy
gmta/velocita-proxy
```

HTTP requests will be redirected to HTTPS.
Expand Down
6 changes: 3 additions & 3 deletions proxy/templates/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ ENV.keys.map { |key| key.to_s }
</p>
<h2>Getting started</h2>
<p>
Install <a href="https://packagist.org/packages/isaac/composer-velocita">composer-velocita</a> and point it to <a href="<%= velocita_url %>"><%= velocita_url %></a>:
Install <a href="https://packagist.org/packages/gmta/composer-velocita">composer-velocita</a> and point it to <a href="<%= velocita_url %>"><%= velocita_url %></a>:
</p>
<pre>
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 <%= velocita_url %>
</pre>
<h2>Configured mirrors</h2>
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-and-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi

pushd $(dirname $0)/../proxy/ >/dev/null

imageName=isaaceindhoven/velocita-proxy
imageName=gmta/velocita-proxy

git tag "v${targetVersion}"
git push --tags
Expand Down

0 comments on commit 029b3df

Please sign in to comment.