-
Notifications
You must be signed in to change notification settings - Fork 0
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
Design a "bot" to assist "managing" of the dandisets by authorized users #360
Comments
FWIW https://github.com/dependabot is a great bot/project/resource to checkout .Since it is quite modular and configurable, I even started to wonder if we could build on top of it even if for some jobs... |
The JOSS editorial-bot https://github.com/openjournals/buffy might also be a good bot/project/resource to check out. |
Preliminary research:
Next step: Search PyPI and elsewhere for pre-existing GitHub App frameworks |
I'm pretty sure that Dependabot's modularity & configurability is all oriented around updating dependencies; e.g., you can add a module for looking up packages in a new package source, but you can't add a module for operating on dandisets. Also, it's written in Ruby, which I don't know and I don't think anyone else on the team knows. |
[Work in Progress] Features to judge packages on:
Relevant (to varying degrees) Python packages found so far:
GitHub apps written in Python:
|
DataLad dandisets are not "sources", they are automagically updated by a cron service running on drogon. As such we should not give any write permissions to original authors/owners of the dandisets as known to the DANDI system.
Only DANDI archive has information about which users have write access to the original dandiset, and thus should be capable e.g. to
Triage
role. E.g.@dandibot add @login1 @login2 to the dandiset
,@dandibot remove @login1 @login2 from the dandiset
(Design a "bot" to assist "managing" of the dandisets by authorized users #360)@dandibot accept PR
It will be responsibility of the bot to first verify that the author of the command is among authors of the dandiset to operate on the command.
Such bot service might also help to show/seek confirmation from the authors for some scheduled/mass maintenance tasks etc as we mind stormed with @rly during ODIN, e.g.
.nwb
files:Some extra "cron" jobs which might need to be performed but not necessary need to be a part of "bot" I guess:
TODOs (yet to be finalized)
refs:
The text was updated successfully, but these errors were encountered: