Closed abelsiqueira closed 2 years ago
We can disagree with the issues or come up with our own issues.
cc @fdiblen @jspaaks
My proposal (WIP)
GH issue
and use the same textPR
and use the same textOverview:
[send me a pr]
, we send an automated PR.x: decide on language
Julia with GitHub.jl. I like Julia and I have used GitHub.jl before. It can access cffconvert
as a Python package, and as a shell
command. Cons: first time usage for colleagues. GitHub.jl doesn't cover search.
x: decide on what to automate
See #16
x: Write the text of the issue
x: decide on input/output for the filters
I think it depends on the size of the initial body of work, but I would prefer to have an auxiliary function to read and write to file, and read and return internal objects (arrays of dictionaries?) for speed.
Split into filtering function for reusability and script
Many of the filters are useful for other CFF bot applications, such as
CITATION.cff
fileCITATION.cff
occurring in the root of the repoCITATION.cff
x: Add functionality to filter based on whether the repo accepts external PRs
It would be ideal, but can it be done automatically?
x: Add functionality to filter based on whether we already sent a similar PR previously
I would not worry at first.
x: Add functionality to filter based on whether the repo's CITATION.cff has seen multiple updates
Could be a sorting criteria, instead of filter.
This is a multicriteria situtation, so we need to handle with care, instead of simply piping sorting functions.
We decided on the following plan:
curl https://research-software.nl/api/software_cache | jq '.[] | .repositoryURLs.github[]' --raw-output > urls.txt
Spawned from standup.
Each one creates a plan (answering the issues) and we discuss approaches in the meeting.