Skip to content

Use drupal namespace instead of islandora.#130

Merged
aOelschlager merged 2 commits into2.xfrom
namespace
Sep 4, 2024
Merged

Use drupal namespace instead of islandora.#130
aOelschlager merged 2 commits into2.xfrom
namespace

Conversation

@rosiel
Copy link
Member

@rosiel rosiel commented Aug 29, 2024

GitHub Issue: Islandora/documentation#2270

  • Other Relevant Links (Google Groups discussion, related pull requests,
    Release pull requests, etc.)

https://groups.google.com/g/islandora/c/brFsDlPRwrI/m/JcgM29OwAAAJ

What does this Pull Request do?

Changes the name of the module.

What's new?

  • changes islandora/controlled_access_terms to drupal/controlled_access_terms

How should this be tested?

  • On a properly set-up Islandora site, this should be transparent. you should already require drupal/controlled_access_terms. Also you should be getting it from drupal.org.
  • It is the desired state that when you composer require drupal/controlled_access_terms, you should get it from drupal.org (because you have the drupal composer repository:
   "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
    ]

This already happens but is due to our syncing to Drupal.org.

  • If you do need to download this code from GitHub (for testing PRs) then add a repository to your composer.json that points to this repo, and position it above the packages.drupal.org/8 one.
  • The only tangible result of this PR is that composer require islandora/controlled_access_terms should stop working, which can't be tested until merge.
  • Tests still need to pass. I edited the namespace there too.

Additional Notes:

Any additional information that you think would be helpful when reviewing this
PR.

Interested parties

Tag (@ mention) interested parties or, if unsure, @Islandora/committers

@rosiel
Copy link
Member Author

rosiel commented Aug 29, 2024

Reminder to use composer why on all your sites to make sure you don't have dependencies that require the old namespace.
composer why islandora/controlled_access_terms

Copy link
Contributor

@aOelschlager aOelschlager left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved in tech meeting.

@aOelschlager aOelschlager merged commit 5176a35 into 2.x Sep 4, 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

Successfully merging this pull request may close these issues.

2 participants