edeeaf578a
Fix the import in matching.py
2024-08-14 22:50:36 +01:00
be7a1d080a
Combine the two workflows so publish can depend on test
2024-08-14 22:49:36 +01:00
abbae361c7
Fix the test path
2024-08-14 22:45:35 +01:00
92bc50396b
Huge re-org to match normal python project structure
2024-08-14 22:42:53 +01:00
b263e20ca2
Remove all no-longer needed requirements
2024-08-14 22:02:37 +01:00
86a59ddaff
Merge pull request #9 from mdiluz/mdiluz-patch-1
...
Update README.md
2024-08-14 21:22:41 +01:00
25c7afbf08
Update README.md
...
Fix a link in the README file
2024-08-14 21:21:50 +01:00
f310cd36a4
Merge pull request #8 from mdiluz/new-pfp
...
Add a new app icon designed by the wonderful heyheymomo
2024-08-14 20:48:41 +01:00
ec21e98011
Update the size and crop of the images
2024-08-14 20:46:17 +01:00
9b7789eac4
Add PFP designed by the wonderful heyheymomo
...
https://ko-fi.com/heyheymomo
Attribution with the "terms" provided on comission.
2024-08-14 20:37:09 +01:00
e577cea62a
Merge pull request #7 from mdiluz/allow-choose-image-tag
...
A few small fixups
2024-08-14 19:04:39 +01:00
74cc9aaf20
Update the job names and ids in the GHAs
2024-08-14 19:03:51 +01:00
a3c543493a
Add MATCHY_TAG to control which image tag compose will use
2024-08-14 18:57:57 +01:00
e4baf2e7aa
Merge pull request #6 from mdiluz/add-armv7-compat
...
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
Test / build (push) Has been cancelled
Add armv7 compat
2024-08-14 18:39:50 +01:00
8e1ccb8e14
Cache the docker builds to hopefully save a lot of time
2024-08-14 18:34:48 +01:00
31a1e1560f
Put back the image workdir
2024-08-14 18:26:22 +01:00
0b0494baed
Split out the docker build and final image
...
Try and work around an issue aith gcc in the python armv7 images
https://github.com/docker-library/python/issues/869#issuecomment-1744826183
2024-08-14 17:50:07 +01:00
5cab5fdaaf
Move back to python 3.11
...
Apparently has less issues with gcc
https://github.com/docker-library/python/issues/869
2024-08-14 17:42:39 +01:00
e130f0c7a6
Skip arm64 as it's not currently needed
2024-08-14 17:36:28 +01:00
f568d96239
Correct the docker base image tag
2024-08-14 17:32:19 +01:00
442fc906d8
Use docker-container driver for multi-plat builds
2024-08-14 17:30:02 +01:00
2d1b0560f4
Cement both trigger types
2024-08-14 17:27:44 +01:00
b3d5a22b5d
Add support for armv7 in the docker build
2024-08-14 17:20:08 +01:00
2b520cdc17
Remove the temp line for manual runs
2024-08-14 17:19:55 +01:00
d477294444
Merge pull request #5 from mdiluz/container
...
Implement building with docker
2024-08-14 16:59:30 +01:00
4ac4596e18
Remove the now not needed release branch push
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
Test / build (push) Has been cancelled
2024-08-14 16:58:01 +01:00
3a0bf82ecb
Implement building with docker
...
See the README for usages and details.
A breaking changes here too:
* run.py is gone, we now handle that kind of thing with docker
* The token is out of the config and is now an ENVAR (ideally using a .env)
* `.json` files are now in a .matchy/ subdirectory, as this makes it a lot easier for the container to safely read
Bonus:
* fix a score_factors.setdefault call causing issues
* Reformat some of the readme
2024-08-14 16:55:23 +01:00
b810dedb26
Merge pull request #4 from mdiluz/allow-grant-scope
...
Add $grant to give users the matcher scope
2024-08-13 23:46:22 +01:00
9337b92f50
Even more defense - only matchy knows about the state.json path
2024-08-13 23:45:39 +01:00
57f65b265c
More protection - State does it's own saving
2024-08-13 23:43:15 +01:00
cbea7abca2
Update the readme with the grant command
2024-08-13 23:33:43 +01:00
f2d7e1d490
Protect against discovered miss-use of state
2024-08-13 23:32:28 +01:00
87a0c8f4b6
Remove the default state given to members_to_groups
2024-08-13 23:29:57 +01:00
d014b1a7fd
Move the cog test out into py so it can access state
2024-08-13 23:27:58 +01:00
c04c6d672d
Remove the TODO about the matcher scope, makes sense now
2024-08-13 23:24:36 +01:00
d517ccb150
Add a new $grant command to let the owner give others the matcher scope
2024-08-13 23:24:14 +01:00
71147e963e
Merge pull request #3 from mdiluz/integration-tests
...
Failed attempt at adding integration tests, but there were some other benefits I suppose
2024-08-13 23:10:23 +01:00
9131fa48ca
Fix a couple of linting errors
2024-08-13 23:08:50 +01:00
682d31afe4
Use logger.warning to shut up deprecation warnings
2024-08-13 23:08:01 +01:00
f65497b91e
Add a small TODO entry
2024-08-13 23:05:14 +01:00
d856b74d1c
Fix the format breaking the match print again
2024-08-13 23:05:14 +01:00
d3cdec3965
Move the cogs into a subdir
2024-08-13 23:05:14 +01:00
93337ebde9
Add the coverage file to the ignore list
2024-08-13 23:05:14 +01:00
f25dc8db35
Add a very basic ownership validation for the owner cog
2024-08-13 23:05:14 +01:00
f2bfa6d33c
Remove the OWNER scope as it's no longer used
2024-08-13 23:05:14 +01:00
f4f6df90fb
Pull out the owner cog parts
...
Also make them use is_owner() rather than custom auth
2024-08-13 20:28:10 +01:00
723fa5dfba
Pull out the majority of functionality into a cog
2024-08-13 20:27:55 +01:00
394f244ae0
Merge pull request #2 from mdiluz/scripts-as-python
...
Rewrite bin scripts to python
2024-08-13 18:28:52 +01:00
0beb2128bd
Rewrite bin scripts to python in scripts/ dir
2024-08-13 18:27:53 +01:00
12727c4d1c
Merge branch 'main' of github.com:mdiluz/matchy
2024-08-13 17:01:08 +01:00