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

Clean up linker.php #847

Merged
merged 2 commits into from
Mar 11, 2019
Merged

Clean up linker.php #847

merged 2 commits into from
Mar 11, 2019

Conversation

ryanrath
Copy link
Contributor

Description

  • Removed the auto_loaders section from linker.json. This was replaced by
    require_once("$baseDir/vendor/autoload.php") in linker.php.
  • Moved all entries in linker.json::include_dirs but classes to
    composer.json::autoload::classmap.
  • Updated composer.lock because composer.json was updated.
  • All of the XSEDE entries in linker.json::include_dirs was moved to the XSEDE
    modules linker.d/xsede.json.

NOTE: There are accompanying PR's for supremm and appkernels that will need to be merged before those modules can be used w/ this PR.

Motivation and Context

Now that linkers.json is being read / processed by XdmodConfiguration it supports merging / extending etc.

Tests performed

All automated tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

- Removed the `auto_loaders` section from `linker.json`. This was replaced by
  `require_once("$baseDir/vendor/autoload.php")` in `linker.php`.
- Moved all entries in `linker.json::include_dirs` but `classes` to
  `composer.json::autoload::classmap`.
- Updated composer.lock because composer.json was updated.
- All of the XSEDE entries in `linker.json::include_dirs` was moved to the XSEDE
  modules `linker.d/xsede.json`.
@ryanrath ryanrath added the bug Bugfixes label Mar 11, 2019
@ryanrath ryanrath added this to the 8.1.0 milestone Mar 11, 2019
@ryanrath ryanrath requested a review from jtpalmer March 11, 2019 18:27
@ryanrath ryanrath merged commit 4f490c1 into ubccr:xdmod8.1 Mar 11, 2019
jtpalmer pushed a commit to jtpalmer/xdmod that referenced this pull request Mar 12, 2019
- Removed the `auto_loaders` section from `linker.json`. This was replaced by
  `require_once("$baseDir/vendor/autoload.php")` in `linker.php`.
- Moved all entries in `linker.json::include_dirs` but `classes` to
  `composer.json::autoload::classmap`.
- Updated composer.lock because composer.json was updated.
- All of the XSEDE entries in `linker.json::include_dirs` was moved to the XSEDE
  modules `linker.d/xsede.json`.
@smgallo smgallo changed the title Updating linker.php Clean up linker.php Apr 10, 2019
@smgallo smgallo added qa / testing Updates/additions to tests and removed bug Bugfixes labels Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa / testing Updates/additions to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants