Elgg / starter-project

Repo to start a project using Elgg
3 stars 14 forks source link

Can't install 3.3 #62

Open samtipton opened 1 month ago

samtipton commented 1 month ago

Trying to run the following command:

composer create-project elgg/starter-project:3.3 elgg-starter-sample-3.3

fails with "Could not find package elgg/starter-project with version 3.3."

I'm on composer version 2.8.1 and PHP version 8.3.12.

Context: I inherited an application on elgg 3.3.24 and I want to update to 5.x so I can upgrade my host's PHP version to 8.x from 7.4.

I know we have some custom changes made so I want a skeleton project to diff against.

I also will need to migrate my databases and having trouble finding good resources for that.

samtipton commented 1 month ago

Correct command is

composer create-project elgg/starter-project:3.3.x-dev elgg-starter-sample-3.3
samtipton commented 1 month ago

however, install script breaks

 Problem 1
    - Root composer.json requires elgg/elgg 3.* -> satisfiable by elgg/elgg[3.0.0-beta.1, ..., 3.3.x-dev].
    - elgg/elgg 3.0.0-beta.1 requires roave/security-advisories dev-master -> satisfiable by roave/security-advisories[dev-master].
    - roave/security-advisories dev-master conflicts with elgg/elgg <3.3.24|>=4,<4.0.5.
    - Conclusion: don't install elgg/elgg 3.0.0-beta.2 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.0.0-beta.3 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.0.0-rc.1 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.0.2 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.0.7 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.1.2 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.1.6 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.2.2 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.2.4 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.3.1 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.3.2 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.3.10 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.3.23 (conflict analysis result)
    - Conclusion: don't install elgg/elgg 3.3.25 (conflict analysis result)
samtipton commented 1 month ago
Problem 1
    - Root composer.json requires elgg/elgg 3.3.24 -> satisfiable by elgg/elgg[3.3.24].
    - elgg/elgg 3.3.24 requires ckeditor/ckeditor ~4.12.0 -> satisfiable by ckeditor/ckeditor[4.12.0, 4.12.1, 4.12.x-dev].
    - elgg/elgg 3.3.24 requires roave/security-advisories dev-master -> satisfiable by roave/security-advisories[dev-master].
    - roave/security-advisories dev-master conflicts with ckeditor/ckeditor <4.24.

Why would you require a dev-master tag?