Skip to content

Schrodinger-Hat/COG

Repository files navigation

Contributors Forks Stargazers Issues


Table of Contents
  1. About The Project
  2. Usage
  3. Contributing
  4. Contact

About The Project

This is a project that we use to automate issues creation for vote talks of Open Source Day. We have the call for speakers on sessionize, where we can download a csv file with talk+speaker name and to let the community vote we need all of them into issues.

The name COG is meant to lead back to the fact that this project is nothing more than a cog in a larger mechanism.

Tech stack

The main language is GO and the main graphical library is bubbletea, nothing more.

Usage

At the moment the fastest way to run this is to run:

go mod tidy
export GHTOKEN=<your-token>
go run main.go -csv <path-to-csv> -gh-user <user-repository> -gh-repository <repository>

The csv must have a similar structure of this template:

name,description,labels
issue name,issue description,good first issue;bug;question
another issue name,another issue description,question

Is very important to split the labels with the separator ; otherwise something unexpected might happen.

Last thing, the most important one: you need a Github Personal Access Token no specific scope are needed.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

Contact

Schrödinger's Hat Team - @schrodinger_hat

Project Link: https://github.com/Schrodinger-Hat/cog