Skip to content

Commit

Permalink
Merge pull request #4966 from galaxyproject/video-library
Browse files Browse the repository at this point in the history
[Video Library] Begin import of Gallantries video library to GTN (WIP)
  • Loading branch information
hexylena authored Jun 14, 2024
2 parents 911e298 + 0d30927 commit 13f2db1
Show file tree
Hide file tree
Showing 173 changed files with 4,662 additions and 486 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ jobs:
npm install
make rebuild-search-index ACTIVATE_ENV=pwd
cat metadata/swagger.yaml | python bin/yaml2json.py > api/swagger.json
curl --retry 5 https://gallantries.github.io/video-library/api/videos.json > metadata/video-library.json
curl --retry 5 https://gallantries.github.io/video-library/api/sessions.json > metadata/session-library.json
rdoc bin _plugins/ --output gtn_rdoc
- name: Build Site
Expand Down
48 changes: 43 additions & 5 deletions .github/workflows/google-form.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "[Cron] Update news from Google Form"
name: "[Cron] Update news and recordings from Google Form"
on:
workflow_dispatch:
schedule:
Expand Down Expand Up @@ -35,19 +35,57 @@ jobs:
bundle pristine ffi
# END Dependencies

- name: Update google news
- name: Update news from Google Form
id: generate
run: |
echo "new_ids=$(bundle exec ruby bin/google-form-news.rb)" >> $GITHUB_OUTPUT
- name: Create Pull Request
- name: Create Pull Request for News
# If it's not a Pull Request then commit any changes as a new PR.
if: |
github.event_name != 'pull_request' &&
steps.generate.outputs.new_ids != '0'
uses: peter-evans/create-pull-request@v3
with:
title: Import news posts from Google Form
commit-message: Import news posts from Google Form
branch-suffix: timestamp
commit-message: New News Post!
title: "[Google Form] New News Post!"
add-paths: news/_posts/

- name: Update recordings from Google Form
id: recordings
run: |
echo "new_recordings=$(bundle exec ruby bin/google-form-recordings.rb)" >> $GITHUB_OUTPUT
- name: Create Pull Request for Recordings
# If it's not a Pull Request then commit any changes as a new PR.
if: |
github.event_name != 'pull_request' &&
steps.generate.outputs.new_recordings == 'true'
uses: peter-evans/create-pull-request@v3
with:
title: "[Google Form] New Recording Submission!"
branch-suffix: timestamp
commit-message: add new recording from Google Form submission
add-paths: topics/
committer: "Saskia Hiltemann <[email protected]>"
author: "Saskia Hiltemann <[email protected]>"
body: |
New recording submitted!
**Submission Process checklist**
- [x] **Instructor** Record video
- [x] **Instructor** Submit video via form
- [x] **GTN** Pull request made by bot
- [ ] **GTN** Check if adjustments to PR are necessary
- [ ] Check [Submissions Form](https://docs.google.com/spreadsheets/d/1iXjLlMEH5QMAMyUMHi1c_Lb7OiJhL_9hgJrtAsBoZ-Y/edit?usp=sharing)
- [ ] New contributors need to be added?
- [ ] **GTN** Upload video to [GalaxyProject YouTube](https://www.youtube.com/c/galaxyproject)
- [ ] **GTN** Add youtube video id to PR after upload
- [ ] **GTN** Put Autogenerated captions in Google Doc ([folder](https://drive.google.com/drive/folders/1liyqDQDbxMNXvpQIaqFmoE2fB2aJIH9N?usp=drive_link))
- [ ] **Instructor** Fix autogenerated captions, comment here when done
- [ ] **GTN** Upload fixed captions to YouTube
- [ ] **GTN** Add the people who did the captioning to this PR
- [ ] **GTN** Merge PR!
2 changes: 0 additions & 2 deletions .github/workflows/monthly-release-backfill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ jobs:
npm install
make rebuild-search-index ACTIVATE_ENV=pwd
cat metadata/swagger.yaml | python bin/yaml2json.py > api/swagger.json
curl --retry 5 https://gallantries.github.io/video-library/api/videos.json > metadata/video-library.json
curl --retry 5 https://gallantries.github.io/video-library/api/sessions.json > metadata/session-library.json
JEKYLL_ENV=production bundle exec jekyll build --strict_front_matter -d _site/training-material
env:
SOURCE_TAG: ${{ github.event.inputs.selected_tag }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/monthly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ jobs:
npm install
make rebuild-search-index ACTIVATE_ENV=pwd
cat metadata/swagger.yaml | ruby bin/yaml2json.rb > api/swagger.json
curl --retry 5 https://gallantries.github.io/video-library/api/videos.json > metadata/video-library.json
curl --retry 5 https://gallantries.github.io/video-library/api/sessions.json > metadata/session-library.json
JEKYLL_ENV=production bundle exec jekyll build --strict_front_matter -d _site/training-material
env:
SOURCE_TAG: ${{ env.release_tag }}
Expand Down
62 changes: 62 additions & 0 deletions CONTRIBUTORS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ contributor2:
halloffame: "no"
joined: 2020-06

# dummy contributor for video library
awspolly:
halloffame: "no"
joined: 2024-05
name: Automated Text-to-Speech

# our real contributors <3 (please add yourself in alphabetical order)

a-asai:
Expand Down Expand Up @@ -143,6 +149,12 @@ andreasrichter:
github: false
joined: 2017-09

andrewr:
name: Andrew Rajczewski
affiliations:
- minnesotauni
joined: 2024-05

annatrigos:
name: Anna Trigos
github: false
Expand Down Expand Up @@ -675,6 +687,10 @@ EngyNasr:
- uni-freiburg
- elixir-europe

ennovytje:
name: Yvonne Hiltemann
joined: 2024-05

ecoissac:
github: false
name: Eric Coissac
Expand Down Expand Up @@ -715,10 +731,15 @@ cumbof:
orcid: 0000-0003-2920-5838
joined: 2018-02


fidelram:
name: Fidel Ramirez
joined: 2017-09

FilipposZ:
name: Filippos Zacharopoulos
joined: 2024-05

foellmelanie:
name: Melanie Föll
email: [email protected]
Expand Down Expand Up @@ -1263,6 +1284,12 @@ lleroi:
orcid: 0000-0003-3748-4179
joined: 2021-11

LonsBio:
name: Andrew Lonsdale
joined: 2024-05
affiliations:
- petermac

loraine-gueguen:
name: Loraine Guéguen
joined: 2017-09
Expand All @@ -1280,6 +1307,12 @@ kkamieniecka:
affiliations:
- elixir-europe

ksuderman:
name: Keith Suderman
joined: 2024-05
affiliations:
- johnshopkins

poterlowicz-lab:
name: Krzysztof Poterlowicz
twitter: bioinfbrad
Expand All @@ -1306,6 +1339,12 @@ mjostaszewski:
affiliations:
- elixir-europe

MariaTsayo:
name: Maria Tsagiopoulou
joined: 2024-05
affiliations:
- inab-certh

mariipia10:
name: Maria Pia
joined: 2021-10
Expand Down Expand Up @@ -1779,6 +1818,12 @@ proccaserra:
affiliations:
- elixir-europe

prodromus:
name: Jonathan Trow
joined: 2024-05
affiliations:
- ncbi

ptsefton:
name: Peter Sefton
orcid: 0000-0002-3545-944X
Expand Down Expand Up @@ -1854,6 +1899,16 @@ rlibouba:
- eurosciencegateway
- elixir-europe

rwinand:
name: Raf Winand
joined: 2024-05
affiliations:
- sciensano

s3by01:
name: Sébastien Fouilloux
joined: 2024-05

samanthaanjei:
name: Samantha Anjei
joined: 2022-04
Expand Down Expand Up @@ -2286,6 +2341,13 @@ yvanlebras:
- fnso2019
- elixir-europe

yvesvdb:
name: Yves Vandenbrouck
joined: 2024-05
affiliations:
- ifb


SNG888:
name: Sandra Ng
email: [email protected]
Expand Down
44 changes: 38 additions & 6 deletions ORGANISATIONS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ ifb:
avatar: "/training-material/shared/images/ifb.png"
github: false

inab-certh:
name: INAB|CERTH
url: "https://www.inab.certh.gr/"
avatar: "/training-material/shared/images/inab-certh.png"

irccs:
name: IRCCS Ospedale San Raffaele
url: "https://www.hsr.it/"
Expand All @@ -100,19 +105,36 @@ jetstream2:
avatar: https://jetstream-cloud.org/images/home/jetstream-2.png
github: false

johnshopkins:
name: Johns Hopkins University
url: "https://www.jhu.edu/"
avatar: "/training-material/shared/images/hopkins.png"
github: false

linq:
name: LINQ
description: LINQ management GmbH
link: "https://linq-management.com/"
avatar: "/training-material/shared/images/linq.jpg"
github: false

minnesotauni:
name: University of Minnesota
url: "https://twin-cities.umn.edu/"
avatar: "/training-material/shared/images/minnesotauni.png"
github: false

MPIIE:
name: Max Planck Institute of Immunology and Epigenetics
url: https://www.ie-freiburg.mpg.de
avatar: https://raw.githubusercontent.com/bgruening/presentations/master/shared/resources/img/14_MPI_IE_logo_mit_180.gif
github: false

ncbi:
name: National Center for Biotechnology Information
url: "https://www.ncbi.nlm.nih.gov/"
avatar: "/training-material/shared/images/ncbi.png"

panacea:
name: PanACEA
description: Pan-African Consortium for the Evaluation of Antituberculosis Antibiotics
Expand All @@ -127,6 +149,11 @@ pangens:
avatar: "/training-material/shared/images/pangens.jpg"
github: false

petermac:
name: Peter MacCallum Cancer Centre
url: "https://www.petermac.org/"
avatar: "/training-material/shared/images/petermac.png"

pndb:
name: Pôle National de Données de Biodiversité
url: https://www.pndb.fr/
Expand Down Expand Up @@ -157,18 +184,24 @@ san-raffaele-uni:
avatar: "/training-material/shared/images/uni_san_raffaele.svg"
github: false

tb-capt:
name: TB-CAPT
url: https://www.tb-capt.org/
avatar: "/training-material/shared/images/tb_capt.svg"
github: false
sciensano:
name: Sciensano
url: "https://www.sciensano.be"
avatar: "/training-material/shared/images/sciensano.jpg"
github: false

swiss-tph:
name: Swiss Tropical and Public Health Institute
url: https://www.swisstph.ch/en/
avatar: "/training-material/shared/images/swiss-tph.png"
github: false

tb-capt:
name: TB-CAPT
url: https://www.tb-capt.org/
avatar: "/training-material/shared/images/tb_capt.svg"
github: false

uga:
name: Université Grenoble-Alpes
url: https://www.univ-grenoble-alpes.fr/
Expand All @@ -194,4 +227,3 @@ vib:
github: false



10 changes: 9 additions & 1 deletion _includes/contributor-human-icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@
{% elsif include.activity == "funding" %}
<abbr title="These individuals or organisations provided funding support for the development of this resource">💵</abbr>
{% elsif include.activity == "maintainer" %}
<abbr title="These individuals or organisations are responsible for maintaining this resource">🧑‍🏫</abbr>
<abbr title="These individuals or organisations are responsible for maintaining this resource"></abbr>
{% elsif include.activity == "captioner" %}
<abbr title="These individuals or organisations are responsible for hand curating the captions of a video">💬</abbr>
{% elsif include.activity == "speaker" %}
<abbr title="These individuals produced a video recording of a training material">🗣</abbr>
{% elsif include.activity == "organisers" %}
<abbr title="These individuals or organisations were responsible for organising an event">🎪</abbr>
{% elsif include.activity == "instructors" %}
<abbr title="These individuals taught at an event">🧑‍🏫</abbr>
{% else %}
{{ include.activity }}
{% endif %}
Loading

0 comments on commit 13f2db1

Please sign in to comment.