Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bjagg/uportal-committers
Surface information needed to efficiently manage uPortal orgs in Github
https://github.com/bjagg/uportal-committers
Last synced: about 2 months ago
JSON representation
Surface information needed to efficiently manage uPortal orgs in Github
- Host: GitHub
- URL: https://github.com/bjagg/uportal-committers
- Owner: bjagg
- License: apache-2.0
- Created: 2023-02-06T17:18:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T14:27:59.000Z (about 1 year ago)
- Last Synced: 2024-10-12T20:30:05.953Z (3 months ago)
- Language: Clojure
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# uPortal-Committers -- Inactive?
## Overview
uPortal-Commiters is a small program that lists members of the
_uPortal Committers_ that have not authored any commits in over a year.
We use this to remove them from the group in order to reduce "noise".
Any inactive committers retain their privileges and only need to request
that they be restored to the group.GitHub API is used to check the main three GitHub organizations for
uPortal projects: _uPortal-project_, _uPortal-contrib_, and
_uPortal-attic_.## Running uPortal-Committers
### Expectations
Note: the execution takes several minutes due to all the Github API calls.
### Set Up
Create a Github API token that has read access to the above orgs.
To make it available to this program (and others at runtime), add the token
to an alias in your user deps.edn,which is usually at `~/.clojure/deps.edn`:```edn
{
:aliases {
:github-api-token {
:jvm-opts ["-Dgithub-api-token="]}
}
}
```If you already have such a file with aliases, you would just add the
`github-api-token` entry into your existing `:aliases` map.Currently the "since" date is hard-coded and should be updated as needed.
### Executing
Assuming you have configured an alias named `github-api-token` that adds
your token as a JVM option as above, run:```sh
clj -X:github-api-token uportal-committers/run
```