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

WIP: Added protocol plugins #958

Closed
wants to merge 12 commits into from
Closed

WIP: Added protocol plugins #958

wants to merge 12 commits into from

Conversation

jesper-friis
Copy link
Collaborator

Description

Added protocol plugins to separate protocol from storage driver. The protocol plugins are currently only implemented in Python.

Currently 3 protocols plugins has been added: file, http and sftp.

Type of change

  • Bug fix & code cleanup
  • New feature
  • Documentation update
  • Test update

Checklist for the reviewer

This checklist should be used as a help for the reviewer.

  • Is the change limited to one issue?
  • Does this PR close the issue?
  • Is the code easy to read and understand?
  • Do all new feature have an accompanying new test?
  • Has the documentation been updated as necessary?

@jesper-friis jesper-friis removed the request for review from francescalb October 6, 2024 12:50
@jesper-friis jesper-friis added Keep for reference This PR might not be merged, but has valuable content wontfix This will not be worked on labels Oct 6, 2024
@jesper-friis
Copy link
Collaborator Author

No more need to keep this PR open...

jesper-friis added a commit that referenced this pull request Oct 15, 2024
Added protocol plugins to separate protocol from storage driver. The protocol plugins are currently only implemented in Python. Currently 3 protocols plugins has been added: file, http and sftp.

Other improvements:
* Updated installation of Python packages
* Generalised cmake statements by using generator expression
* Made urlencode accessible from Python
* Improve testing of uriencode()/uridecode()
* Fixed some issues the Options class
* Updated C implementation of protocol paths
* Added to tips and tricks
* Ensure that location always is a string, since urlparse on Windows does not support Path objects.
* Added documentation
* Fixed segfault in Python interface to urlencode() and added parse_query() and make_query() functions.
* Updated dlite.options module
* Added test_options.py
* Added more tests and included protocols to Instance.from_url(url) and save(url)
* Cleaning up and simplifying CMakeLists.txt
* Reduce MSVS warnings
* Added test_plugin.py

---------

Co-authored-by: Francesca L. Bleken <48128015+francescalb@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Keep for reference This PR might not be merged, but has valuable content wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant