Skip to contentSkip to conversation

mw-to-git/t9360: fix broken &&-chain

PATCH In review Eric Sunshine 4 participants 6 messages Jul 30, 2018 – Aug 21, 2018 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): https://public-inbox.org/git/[email protected]/

#1 lore raw

PATCH 1/1 mw-to-git/t9360: fix broken &&-chain

---

Jonathan's discovery[1] of a broken &&-chain in a contrib/subtree test prompted me to check other tests bundled in contrib/. This was the only other problem found. Unlike the subtree &&-chain case, this breakage is at the top-level, thus was caught by the normal --chain-lint mechanism, not the subshell linter.

[1]: https://public-inbox.org/git/[email protected].
com/

 contrib/mw-to-git/t/t9360-mw-to-git-clone.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/mw-to-git/t/t9360-mw-to-git-clone.sh +1 -1
index 22f069db48..cfbfe7ddf6 100755
@@ -247,7 +247,7 @@ test_expect_success 'Test of resistance to modification of category on wiki for
 	wiki_editpage Notconsidered "this page will not appear on local" false &&
 	wiki_editpage Othercategory "this page will not appear on local" false -c=Cattwo &&
 	wiki_editpage Tobeedited "this page have been modified" true -c=Catone &&
-	wiki_delete_page Tobedeleted
+	wiki_delete_page Tobedeleted &&
 	git clone -c remote.origin.categories="Catone" \
 		mediawiki::'"$WIKI_URL"' mw_dir_14 &&
 	wiki_getallpage ref_page_14 Catone &&
Signature · 1 line
2.18.0.597.ga71716f1ad
Reviewed-by on v1 1/1
#2 lore raw

(+cc: some folks interested in git-remote-mediawiki) Hi,

Quoted 10 lines · Eric Sunshine

---
Jonathan's discovery[1] of a broken &&-chain in a contrib/subtree test prompted me to check other tests bundled in contrib/. This was the only other problem found. Unlike the subtree &&-chain case, this breakage is at the top-level, thus was caught by the normal --chain-lint mechanism, not the subshell linter.

[1]: https://public-inbox.org/git/[email protected].
com/

A small detail from there would be useful to have in the commit
message: namely that this was detected using --chain-lint (and what command I can run to reproduce it myself).

With or without such a tweak to the commit message,

Thanks.

Quoted 19 lines
 contrib/mw-to-git/t/t9360-mw-to-git-clone.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/mw-to-git/t/t9360-mw-to-git-clone.sh +1 -1
index 22f069db48..cfbfe7ddf6 100755
@@ -247,7 +247,7 @@ test_expect_success 'Test of resistance to modification of category on wiki for
 	wiki_editpage Notconsidered "this page will not appear on local" false &&
 	wiki_editpage Othercategory "this page will not appear on local" false -c=Cattwo &&
 	wiki_editpage Tobeedited "this page have been modified" true -c=Catone &&
-	wiki_delete_page Tobedeleted
+	wiki_delete_page Tobedeleted &&
 	git clone -c remote.origin.categories="Catone" \
 		mediawiki::'"$WIKI_URL"' mw_dir_14 &&
 	wiki_getallpage ref_page_14 Catone &&
Signature · 1 line
2.18.0.597.ga71716f1ad

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 1 line · jrnieder

(+cc: some folks interested in git-remote-mediawiki)

Thanks.

In case it still matters, an obvious Acked-by: Matthieu Moy <[email protected]>

Signature · 1 line
Matthieu Moy
#5 lore raw
Quoted 7 lines · Matthieu Moy
Quoted 1 line · jrnieder

(+cc: some folks interested in git-remote-mediawiki)

Thanks.

In case it still matters, an obvious Acked-by: Matthieu Moy <[email protected]>

Hi,

I seem to have lost context of the original email, and can't find a copy on public-inbox.org... Is there a patch we should merge back into git-mediawiki already?

Thanks!

A.

Signature · 2 lines
Your injured body has become the burden of your digital soul.
                        - Yin Aiwen, 2013, The Massage is the Medium
#6 lore raw
Quoted 9 lines · Antoine Beaupré
Quoted 4 lines · Matthieu Moy
Quoted 1 line · jrnieder

(+cc: some folks interested in git-remote-mediawiki)

In case it still matters, an obvious Acked-by: Matthieu Moy <[email protected]>

I seem to have lost context of the original email, and can't find a copy on public-inbox.org... Is there a patch we should merge back into git-mediawiki already?

The patch is here[1].

[1]: https://public-inbox.org/git/[email protected]/

#7 lore raw
Quoted 7 lines · Eric Sunshine
Quoted 6 lines · Antoine Beaupré
Quoted 4 lines · Matthieu Moy
Quoted 1 line · jrnieder

(+cc: some folks interested in git-remote-mediawiki)

In case it still matters, an obvious Acked-by: Matthieu Moy <[email protected]>

Quoted 7 lines
Quoted 3 lines

I seem to have lost context of the original email, and can't find a copy on public-inbox.org... Is there a patch we should merge back into git-mediawiki already?

The patch is here[1].

[1]: https://public-inbox.org/git/[email protected]/

Thanks, so

FWIW. :)

A.

Signature · 3 lines
The history of any one part of the earth, like the life of a soldier,
consists of long periods of boredom and short periods of terror.
                       - British geologist Derek V. Ager