-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add a workflow for importing a plugin from a git repository or file upload #588
Open
7 of 11 tasks
Tracked by
#586
Labels
feature
New feature to add to project
Comments
keithmanville
added
feature
New feature to add to project
blocked
Unable to move forward because a dependency has yet to be completed
labels
Aug 8, 2024
A workflow for importing resources from a file or git repo. It will handle the importing of the following resources:
{
"groupId": int, # the group that will own the imported resources
"sourceType": Enum("upload", "git"), # the source of the import
"uri": str | None, # the uri of the git repository (if sourceType is git)
"data": bytes | None, # the uploaded archive file (if sourceType is upload)
"readOnly": bool, # whether imported resources should get a readonly lock
"resolveNameConflicts", Enun("fail", "overwrite") # behavior for resolving name conflicts
} |
keithmanville
removed
the
blocked
Unable to move forward because a dependency has yet to be completed
label
Aug 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We want to support the importing of plugins from external sources. This allows for:
This will be implemented as a new workflow in the REST API,
/workflows/resourcesImport
.Initially, all imported plugins will have a read-only lock applied. We will consider mechanisms for editing and reconciling changes in the future.
Initially, we will support importing from a archive (.zip, or .tar.gz) file upload or a git repository (no authentication support). We will consider other sources in the future.
A new database table to track import source will be needed. It should include: id, name, source_type, url, hash, and timestamp(s).
Tasks:
resourcesImport
workflow in the REST API design doc on google driveDefinition of Done:
The text was updated successfully, but these errors were encountered: