Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Central Page and Tools into CoDex #146

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
641 commits
Select commit Hold shift + click to select a range
8edc60c
fetch all tools bot - step merge
invalid-email-address Mar 24, 2024
3b6931b
fetch all tools bot - step filter
invalid-email-address Mar 24, 2024
cd2991b
fetch all tools bot - step fetch
invalid-email-address Mar 31, 2024
5fd12b1
fetch all tools bot - step fetch
invalid-email-address Mar 31, 2024
9e3e7b8
fetch all tools bot - step fetch
invalid-email-address Mar 31, 2024
9439bfd
fetch all tools bot - step fetch
invalid-email-address Mar 31, 2024
f4bb942
fetch all tools bot - step merge
invalid-email-address Mar 31, 2024
da8118d
fetch all tools bot - step filter
invalid-email-address Mar 31, 2024
dd66904
Update microGalaxy list of tools to keep and to exclude
bebatut Apr 3, 2024
2152c84
fetch all tools bot - step fetch
invalid-email-address Apr 7, 2024
2c04e14
fetch all tools bot - step fetch
invalid-email-address Apr 7, 2024
93128bf
fetch all tools bot - step fetch
invalid-email-address Apr 7, 2024
a510705
fetch all tools bot - step fetch
invalid-email-address Apr 7, 2024
165cf81
fetch all tools bot - step merge
invalid-email-address Apr 7, 2024
264b484
fetch all tools bot - step filter
invalid-email-address Apr 7, 2024
ff0be65
fetch all tools bot - step fetch
invalid-email-address Apr 14, 2024
9a0ad14
fetch all tools bot - step fetch
invalid-email-address Apr 14, 2024
e738d9b
fetch all tools bot - step fetch
invalid-email-address Apr 14, 2024
6cfb7bb
fetch all tools bot - step fetch
invalid-email-address Apr 14, 2024
79d0449
fetch all tools bot - step merge
invalid-email-address Apr 14, 2024
b15d078
fetch all tools bot - step filter
invalid-email-address Apr 14, 2024
c6f4c10
fetch all tools bot - step fetch
invalid-email-address Apr 21, 2024
8df8b66
fetch all tools bot - step fetch
invalid-email-address Apr 21, 2024
886deab
fetch all tools bot - step fetch
invalid-email-address Apr 21, 2024
046e893
fetch all tools bot - step fetch
invalid-email-address Apr 21, 2024
2781018
fetch all tools bot - step merge
invalid-email-address Apr 21, 2024
aa179a8
fetch all tools bot - step filter
invalid-email-address Apr 21, 2024
5afda8d
Update tools to keep and exclude
bebatut Apr 25, 2024
f4efd9c
Add sources for microgalaxy annotation hackathon preprint (#93)
bebatut Apr 26, 2024
6b31729
fetch all tools bot - step fetch
invalid-email-address Apr 28, 2024
c9740f8
fetch all tools bot - step fetch
invalid-email-address Apr 28, 2024
3d99bb4
fetch all tools bot - step fetch
invalid-email-address Apr 28, 2024
0b8133d
fetch all tools bot - step fetch
invalid-email-address Apr 28, 2024
39bce6d
fetch all tools bot - step merge
invalid-email-address Apr 28, 2024
58ab50d
fetch all tools bot - step filter
invalid-email-address Apr 28, 2024
5d44b47
fix paper
paulzierep Apr 30, 2024
6aeb7fe
Merge pull request #99 from galaxyproject/fix-publication
bebatut Apr 30, 2024
be6288c
fetch all tools bot - step fetch
invalid-email-address May 5, 2024
555a5a1
fetch all tools bot - step fetch
invalid-email-address May 5, 2024
696cbe0
fetch all tools bot - step fetch
invalid-email-address May 5, 2024
d44647a
fetch all tools bot - step fetch
invalid-email-address May 5, 2024
c8145eb
fetch all tools bot - step merge
invalid-email-address May 5, 2024
8f4e552
fetch all tools bot - step filter
invalid-email-address May 5, 2024
445b6ff
fetch all tools bot - step fetch
invalid-email-address May 12, 2024
1113e46
fetch all tools bot - step fetch
invalid-email-address May 12, 2024
da5f6ee
fetch all tools bot - step fetch
invalid-email-address May 12, 2024
16eeb0a
fetch all tools bot - step fetch
invalid-email-address May 12, 2024
c077cbc
fetch all tools bot - step merge
invalid-email-address May 12, 2024
fd10541
fetch all tools bot - step filter
invalid-email-address May 12, 2024
cacaf52
Merge pull request #94 from galaxyproject/microgalaxy_to_keep
bebatut May 16, 2024
d01d62d
fetch all tools bot - step filter
invalid-email-address May 16, 2024
336f232
fetch all tools bot - step fetch
invalid-email-address May 19, 2024
4577456
fetch all tools bot - step fetch
invalid-email-address May 19, 2024
025a68b
Create LICENSE
bebatut May 23, 2024
634fa41
Merge pull request #100 from galaxyproject/add-license
bebatut May 24, 2024
7fac573
fetch all tools bot - step fetch
invalid-email-address May 26, 2024
af05abb
fetch all tools bot - step fetch
invalid-email-address May 26, 2024
0e9a1e6
fetch all tools bot - step fetch
invalid-email-address May 26, 2024
2e98795
fetch all tools bot - step merge
invalid-email-address May 26, 2024
ae9cac3
fetch all tools bot - step filter
invalid-email-address May 26, 2024
e496ec5
Add CODE_OF_CONDUCT.md (#101)
bebatut May 29, 2024
3b47981
fetch all tools bot - step fetch
invalid-email-address Jun 2, 2024
aa277c1
fetch all tools bot - step fetch
invalid-email-address Jun 2, 2024
b990262
fetch all tools bot - step fetch
invalid-email-address Jun 2, 2024
e3d7e13
fetch all tools bot - step fetch
invalid-email-address Jun 2, 2024
297e753
fetch all tools bot - step merge
invalid-email-address Jun 2, 2024
1917c45
fetch all tools bot - step filter
invalid-email-address Jun 2, 2024
0cf3343
Remove tool duplication (#104)
bebatut Jun 3, 2024
f287646
Merge list of tools to keep and to exclude in 1 file and add deprecat…
bebatut Jun 3, 2024
f46f172
fetch all tools bot - step filter
invalid-email-address Jun 3, 2024
5c23b46
Export all tools to JSON (#105)
bebatut Jun 3, 2024
4ba3e50
Update extract_all_tools_stepwise.sh (#108)
paulzierep Jun 4, 2024
f2a6c06
Update extract_galaxy_tools.py (#109)
paulzierep Jun 4, 2024
d52a507
add reduce_ontology_terms func and apply to EDAM
paulzierep Jun 4, 2024
a3d4054
linting
paulzierep Jun 4, 2024
65cbbcf
fetch all tools bot - step fetch
invalid-email-address Jun 4, 2024
c24fbb8
fetch all tools bot - step fetch
invalid-email-address Jun 4, 2024
5873ccd
fetch all tools bot - step fetch
invalid-email-address Jun 4, 2024
81d5dae
linting
paulzierep Jun 4, 2024
5552f5c
fetch all tools bot - step fetch
invalid-email-address Jun 4, 2024
5624030
Update fetch_all_tools.yaml
paulzierep Jun 4, 2024
6131343
Merge branch 'galaxyproject:main' into reduce-ontology-terms
paulzierep Jun 4, 2024
2c8cf98
fetch all tools bot - step fetch
invalid-email-address Jun 4, 2024
3bc4386
add requirement, fix test
paulzierep Jun 4, 2024
e0c472a
Merge branch 'galaxyproject:main' into reduce-ontology-terms
paulzierep Jun 4, 2024
64a325d
fetch all tools bot - step fetch
invalid-email-address Jun 4, 2024
a644e75
format EDAM no subclasses correctly
paulzierep Jun 4, 2024
f527052
Merge branch 'galaxyproject:main' into reduce-ontology-terms
paulzierep Jun 4, 2024
2423f2a
change subclass with superclass
paulzierep Jun 4, 2024
bd71288
Merge branch 'reduce-ontology-terms' into scripts
paulzierep Jun 4, 2024
667eee6
Merge pull request #1 from paulzierep/scripts
EngyNasr Jun 4, 2024
05bc0ba
Merge pull request #52 from EngyNasr/scripts
bebatut Jun 4, 2024
b5c0760
fetch all tools bot - step filter
invalid-email-address Jun 4, 2024
f479c9d
get only counts of tools available for each server
paulzierep Jun 4, 2024
ee674cc
lint
paulzierep Jun 4, 2024
f0180c9
fetch all tools bot - step fetch
invalid-email-address Jun 4, 2024
dcb9749
Update bin/extract_galaxy_tools.py
paulzierep Jun 4, 2024
df58dae
Update bin/extract_galaxy_tools.py
paulzierep Jun 4, 2024
e278368
Update bin/extract_galaxy_tools.py
paulzierep Jun 4, 2024
8cc89c3
Update bin/extract_galaxy_tools.py
paulzierep Jun 4, 2024
6a77ccb
add CI
paulzierep Jun 5, 2024
37eea3f
add script
paulzierep Jun 5, 2024
7a1a4ed
Update README.md
paulzierep Jun 5, 2024
e74af0e
update CI
paulzierep Jun 5, 2024
8e63739
initial server list
paulzierep Jun 5, 2024
b9e6894
add all public servers
paulzierep Jun 5, 2024
78c6cdb
update script
paulzierep Jun 5, 2024
ab5dfc5
update server script
paulzierep Jun 5, 2024
fd209d9
use TSV
paulzierep Jun 5, 2024
574d82a
lint
paulzierep Jun 5, 2024
33dc74a
Merge pull request #112 from paulzierep/main
bebatut Jun 5, 2024
c26886f
Merge branch 'main' into add-all-public-servers
paulzierep Jun 5, 2024
acd8a7b
fetch all tools bot - step fetch
invalid-email-address Jun 5, 2024
de4b000
fetch all tools bot - step fetch
invalid-email-address Jun 5, 2024
d966cd3
fetch all tools bot - step fetch
invalid-email-address Jun 5, 2024
d9401ae
fetch all tools bot - step fetch
invalid-email-address Jun 5, 2024
df250c7
fetch all tools bot - step merge
invalid-email-address Jun 5, 2024
8ed2ead
Merge pull request #113 from paulzierep/add-all-public-servers
bebatut Jun 6, 2024
0cc6c29
fetch all tools bot - step fetch
invalid-email-address Jun 9, 2024
01a8123
fetch all tools bot - step fetch
invalid-email-address Jun 9, 2024
270106e
Update fetch_all_tools.yaml
paulzierep Jun 10, 2024
fe14233
Add biodiversity community (#114)
abretaud Jun 13, 2024
afb681d
fix and test for fix (#115)
paulzierep Jun 13, 2024
dde8c7a
add empty tool status (#116)
paulzierep Jun 13, 2024
d9a63f3
fetch all tools bot - step fetch
invalid-email-address Jun 13, 2024
3c9e1e1
fetch all tools bot - step fetch
invalid-email-address Jun 13, 2024
a54642c
fetch all tools bot - step fetch
invalid-email-address Jun 13, 2024
e16e675
fetch all tools bot - step fetch
invalid-email-address Jun 13, 2024
7514766
fetch all tools bot - step merge
invalid-email-address Jun 13, 2024
60a4a26
Fix tool filtering (#118)
paulzierep Jun 13, 2024
56e3815
Update requirements.txt
paulzierep Jun 13, 2024
aa18649
fix json
paulzierep Jun 13, 2024
2c375e6
improved tools stats, added to json
paulzierep Jun 13, 2024
77b9e73
fetch all tools bot - step fetch
invalid-email-address Jun 16, 2024
3b9a9f3
fetch all tools bot - step fetch
invalid-email-address Jun 16, 2024
f7dea86
fetch all tools bot - step fetch
invalid-email-address Jun 16, 2024
e735964
fetch all tools bot - step merge
invalid-email-address Jun 16, 2024
7ee6e7f
fix json dump
paulzierep Jun 17, 2024
235a1bf
cleanup and improved docs
paulzierep Jun 17, 2024
5df14e0
linting
paulzierep Jun 17, 2024
698dc30
Merge pull request #120 from paulzierep/simplify-and-improve-stats
bebatut Jun 17, 2024
e7c7904
fetch all tools bot - step fetch
invalid-email-address Jun 17, 2024
f50f0a5
Update fetch_all_tools.yaml
paulzierep Jun 17, 2024
9c4cfd5
fetch all tools bot - step fetch
invalid-email-address Jun 17, 2024
c9c45a8
fetch all tools bot - step fetch
invalid-email-address Jun 17, 2024
d7f499e
fetch all tools bot - step fetch
invalid-email-address Jun 17, 2024
62a6477
fetch all tools bot - step merge
invalid-email-address Jun 17, 2024
80d5bff
fetch all tools bot - step filter
invalid-email-address Jun 17, 2024
6f1b2b9
add ML
paulzierep Jun 20, 2024
e1b48d0
fetch all tools bot - step filter
invalid-email-address Jun 20, 2024
5731b76
update tool status ML
paulzierep Jun 20, 2024
5ca078a
no tabs
paulzierep Jun 20, 2024
bda5f12
fetch all tools bot - step filter
invalid-email-address Jun 20, 2024
f388747
fetch all tools bot - step fetch
invalid-email-address Jun 23, 2024
8f30299
fetch all tools bot - step fetch
invalid-email-address Jun 23, 2024
84822fc
fetch all tools bot - step fetch
invalid-email-address Jun 23, 2024
05be5a3
fetch all tools bot - step fetch
invalid-email-address Jun 23, 2024
8782806
fetch all tools bot - step merge
invalid-email-address Jun 23, 2024
0a4efcc
fetch all tools bot - step filter
invalid-email-address Jun 23, 2024
01afd51
Extract tutorials and link to tools (#90)
bebatut Jun 24, 2024
d880045
fetch all tutorials / tools bot - step tutorial filter
invalid-email-address Jun 24, 2024
0f34573
Update fetch_all_tutorials.yaml
paulzierep Jun 24, 2024
7ba1f75
Update fetch_all_tools.yaml
paulzierep Jun 24, 2024
d85f361
Merge pull request #123 from galaxyproject/paulzierep-patch-1
bebatut Jun 24, 2024
f32677c
Merge pull request #124 from galaxyproject/paulzierep-patch-2
bebatut Jun 24, 2024
390cfa4
add ML tags to test CI (#125)
paulzierep Jun 24, 2024
9c231d6
use py 3.11 to fix iso issue
paulzierep Jun 25, 2024
c744a1d
fetch all tools bot - step get available servers
invalid-email-address Jun 25, 2024
80194a5
fetch all tools bot - step fetch
invalid-email-address Jun 25, 2024
c8ce52d
Merge pull request #127 from paulzierep/fix-fetch-tutorials
bebatut Jun 25, 2024
bfc103d
fetch all tools bot - step fetch
invalid-email-address Jun 25, 2024
7fd4dc5
fetch all tools bot - step fetch
invalid-email-address Jun 25, 2024
fbfdd4c
fetch all tools bot - step fetch
invalid-email-address Jun 25, 2024
68d93a5
fetch all tools bot - step merge
invalid-email-address Jun 25, 2024
1fde8cf
fetch all tools bot - step tool filter
invalid-email-address Jun 25, 2024
ba1c189
Add SPOC (#135)
nomadscientist Jun 25, 2024
1e0a0fb
fetch all tools bot - step tool filter
invalid-email-address Jun 25, 2024
64d5b76
add assembly community
Delphine-L Jun 25, 2024
bf61db7
Merge pull request #136 from Delphine-L/main
bebatut Jun 25, 2024
db3654b
fetch all tools bot - step tool filter
invalid-email-address Jun 25, 2024
f00dd23
hot-fix the symlink error
paulzierep Jun 26, 2024
c883af5
Merge pull request #140 from paulzierep/fix-symlink-without-location-…
bebatut Jun 26, 2024
32c47e0
Fix extraction of video stats (#138)
bebatut Jun 26, 2024
8ef4efc
Make `run_tests` run on PR and push (#126)
bebatut Jun 26, 2024
0a7ba9c
move files for subdomain
nomadscientist Jul 3, 2024
556dce0
Restructure singlecell lab content
neoformit Jul 6, 2024
f03e92c
Add Australia text
neoformit Jul 6, 2024
e83fb50
usegalaxy.* servers
neoformit Jul 6, 2024
cafc918
Template conclusion.html help links
neoformit Jul 7, 2024
e988bcd
conclusion_extra for EU
neoformit Jul 8, 2024
fd97184
Custom footer for EU + AU
neoformit Jul 8, 2024
c857fa0
Add terms_url
neoformit Jul 9, 2024
9b1bcc7
Add EU terms_url
neoformit Jul 9, 2024
6bb2134
Markdown cleanup
neoformit Jul 10, 2024
220206f
Minor formatting
neoformit Jul 10, 2024
c4056cb
Add optional intro_extra_md
neoformit Jul 10, 2024
4f6bef8
Clean up section 1_beginner.yml
neoformit Jul 10, 2024
431ceef
Clean up sections 2_intermediate.yml
neoformit Jul 10, 2024
a77d87d
Clean up section 3_advanced.yml
neoformit Jul 10, 2024
842219e
Clean up section 4_community.yml and create separate news/events
neoformit Jul 11, 2024
7bebe16
Rename main.yml to base.yml
neoformit Jul 12, 2024
d4bd5fa
Add GTN modal to links
neoformit Jul 12, 2024
30a5e2d
<server>.yml content extends base.yml
neoformit Jul 12, 2024
d06ca84
Add CONTRIBUTORS file
neoformit Jul 14, 2024
ec459aa
Move feedback modal to labs engine
neoformit Jul 15, 2024
99da02e
updates to add tools and iframe
nomadscientist Jul 15, 2024
0e82474
fix issues
nomadscientist Jul 15, 2024
35d1a72
iframe snippets
nomadscientist Jul 15, 2024
48a6479
update formatting
nomadscientist Jul 15, 2024
0fc499c
fix error
nomadscientist Jul 15, 2024
d862817
add sections
nomadscientist Jul 15, 2024
e408232
try to fix issue
nomadscientist Jul 15, 2024
3148363
remove intermediate
nomadscientist Jul 15, 2024
f996cbf
add data visualisation
nomadscientist Jul 15, 2024
fe43500
fix tabs
nomadscientist Jul 15, 2024
38803e7
remove gaps
nomadscientist Jul 15, 2024
b8b716c
remove spaces
nomadscientist Jul 15, 2024
423cda7
adjust tabs
nomadscientist Jul 15, 2024
cc9caac
try again
nomadscientist Jul 15, 2024
6df6c63
update links to help
nomadscientist Jul 15, 2024
9d47811
clean community text
nomadscientist Jul 15, 2024
beb523e
update community page
nomadscientist Jul 15, 2024
d48d52a
close tag
nomadscientist Jul 15, 2024
39ce634
fix icons
nomadscientist Jul 15, 2024
18a218c
add gap
nomadscientist Jul 15, 2024
6c5691b
remove double-printing the tool names
nomadscientist Jul 15, 2024
0b9651a
fix iframe height
nomadscientist Jul 15, 2024
294b1da
turn tags into a list
nomadscientist Jul 15, 2024
fc17ef9
fix workflowhub link
nomadscientist Jul 15, 2024
6a321e5
add workflow sharing
nomadscientist Jul 15, 2024
40d2acb
add contributors
nomadscientist Jul 15, 2024
4f9e478
add line separations
nomadscientist Jul 15, 2024
1287dc2
explain links
nomadscientist Jul 15, 2024
444fa18
change iframe sizing
nomadscientist Jul 15, 2024
be24fa5
fix list format
nomadscientist Jul 15, 2024
e1727e2
move instructions
nomadscientist Jul 15, 2024
f2288fd
separate lines
nomadscientist Jul 15, 2024
a225caf
fix iframe
nomadscientist Jul 15, 2024
7f70896
update html to md text
nomadscientist Jul 15, 2024
69244ac
rearrange help tabs
nomadscientist Jul 15, 2024
aa09e1a
rearrange tabs
nomadscientist Jul 15, 2024
ad8a0c6
more iframe
nomadscientist Jul 15, 2024
600171f
fix lines
nomadscientist Jul 15, 2024
f6f6aeb
rearrange text
nomadscientist Jul 15, 2024
052a26d
centre the image
nomadscientist Jul 15, 2024
4d8074c
Fix typos/formatting
neoformit Jul 15, 2024
9d0fb7e
Merge branch 'subdomain_unification' of https://github.com/nomadscien…
neoformit Jul 15, 2024
348abea
Create subdomains/scripts
neoformit Jul 28, 2024
ea90041
Parse tools for usegalaxy.org.au
neoformit Jul 28, 2024
d44f112
PEP8 format
neoformit Jul 28, 2024
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
105 changes: 105 additions & 0 deletions .github/workflows/fetch_all_tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
name: Fetch all tools

on:
workflow_dispatch:
schedule:
#Every Sunday at 8:00 am
- cron: "0 8 * * 0"

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "tools"
cancel-in-progress: false

permissions:
contents: write

jobs:
fetch-available-servers:
runs-on: ubuntu-20.04
name: Fetch list of all available servers
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install requirement
run: python -m pip install -r requirements.txt
- name: Run script
run: |
python ./bin/get_public_galaxy_servers.py -o data/available_public_servers.csv
- name: Commit servers
# add or commit any changes in results if there was a change, merge with main, and push as bot
run: |
git config user.name github-actions
git config user.email [email protected]
git pull --no-rebase -s recursive -X ours
git add data
git status
git diff --quiet && git diff --staged --quiet || (git commit -m "fetch all tools bot - step get available servers")
git push

fetch-all-tools-stepwise:
runs-on: ubuntu-20.04
environment: fetch-tools
name: Fetch all tool stepwise
strategy:
matrix:
python-version: [3.8]
subset:
- repositories01.list
- repositories02.list
- repositories03.list
- repositories04.list
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install requirement
run: python -m pip install -r requirements.txt
- name: Run script #needs PAT to access other repos
run: |
bash ./bin/extract_all_tools_stepwise.sh "${{ matrix.subset }}"
env:
GITHUB_API_KEY: ${{ secrets.GH_API_TOKEN }}
- name: Commit all tools
# add or commit any changes in results if there was a change, merge with main and push as bot
run: |
git config user.name github-actions
git config user.email [email protected]
git pull --no-rebase -s recursive -X ours
git add results
git status
git diff --quiet && git diff --staged --quiet || (git commit -m "fetch all tools bot - step fetch")
git push

fetch-all-tools-merge:
runs-on: ubuntu-20.04
needs: fetch-all-tools-stepwise
name: Fetch all tools merge
steps:
- uses: actions/checkout@v4
with:
ref: main #pull latest code produced by job 1, not the revision that started the workflow (https://github.com/actions/checkout/issues/439)
- uses: actions/setup-python@v5
- name: Install requirement
run: |
python -m pip install -r requirements.txt
sudo apt-get install jq
- name: Merge all tools
run: | #merge files with only one header -> https://stackoverflow.com/questions/16890582/unixmerge-multiple-csv-files-with-same-header-by-keeping-the-header-of-the-firs; map(.[]) -> https://stackoverflow.com/questions/42011086/merge-arrays-of-json (get flat array, one tool per entry)
awk 'FNR==1 && NR!=1{next;}{print}' results/repositories*.list_tools.tsv > results/all_tools.tsv
jq -s 'map(.[])' results/repositories*.list_tools.json > results/all_tools.json
- name: Wordcloud and interactive table
run: |
bash ./bin/extract_all_tools_downstream.sh
- name: Commit all tools
# add or commit any changes in results if there was a change, merge with main and push as bot
run: |
git config user.name github-actions
git config user.email [email protected]
git pull --no-rebase -s recursive -X ours
git add results
git status
git diff --quiet && git diff --staged --quiet || (git commit -m "fetch all tools bot - step merge")
git push
44 changes: 44 additions & 0 deletions .github/workflows/fetch_all_tutorials.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Fetch all tutorials

on:
workflow_dispatch:
schedule:
#Every Sunday at 8:00 am
- cron: "0 8 * * 0"

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "tutorials"
cancel-in-progress: false

permissions:
contents: write

jobs:
fetch-all-tutorials:
runs-on: ubuntu-20.04
environment: fetch-tutorials
name: Fetch all tutorials
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install requirement
run: python -m pip install -r requirements.txt
- name: Run script #needs PAT to access other repos
run: |
bash ./bin/extract_all_tutorials.sh
env:
PLAUSIBLE_API_KEY: ${{ secrets.PLAUSIBLE_API_TOKEN }}
- name: Commit all tools
# add or commit any changes in results if there was a change, merge with main and push as bot
run: |
git config user.name github-actions
git config user.email [email protected]
git pull --no-rebase -s recursive -X ours
git add results
git status
git diff --quiet && git diff --staged --quiet || (git commit -m "fetch all tutorials bot - step fetch")
git push
98 changes: 98 additions & 0 deletions .github/workflows/filter_communities.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Filter community tools

on:
workflow_dispatch:

# the workflow it triggered when all tools are fetched
workflow_run:
workflows: ["Fetch all tools"]
types:
- completed

# the workflow it also triggered when the community definitions are changed
push:
paths:
- 'data/communities**'
branches: ["main"]

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "filter"
cancel-in-progress: false

permissions:
contents: write

jobs:
filter-all-tutorials:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install requirement
run: python -m pip install -r requirements.txt
- name: Run script
run: |
bash ./bin/get_community_tutorials.sh
- name: Commit results
# commit the new filtered data, only if stuff was changed
run: |
git config user.name github-actions
git config user.email [email protected]
git pull --no-rebase -s recursive -X ours
git add results
git status
git diff --quiet && git diff --staged --quiet || (git commit -m "fetch all tutorials / tools bot - step tutorial filter")
git push

update-tools-to-keep-exclude:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install requirement
run: python -m pip install -r requirements.txt
- name: Run script
run: |
bash ./bin/update_tools_to_keep_exclude.sh
- name: Commit results
# commit the new filtered data, only if stuff was changed
run: |
git config user.name github-actions
git config user.email [email protected]
git pull --no-rebase -s recursive -X ours
git add results
git status
git diff --quiet && git diff --staged --quiet || (git commit -m "fetch all tutorials / tools bot - step exluded/kept tool list update")
git push

filter-all-tools:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install requirement
run: python -m pip install -r requirements.txt
- name: Run script
run: |
bash ./bin/get_community_tools.sh
- name: Commit results
# commit the new filtered data, only if stuff was changed
run: |
git config user.name github-actions
git config user.email [email protected]
git pull --no-rebase -s recursive -X ours
git add results
git status
git diff --quiet && git diff --staged --quiet || (git commit -m "fetch all tools bot - step tool filter")
git push



20 changes: 20 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint
on: [push, pull_request]
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.11']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install 'tox>=1.8.0'
- name: Lint
run: tox -e lint
74 changes: 74 additions & 0 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Run tests
on: [push, pull_request]

jobs:
test-tools:
runs-on: ubuntu-20.04
environment: fetch-tools
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install requirement
run: python -m pip install -r requirements.txt
- name: Tool extraction
# run: bash bin/extract_all_tools.sh
run: |
python bin/extract_galaxy_tools.py \
extractools \
--api $GITHUB_API_KEY \
--all-tools "results/test_tools.tsv" \
--all-tools-json "results/test_tools.json" \
--planemo-repository-list "test.list" \
--test
env:
GITHUB_API_KEY: ${{ secrets.GH_API_TOKEN }}
- name: Tool filter
run: |
python bin/extract_galaxy_tools.py \
filtertools \
--tools "results/all_tools.json" \
--ts-filtered-tools "results/microgalaxy/tools_filtered_by_ts_categories.tsv" \
--filtered-tools "results/microgalaxy/tools.tsv" \
--categories "data/communities/microgalaxy/categories" \
--status "data/communities/microgalaxy/tool_status.tsv"
- name: Create interactive table
run: |
python bin/create_interactive_table.py \
--table "results/microgalaxy/tools.tsv" \
--template "data/interactive_table_template.html" \
--output "results/microgalaxy/index.html"
- name: Create wordcloud
run: |
python bin/create_wordcloud.py \
--table "results/microgalaxy/tools.tsv" \
--wordcloud_mask "data/usage_stats/wordcloud_mask.png" \
--output "results/microgalaxy/tools_wordcloud.png" \
--stats_column "No. of tool users (2022-2023) (usegalaxy.eu)"
test-tutorials:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install requirement
run: python -m pip install -r requirements.txt
- name: Tutorial extraction
run: |
python bin/extract_gtn_tutorials.py \
extracttutorials \
--all_tutorials "results/test_tutorials.json" \
--tools "results/all_tools.json" \
--api $PLAUSIBLE_API_KEY \
--test
env:
PLAUSIBLE_API_KEY: ${{ secrets.PLAUSIBLE_API_TOKEN }}
- name: Tutorial filtering
run: |
python bin/extract_gtn_tutorials.py \
filtertutorials \
--all_tutorials "results/test_tutorials.json" \
--filtered_tutorials "results/microgalaxy/test_tutorials.tsv" \
--tags "data/communities/microgalaxy/tutorial_tags"
47 changes: 47 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:

# the workflow it triggered when the tools where filtered
workflow_run:
workflows: ["Filter community tools"]
types:
- completed

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
if: github.repository_owner == 'galaxyproject'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload results index.html repository
path: './results'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
__pycache__
Loading