-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
publish the whole zf1s/zf1 package #133
Conversation
@@ -102,6 +103,19 @@ Currently everything should be compatible with **PHP 5.3-8.0**. _5.2 support is | |||
They may also contain some fixes, either for long-standing bugs, which haven't made their way into zf1 official repo before EOL, or newly found ones | |||
and (backwards compatible) adjustments (optimisations for composer autoloader mostly). Maybe even one or two new features. | |||
|
|||
Still, the main purpose is to allow working on legacy projects on more modern systems, while opening the possibility to **migrate away from zf1 gradually, one component at a time**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@falkenhawk what do you think about adding suggest
section including all zf1s/*
packages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that might be an overkill 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right, let's ignore it
@@ -117,6 +117,7 @@ | |||
} | |||
}, | |||
"replace": { | |||
"zendframework/zendframework1": ">=1.12.20", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why >=1.12.20
? Maybe we should replace only versions greater than >1.12.20
https://github.com/zendframework/zf1/tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's fine to cover last officially released version. zf1-future and diablomedia/zf1 have both configured it that way too.
702981c
to
670a47b
Compare
670a47b
to
1a93b55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do that! I would verify the usage statistics within next few months.
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "zf1s/zf1", | |||
"description": "Monorepo for zf1s (Zend Framework 1) packages", | |||
"description": "Zend Framework 1 complete package, PHP 5.3-8.0 compatible. Please consider using individual zf1s/zend-* packages instead - see README.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure you should put usage to description of composer package. having block in readme is sufficient i believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it there deliberately, so that it is visible already in the packagist search
and also at the top of the package's page, with big font.
it's still not a drop-in to replacement to does this solution actually satisfy what @fredericgboutin-yapla was talking about? |
maybe for zf1-extras to work need to i.e add every package there:
|
It should be, as long as it is installed with It should be also possible now to quickly switch between |
As for @fredericgboutin-yapla if you manage to couple zf1-extras or other packages with zf1s, please let us know here or in #128 🙏 |
@falkenhawk I think we can support here zf1-extras without modification, if we add include-path for all projects. the include path directives you add only to this root project, so the split-out packages will not be affected. |
I wouldn't want to list all |
resolves #57
despite what I wrote in #57 (comment), I've realized that it may make sense to publish the whole
zf1s/zf1
package after all, to easy up the transition period, in which devs should eventually identify and pick only those components they really use, to install (which may not ever happen, but it's ok) ;)Initially (after reading through valid arguments posted by @fredericgboutin-yapla in #128 (comment) ) I thought it would be enough if only
replace
definition"zendframework/zendframework1": ">=1.12.20"
was added, while the whole framework could still be installed with git installation method, as described in #57 (comment),and that
but...
screw that, we do not have to be that opinionated.
I am going to install the whole package
zf1s/zf1
together with 1.15.0 release.