On Mar 7, 2019, at 11:04, 木下 聖子フローラ <kki...@soka.ac.jp> wrote:Hello all,I hope you’re all doing well!I’d like to set up a GLIC Skype meeting to discuss the following items:
- Adding Badges to Software and Databases to indicate reliability
- Promotion of the GLIC software repository
- GlycoCT documentation (version 4)
- GlycoCT validation
- GlySpace Alliance
Please submit to this poll by Friday, March 22nd.Thanks!Kiyoko------------------------------------------------------Kiyoko F. Aoki-KinoshitaProfessorFaculty of Science and Engineering, Soka University------------------------------------------------------
RE Point 2: If we’ve already put a GitHub repository URL into GLIC's registry, we can fetch the license and most recent tag using GitHub REST API.
$ curl https://api.github.com/repos/mobiusklein/glycresoft | jq ".license"
>{
> "key": "apache-2.0",
> "name": "Apache License 2.0", <<< Grab this
> "spdx_id": "Apache-2.0",
> "url": "https://api.github.com/licenses/apache-2.0",
> "node_id": "MDc6TGljZW5zZTI="
>}
$ curl https://api.github.com/repos/mobiusklein/glycresoft/tags | jq .[1]
> {
> "name": "v0.4.4rc", <<< Grab this
> "zipball_url": "https://api.github.com/repos/mobiusklein/glycresoft/zipball/v0.4.4rc",
> "tarball_url": "https://api.github.com/repos/mobiusklein/glycresoft/tarball/v0.4.4rc",
> "commit": {
> "sha": "71d0a3acbb7d7aa7101a9eb5fe967aa6c97f69b6",
> "url": "https://api.github.com/repos/mobiusklein/glycresoft/commits/71d0a3acbb7d7aa7101a9eb5fe967aa6c97f69b6"
> },
> "node_id": "MDM6UmVmNjI5ODA4MTM6cmVmcy90YWdzL3YwLjQuNHJj"
>}
This doesn’t require any additional work on the repository owner’s part unless their license file isn’t automatically picked up or they do not use tags/releases to manage their versioning.
I use this plus a little JavaScript to mirror my releases to the relevant page on Joe's lab website (http://www.bumc.bu.edu/msr/glycresoft/) without ever doing anything beyond the normal GitHub release making process.