Skip to content

Commit

Permalink
Switch to raw data for iterating
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusTiede committed Jan 23, 2025
1 parent ac51092 commit 893d7ec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/content/01/task/01.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
Check in 👍 at [this issue](https://github.com/digital-sustainability/module-eoss/issues/24)
///
```
for login in {... *.ods ...}; do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss/issues/24 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo && read -n 1;done
gh issue view --json comments https://github.com/digital-sustainability/module-eoss/issues/24 -q ".[].[] | .author.login" | sort -u > t01-01.txt
```
2 changes: 1 addition & 1 deletion docs/content/01/task/02.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
[💡 💪 😃](https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/1#issuecomment-2376038381)
///
```
for login in {... *.ods ...}; do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/1 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo && read -n 1;done
rm -f t01-02.txt && for login in $(cat t01-01.txt); do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/1 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo;done >> t01-02.txt
```
2 changes: 1 addition & 1 deletion docs/content/01/task/03.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
Add your [experience level (0-4) & details](https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/2)
///
```
for login in {... *.ods ...}; do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/2 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo && read -n 1;done
rm -f t01-03.txt && for login in $(cat t01-01.txt); do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/2 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo;done >> t01-03.txt
```
2 changes: 1 addition & 1 deletion docs/content/01/task/05.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Comment a [link to an (open source) project license](https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/3) that has **not been mentioned yet**.
///
```
for login in {... *.ods ...}; do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/3 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo && read -n 1;done
rm -f t01-05.txt && for login in $(cat t01-01.txt); do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/3 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo;done >> t01-05.txt
```
--
https://open-source.world/awesome-opensource/#alternatives
2 changes: 1 addition & 1 deletion docs/content/01/task/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
Comment a [link to an (open source) project you've seen](https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/4) (that has **not been mentioned yet**) and **add a reason [why](https://digital-sustainability.github.io/module-eoss-ospo101/module1/#the-business-perspective)** it's been used.
///
```
for login in {... *.ods ...}; do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/4 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo && read -n 1;done
rm -f t01-06.txt && for login in $(cat t01-01.txt); do echo $login && gh issue view --json comments https://github.com/digital-sustainability/module-eoss-hs24-sandbox/issues/4 -q ".[].[] | select(.author.login == \"$login\") | .body" && echo;done >> t01-06.txt
```

0 comments on commit 893d7ec

Please sign in to comment.