Skip to content

Commit

Permalink
Added upgrade notices
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Jan 9, 2023
1 parent 134dde0 commit 6ad4e20
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ Packeton - Private PHP package repository for vendors
Fork of [Packagist](https://github.com/composer/packagist).
The Open Source alternative of [Private Packagist for vendors](https://packagist.com), that based on [Satis](https://github.com/composer/satis) and [Packagist](https://github.com/composer/packagist).

### Legacy Symfony 3.4 version
### Legacy Symfony 3.4 version

[See docs](../1.4/README.md)
[Legacy docs](../1.4/README.md)

Update to 2.0. [UPGRADE.md](./UPGRADE.md)

Features
--------
Expand Down
50 changes: 50 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# UPGRADE

## UPGRADE FROM 1.4 to 2.0

- Require PHP 8.1+
- Symfony LTS has been changed from `3.4` to `5.4`
- Application composer HOME was changed to `%kernel.project_dir%/var/.composer`

#### Run migrations
There are no major BC breaks in the database structure.

Run the command to show SQL changes:

```
bin/console doctrine:schema:update --dump-sql
```

Run the command to execute migrations:

```
bin/console doctrine:schema:update --force
```

*Note*
Now composer v2 metadata is supported. The app also supports composer v1 too.
No additional action required.

### Docker UPGRADE

- Image has been renamed from [okvpn/packeton](https://hub.docker.com/r/okvpn/packeton) to [packeton/packeton](https://hub.docker.com/r/packeton/packeton)
- Volume directory structure was changed:
- /data/composer - composer home
- /data/redis - redis data
- /data/zipball - dist path
- /data/ssh - ssh for www-data path

Before:

```
- .docker/redis:/var/lib/redis
- .docker/zipball:/var/www/packagist/app/zipball
- .docker/composer:/var/www/.composer
- .docker/ssh:/var/www/.ssh
```

After:

```
- .docker:/data
```

0 comments on commit 6ad4e20

Please sign in to comment.