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

reftest: update commands prefix replacement #5657

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ users)

### Engine
* With real path resolved for all opam temp dir, remove `/private` from mac temp dir regexp [#5654 @rjbou]
* Reimplement `sed-cmd` command regexp, to handle prefixed commands with path not only in subprocess, but anywere in output [#5657 @rjbou]

## Github Actions
* Add coreutils install for cheksum validation tests [#5560 @rjbou]
Expand Down
18 changes: 9 additions & 9 deletions tests/reftests/assume-built.test
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ The following actions will be performed:
Processing 1/3: [ongoing.dev: git]
-> retrieved ongoing.dev (no changes)
Processing 2/3: [ongoing: test ongoing.txt]
test "-f" "ongoing.txt" (CWD=${BASEDIR}/OPAM/assume-built/.opam-switch/build/ongoing.dev)
+ test "-f" "ongoing.txt" (CWD=${BASEDIR}/OPAM/assume-built/.opam-switch/build/ongoing.dev)
Processing 2/3: [ongoing: sh cat ongoing.txt > out]
sh "-c" "cat ongoing.txt > out" (CWD=${BASEDIR}/OPAM/assume-built/.opam-switch/build/ongoing.dev)
+ sh "-c" "cat ongoing.txt > out" (CWD=${BASEDIR}/OPAM/assume-built/.opam-switch/build/ongoing.dev)
-> compiled ongoing.dev
Processing 3/3: [ongoing: test out]
test "-f" "out" (CWD=${BASEDIR}/OPAM/assume-built/.opam-switch/build/ongoing.dev)
+ test "-f" "out" (CWD=${BASEDIR}/OPAM/assume-built/.opam-switch/build/ongoing.dev)
Processing 3/3: [ongoing: touch installed]
touch "installed" (CWD=${BASEDIR}/OPAM/assume-built/.opam-switch/build/ongoing.dev)
+ touch "installed" (CWD=${BASEDIR}/OPAM/assume-built/.opam-switch/build/ongoing.dev)
-> installed ongoing.dev
Done.
### opam remove ongoing
Expand All @@ -67,7 +67,7 @@ The following actions will be performed:
Processing 1/3: [ongoing.dev: git]
-> retrieved ongoing.dev (no changes)
Processing 3/3: [ongoing: test out]
test "-f" "out" (CWD=${BASEDIR}/ongoing)
+ test "-f" "out" (CWD=${BASEDIR}/ongoing)
[ERROR] The installation of ongoing failed at "test -f out".


Expand Down Expand Up @@ -97,9 +97,9 @@ The following actions will be performed:
Processing 1/3: [ongoing.dev: git]
-> retrieved ongoing.dev (no changes)
Processing 3/3: [ongoing: test out]
test "-f" "out" (CWD=${BASEDIR}/ongoing)
+ test "-f" "out" (CWD=${BASEDIR}/ongoing)
Processing 3/3: [ongoing: touch installed]
touch "installed" (CWD=${BASEDIR}/ongoing)
+ touch "installed" (CWD=${BASEDIR}/ongoing)
-> installed ongoing.dev
Done.
### test -f ./ongoing/installed
Expand Down Expand Up @@ -160,9 +160,9 @@ The following actions will be performed:

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/2: [ongoing: test out2]
test "-f" "out2" (CWD=${BASEDIR}/ongoing)
+ test "-f" "out2" (CWD=${BASEDIR}/ongoing)
Processing 2/2: [ongoing: touch installed]
touch "installed" (CWD=${BASEDIR}/ongoing)
+ touch "installed" (CWD=${BASEDIR}/ongoing)
-> installed ongoing.dev
Done.
### test -f ./ongoing/installed
12 changes: 6 additions & 6 deletions tests/reftests/autopin.test
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ opam believes some required external dependencies are missing. opam can:

[1/2/3/4] 1

echo "some-depext"
+ echo "some-depext"
- some-depext

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Expand Down Expand Up @@ -112,7 +112,7 @@ opam believes some required external dependencies are missing. opam can:

[1/2/3/4] 1

echo "some-depext"
+ echo "some-depext"
- some-depext

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Expand Down Expand Up @@ -156,7 +156,7 @@ opam believes some required external dependencies are missing. opam can:

[1/2/3/4] 1

echo "some-depext"
+ echo "some-depext"
- some-depext

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Expand Down Expand Up @@ -208,7 +208,7 @@ opam believes some required external dependencies are missing. opam can:

[1/2/3/4] 1

echo "some-depext"
+ echo "some-depext"
- some-depext

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Expand Down Expand Up @@ -241,7 +241,7 @@ The following system packages will first need to be installed:

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

echo "some-depext"
+ echo "some-depext"
- some-depext
### opam remove foo-format | grep -v import
[WARNING] Opam package foo-format.2.0 depends on the following system package that can no longer be found: some-depext
Expand Down Expand Up @@ -317,6 +317,6 @@ opam believes some required external dependencies are missing. opam can:

[1/2/3/4] 1

echo "some-depext"
+ echo "some-depext"
- some-depext
Nothing to do.
2 changes: 1 addition & 1 deletion tests/reftests/depexts.test
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ opam believes some required external dependencies are missing. opam can:

[1/2/3/4] 1

false
+ false
[ERROR] System package install failed with exit code 1 at command:
false
[ERROR] These packages are still missing: depext-1
Expand Down
18 changes: 9 additions & 9 deletions tests/reftests/inplace.test
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ The following actions will be performed:
Processing 1/3: [ongoing.dev: git]
-> retrieved ongoing.dev (no changes)
Processing 2/3: [ongoing: test ongoing.txt]
test "-f" "ongoing.txt" (CWD=${BASEDIR}/OPAM/inplace/.opam-switch/build/ongoing.dev)
+ test "-f" "ongoing.txt" (CWD=${BASEDIR}/OPAM/inplace/.opam-switch/build/ongoing.dev)
Processing 2/3: [ongoing: cat ongoing.txt]
cat "ongoing.txt" (CWD=${BASEDIR}/OPAM/inplace/.opam-switch/build/ongoing.dev)
+ cat "ongoing.txt" (CWD=${BASEDIR}/OPAM/inplace/.opam-switch/build/ongoing.dev)
- versionned
-> compiled ongoing.dev
Processing 3/3: [ongoing: touch installed]
touch "installed" (CWD=${BASEDIR}/OPAM/inplace/.opam-switch/build/ongoing.dev)
+ touch "installed" (CWD=${BASEDIR}/OPAM/inplace/.opam-switch/build/ongoing.dev)
-> installed ongoing.dev
Done.
### test -f ./ongoing/installed
Expand All @@ -65,13 +65,13 @@ The following actions will be performed:
Processing 1/3: [ongoing.dev: git]
-> retrieved ongoing.dev (no changes)
Processing 2/3: [ongoing: test ongoing.txt]
test "-f" "ongoing.txt" (CWD=${BASEDIR}/ongoing)
+ test "-f" "ongoing.txt" (CWD=${BASEDIR}/ongoing)
Processing 2/3: [ongoing: cat ongoing.txt]
cat "ongoing.txt" (CWD=${BASEDIR}/ongoing)
+ cat "ongoing.txt" (CWD=${BASEDIR}/ongoing)
- versionned
-> compiled ongoing.dev
Processing 3/3: [ongoing: touch installed]
touch "installed" (CWD=${BASEDIR}/ongoing)
+ touch "installed" (CWD=${BASEDIR}/ongoing)
-> installed ongoing.dev
Done.
### test -f ./ongoing/installed
Expand Down Expand Up @@ -102,13 +102,13 @@ The following actions will be performed:

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/2: [ongoing: test newfile.txt]
test "-f" "newfile.txt" (CWD=${BASEDIR}/ongoing)
+ test "-f" "newfile.txt" (CWD=${BASEDIR}/ongoing)
Processing 1/2: [ongoing: cat newfile.txt]
cat "newfile.txt" (CWD=${BASEDIR}/ongoing)
+ cat "newfile.txt" (CWD=${BASEDIR}/ongoing)
- new!
-> compiled ongoing.dev
Processing 2/2: [ongoing: touch installed]
touch "installed" (CWD=${BASEDIR}/ongoing)
+ touch "installed" (CWD=${BASEDIR}/ongoing)
-> installed ongoing.dev
Done.
### test -f ./ongoing/installed
Expand Down
16 changes: 8 additions & 8 deletions tests/reftests/parallel.test
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ The following actions will be performed:
- install qux 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
sh "sleep.sh" "bar" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/bar.1)
- woke up bar
-> compiled bar.1
-> installed bar.1
sh "sleep.sh" "baz" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/baz.1)
- woke up baz
+ sh "sleep.sh" "bar" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/bar.1)
- woke up bar
-> compiled baz.1
-> installed baz.1
sh "sleep.sh" "foo" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/foo.1)
+ sh "sleep.sh" "baz" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/baz.1)
- woke up baz
-> compiled foo.1
-> installed foo.1
sh "sleep.sh" "qux" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/qux.1)
+ sh "sleep.sh" "foo" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/foo.1)
-> compiled qux.1
-> installed qux.1
sh "shout.sh" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/top.1)
+ sh "sleep.sh" "qux" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/qux.1)
-> compiled top.1
sh "shout.sh" "top" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/top.1)
+ sh "shout.sh" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/top.1)
+ sh "shout.sh" "top" (CWD=${BASEDIR}/OPAM/parallel/.opam-switch/build/top.1)
- finally installed top
-> installed top.1
Done.
4 changes: 2 additions & 2 deletions tests/reftests/reinstall.test
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ Nothing to do.
opam-version: "2.0"
build: ["opam" "var" "switch"]
depends: ["b" {= version}]
### opam upgrade -y --verbose | '^\+ .+ "build"' -> '+' | '^\+ .+opam(\.exe)? ' -> '+ "opam" '
### opam upgrade -y --verbose | sed-cmd opam
The following actions will be performed:
=== recompile 1 package
- recompile a 1 [upstream or system changes]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [a: opam var]
+ "opam" "var" "switch" (CWD=${BASEDIR}/OPAM/default/.opam-switch/build/a.1)
+ opam "var" "switch" (CWD=${BASEDIR}/OPAM/default/.opam-switch/build/a.1)
- default
-> compiled a.1
-> removed a.1
Expand Down
72 changes: 36 additions & 36 deletions tests/reftests/repository.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ build: ["test" "-f" "bar"]
some content
### : Internal repository storage as archive or plain directory :
### opam switch create tarring --empty
### opam update -vv | grep '^\+' | sed-cmd diff | '.*(/|\\)patch(\.exe)?"?.*"' -> 'patch'
diff "-ruaN" "default" "default.new" (CWD=${BASEDIR}/OPAM/repo)
patch (CWD=${BASEDIR}/OPAM/repo/default)
### opam update -vv | grep '^\+' | sed-cmd diff | sed-cmd patch | 'patch-[^"]+' -> 'patch'
+ diff "-ruaN" "default" "default.new" (CWD=${BASEDIR}/OPAM/repo)
+ patch "-p1" "-i" "${BASEDIR}/OPAM/log/patch" (CWD=${BASEDIR}/OPAM/repo/default)
### ls $OPAMROOT/repo | grep -v "cache"
default
lock
repos-config
### opam install foo.1 -vv | grep '^\+' | sed-cmd test
test "-f" "bar" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.1)
+ test "-f" "bar" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.1)
### opam repository add plain ./REPO --this-switch
[plain] Initialised
### OPAMREPOSITORYTARRING=1
Expand All @@ -24,18 +24,18 @@ opam-version: "2.0"
build: ["test" "-f" "baz"]
### <REPO/packages/foo/foo.2/files/baz>
some content
### opam update default -vv | grep '^\+' | '.*tar(\.exe)?"? "xfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)default\.tar\.gz" "-C" ".*"' -> 'tar xfz OPAM/repo/default.tar.gz -C TMPDIR' | '.*tar(\.exe)?"? "cfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)default\.tar\.gz\.tmp" "-C" ".*" "default"' -> 'tar cfz OPAM/repo/default.tar.gz.tmp -C TMPDIR default' | sed-cmd diff | '.*(/|\\)patch(\.exe)?"?.*"' -> 'patch'
diff "-ruaN" "default" "default.new" (CWD=${BASEDIR}/OPAM/repo)
patch (CWD=${BASEDIR}/OPAM/repo/default)
tar cfz OPAM/repo/default.tar.gz.tmp -C TMPDIR default
### opam update default -vv | grep '^\+' | sed-cmd tar | sed-cmd diff | sed-cmd patch | 'patch-[^"]+' -> 'patch'
+ diff "-ruaN" "default" "default.new" (CWD=${BASEDIR}/OPAM/repo)
+ patch "-p1" "-i" "${BASEDIR}/OPAM/log/patch" (CWD=${BASEDIR}/OPAM/repo/default)
+ tar "cfz" "${BASEDIR}/OPAM/repo/default.tar.gz.tmp" "-C" "${BASEDIR}/OPAM/repo" "default"
### ls $OPAMROOT/repo | grep -v "cache"
default.tar.gz
lock
plain
repos-config
### opam install foo.2 -vv | grep '^\+' | sed-cmd test | '.*tar(\.exe)?"? "xfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)default\.tar\.gz" "-C" ".*"' -> 'tar xfz OPAM/repo/default.tar.gz -C TMPDIR'
tar xfz OPAM/repo/default.tar.gz -C TMPDIR
test "-f" "baz" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.2)
### opam install foo.2 -vv | grep '^\+' | sed-cmd test | sed-cmd tar
+ tar "xfz" "${BASEDIR}/OPAM/repo/default.tar.gz" "-C" "${OPAMTMP}"
+ test "-f" "baz" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.2)
### opam repository remove default --all
### : Add tarred repo (tarred)
### <REPO/packages/foo/foo.3/opam>
Expand All @@ -51,24 +51,24 @@ lock
plain
repos-config
tarred.tar.gz
### opam install foo.3 -vv | grep '^\+' | sed-cmd test | '.*tar(\.exe)?"? "xfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)tarred\.tar\.gz" "-C" ".*"' -> 'tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR'
tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR
test "-f" "baz" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.3)
### opam install foo.3 -vv | grep '^\+' | sed-cmd test | sed-cmd tar
+ tar "xfz" "${BASEDIR}/OPAM/repo/tarred.tar.gz" "-C" "${OPAMTMP}"
+ test "-f" "baz" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.3)
### opam repository remove plain --all
### : Update tarred repo (tarred)
### <REPO/packages/foo/foo.4/opam>
opam-version: "2.0"
build: ["test" "-f" "baz"]
### <REPO/packages/foo/foo.4/files/baz>
some content
### opam update -vv | grep '^\+' | '.*tar(\.exe)?"? "xfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)tarred\.tar\.gz" "-C" ".*"' -> 'tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR' | '.*tar(\.exe)?"? "cfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)tarred\.tar\.gz\.tmp" "-C" ".*" "tarred"' -> 'tar cfz OPAM/repo/tarred.tar.gz.tmp -C TMPDIR tarred' | sed-cmd diff | '.*(/|\\)patch(\.exe)?"?.*"' -> 'patch'
tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR
diff "-ruaN" "tarred" "tarred.new" (CWD=${OPAMTMP})
patch (CWD=${OPAMTMP}/tarred)
tar cfz OPAM/repo/tarred.tar.gz.tmp -C TMPDIR tarred
### opam install foo.4 -vv | grep '^\+' | sed-cmd test | '.*tar(\.exe)?"? "xfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)tarred\.tar\.gz" "-C" ".*"' -> 'tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR'
tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR
test "-f" "baz" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.4)
### opam update -vv | grep '^\+' | sed-cmd tar | sed-cmd diff | sed-cmd patch | 'patch-[^"]+' -> 'patch'
+ tar "xfz" "${BASEDIR}/OPAM/repo/tarred.tar.gz" "-C" "${OPAMTMP}"
+ diff "-ruaN" "tarred" "tarred.new" (CWD=${OPAMTMP})
+ patch "-p1" "-i" "${BASEDIR}/OPAM/log/patch" (CWD=${OPAMTMP}/tarred)
+ tar "cfz" "${BASEDIR}/OPAM/repo/tarred.tar.gz.tmp" "-C" "${OPAMTMP}" "tarred"
### opam install foo.4 -vv | grep '^\+' | sed-cmd test | sed-cmd tar
+ tar "xfz" "${BASEDIR}/OPAM/repo/tarred.tar.gz" "-C" "${OPAMTMP}"
+ test "-f" "baz" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.4)
### mkdir tarred-ext
### tar xf OPAM/repo/tarred.tar.gz
### diff -ru ./tarred REPO
Expand All @@ -83,12 +83,12 @@ opam-version: "2.0"
build: ["test" "-f" "quux"]
### <REPO/packages/foo/foo.5/files/quux>
some content
### opam update -vv | grep '^\+' | '.*tar(\.exe)?"? "xfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)tarred\.tar\.gz" "-C" ".*"' -> 'tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR' | sed-cmd diff | '.*(/|\\)patch(\.exe)?"?.*"' -> 'patch'
tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR
diff "-ruaN" "tarred" "tarred.new" (CWD=${OPAMTMP})
patch (CWD=${OPAMTMP}/tarred)
### opam install foo.5 -vv | grep '^\+' | sed-cmd test | '.*tar(\.exe)?"? "xfz" ".*(/|\\)OPAM(/|\\)repo(/|\\)tarred\.tar\.gz" "-C" ".*"' -> 'tar xfz OPAM/repo/tarred.tar.gz -C TMPDIR'
test "-f" "quux" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.5)
### opam update -vv | grep '^\+' | sed-cmd tar | sed-cmd diff | sed-cmd patch | 'patch-[^"]+' -> 'patch'
+ tar "xfz" "${BASEDIR}/OPAM/repo/tarred.tar.gz" "-C" "${OPAMTMP}"
+ diff "-ruaN" "tarred" "tarred.new" (CWD=${OPAMTMP})
+ patch "-p1" "-i" "${BASEDIR}/OPAM/log/patch" (CWD=${OPAMTMP}/tarred)
### opam install foo.5 -vv | grep '^\+' | sed-cmd test
+ test "-f" "quux" (CWD=${BASEDIR}/OPAM/tarring/.opam-switch/build/foo.5)
### ls $OPAMROOT/repo | grep -v "cache"
lock
repos-config
Expand Down Expand Up @@ -294,15 +294,15 @@ opam-version: "2.0"
# Name # Installed # Synopsis
first --
### ::: rsync - git :::
### opam repository set-url oper git+file://$BASEDIR/OPER4 | ': ".*git(.exe)?' -> ': "git'
### opam repository set-url oper git+file://$BASEDIR/OPER4 | sed-cmd git
[ERROR] Could not update repository "oper": "git fetch -q" exited with code 128
[ERROR] Fetching repository oper with git+file://${BASEDIR}/OPER4 fails, reverting to file://${BASEDIR}/OPER
# Return code 40 #
### opam list --available --repo=oper
# Packages matching: from-repository(oper) & available
# Name # Installed # Synopsis
first --
### opam repository set-url oper git+file://./OPER3#unknownbranch | ': ".*git(.exe)?' -> ': "git'
### opam repository set-url oper git+file://./OPER3#unknownbranch | sed-cmd git
[ERROR] Could not update repository "oper": "git fetch -q" exited with code 128
[ERROR] Fetching repository oper with git+file://./OPER3#unknownbranch fails, reverting to file://${BASEDIR}/OPER
# Return code 40 #
Expand Down Expand Up @@ -333,15 +333,15 @@ first --
# Name # Installed # Synopsis
first --
### ::: git - git :::
### opam repository set-url oper git+file://$BASEDIR/OPER4 | ': ".*git(.exe)?' -> ': "git'
### opam repository set-url oper git+file://$BASEDIR/OPER4 | sed-cmd git
[ERROR] Could not update repository "oper": "git fetch -q" exited with code 128
[ERROR] Fetching repository oper with git+file://${BASEDIR}/OPER4 fails, reverting to git+file://${BASEDIR}/OPER
# Return code 40 #
### opam list --available --repo=oper
# Packages matching: from-repository(oper) & available
# Name # Installed # Synopsis
first --
### opam repository set-url oper git+file://./OPER3#unknownbranch | ': ".*git(.exe)?' -> ': "git'
### opam repository set-url oper git+file://./OPER3#unknownbranch | sed-cmd git
[ERROR] Could not update repository "oper": "git fetch -q" exited with code 128
[ERROR] Fetching repository oper with git+file://./OPER3#unknownbranch fails, reverting to git+file://${BASEDIR}/OPER
# Return code 40 #
Expand Down Expand Up @@ -460,15 +460,15 @@ opam-version: "2.0"
# Name # Installed # Synopsis
first --
### :::: rsync - git ::::
### opam repository set-url oper git+file://$BASEDIR/OPER4 | ': ".*git(.exe)?' -> ': "git'
### opam repository set-url oper git+file://$BASEDIR/OPER4 | sed-cmd git
[ERROR] Could not update repository "oper": "git fetch -q" exited with code 128
[ERROR] Fetching repository oper with git+file://${BASEDIR}/OPER4 fails, reverting to file://${BASEDIR}/OPER
# Return code 40 #
### opam list --available --repo=oper
# Packages matching: from-repository(oper) & available
# Name # Installed # Synopsis
first --
### opam repository set-url oper git+file://./OPER3#unknownbranch | ': ".*git(.exe)?' -> ': "git'
### opam repository set-url oper git+file://./OPER3#unknownbranch | sed-cmd git
[ERROR] Could not update repository "oper": "git fetch -q" exited with code 128
[ERROR] Fetching repository oper with git+file://./OPER3#unknownbranch fails, reverting to file://${BASEDIR}/OPER
# Return code 40 #
Expand Down Expand Up @@ -499,15 +499,15 @@ first --
# Name # Installed # Synopsis
first --
### :::: git - git ::::
### opam repository set-url oper git+file://$BASEDIR/OPER4 | ': ".*git(.exe)?' -> ': "git'
### opam repository set-url oper git+file://$BASEDIR/OPER4 | sed-cmd git
[ERROR] Could not update repository "oper": "git fetch -q" exited with code 128
[ERROR] Fetching repository oper with git+file://${BASEDIR}/OPER4 fails, reverting to git+file://${BASEDIR}/OPER
# Return code 40 #
### opam list --available --repo=oper
# Packages matching: from-repository(oper) & available
# Name # Installed # Synopsis
first --
### opam repository set-url oper git+file://./OPER3#unknownbranch | ': ".*git(.exe)?' -> ': "git'
### opam repository set-url oper git+file://./OPER3#unknownbranch | sed-cmd git
[ERROR] Could not update repository "oper": "git fetch -q" exited with code 128
[ERROR] Fetching repository oper with git+file://./OPER3#unknownbranch fails, reverting to git+file://${BASEDIR}/OPER
# Return code 40 #
Expand Down