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

[3.0] Manage third party libs via composer #8240

Open
wants to merge 16 commits into
base: release-3.0
Choose a base branch
from

Conversation

MissAllSunday
Copy link
Contributor

This is a simple POC for allowing SMF to handle their internal third party libraries via composer.

Some key features to take into consideration for this POC

  • Composer is solely used by SMF, that is, no access to mod authors. Mod authors can still ship their own vendor folder if they provide their respective configuration for it
  • Modifications to Simplemachines/build-tools will have to be made to further remove hardcoded instances of third party libs, happy to do those changes myself if required.
  • SMF release process will need to change to accommodate composer commands.

.scrutinizer.yml Outdated Show resolved Hide resolved
Sources/Config.php Outdated Show resolved Hide resolved
index.php Outdated Show resolved Hide resolved
Copy link
Contributor

@live627 live627 left a comment

Choose a reason for hiding this comment

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

Tested working. Normal forum operations still work as expected.

@live627
Copy link
Contributor

live627 commented Dec 20, 2024

@MissAllSunday this is still marked as draft. You plan on more changes here?

@MissAllSunday
Copy link
Contributor Author

@MissAllSunday this is still marked as draft. You plan on more changes here?

Nope, will mark it as ready and resolve the conflicts

@MissAllSunday MissAllSunday marked this pull request as ready for review December 24, 2024 17:06
@MissAllSunday MissAllSunday changed the title POC: manage third party libs via composer [3.0] Manage third party libs via composer Dec 24, 2024
@live627
Copy link
Contributor

live627 commented Dec 25, 2024

Upon further testing, integrate_autoload doesn't work because it is called before settings are loaded. My fix live627@cfdfe79 should I submit this as another PR?

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.

3 participants