Closed Schlaefer closed 8 years ago
on packagist.org the latest version is 1.6.0: https://packagist.org/packages/phile-cms/phile also an update not work. this is strange, because in other projects like TYPO3, the composer.json does not contains a version information. tagging should be enough. This must be investigated, because the recommendation by composer is, to not add the version information.
Just for your information: I have added you and @james2doyle as maintainer to the packagist projects.
tagging should be enough
As I said in #286, this is my understanding and experience on other projects too. I tried in 1.5.0 but ran into similar problems. Afair I spend some time looking into the issue, but in the end it wasn't worth investigating further (setting up new test project on packagist, diving into composer debugging, pocking into the black box that is git/github/packagist, …)
I guess what I want to say is that I'm ready to accept the will of the coding-gods on this matter. Let's include the version string in the composer file and call it a day.
But more power to anyone who's able to figure it out! 😄
Not sure what happened, but the changes from #286 seem to be missing on both the master branch and the 1.7.0 tag. The composer.json file there still has listed in it "version": "1.6.0"
which might be why packagist doesn't show a 1.7.0 version.
Is it possible that Packagist now expects a version property and since it is removed it can't find a later version?
On Mon, Apr 25, 2016 at 11:30 AM kicken notifications@github.com wrote:
Not sure what happened, but the changes from #286 https://github.com/PhileCMS/Phile/pull/286 seem to be missing on both the master branch and the 1.7.0 tag. The composer.json file there still has listed in it "version": "1.6.0" which might be why packagist doesn't show a 1.7.0 version.
— You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/PhileCMS/Phile/issues/294#issuecomment-214439851
Is it possible that Packagist now expects a version property and since it is removed it can't find a later version?
If you check the 1.7.0 tag's composer.json file it still has the version property in it. I think Packagist is seeing this and overriding the 1.7.0 tag with the 1.6.0 specified in composer.json.
Somehow the changes to remove the version seem to have never made it in.
So should the version be removed or bumped to 1.7.0?
Removed I think. Without the version property it should pick up the version by the tag name.
what do you think about a new release with the version number 1.7.1 to make sure packagist are updated correctly and the problem is fixed now?
Agree. I wiped up a release in #297. Let's see if the test run through.
packagist,org is up-to-date
Please report your issue with the following information:
Excpected behavior
Phile installs via composer by the officially encouraged command.
Actual behavior
Steps to reproduce the behavior
run
composer create-project --no-dev phile-cms/phile
Additional information
I just wanted to do check that 1.7 composer installation runs through but it failed. I believe it's related to removing the version information from composer.json in #286.