Merge ~racb/git-ubuntu:snap-fixes into git-ubuntu:master

Proposed by Robie Basak
Status: Merged
Merged at revision: 69bf64454cfb4ffd1cd9367a38469b8a624b2860
Proposed branch: ~racb/git-ubuntu:snap-fixes
Merge into: git-ubuntu:master
Diff against target: 102 lines (+16/-7)
9 files modified
snap-wrappers/wrappers/awk (+1/-1)
snap-wrappers/wrappers/gbp (+1/-1)
snap-wrappers/wrappers/git-merge-changelogs (+1/-1)
snap-wrappers/wrappers/git-reconstruct-changelog (+1/-1)
snap-wrappers/wrappers/git-ubuntu-man (+1/-1)
snap-wrappers/wrappers/git-ubuntu-self-test (+1/-1)
snap-wrappers/wrappers/quilt (+1/-1)
snap-wrappers/wrappers/ssh (+7/-0)
snap/snapcraft.yaml (+2/-0)
Reviewer Review Type Date Requested Status
Bryce Harrington Approve
Server Team CI bot continuous-integration Approve
Review via email: mp+386886@code.launchpad.net

Commit message

Make Jenkins happy

To post a comment you must log in.
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

PASSED: Continuous integration, rev:91cb46ecee6f43d4e133bce708ff0e0e0bba24b2
https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/526/
Executed test runs:
    SUCCESS: VM Setup
    SUCCESS: Build
    SUCCESS: Unit Tests
    IN_PROGRESS: Declarative: Post Actions

Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/526//rebuild

review: Approve (continuous-integration)
Revision history for this message
Bryce Harrington (bryce) wrote :

All looks good, I read through the discussions on the linked bugs and at the snapcraft forum, and this seems like the logical change to make based on those.

I notice there are a few #!/bin/sh scripts, would those need any adjustments?

review: Approve
Revision history for this message
Robie Basak (racb) wrote :

Thanks!

On Tue, Jul 07, 2020 at 05:44:40PM -0000, Bryce Harrington wrote:
> I notice there are a few #!/bin/sh scripts, would those need any adjustments?

Calling sh doesn't seem to have any similar issues, so I'm leaving these
for now.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/snap-wrappers/wrappers/awk b/snap-wrappers/wrappers/awk
index 24e0591..2d4abb7 100755
--- a/snap-wrappers/wrappers/awk
+++ b/snap-wrappers/wrappers/awk
@@ -1,4 +1,4 @@
1#!/snap/core/current/bin/bash1#!/snap/git-ubuntu/current/bin/bash
22
3CORE_SNAP="/snap/core/current"3CORE_SNAP="/snap/core/current"
4CORE_SNAP_PATH="$CORE_SNAP/usr/local/sbin:$CORE_SNAP/usr/local/bin:$CORE_SNAP/usr/sbin:$CORE_SNAP/usr/bin:$CORE_SNAP/sbin:$CORE_SNAP/bin"4CORE_SNAP_PATH="$CORE_SNAP/usr/local/sbin:$CORE_SNAP/usr/local/bin:$CORE_SNAP/usr/sbin:$CORE_SNAP/usr/bin:$CORE_SNAP/sbin:$CORE_SNAP/bin"
diff --git a/snap-wrappers/wrappers/gbp b/snap-wrappers/wrappers/gbp
index 098061d..77145d7 100755
--- a/snap-wrappers/wrappers/gbp
+++ b/snap-wrappers/wrappers/gbp
@@ -1,4 +1,4 @@
1#!/snap/core/current/bin/bash1#!/snap/git-ubuntu/current/bin/bash
22
3CORE_SNAP="/snap/core/current"3CORE_SNAP="/snap/core/current"
4CORE_SNAP_PATH="$CORE_SNAP/usr/local/sbin:$CORE_SNAP/usr/local/bin:$CORE_SNAP/usr/sbin:$CORE_SNAP/usr/bin:$CORE_SNAP/sbin:$CORE_SNAP/bin"4CORE_SNAP_PATH="$CORE_SNAP/usr/local/sbin:$CORE_SNAP/usr/local/bin:$CORE_SNAP/usr/sbin:$CORE_SNAP/usr/bin:$CORE_SNAP/sbin:$CORE_SNAP/bin"
diff --git a/snap-wrappers/wrappers/git-merge-changelogs b/snap-wrappers/wrappers/git-merge-changelogs
index d751f45..e78ce69 100755
--- a/snap-wrappers/wrappers/git-merge-changelogs
+++ b/snap-wrappers/wrappers/git-merge-changelogs
@@ -1,4 +1,4 @@
1#!/snap/core/current/bin/bash1#!/snap/git-ubuntu/current/bin/bash
22
3set -e3set -e
44
diff --git a/snap-wrappers/wrappers/git-reconstruct-changelog b/snap-wrappers/wrappers/git-reconstruct-changelog
index 4b60e79..8fbb9f9 100755
--- a/snap-wrappers/wrappers/git-reconstruct-changelog
+++ b/snap-wrappers/wrappers/git-reconstruct-changelog
@@ -1,4 +1,4 @@
1#!/snap/core/current/bin/bash1#!/snap/git-ubuntu/current/bin/bash
22
3set -e3set -e
44
diff --git a/snap-wrappers/wrappers/git-ubuntu-man b/snap-wrappers/wrappers/git-ubuntu-man
index 99f99e4..623cdd2 100755
--- a/snap-wrappers/wrappers/git-ubuntu-man
+++ b/snap-wrappers/wrappers/git-ubuntu-man
@@ -1,3 +1,3 @@
1#!/snap/core/current/bin/bash1#!/snap/git-ubuntu/current/bin/bash
22
3man -M $SNAP/usr/share/man $@ 2>/dev/null || man $@3man -M $SNAP/usr/share/man $@ 2>/dev/null || man $@
diff --git a/snap-wrappers/wrappers/git-ubuntu-self-test b/snap-wrappers/wrappers/git-ubuntu-self-test
index edae48b..699fb59 100755
--- a/snap-wrappers/wrappers/git-ubuntu-self-test
+++ b/snap-wrappers/wrappers/git-ubuntu-self-test
@@ -1,4 +1,4 @@
1#!/snap/core/current/bin/bash1#!/snap/git-ubuntu/current/bin/bash
22
3function die() {3function die() {
4 echo "Error: ${*}" 1>&24 echo "Error: ${*}" 1>&2
diff --git a/snap-wrappers/wrappers/quilt b/snap-wrappers/wrappers/quilt
index e54a718..ed09371 100755
--- a/snap-wrappers/wrappers/quilt
+++ b/snap-wrappers/wrappers/quilt
@@ -1,4 +1,4 @@
1#!/snap/core/current/bin/bash1#!/snap/git-ubuntu/current/bin/bash
22
3CORE_SNAP="/snap/core/current"3CORE_SNAP="/snap/core/current"
4CORE_SNAP_PATH="$CORE_SNAP/usr/local/sbin:$CORE_SNAP/usr/local/bin:$CORE_SNAP/usr/sbin:$CORE_SNAP/usr/bin:$CORE_SNAP/sbin:$CORE_SNAP/bin"4CORE_SNAP_PATH="$CORE_SNAP/usr/local/sbin:$CORE_SNAP/usr/local/bin:$CORE_SNAP/usr/sbin:$CORE_SNAP/usr/bin:$CORE_SNAP/sbin:$CORE_SNAP/bin"
diff --git a/snap-wrappers/wrappers/ssh b/snap-wrappers/wrappers/ssh
5new file mode 1007555new file mode 100755
index 0000000..92f8b3d
--- /dev/null
+++ b/snap-wrappers/wrappers/ssh
@@ -0,0 +1,7 @@
1#!/snap/git-ubuntu/current/bin/bash
2
3# Use the host's ssh. As an exception to git-ubuntu embedding everything
4# required in the snap, LP: #1871827 showed us that we really depend on the
5# user's ssh configuration on the host and on further thought it is the user's
6# expectation that their host ssh configuration be used.
7exec /usr/bin/ssh "$@"
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 4bf1ec2..a2b16c3 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -364,6 +364,7 @@ parts:
364 build-packages:364 build-packages:
365 - libsystemd-dev365 - libsystemd-dev
366 stage-packages:366 stage-packages:
367 - bash
367 - fakeroot368 - fakeroot
368 - libffi-dev369 - libffi-dev
369 - libssl-dev370 - libssl-dev
@@ -418,6 +419,7 @@ parts:
418 wrappers/gbp: usr/local/bin/gbp419 wrappers/gbp: usr/local/bin/gbp
419 wrappers/quilt: usr/local/bin/quilt420 wrappers/quilt: usr/local/bin/quilt
420 wrappers/awk: usr/local/bin/awk421 wrappers/awk: usr/local/bin/awk
422 wrappers/ssh: usr/local/bin/ssh
421 manpages:423 manpages:
422 source: man/424 source: man/
423 plugin: dump425 plugin: dump

Subscribers

People subscribed via source and target branches