Skip to content

Commit

Permalink
Composer v2 support
Browse files Browse the repository at this point in the history
* Support composer v2: add missing methods
* [TASK] update license parts, change vendor name until initial vendor answers about the future work on his repository

Related: #1
  • Loading branch information
josefglatz authored Nov 4, 2020
1 parent 6156c1f commit 1e28a54
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 442 deletions.
5 changes: 0 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/vendor/
/composer.lock
/.idea
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
The MIT License (MIT)

Copyright (c) 2016 Mercari, Inc
Copyright (c) 2020 Josef Glatz, supseven.at

Copyright for portions of project Foo are held by Mercari, Inc, 2016 as part of project composer-diff-plugin. All other copyright for project composer-diff-plugin are held by Josef Glatz, supseven.at, 2020.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
composer-diff-plugin
==================
====================

composer plugin to show library version diff at "composer update".

Expand All @@ -9,27 +9,28 @@ feature
-----------------

* print upgrade/downgrade/add/remove of libraries.
* output `composer.list` file
* output `composer.list` file which can be added to project's GIT repository.


Install
-----------------

```bash
$ composer global require mercari/composer-diff-plugin
$ composer global require josefglatz/composer-diff-plugin
```

Uninstall
----------------

```bash
$ composer global remove mercari/composer-diff-plugin
$ composer global remove josefglatz/composer-diff-plugin
```

License
---------------

Copyright 2016 Mercari, Inc.
Copyright 2020 Josef Glatz, supseven.at

Licensed under the MIT License

Expand All @@ -38,6 +39,6 @@ Contribution

Fork the project, create a feature branch, and send us a pull request.

Please read the CLA carefully before submitting your contribution to Mercari.
Please read the CLA carefully before submitting your contribution to Mercari repository.

https://www.mercari.com/cla/
16 changes: 10 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
{
"name": "mercari/composer-diff-plugin",
"description": "composer plugin to show library version diff at \"composer update\"",
"name": "josefglatz/composer-diff-plugin",
"description": "composer plugin which creates a composer.list file and shows library version diff at \"composer update\"",
"type": "composer-plugin",
"license": "MIT",
"authors": [
{
"name": "Hiraku NAKANO",
"email": "hiraku@mercari.com"
},
{
"name": "Josef Glatz",
"email": "j.glatz@supseven.at"
}
],
"require": {
"composer-plugin-api": ">=1.0.0-alpha10"
"composer-runtime-api": "^2"
},
"require-dev": {
"composer/composer": "1.0.0-alpha10"
"composer/composer": "^2.0"
},
"autoload": {
"psr-4": {
"Mercari\\ComposerDiffPlugin\\": "src/"
"JosefGlatz\\ComposerDiffPlugin\\": "src/"
}
},
"extra": {
"class": "Mercari\\ComposerDiffPlugin\\DiffPlugin"
"class": "JosefGlatz\\ComposerDiffPlugin\\DiffPlugin"
}
}
Loading

0 comments on commit 1e28a54

Please sign in to comment.