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

Refactor galaxy.files plugin loading + config handling. #18049

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

jmchilton
Copy link
Member

  • Downstream I want a way to load plugins from outside the ConfiguredFileSources class for per-user plugin definitions (xref jmchilton@77964e0).
  • Adds some more typing as I went in there and refactored things.

How to test the changes?

(Select all options that apply)

  • This is a refactoring of components with existing test coverage.

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@jmchilton jmchilton added kind/refactoring cleanup or refactoring of existing code, no functional changes area/backend labels Apr 24, 2024
@davelopez
Copy link
Contributor

davelopez commented Apr 24, 2024

This is great! Thanks!
I'm also exploring adding pagination support for file sources (does not conflict with this, no worries), and I have some stashed refactorings around file sources too, mostly stronger type annotations and defining some protocols for user context, etc.

Let me know if I should open an early draft PR with those type annotations so we can discuss on them.

xref: #18050

@jmchilton jmchilton marked this pull request as ready for review April 25, 2024 11:26
@github-actions github-actions bot added this to the 24.1 milestone Apr 25, 2024
@mvdbeek
Copy link
Member

mvdbeek commented Apr 25, 2024

@jmchilton can you rebase against dev to get those tests running ?

@davelopez
Copy link
Contributor

Yep, was going to say exactly that, didn't know if 64be33e made it to dev already

- Downstream I want a way to load plugins from outside the ConfiguredFileSources class.
- Adds some more typing as I went in there and refactored things.
Copy link
Contributor

@davelopez davelopez left a comment

Choose a reason for hiding this comment

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

Thank you so much!

@davelopez davelopez merged commit 9547709 into galaxyproject:dev Apr 26, 2024
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend kind/refactoring cleanup or refactoring of existing code, no functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants