Skip to content

Commit

Permalink
Merge pull request #1050 from datalad-handbook/filter-logs
Browse files Browse the repository at this point in the history
Filter logs
  • Loading branch information
adswa authored Nov 1, 2023
2 parents e719cdb + 98800f7 commit 464ee94
Show file tree
Hide file tree
Showing 188 changed files with 442 additions and 894 deletions.
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-101-101
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@ $ datalad create -c text2git DataLad-101
[INFO] == Command exit (modification check follows) =====
run(ok): /home/me/dl-101/DataLad-101 (dataset) [VIRTUALENV/bin/python /home/a...]
create(ok): /home/me/dl-101/DataLad-101 (dataset)
action summary:
create (ok: 1)
run (ok: 1)
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-102-106
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ $ datalad save -m "add books on Python and Unix to read later"
add(ok): books/TLCL.pdf (file)
add(ok): books/byte-of-python.pdf (file)
save(ok): . (dataset)
action summary:
add (ok: 2)
save (ok: 1)
6 changes: 3 additions & 3 deletions docs/basics/_examples/DL-101-102-107
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ git log -p -n 1
commit d2bb1a86✂SHA1
commit b40316a6✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -15,9 +15,9 @@ index 0000000..4c84b61
\ No newline at end of file
diff --git a/books/byte-of-python.pdf b/books/byte-of-python.pdf
new file mode 120000
index 0000000..b9fcbff
index 0000000..7a6e51e
--- /dev/null
+++ b/books/byte-of-python.pdf
@@ -0,0 +1 @@
+../.git/annex/objects/P5/qK/✂/MD5E-s2693891--e61afe4b✂MD5.pdf
+../.git/annex/objects/xF/42/✂/MD5E-s4161086--c832fc13✂MD5.pdf
\ No newline at end of file
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-102-110
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "add reference book about git" books/progit.pdf
add(ok): books/progit.pdf (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
4 changes: 2 additions & 2 deletions docs/basics/_examples/DL-101-102-111
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# lets make the output a bit more concise with the --oneline option
$ git log --oneline
8e5dc80 add reference book about git
d2bb1a8 add books on Python and Unix to read later
a875e49 add reference book about git
b40316a add books on Python and Unix to read later
e0ff3a7 Instruct annex to add text files to Git
4ce681d [DATALAD] new dataset
4 changes: 0 additions & 4 deletions docs/basics/_examples/DL-101-102-112
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@ $ datalad download-url \
download_url(ok): /home/me/dl-101/DataLad-101/books/bash_guide.pdf (file)
add(ok): books/bash_guide.pdf (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
download_url (ok: 1)
save (ok: 1)
2 changes: 1 addition & 1 deletion docs/basics/_examples/DL-101-102-115
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ git log -p -n 1
commit bcb0ffe8✂SHA1
commit 59ac8d32✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand Down
6 changes: 3 additions & 3 deletions docs/basics/_examples/DL-101-102-116
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$ git log --oneline
bcb0ffe add beginners guide on bash
8e5dc80 add reference book about git
d2bb1a8 add books on Python and Unix to read later
59ac8d3 add beginners guide on bash
a875e49 add reference book about git
b40316a add books on Python and Unix to read later
e0ff3a7 Instruct annex to add text files to Git
4ce681d [DATALAD] new dataset
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-103-103
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "Add notes on datalad create"
add(ok): notes.txt (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-103-106
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "add note on datalad save"
add(ok): notes.txt (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
4 changes: 2 additions & 2 deletions docs/basics/_examples/DL-101-103-107
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ git log -p -n 2
commit 9783a90c✂SHA1
commit e310b465✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -18,7 +18,7 @@ index 3a7a1fe..0142412 100644
+Note to self: Always use informative, concise commit messages.
+

commit b538dae3✂SHA1
commit 874d766f✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand Down
10 changes: 0 additions & 10 deletions docs/basics/_examples/DL-101-105-102
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
$ datalad clone --dataset . \
https://github.com/datalad-datasets/longnow-podcasts.git recordings/longnow
[INFO] Attempting a clone into /home/me/dl-101/DataLad-101/recordings/longnow
[INFO] Attempting to clone from https://github.com/datalad-datasets/longnow-podcasts.git to /home/me/dl-101/DataLad-101/recordings/longnow
[INFO] Start enumerating objects
[INFO] Start receiving objects
[INFO] Start resolving deltas
[INFO] Completed clone attempts for Dataset(/home/me/dl-101/DataLad-101/recordings/longnow)
[INFO] Remote origin not usable by git-annex; setting annex-ignore
[INFO] https://github.com/datalad-datasets/longnow-podcasts.git/config download failed: Not Found
install(ok): recordings/longnow (dataset)
add(ok): recordings/longnow (dataset)
add(ok): .gitmodules (file)
save(ok): . (dataset)
add(ok): .gitmodules (file)
save(ok): . (dataset)
action summary:
add (ok: 3)
install (ok: 1)
save (ok: 2)
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-105-115
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ EOT
$ datalad save -m "Add note on datalad clone"
add(ok): notes.txt (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
18 changes: 9 additions & 9 deletions docs/basics/_examples/DL-101-106-101
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ git log -p -n 3
commit fa63a083✂SHA1
commit 87609a36✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -19,7 +19,7 @@ index 0142412..e34ef1f 100644
+superdataset with the '-d' option.
+

commit 7c489fbf✂SHA1
commit 3c016f73✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -44,7 +44,7 @@ index 0000000..dcc34fb
@@ -0,0 +1 @@
+Subproject commit dcc34fbe✂SHA1

commit 9783a90c✂SHA1
commit e310b465✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -63,7 +63,7 @@ index 3a7a1fe..0142412 100644
+Note to self: Always use informative, concise commit messages.
+

commit b538dae3✂SHA1
commit 874d766f✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -79,7 +79,7 @@ index 0000000..3a7a1fe
+The dataset is created empty
+

commit bcb0ffe8✂SHA1
commit 59ac8d32✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -94,7 +94,7 @@ index 0000000..00ca6bd
+../.git/annex/objects/WF/Gq/✂/MD5E-s1198170--0ab2c121✂MD5.pdf
\ No newline at end of file

commit 8e5dc808✂SHA1
commit a875e496✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -109,7 +109,7 @@ index 0000000..c5d2ab2
+../.git/annex/objects/G6/Gj/✂/MD5E-s12465653--05cd7ed5✂MD5.pdf
\ No newline at end of file

commit d2bb1a86✂SHA1
commit b40316a6✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -125,11 +125,11 @@ index 0000000..4c84b61
\ No newline at end of file
diff --git a/books/byte-of-python.pdf b/books/byte-of-python.pdf
new file mode 120000
index 0000000..b9fcbff
index 0000000..7a6e51e
--- /dev/null
+++ b/books/byte-of-python.pdf
@@ -0,0 +1 @@
+../.git/annex/objects/P5/qK/✂/MD5E-s2693891--e61afe4b✂MD5.pdf
+../.git/annex/objects/xF/42/✂/MD5E-s4161086--c832fc13✂MD5.pdf
\ No newline at end of file

commit e0ff3a73✂SHA1
Expand Down
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-108-104
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "Add short script to write a list of podcast speakers and titles"
add(ok): code/list_titles.sh (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
2 changes: 1 addition & 1 deletion docs/basics/_examples/DL-101-108-106
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ git log -p -n 1 # On Windows, you may just want to type "git log".
commit f4f30396✂SHA1
commit e37c9fc9✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand Down
18 changes: 9 additions & 9 deletions docs/basics/_examples/DL-101-108-108
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
$ git log --oneline
f4f3039 [DATALAD RUNCMD] create a list of podcast titles
50addd7 Add short script to write a list of podcast speakers and titles
fa63a08 Add note on datalad clone
7c489fb [DATALAD] Added subdataset
9783a90 add note on datalad save
b538dae Add notes on datalad create
bcb0ffe add beginners guide on bash
8e5dc80 add reference book about git
d2bb1a8 add books on Python and Unix to read later
e37c9fc [DATALAD RUNCMD] create a list of podcast titles
e799b6b Add short script to write a list of podcast speakers and titles
87609a3 Add note on datalad clone
3c016f7 [DATALAD] Added subdataset
e310b46 add note on datalad save
874d766 Add notes on datalad create
59ac8d3 add beginners guide on bash
a875e49 add reference book about git
b40316a add books on Python and Unix to read later
e0ff3a7 Instruct annex to add text files to Git
4ce681d [DATALAD] new dataset
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-109-104
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ $ datalad save -m "BF: list both directories content" \
code/list_titles.sh
add(ok): code/list_titles.sh (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
4 changes: 2 additions & 2 deletions docs/basics/_examples/DL-101-109-105
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$ git log -n 2
commit 07db512b✂SHA1
commit f7ea9f3d✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

BF: list both directories content

commit f4f30396✂SHA1
commit e37c9fc9✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand Down
4 changes: 2 additions & 2 deletions docs/basics/_examples/DL-101-109-106
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

$ datalad rerun f4f30396✂SHA1
[INFO] run commit f4f3039; (create a list of ...)
$ datalad rerun e37c9fc9✂SHA1
[INFO] run commit e37c9fc; (create a list of ...)
[INFO] == Command start (output follows) =====
[INFO] == Command exit (modification check follows) =====
run(ok): /home/me/dl-101/DataLad-101 (dataset) [bash code/list_titles.sh > recordings/po...]
Expand Down
4 changes: 2 additions & 2 deletions docs/basics/_examples/DL-101-109-107
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ git log -n 1
commit f4916ccb✂SHA1
commit 08120c38✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -8,7 +8,7 @@ Date: Tue Jun 18 16:13:00 2019 +0000
=== Do not change lines below ===
{
"chain": [
"f4f30396✂SHA1"
"e37c9fc9✂SHA1"
],
"cmd": "bash code/list_titles.sh > recordings/podcasts.tsv",
"dsid": "e3e70682-c209-4cac-629f-6fbed82c07cd",
Expand Down
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-109-111
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "add note datalad and git diff"
add(ok): notes.txt (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
6 changes: 3 additions & 3 deletions docs/basics/_examples/DL-101-109-112
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ git log -- recordings/podcasts.tsv
commit f4916ccb✂SHA1
commit 08120c38✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -8,7 +8,7 @@ Date: Tue Jun 18 16:13:00 2019 +0000
=== Do not change lines below ===
{
"chain": [
"f4f30396✂SHA1"
"e37c9fc9✂SHA1"
],
"cmd": "bash code/list_titles.sh > recordings/podcasts.tsv",
"dsid": "e3e70682-c209-4cac-629f-6fbed82c07cd",
Expand All @@ -20,7 +20,7 @@ Date: Tue Jun 18 16:13:00 2019 +0000
}
^^^ Do not change lines above ^^^

commit f4f30396✂SHA1
commit e37c9fc9✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand Down
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-109-114
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "add note on basic datalad run and datalad rerun"
add(ok): notes.txt (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-111-104
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "resized picture by hand"
add(ok): recordings/salt_logo_small.jpg (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-112-103
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "add additional notes on run options"
add(ok): notes.txt (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
3 changes: 0 additions & 3 deletions docs/basics/_examples/DL-101-112-108
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
$ datalad save -m "add note on clean datasets"
add(ok): notes.txt (file)
save(ok): . (dataset)
action summary:
add (ok: 1)
save (ok: 1)
4 changes: 2 additions & 2 deletions docs/basics/_examples/DL-101-112-109
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ git log -p -n 2
commit b5fc1296✂SHA1
commit 41fdaab8✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand All @@ -20,7 +20,7 @@ index 6a465f0..e2829b2 100644
+those changes done to the files listed with --output flags.
+

commit d5845d33✂SHA1
commit fd4a25e6✂SHA1
Author: Elena Piscopia <elena@example.net>
Date: Tue Jun 18 16:13:00 2019 +0000

Expand Down
Loading

0 comments on commit 464ee94

Please sign in to comment.