Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d52c79a
Fix logger propagate
arjunsuresh Feb 3, 2025
cb0b97b
Merge branch 'dev' into dev
arjunsuresh Feb 3, 2025
2389707
Merge pull request #50 from GATEOverflow/dev
arjunsuresh Feb 3, 2025
4faa6f5
Fix duplicate logging in repoaction, default log path, missing cache …
arjunsuresh Feb 3, 2025
4b04f7b
Merge branch 'dev' into dev
arjunsuresh Feb 3, 2025
9e9c933
Merge pull request #53 from GATEOverflow/dev
arjunsuresh Feb 3, 2025
b7410f8
Removed debug statement
arjunsuresh Feb 3, 2025
7343f47
Fix setup on Windows
arjunsuresh Feb 3, 2025
5e80692
Return 16 for item not found, fix build wheel
arjunsuresh Feb 4, 2025
ae61e19
Merge branch 'dev' into dev
arjunsuresh Feb 4, 2025
d04f7b8
Merge pull request #55 from GATEOverflow/dev
arjunsuresh Feb 5, 2025
d3710a9
Implementation of the find repo functionality
Sid9993 Feb 6, 2025
13d9a36
Made changes for the loading of repos from the base Action class
Sid9993 Feb 7, 2025
24d4533
Added add repo action
arjunsuresh Feb 7, 2025
0a920f2
Update test-mlc-core-actions.yaml
arjunsuresh Feb 7, 2025
34b9126
Removed separate parser for pull action
arjunsuresh Feb 7, 2025
51f632d
Fix func call
arjunsuresh Feb 7, 2025
90f2eb9
Fix repo path in add repo action
arjunsuresh Feb 7, 2025
483e9ca
Merge pull request #57 from GATEOverflow/dev
arjunsuresh Feb 7, 2025
b2a36b1
Added a warning for missing repo
arjunsuresh Feb 7, 2025
0515895
Merge branch 'main' into dev
arjunsuresh Feb 8, 2025
af9b534
Added add script action
arjunsuresh Feb 8, 2025
9eb7a03
Merge branch 'mlcommons:dev' into dev
arjunsuresh Feb 8, 2025
b4e0feb
Merge pull request #60 from GATEOverflow/dev
arjunsuresh Feb 8, 2025
455f3db
Resolved Code Duplications and Error Handling Issues
Sid9993 Feb 8, 2025
9082c8c
Merge branch 'dev' into dev
anandhu-eng Feb 8, 2025
8855c5f
delete corrupt repo entry while running a script
anandhu-eng Feb 8, 2025
98a61ac
add test 12
anandhu-eng Feb 8, 2025
555505b
test commit
anandhu-eng Feb 8, 2025
8d1dc6e
Merge pull request #56 from Sid9993/dev
arjunsuresh Feb 8, 2025
cc6e018
Added support for template in mlc add script, fix pull repo
arjunsuresh Feb 8, 2025
0b45bb1
Fix local repo name
arjunsuresh Feb 8, 2025
a4a5b8f
Merge pull request #63 from GATEOverflow/dev
arjunsuresh Feb 8, 2025
f8a7875
Merge pull request #61 from anandhu-eng/issue#54
arjunsuresh Feb 8, 2025
649867f
Added show script, fixed find script, fixes #62
arjunsuresh Feb 8, 2025
5caccfe
Merge branch 'mlcommons:dev' into dev
arjunsuresh Feb 8, 2025
09bf740
Added mv action, cleanup for search
arjunsuresh Feb 8, 2025
d6c0f5e
Added mv action, cleanup for search
arjunsuresh Feb 8, 2025
485cb8b
Fixed the github test for cache search
arjunsuresh Feb 8, 2025
bf1eda8
Removed wrong repo detect logic in add script
arjunsuresh Feb 8, 2025
167b275
Added tests for add,mvshow and find script
arjunsuresh Feb 8, 2025
c133215
Added tests for add,mvshow and find script
arjunsuresh Feb 8, 2025
956b866
Added github test for rm script
arjunsuresh Feb 8, 2025
7a1bd67
Fix error report
arjunsuresh Feb 8, 2025
c32b077
Fix error report
arjunsuresh Feb 8, 2025
beaade0
Fix github tests
arjunsuresh Feb 9, 2025
ce1fcd1
Fix github tests
arjunsuresh Feb 9, 2025
5235695
Merge pull request #64 from GATEOverflow/dev
arjunsuresh Feb 9, 2025
680fa7f
Update gh actions for rm script
anandhu-eng Feb 9, 2025
cb90a79
Update test-mlc-core-actions.yaml
anandhu-eng Feb 9, 2025
68c402c
Update contributors list
anandhu-eng Feb 9, 2025
d1038ed
rm action improvement
anandhu-eng Feb 9, 2025
e80a157
code clean
anandhu-eng Feb 9, 2025
d4ffc44
dont ask for user confirmation - rm script called from mv
anandhu-eng Feb 9, 2025
4b899ce
Update run command to force remove
anandhu-eng Feb 9, 2025
9e6397e
Merge pull request #66 from anandhu-eng/contributors-update
arjunsuresh Feb 9, 2025
139d694
Merge pull request #65 from anandhu-eng/dev
arjunsuresh Feb 9, 2025
e443ef1
Merge branch 'dev' into improvermaction
arjunsuresh Feb 9, 2025
c23605a
Merge pull request #68 from anandhu-eng/improvermaction
arjunsuresh Feb 9, 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
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
# Step 7: Build the Python wheel
- name: Build wheels
working-directory: ./
run: python3 -m build && rm dist/*.whl
run: python3 -m build

# Step 8: Publish to PyPI
- name: Publish to PyPI
Expand Down
47 changes: 46 additions & 1 deletion .github/workflows/test-mlc-core-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
echo "Expected branch 'dev', but found '$CURRENT_BRANCH'. Exiting with failure."
exit 1
fi
mlc pull repo

- name: Test 3 - list repo - List the existing repositories
run: |
Expand All @@ -106,7 +107,7 @@ jobs:
- name: Test 5 - find cache - Cache not present
run: |
mlc find cache --tags=detect,os 2>&1 | tee test5.log
if ! grep -q "No cache entry found for the specified tags:" test5.log; then
if ! grep -q "No cache entry found for the specified input:" test5.log; then
exit 1
fi

Expand All @@ -133,4 +134,48 @@ jobs:
- name: Test 10 - cp script - Copy mlc script
run: |
mlc cp script detect-os my-os-detect

- name: Test 11 - add repo - Add a new MLC repo
run: |
mlc add repo my-new-repo
mlc add repo https://github.com/mlcommons/inference
mlc add repo https://mygit.com/myrepo

- name: Test 12 - rm repo where we have a corrupt entry
run: |
rm -r $HOME/MLC/repos/mlcommons@mlperf-automations
mlc rm repo mlcommons@mlperf-automations
mlc pull repo mlcommons@mlperf-automations --branch=dev

- name: Test 13 - add script - Add a new MLC script
run: |
mlc add script my-script-1 --tags=my,new-tags-1
mlc add script my-script-2 --tags=my,new-tags-2
mlc add script my-script-3 --tags=my,new-tags3 --template_tags=detect,os
mlc add script mlcommons@mlperf-automations:my-script-4 --tags=my,new-tags4 --template_tags=detect,os

- name: Test 14 - mv script - Move/rename an MLC script
run: |
mlc mv script my-script-1 moved-my-script-1
mlc mv script my-script-2 mlcommons@mlperf-automations:moved-my-script-2

- name: Test 15 - show script
run: |
mlc show script --tags=run-mlperf,inference
mlc show script 863735b7db8c44fc
mlc show script detect-os,863735b7db8c44fc
mlc show script detect-os

- name: Test 16 - find script
run: |
mlc find script --tags=run-mlperf,inference
mlc find script 863735b7db8c44fc
mlc find script detect-os,863735b7db8c44fc
mlc find script detect-os

- name: Test 17 - rm script
run: |
mlc rm script get-ipol-src -f
mlc rm script --tags=app,image,corner-detection -f
mlc rm script 63080407db4d4ac4 -f

9 changes: 5 additions & 4 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ Once your contribution exceeds 50 lines of code (in total), we will:

## Current Contributors

- **[Arjun Suresh]** - *Initial Development Discussions, {Script,Cache} Action implementations*
- **[Anandhu Sooraj]** - *Initial Development Discussions, RepoAction implmentation, Github Tests*
- **[Shaik Masthan]** - *Initial Development Discussions*
- **[Sahil Avaran]** - *Initial Development Discussions*, added logging
- **[Arjun Suresh](https://github.com/arjunsuresh)** - *Initial Development Discussions, {Script,Cache} Action implementations*
- **[Anandhu Sooraj](https://github.com/anandhu-eng)** - *Initial Development Discussions, RepoAction implmentation, Github Tests*
- **[Shaik Masthan](https://github.com/csemasthan)** - *Initial Development Discussions*
- **[Sahil Avaran](https://github.com/sahilavaran)** - *Initial Development Discussions*, added logging
- **[R.A Sidharth](https://github.com/Sid9993)** - *Find repo implementation*
- **[Your Name Here]** - This could be you! 🎉

---
Expand Down
Loading
Loading