Skip to content
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

The moodle/moodle virtual package is too restrictive #1

Open
mackensen opened this issue Jun 30, 2016 · 2 comments
Open

The moodle/moodle virtual package is too restrictive #1

mackensen opened this issue Jun 30, 2016 · 2 comments
Assignees
Labels

Comments

@mackensen
Copy link
Member

I'm in a scenario where some packages aren't blessed for Moodle 3.1, though they probably still work. Because moodle/moodle is a dependency you can't omit it. If you set it 3.1.0 the older packages are excluded. If you set it to 3.0.0 you can't include packages with an explicit 3.1.0 dependency. If you try something like ^3.0.0 you get warned about conflicting versions.

I think the safest solution (for now) is to drop the moodle/moodle virtual package from the build generation while retaining version search.

@mackensen mackensen added the bug label Jun 30, 2016
@mackensen mackensen self-assigned this Jun 30, 2016
@juho-jaakkola
Copy link

I'm also in favor of dropping the moodle/moodle metapackage.

I'm working on a way to install both plugins and Moodle core as dependencies of a parent project: https://github.com/juho-jaakkola/moodle-project. Moodle Packagist is naturally incompatible with that approach, because Composer only processes the metapackage and does not actually install Moodle.

@mackensen
Copy link
Member Author

Yeah, this feature probably isn't coming back. I disabled it on moodlegist.clamp-it.org a while ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants