Skip to content

Commit

Permalink
Merge pull request #4 from hexrom/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
hexrom authored Dec 28, 2023
2 parents 5dc5ae4 + f26107f commit a0881c4
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 5 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Python App Workflow

on:
push:
branches:
- main

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Run GitMiner
run: |
cp config.json.example config.json
python3 gitminer.py --help
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="img/ghe-miner.png" alt="Logo" width="900" height="255">
<img src="img/gitminer.png" width="640" height="320" alt="Logo">

# GHE Miner
GitMiner will query Github useful source code data at the Enterprise, Organization or Repository level.
Expand Down Expand Up @@ -50,20 +50,19 @@ Get a single repo from an org:
Local run:

```
$ python gitminer.py --hostname acme --org DevOps --repo GitMiner
$ python3 gitminer.py --hostname acme --org DevOps --repo ghe-miner
```


Get all repos for a single org:

```
$ python gitminer.py --hostname acme --org DevOps
$ python3 gitminer.py --hostname acme --org DevOps
```

Get all repos for all orgs:

```
$ python gitminer.py --hostname acme --all
$ python3 gitminer.py --hostname acme --all
```

# Sample Output
Expand Down
Binary file removed img/ghe-miner.png
Binary file not shown.
Binary file added img/gitminer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a0881c4

Please sign in to comment.