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

PROPFIND and glob fix #45

Merged
merged 7 commits into from
May 24, 2024
Merged

Conversation

turetske
Copy link
Collaborator

Closes #41
Closes #3
Closes #4
Closes #10

Relies on #42, so review that first.

@turetske turetske requested review from bbockelm and removed request for bbockelm May 19, 2024 13:50
@turetske turetske marked this pull request as draft May 19, 2024 13:53
@turetske turetske marked this pull request as ready for review May 19, 2024 14:37
@turetske turetske force-pushed the use-propfind-for-ls branch 3 times, most recently from 8f08fd7 to 864432a Compare May 21, 2024 22:29
turetske added 6 commits May 21, 2024 17:39
	-- Moved glob to the top level to deal with potential '//'
	-- Added a get_dirlist_url function that uses PROPFIND
	-- Removed unused get_dirlist_host from the parser module
Also created a work-around for isdir and isfile
@turetske turetske force-pushed the use-propfind-for-ls branch from 864432a to 7a3a002 Compare May 21, 2024 22:39
Copy link
Contributor

@bbockelm bbockelm left a comment

Choose a reason for hiding this comment

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

Some minor items in the review -- please address them and merge.

I think the find & glob methods need better test coverage -- I'm concerned by the fact the tricky logic is around multiple subdirectories and we only have a test for a single level. Please open up a new issue as a follow-up.

src/pelicanfs/core.py Show resolved Hide resolved
src/pelicanfs/core.py Show resolved Hide resolved
src/pelicanfs/core.py Outdated Show resolved Hide resolved
src/pelicanfs/core.py Outdated Show resolved Hide resolved
@turetske turetske linked an issue May 24, 2024 that may be closed by this pull request
…t_mapper' root

	-- Renamed and made the _remove_hostname_from_path/s methods static methods
	-- Added tests for _remove_hostname_from_paths
	-- get_mapper now works with an absolute path rather than a url to a cache

        Also added two example notebooks to show how things work
@turetske turetske merged commit 3391f00 into PelicanPlatform:main May 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants