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

Update from 0.12.0 to 1.0.0-alpha17 fails #70

Closed
ansergeyg opened this issue Apr 27, 2021 · 2 comments
Closed

Update from 0.12.0 to 1.0.0-alpha17 fails #70

ansergeyg opened this issue Apr 27, 2021 · 2 comments

Comments

@ansergeyg
Copy link

Hi guys,

So we try to conduct major updates for our openeuropa modules like countries/blocks/content etc. , we noticed that this module requires particular update.

In the readme file it is said that we need to require:

composer require drupal/sparql_entity_storage:dev-empty-module

before updating the module itself. But there is no dev-empty-module version. There are only alpha versions.
We tried to install the latest version of this module to see if it works, but immediately faced an issue in the rdf_entity module.

Could you please take a look at this and advise us how to resolve this conflict?

Regards, Sergey

@kimlop
Copy link

kimlop commented Aug 25, 2021

Hi @ansergeyg I solved by adding the module repository directly in composer.json.
In this way you will be able to download the dev-empty-code branch which is not currently published on packagist

 "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        {
            "type": "git",
            "url": "https://git.drupalcode.org/project/sparql_entity_storage.git"
        }
    ],

kimlop added a commit to kimlop/rdf_skos that referenced this issue Aug 25, 2021
fix for the issue: openeuropa#70
@ansergeyg
Copy link
Author

ansergeyg commented Sep 14, 2021

Hi @kimlop ,
Thanks for sharing the fix. I also found out that you cannot simply require a module by its branch name if there is no source.
However the problem seems to be even bigger than that. The first step was unclear, but there are two more step to go. And they are also not clear.
I don't know what is the build procedure for you but we use specialized toolkit to build our project and also specialized deploying workflow which makes it even more complicated to survive this kind of module refactoring (requiring three step (luckily) upgrade later).
If someone faces the same issues: here is the fix for the second step:

ec-europa/rdf_entity#139

PS: To me openeuropa team should really update the manual for this module. Other wise the chain upgrade to any dependent oe modules are not possible. Even worse, mandatory upgrade to drupal 9 is impossible.
Regards, Sergey

brummbar pushed a commit that referenced this issue Feb 24, 2022
fix for the issue: #70
@brummbar brummbar closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants