Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
882 commits
Select commit Hold shift + click to select a range
08a92a1
add logic to support gitlab repos
ABrain7710 Oct 8, 2024
6940a26
update src id search to only match on relevant repos
ABrain7710 Oct 8, 2024
20144c6
Merge pull request #2921 from chaoss/fix-contribiutor-breadth
sgoggins Oct 11, 2024
0eefe56
update CONTRIBUTING.md file to have a better formatting
Mbaoma Oct 11, 2024
c9d5f3f
update README.md file to have a better formatting
Mbaoma Oct 11, 2024
8786f31
remove TODOs
ABrain7710 Oct 15, 2024
4a4d121
Fixed bug
sgoggins Oct 15, 2024
6a6dbff
Merge pull request #2930 from chaoss/dev
sgoggins Oct 15, 2024
c2b9394
Merge pull request #2929 from chaoss/unique-repos
sgoggins Oct 15, 2024
e61a071
syntax error in sql
ABrain7710 Oct 15, 2024
222ec5e
Merge pull request #2933 from chaoss/fix-sql-error
sgoggins Oct 15, 2024
c1036aa
fix scorecard flag from repo to local as well as syntax in metadata e…
IsaacMilarky Oct 15, 2024
efda1bd
Merge pull request #2935 from chaoss/patch-ossf-scorecard-main
sgoggins Oct 15, 2024
055fa7c
update version ID
sgoggins Oct 15, 2024
eba1dec
Merge pull request #2925 from Mbaoma/improve-dockerization
sgoggins Oct 15, 2024
cdb2e56
set repo_id on gitlab comments
ABrain7710 Oct 15, 2024
73c8fb3
README Version Update
sgoggins Oct 15, 2024
4d6293c
Metadata updates
sgoggins Oct 15, 2024
ea5786a
Merge pull request #2937 from chaoss/set-repo-id-gitlab-comments
sgoggins Oct 15, 2024
2cba236
update
sgoggins Oct 16, 2024
4cc0663
removing file
sgoggins Oct 16, 2024
b694796
removing dead files
sgoggins Oct 16, 2024
571aa33
removing dead file
sgoggins Oct 16, 2024
604983c
update Dockerfile and docker command in pipeline to point to Dockerfi…
Mbaoma Oct 18, 2024
03675fc
Merge branch 'main' of https://github.com/chaoss/augur into improve-d…
Mbaoma Oct 18, 2024
dea3b36
update Dockerfile and docker command in pipeline to point to Dockerfi…
Mbaoma Oct 18, 2024
b3dcfe6
Merge pull request #2940 from Mbaoma/improve-dockerization
sgoggins Oct 18, 2024
b6382bd
Merge branch 'dev' into main
sgoggins Oct 18, 2024
48da592
Merge pull request #2934 from chaoss/main
sgoggins Oct 18, 2024
065ef64
Version Bump for Release
sgoggins Oct 18, 2024
dcba3c2
fix libyear parse
IsaacMilarky Oct 27, 2024
0ffad01
Merge pull request #2943 from chaoss/libyear-patch
sgoggins Oct 28, 2024
2a2e4d4
Use jq to make parsing GECKODRIVER API call reproducible
GregSutcliffe Nov 1, 2024
ede2912
Merge pull request #2945 from GregSutcliffe/main
sgoggins Nov 4, 2024
4a9be7a
retry hotfix
IsaacMilarky Nov 7, 2024
45bc3e7
Merge pull request #2949 from chaoss/hotfix-retry
sgoggins Nov 7, 2024
7bba5ab
Merge pull request #2946 from chaoss/main
sgoggins Nov 7, 2024
b68858c
version bump
sgoggins Nov 7, 2024
500730a
set closed at as merged at when closed at is missing
ABrain7710 Nov 13, 2024
c257be6
Initial work on key manager
Ulincsys Dec 3, 2024
5b33039
Update Go version in Docker, and re-enable SCC/Scorecard
GregSutcliffe Dec 5, 2024
a31a04c
Merge pull request #2957 from GregSutcliffe/docker
sgoggins Dec 5, 2024
1a3a70b
Merge pull request #2955 from chaoss/set-pr-closed-at-when-merged
sgoggins Dec 5, 2024
87bd311
implement remaining functionality
Ulincsys Dec 18, 2024
ed050d7
Add test and improve consistency
Ulincsys Jan 7, 2025
74c40f9
Merge branch 'dev' into key-manager
Ulincsys Jan 7, 2025
f6a954e
hotfix for issue 2963
Ulincsys Jan 7, 2025
13bd2ed
full commit message patch
sgoggins Jan 8, 2025
ee4e82c
gitlab hotfix for issue 2963
Ulincsys Jan 8, 2025
5544f52
Merge pull request #2965 from chaoss/commit-message-patch3
sgoggins Jan 8, 2025
6541e35
Merge pull request #2964 from chaoss/main-hotfix-2963
IsaacMilarky Jan 8, 2025
f114b3c
test
sgoggins Jan 8, 2025
1f080a0
return 0 from populate repo_src_id to fix sum error
ABrain7710 Jan 8, 2025
9d8f874
Merge pull request #2966 from chaoss/hotfix-issue-pr-sum-issue
sgoggins Jan 8, 2025
69c044f
Update README.md
sgoggins Jan 8, 2025
a8dc898
Update metadata.py
sgoggins Jan 8, 2025
e3197c9
Merge pull request #2968 from chaoss/main
sgoggins Jan 14, 2025
fcf833f
only collect messages on data that was updated
ABrain7710 Jan 14, 2025
60f8920
Merge pull request #2970 from chaoss/only-speed-up-message-collection
sgoggins Jan 15, 2025
7ed6460
Add startup entrypoints for orchestrator
Ulincsys Jan 15, 2025
9110b4e
Merge branch 'dev' into key-manager
Ulincsys Jan 15, 2025
e99588d
change & to ?
ABrain7710 Jan 15, 2025
6cd0ddb
Merge pull request #2971 from chaoss/fix-syntax-error
sgoggins Jan 15, 2025
34994f0
fix sql synax error
ABrain7710 Jan 15, 2025
15a212f
speed up events collection
ABrain7710 Jan 21, 2025
57c3c80
speed up pr review message collection
ABrain7710 Jan 21, 2025
b27f0f8
fix session syntax error
ABrain7710 Jan 21, 2025
93039e4
start using new key manager
ABrain7710 Jan 21, 2025
42f1545
update existing repo to org group
ABrain7710 Jan 21, 2025
0aa5cd5
update existing repo to org group
ABrain7710 Jan 21, 2025
dacb0d0
Merge remote-tracking branch 'origin/move-repos-to-org' into move-rep…
ABrain7710 Jan 21, 2025
a7d11e1
Merge pull request #2973 from chaoss/fix-syntax-error
sgoggins Jan 21, 2025
f7ed468
Merge pull request #2972 from chaoss/dev
sgoggins Jan 21, 2025
387ab23
expire actually returns a key!
ABrain7710 Jan 22, 2025
67af21b
Merge pull request #2974 from chaoss/speed-up-events-collection
sgoggins Jan 22, 2025
8f838ff
Merge pull request #2975 from chaoss/speed-up-pr-review-comment-colle…
sgoggins Jan 22, 2025
bd76a1e
fix syntax errors
ABrain7710 Jan 22, 2025
e06b9e5
Merge pull request #2979 from chaoss/speed-up-events-collection
ABrain7710 Jan 22, 2025
61efa9c
Merge pull request #2978 from chaoss/fix-gitlab-reviews-syntax-error
Ulincsys Jan 22, 2025
7d65f63
Update README.md
sgoggins Jan 23, 2025
f63d9c2
Update metadata.py
sgoggins Jan 23, 2025
4d66bb1
prioritize small repos first to speed up initial collection of most r…
ABrain7710 Feb 5, 2025
ec288d9
Merge pull request #2983 from chaoss/prioritize-small-repos-first
sgoggins Feb 5, 2025
e963555
Update README.md
sgoggins Feb 5, 2025
6ada8ce
Update metadata.py
sgoggins Feb 5, 2025
129b69c
update
sgoggins Feb 5, 2025
47884ca
Create gsoc-interest.md
sgoggins Feb 11, 2025
b2f67b0
Create gsoc-ideas.md
sgoggins Feb 11, 2025
b1375f8
Update gsoc-interest.md
sgoggins Feb 11, 2025
d2f1b81
Update gsoc-interest.md
sgoggins Feb 11, 2025
8748fb0
remove no gitlab keys exception
ABrain7710 Feb 11, 2025
e13f66c
Add debug logs
Ulincsys Feb 12, 2025
f7c7cda
Merge branch 'dev' into github-api-key-command
ABrain7710 Feb 12, 2025
0e26d37
Merge pull request #2985 from chaoss:use-key-manager
Ulincsys Feb 12, 2025
674c21b
remove unused import
ABrain7710 Feb 12, 2025
9933ee7
Merge pull request #2986 from chaoss/github-api-key-command
Ulincsys Feb 12, 2025
c199f85
comment out update weight task as it is no longer needed
ABrain7710 Feb 12, 2025
e3de0d2
Merge pull request #2987 from chaoss/remove-update-weight-hotfix
sgoggins Feb 12, 2025
8302e87
Merge pull request #2989 from chaoss/remove-update-weight-hotfix
sgoggins Feb 12, 2025
dc69497
version bump
sgoggins Feb 12, 2025
455b02a
Merge pull request #2988 from chaoss/dev
sgoggins Feb 12, 2025
c6b2cb5
Update gsoc-ideas.md
sgoggins Feb 12, 2025
f98b5db
Update gsoc-ideas.md
sgoggins Feb 12, 2025
8b1a939
Update gsoc-ideas.md
sgoggins Feb 12, 2025
f847358
Update gsoc-ideas.md
sgoggins Feb 12, 2025
1ffc551
Update gsoc-interest.md
sgoggins Feb 12, 2025
ffec284
Update README.md
sgoggins Feb 12, 2025
a653027
Update README.md
sgoggins Feb 12, 2025
9500e73
Update gsoc-ideas.md
sgoggins Feb 13, 2025
32d9a8c
Fix key orchestrator missing in Docker build
Ulincsys Feb 13, 2025
1393440
Add __init__.py to fix module import error
Ulincsys Feb 14, 2025
c6c86ed
Merge pull request #2996 from chaoss/keyman-docker-hotfix
sgoggins Feb 14, 2025
def43f1
Update metadata.py
sgoggins Feb 14, 2025
c6646ce
Update README.md
sgoggins Feb 14, 2025
03196c5
Update README.md
sgoggins Feb 14, 2025
46bf034
Show tracebacks for network exceptions
Ulincsys Feb 17, 2025
1d9583d
Fix incorrect usage of format_exc
Ulincsys Feb 17, 2025
53c3c14
Have decorator pass secondary exceptions transparently
Ulincsys Feb 17, 2025
6954f9c
Logical fixes and general improvements
Ulincsys Feb 17, 2025
641f72f
Strip whitespace from keys while loading
Ulincsys Feb 17, 2025
d8f784a
Merge pull request #2999 from chaoss/improve_nettest_logging_hotfix
sgoggins Feb 17, 2025
7d58dae
Merge pull request #3000 from chaoss/fix_protocol_exception_hotfix
sgoggins Feb 17, 2025
e6940c6
Filter worker_oauth keys by platform in cli
Ulincsys Feb 18, 2025
e308fac
Merge pull request #3005 from chaoss/cli_api_key_hotfix
sgoggins Feb 18, 2025
9a4b866
Fix comparison with NoneType logical error
Ulincsys Feb 21, 2025
1e417ca
Secondary task to use get_secondary_data_last_collected
Ulincsys Feb 22, 2025
a1a9775
Merge pull request #3009 from chaoss/last_collected_null_hotfix
sgoggins Feb 22, 2025
47a8c66
Update README.md
sgoggins Feb 22, 2025
474c65c
Update metadata.py
sgoggins Feb 22, 2025
ec6b295
move golang build step to its own build container
MoralCode Feb 22, 2025
3a075e0
refactor rust stuff into a builder container too
MoralCode Feb 22, 2025
c292154
comment out rust builder as it seems unused
MoralCode Feb 22, 2025
04f6e32
fix copying of binaries into the main container
MoralCode Feb 22, 2025
022ac35
specify versions of scc and scorecard
MoralCode Feb 22, 2025
ec0e139
copy scripts into golang builder so it can find them
MoralCode Feb 23, 2025
1a6be3e
batch insert contributors
ABrain7710 Feb 25, 2025
21fae40
reduce dependency on create_collection_status_record tasks
ABrain7710 Feb 26, 2025
9ca06bd
cleanup everything
ABrain7710 Feb 26, 2025
da84da9
Merge pull request #3014 from chaoss/hotfix-main
sgoggins Feb 26, 2025
4e8db78
Release Bump
sgoggins Feb 26, 2025
6f5ef29
Release Versions
sgoggins Feb 26, 2025
8da68d5
Merge pull request #3015 from chaoss/augur-v0.85.0-release
sgoggins Feb 26, 2025
d98d196
run process_contributors every hour instead of every repo
ABrain7710 Mar 1, 2025
f5ff0f3
only include since date in query if it exists
ABrain7710 Mar 1, 2025
d536660
Merge pull request #3029 from chaoss/hotfix-collect-events
sgoggins Mar 1, 2025
9da26ca
version bumpt'y dump
sgoggins Mar 1, 2025
b282eec
Merge pull request #3031 from chaoss/release-v0.85.1
sgoggins Mar 1, 2025
6debf5f
Update gsoc-ideas.md
sgoggins Mar 4, 2025
e68adcc
Update gsoc-ideas.md
sgoggins Mar 4, 2025
b2707b9
Update gsoc-ideas.md
sgoggins Mar 4, 2025
6c039e3
Update gsoc-ideas.md
sgoggins Mar 4, 2025
4fac6e3
Merge pull request #3038 from chaoss/move-repos-to-org
sgoggins Mar 5, 2025
3291237
Merge pull request #3036 from chaoss/reduce-deadlocks
sgoggins Mar 5, 2025
9e93804
test
sgoggins Mar 6, 2025
cbd0fd6
Merge pull request #3012 from MoralCode/backend-docker-builder
sgoggins Mar 7, 2025
247b3bf
fix pr events uniqueness
ABrain7710 Mar 8, 2025
4ed1a26
update revision number
ABrain7710 Mar 8, 2025
cff1bdc
incrementally update database
ABrain7710 Mar 12, 2025
025192b
add index log
ABrain7710 Mar 12, 2025
e00d172
only print if there are rows that need updated
ABrain7710 Mar 12, 2025
53748c4
Update README.md
sgoggins Mar 12, 2025
e67cf0c
Update metadata.py
sgoggins Mar 12, 2025
65e08c9
Merge pull request #3046 from chaoss/events-fix
sgoggins Mar 12, 2025
91c0e80
Add INVALIDATE command for key orchestration
Ulincsys Mar 15, 2025
892db11
Add tests and fixes
Ulincsys Mar 16, 2025
152f575
Fix spelling errors
Ulincsys Mar 16, 2025
94ebe3e
Corrected GitLab Public Access Token URL
someshjoyguru Mar 16, 2025
1b4b6cd
remove podman compose
MoralCode Mar 16, 2025
2b5981c
Delete Vagrantfile
MoralCode Mar 16, 2025
3ae2c20
Update gsoc-ideas.md
sgoggins Mar 17, 2025
7deb0f1
Update gsoc-ideas.md
sgoggins Mar 17, 2025
119f699
Add required interface
Ulincsys Mar 17, 2025
d8d40a2
add flower section to the docker compose
MoralCode Mar 18, 2025
a96b838
Update CONTRIBUTING.md
sgoggins Mar 18, 2025
b475105
fixing install-dev command by removal
sgoggins Mar 18, 2025
3a26e54
Merge pull request #3066 from MoralCode/flower-compose
sgoggins Mar 18, 2025
4dbc908
Merge pull request #3060 from MoralCode/dedupe-compose
sgoggins Mar 18, 2025
aea7a77
Merge pull request #3058 from chaoss/expand-key-manager
sgoggins Mar 18, 2025
661f03e
Merge pull request #3061 from MoralCode/remove-vagrant
sgoggins Mar 18, 2025
b5e47f9
handle invalid key
ABrain7710 Mar 18, 2025
64cc5e1
log stderr in called process for facade commit count
IsaacMilarky Mar 18, 2025
53ceb22
Update github_data_access.py
Ulincsys Mar 19, 2025
f4dad21
stop using keys once they have 100 requests remaining
ABrain7710 Mar 19, 2025
192f87d
set to 50
ABrain7710 Mar 19, 2025
091cc07
Merge pull request #3069 from chaoss/invalidate_keys
Ulincsys Mar 19, 2025
2ec4d42
request new key for secondary rate limit exceptions
ABrain7710 Mar 19, 2025
bff3396
Merge pull request #3072 from chaoss/improve-ratelimit-exception-hand…
Ulincsys Mar 19, 2025
c85a743
update to time.time() not time.now()
ABrain7710 Mar 19, 2025
4066854
Merge pull request #3073 from chaoss/improve-ratelimit-exception-hand…
Ulincsys Mar 19, 2025
73a4c6a
adjust path that scc gets copied to
MoralCode Mar 14, 2025
9792586
Merge pull request #3070 from chaoss/log-facade-git-128
sgoggins Mar 19, 2025
99c73c1
Merge pull request #3071 from chaoss/leave-room-on-keys
sgoggins Mar 19, 2025
230925e
Merge pull request #3068 from chaoss/docs-patch-spg-1
sgoggins Mar 19, 2025
84ac28d
Merge pull request #3067 from chaoss/sgoggins-patch-2-contributing.doc
sgoggins Mar 19, 2025
a234b9f
Merge pull request #3055 from MoralCode/patch-3053
sgoggins Mar 19, 2025
a414ab1
version update
sgoggins Mar 19, 2025
0b829bb
Merge pull request #3074 from chaoss/version0.85.3
sgoggins Mar 19, 2025
876411f
Merge main into dev
Ulincsys Mar 19, 2025
a71fde9
fix syntax error
Mar 21, 2025
2000270
Merge pull request #3083 from marcelb98/main
sgoggins Mar 21, 2025
5e1fa51
docker simplification and version upgrade
cdolfi Mar 26, 2025
ec1f374
Rework CI container builds
JohnStrunk Mar 31, 2025
f0b8def
update version and compose
cdolfi Mar 31, 2025
8dcc0bf
Merge pull request #3094 from cdolfi/docker_mac_fix
cdolfi Mar 31, 2025
648ce67
Merge pull request #3093 from JohnStrunk/action-docker-build
sgoggins Apr 1, 2025
31ea276
Merge pull request #3095 from chaoss/docker_mac_fix
sgoggins Apr 1, 2025
3f9123c
version bump
sgoggins Apr 1, 2025
c3b6e56
Merge pull request #3098 from chaoss/v0.86.0-release
sgoggins Apr 1, 2025
e6d93ff
Merge pull request #3059 from someshjoyguru/main
sgoggins Apr 1, 2025
8c3ac66
Merge pull request #3077 from chaoss/merge-main-into-dev
sgoggins Apr 1, 2025
3b542a4
Fix failing CI when not tagging a docker image
JohnStrunk Apr 1, 2025
2da45ae
Merge pull request #3100 from JohnStrunk/fix-ci-docker
sgoggins Apr 2, 2025
832a4b3
Allow log directory to be specified
JohnStrunk Apr 8, 2025
e2cefa2
Merge pull request #3124 from JohnStrunk/log-dir
sgoggins Apr 9, 2025
b8f15fb
Merge pull request #3010 from chaoss/main
sgoggins Apr 9, 2025
1470714
Configure key orchestrator to run in an independent container
Ulincsys Apr 15, 2025
3e228c7
Merge pull request #3130 from chaoss/dockerize-keyman
Ulincsys Apr 15, 2025
847973a
Dockerfile: Remove commented out lines
JohnStrunk Apr 4, 2025
61908ce
Dockerfile: Directly build golang deps
JohnStrunk Apr 4, 2025
8373aad
Docker: Move augur pid file to /tmp
JohnStrunk Apr 8, 2025
b1eb032
Fix cache and config paths
JohnStrunk Apr 16, 2025
c0f412e
Run as non-root user
JohnStrunk Apr 16, 2025
6b213e6
Change docker keyman to run as non-root user
JohnStrunk Apr 18, 2025
d6049c6
Fix env variable logging
JohnStrunk Apr 18, 2025
4e0e9d7
Merge pull request #3131 from JohnStrunk/non-root
sgoggins Apr 23, 2025
e2f5703
Merge pull request #3132 from JohnStrunk/no-cred
sgoggins Apr 23, 2025
67cac87
catch not found exception
ABrain7710 Apr 29, 2025
d313fbb
Merge pull request #3137 from chaoss/github-events-fix
sgoggins Apr 29, 2025
b4c6595
Fix facade task failure
Ulincsys Apr 29, 2025
24e7984
improve ratelimit logging
ABrain7710 Apr 30, 2025
bc14842
Fix facade task failure
Ulincsys Apr 29, 2025
f1a9d44
Merge pull request #3140 from chaoss/ratelimit-logging-improvements
sgoggins Apr 30, 2025
d55dfe5
release update
sgoggins Apr 30, 2025
8426fd0
Merge branch 'dev' into main
sgoggins Apr 30, 2025
b5562b1
Merge pull request #3144 from chaoss/main
sgoggins Apr 30, 2025
5236a45
Merge pull request #3139 from chaoss/facade-date-fix
sgoggins Apr 30, 2025
e5efe33
Add cache symlink
JohnStrunk May 16, 2025
12b8e6a
Update add smoketest to workflow
JohnStrunk May 15, 2025
7d34b54
Improve CI output matching
JohnStrunk May 16, 2025
a814e57
Optimize build workflow
JohnStrunk May 19, 2025
9e3a591
Fix database env vars
JohnStrunk May 21, 2025
07b232f
Merge pull request #3154 from JohnStrunk/legacyenv
sgoggins May 23, 2025
79293e7
Merge pull request #3151 from JohnStrunk/smoketest
sgoggins May 23, 2025
f8d0d67
Initial conversion of main augur package to uv
JohnStrunk Apr 29, 2025
7b12e09
Add dependencies for sub-packages into main pyproject.toml
JohnStrunk Apr 29, 2025
8687dec
Update docker build for uv
JohnStrunk May 5, 2025
3a71e21
Add uv-lock job
JohnStrunk May 5, 2025
6a41a96
Fix documention build on RTD
JohnStrunk May 5, 2025
97a3f5b
Update documentation for using uv
JohnStrunk May 28, 2025
e8f64f6
Merge pull request #3148 from JohnStrunk/uv
sgoggins May 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
214 changes: 180 additions & 34 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,197 @@ on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
release:
types:
- published
workflow_dispatch:

permissions: {}

jobs:
build:
test-e2e:
name: End-to-end test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
id: setup-buildx

- name: Build database container
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/database/Dockerfile
platforms: linux/amd64
tags: ghcr.io/${{ github.repository_owner }}/augur_database:test
cache-from: type=gha,scope=container-database
cache-to: type=gha,scope=container-database,mode=min
load: true

- name: Build keyman container
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/keyman/Dockerfile
platforms: linux/amd64
tags: ghcr.io/${{ github.repository_owner }}/augur_keyman:test
cache-from: type=gha,scope=container-keyman
cache-to: type=gha,scope=container-keyman,mode=min
load: true

- name: Build rabbitmq container
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/rabbitmq/Dockerfile
platforms: linux/amd64
tags: ghcr.io/${{ github.repository_owner }}/augur_rabbitmq:test
cache-from: type=gha,scope=container-rabbitmq
cache-to: type=gha,scope=container-rabbitmq,mode=min
load: true

- name: Build backend container
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/backend/Dockerfile
platforms: linux/amd64
tags: ghcr.io/${{ github.repository_owner }}/augur_backend:test
cache-from: type=gha,scope=container-backend
cache-to: type=gha,scope=container-backend,mode=min
load: true

- name: Prepare compose file
run: |
yq eval -i '.services.augur.image = "ghcr.io/${{ github.repository_owner }}/augur_backend:test"' docker-compose.yml
yq eval -i '.services.augur.pull_policy = "never"' docker-compose.yml
yq eval -i '.services.augur.restart = "no"' docker-compose.yml

yq eval -i '.services.augur-db.image = "ghcr.io/${{ github.repository_owner }}/augur_database:test"' docker-compose.yml
yq eval -i '.services.augur-db.pull_policy = "never"' docker-compose.yml
yq eval -i '.services.augur-db.restart = "no"' docker-compose.yml

yq eval -i '.services.augur-keyman.image = "ghcr.io/${{ github.repository_owner }}/augur_keyman:test"' docker-compose.yml
yq eval -i '.services.augur-keyman.pull_policy = "never"' docker-compose.yml
yq eval -i '.services.augur-keyman.restart = "no"' docker-compose.yml

yq eval -i '.services.rabbitmq.image = "ghcr.io/${{ github.repository_owner }}/augur_rabbitmq:test"' docker-compose.yml
yq eval -i '.services.rabbitmq.pull_policy = "never"' docker-compose.yml
yq eval -i '.services.rabbitmq.restart = "no"' docker-compose.yml

- name: Setup Docker Compose
uses: docker/setup-compose-action@v1
with:
version: latest

- name: Set up list of log lines to match
run: |
cat <<EOF > /tmp/regex_matches.txt
Gunicorn webserver started
Starting core worker processes
Starting secondary worker processes
Starting facade worker processes
Retrieved \\d+ github api keys for use
Fetching new repos \\(complete\\)
Inserting \\d+ contributors
Inserting \\d+ issues
Inserting prs of length: \\d+
Querying committers count
Done generating scc data for repo
Sending due task
EOF

- name: Start services & wait for output
# This starts the system and sends the output to "await_all.py" which
# scans for the regex matches from above. Once all matches are seen at
# least once, the `compose down` will run to shut down the system. If
# this all doesn't happen before the timeout, the job will fail.
run: |
docker compose -f docker-compose.yml up --no-build 2>&1 \
| (./scripts/ci/await_all.py /tmp/regex_matches.txt \
&& docker compose -f docker-compose.yml down)
timeout-minutes: 3
env:
AUGUR_GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
AUGUR_GITHUB_USERNAME: ${{ github.repository_owner }}
AUGUR_GITLAB_API_KEY: dummy
AUGUR_GITLAB_USERNAME: dummy

- name: Dump logs
# Always run this step to get logs, even if the previous step fails
if: always()
# We use tail so that we can see the name of each file as it's printed
run: "docker run -t --rm -v augur_logs:/logs bash -c 'find /logs -type f | xargs tail -n +0'"



push-image:
name: Push image
needs: test-e2e
# We don't push images on pull requests
if: github.event_name != 'pull_request'
permissions:
contents: read # to fetch code (actions/checkout)
packages: write # to push docker image

name: Build image
strategy:
matrix:
image:
- backend
- database
- rabbitmq
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Run the build
run: |
set -ex
# use that here since the variable are not present before start, so can't be in env
export LOGIN=$GITHUB_REPOSITORY_OWNER

echo $PASSWORD | docker login $REGISTRY -u $LOGIN --password-stdin

for i in docker/* ; do
CONTAINER=$(basename $i)
echo "Building $CONTAINER"
export IMAGE=$LOGIN/augur_$CONTAINER
DOCKERFILE=${i}/Dockerfile

docker build . -f $DOCKERFILE --tag $REGISTRY/$IMAGE:latest
if [[ $GITHUB_EVENT_NAME == 'release' ]]; then
TAG=$(basename $GITHUB_REF)
docker tag $REGISTRY/$IMAGE:latest $REGISTRY/$IMAGE:$TAG
docker push $REGISTRY/$IMAGE:latest
docker push $REGISTRY/$IMAGE:$TAG
elif [[ $GITHUB_EVENT_NAME == 'push' ]]; then
docker tag $REGISTRY/$IMAGE:latest $REGISTRY/$IMAGE:devel-latest
docker push $REGISTRY/$IMAGE:devel-latest
fi
done
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
id: setup-buildx

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set container metadata
uses: docker/metadata-action@v5
id: meta
env:
REGISTRY: ghcr.io
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
DOCKER_METADATA_ANNOTATIONS_LEVELS: index,manifest
with:
annotations: |
org.opencontainers.image.title=augur_${{ matrix.image}}
labels: |
org.opencontainers.image.title=augur_${{ matrix.image}}
images: ghcr.io/${{ github.repository_owner }}/augur_${{ matrix.image }}
# Pushes to the dev branch update the *:devel-latest tag
# Releases update the *:latest tag and the *:<version> tag
# Main does not update any tags
tags: |
type=raw,value=devel-latest,enable=${{ github.ref == 'refs/heads/dev' }}
type=raw,value=latest,enable=${{ github.event_name == 'release' }}
type=raw,value=${{ github.event.release.tag_name }},enable=${{ github.event_name == 'release' }}

- name: Build and push
id: push
uses: docker/build-push-action@v6
with:
annotations: ${{ steps.meta.outputs.annotations }}
context: .
file: ./docker/${{ matrix.image }}/Dockerfile
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64
# Only push if we've tagged the image in the metadata step
push: ${{ steps.meta.outputs.tags != '' }}
tags: ${{ steps.meta.outputs.tags }}
# Use the same cache as the build step
cache-from: type=gha,scope=container-${{ matrix.image }}
cache-to: type=gha,scope=container-${{ matrix.image }},mode=min
13 changes: 12 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,15 @@
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
locale: "US"
locale: "US"

uv-lock:
name: runner / uv-lock
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Ensure uv lockfile is up to date
run: uv lock --check
Comment thread Dismissed
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ augur_export_env.sh
!docker.config.json
config.yml
reports.yml
*.pid
*.sock

node_modules/
.idea/
Expand Down Expand Up @@ -104,10 +106,6 @@ target/
profile_default/
ipython_config.py

# pyenv
.python-version
.python-version-hash

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
Expand Down
36 changes: 3 additions & 33 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@
# go here to check pylint codes if not explained
#https://vald-phoenix.github.io/pylint-errors/

#doc string checkers
#enable=C0112,C0114,C0115,C0116

# checks for black listed names being used
#enable=C0102

#refactoring checker
#enable=R

disable=E0611,E1101,W1203,R0801,W0614,W0611,C0411,C0103,C0301,C0303,C0304,C0305,W0311,E0401,C0116


# Analyse import fallback blocks. This can be used to support both Python 2 and
Expand Down Expand Up @@ -150,29 +140,9 @@ confidence=HIGH,
INFERENCE_FAILURE,
UNDEFINED

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then re-enable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=raw-checker-failed,
bad-inline-option,
locally-disabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once). See also the "--disable" option for examples.
enable=c-extension-no-member
# Only enable specific messages
disable=all
enable=unused-import,redefined-outer-name,E1206,E1205,E0704,E0107,E4702,E1101,E0211,E0213,E0103,E1133,E1120,E3102,E0602,E1123,E0001,W0702,W1404,W0706,W0101,W0120,W0718,R1737,R1705,R1720,R1724,R1723,R0401,R1701,C1802,C0200,C0501,C0201,W1001,E1102,R0923


[LOGGING]
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
15 changes: 8 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@

# Required
version: 2
build:
build:
os: ubuntu-22.04 # <- add this line
tools:
python: "3.10"
jobs:
post_create_environment:
# Use uv to create a requirements file that RTD can install
- pip install uv
- uv export --format requirements.txt --only-group docs -o requirements.txt

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -24,12 +29,8 @@ formats: all
# Optionally set the version of Python and requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- dev
- method: setuptools
path: .
# Install the requirements file created during the post_create_environment job
- requirements: requirements.txt

# build:
# os: ubuntu-22.04
Expand Down
14 changes: 14 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This CITATION.cff reference content was generated from Zotero.
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Goggins
given-names: Sean
- family-names: Lumbard
given-names: Kevin
- family-names: Germonprez
given-names: Matt
title: "Open Source Community Health: Analytical Metrics and Their Corresponding Narratives"
doi: 10.1109/SoHeal52568.2021.00010
date-released: 2021
url: https://www.seangoggins.net/wp-content/plugins/zotpress/lib/request/request.dl.php?api_user_id=655145&dlkey=HNG22ZSU&content_type=application/pdf
Loading
Loading