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

A new MetaDataStorageHandlerDirectory class to load metadata from subdirectories #1984

Conversation

monkeyiq
Copy link
Contributor

@monkeyiq monkeyiq commented Mar 4, 2024

This is another attempt at loading metadata from a subdirectory containing either php or xml files (or both). This specifically allows SP files to be broken out into one file per SP if there are a number of SPs and you wish to maintain a list using one file per SP.

It is quite possible that some code cleanups to this are desired before merging. It seems from the below links that the feature is desirable for a few users and having an implementation based on simplesamlphp-2.1 may allow a merge and closing of a long standing issue and long standing PR.

To be generic this also adds a file property to the config of the MetaDataStorageHandlerFlatFile class so it can be used to load the file instead of directly including it in the new MetaDataStorageHandlerDirectory class. This has the added advantage of a single code path to load those php files so other checks etc in the future can be all in one place.

This relates to #1292 and #1368.

monkeyiq and others added 3 commits February 26, 2024 18:48
…mlphp-2.1-docs

docs: adding some documentation aimed at new and returning developers
@monkeyiq
Copy link
Contributor Author

I should redirect this PR to 2.2 now.

@tvdijen
Copy link
Member

tvdijen commented Mar 20, 2024

It's a new feature, not a bugfix, so this should target 2.3

@tvdijen tvdijen changed the base branch from simplesamlphp-2.1 to simplesamlphp-2.3 March 20, 2024 07:51
@tvdijen tvdijen changed the base branch from simplesamlphp-2.3 to simplesamlphp-2.1 March 20, 2024 07:51
@monkeyiq
Copy link
Contributor Author

I am guessing normally this would be against master instead. Though it seems master is a little more of a longer term release target at this stage :/ I might raise with the ssp board if they would like me to work a bit on master.

@monkeyiq
Copy link
Contributor Author

This is superseded by #2018

@monkeyiq monkeyiq closed this Mar 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants