Skip to content
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

[FEATURE] Add SHOW CONTRIBUTORS method #320

Open
jeffreyaven opened this issue Oct 26, 2023 · 3 comments
Open

[FEATURE] Add SHOW CONTRIBUTORS method #320

jeffreyaven opened this issue Oct 26, 2023 · 3 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@jeffreyaven
Copy link
Member

jeffreyaven commented Oct 26, 2023

Feature Description
Add a method in stackql to credit contributors to the project. This will publicly acknowledge community members who make any contributions to the project, like credits which used to be embedded in old school programs as easter eggs 😊

Example(s)
Through exec, shell or a wire protocol client to srv, this...

SHOW CONTRIBUTORS

would return something like...

+----------------------+
|        login         |
+----------------------+
| general-kroll-4-life |
| yunchengyang515      |
| jthegedus            |
| jeffreyaven          |
| ...                  |
+----------------------+

Possible Approaches or Libraries to Consider

  1. run the following query in the CI workflow, using the stackql-exec GitHub Action:
SELECT c.login as contrtibutor FROM 
github.repos.contributors c
INNER JOIN github.activity.repo_stargazers s
ON s.login = c.login
WHERE owner = 'stackql' AND repo = 'stackql'
  1. pass a result set to the build process using -ldflags here, to be compiled as a static list
@jeffreyaven jeffreyaven added enhancement New feature or request hacktoberfest labels Oct 26, 2023
@yunchengyang515
Copy link
Contributor

Will have a look soon

@adkol
Copy link

adkol commented Nov 8, 2023

Hello, I would like to work on this. Is there a way to claim it?

@jeffreyaven
Copy link
Member Author

Hi @adkol had another dev working on this one, would you be able to pick up one of the other ones, a bunch of unit tests which would be easier to get started with, let us know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants