Skip to content

Conversation

@lmignon
Copy link
Member

@lmignon lmignon commented Oct 20, 2025

follows #6

bolkedebruin and others added 6 commits October 4, 2025 11:54
This commit introduces major enhancements to make msgraphfs more intuitive
to use.

- Support URL-based filesystem paths (msgd://site/drive/path)
- Enable single filesystem instance to access multiple SharePoint sites
- Add automatic site and drive discovery from URLs
- Support msgd://, sharepoint://, and onedrive:// protocols

- Add AZURE_* environment variable fallback support
- Implement robust OAuth2 token management with automatic refresh
- Support both client credentials and delegated authentication flows

- Implement lazy HTTP client initialization to prevent fork issues
- Add process ID tracking to detect forks and reinitialize clients
- Make filesystem safe for multi-process environments like Airflow
- Resolve threading and subprocess compatibility problems

- Add comprehensive file permissions API (get_permissions method)
- Extended metadata with SharePoint-specific fields (weburl, fields)
- Include permission analysis with user, group, and link breakdown
- Support expand parameters for additional metadata retrieval

- Replace content.py with proper pytest fixtures in conftest.py
- Add comprehensive live credential testing capabilities
- Implement environment variable configuration for test credentials
- Add OAuth2 integration tests and URL parsing validation

- Extensive documentation updates with usage examples
- Multiple protocol registration for fsspec integration
- Improved error messages and debugging information
- Add support for Python 3.10+

The changes maintain full backward compatibility while adding:
- Session-scoped pytest fixtures for better test performance
- Lazy initialization patterns for resource management
- Comprehensive URL parsing for flexible path specifications
- Multi-tenancy support with filesystem instance caching
ruff is part of the pre-commit checks
@lmignon lmignon force-pushed the comprehensive-enhancements-lmi branch from 1333720 to 971516e Compare October 20, 2025 07:39
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@bolkedebruin
Copy link
Contributor

O thx! Wasn't able to look at it yet

@bolkedebruin
Copy link
Contributor

and? :-)

@lmignon lmignon merged commit c5f1235 into main Oct 27, 2025
8 checks passed
@lmignon lmignon deleted the comprehensive-enhancements-lmi branch October 27, 2025 07:18
@lmignon
Copy link
Member Author

lmignon commented Oct 27, 2025

@bolkedebruin released

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.

4 participants