Merge ~lvoytek/ubuntu/+source/caja-extensions:fix-l-param-jammy into ubuntu/+source/caja-extensions:ubuntu/jammy-devel

Proposed by Lena Voytek
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merged at revision: a1705220947285c4438a37ed5dfbae725c37bddf
Proposed branch: ~lvoytek/ubuntu/+source/caja-extensions:fix-l-param-jammy
Merge into: ubuntu/+source/caja-extensions:ubuntu/jammy-devel
Diff against target: 64 lines (+31/-1)
4 files modified
debian/changelog (+7/-0)
debian/control (+2/-1)
debian/patches/fix-caja-share-long-param.patch (+21/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Bryce Harrington (community) Approve
Canonical Server Reporter Pending
Review via email: mp+429019@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Bryce Harrington (bryce) wrote :

Verified from the link mentioned in the bug header that -l is deprecated

    net:
    -l is not available for --long anymore

So, straightforward change, LGTM. The SRU text also looks good, although I wonder since there are several packages involved here, is there any possibility a user could get into a inconsistent situation if they have older versions of any of the components installed? I don't think you need to mention "Other issues with sharing may show up..." unless you have specific concerns; this is a bit hand-wavy so may lead to requests/pushback from SRU reviewers to clarify.

I try to think about the "Where problems could occur" section from the context of if someone upgrades to this version and then experiences some random regression, how they could rule out whether it's likely or not this update caused their problem. So for instance, you might say that the change modifies how nautilus interacts with samba, so any regression would be limited to behaviors around share creation when using samba. You might also mention that as mitigation to any regression, that a workaround would be to manually create shares from the CLI, as described in comment #2.

Let me know if you need me to sponsor the upload for this. (I've no idea if caja-extensions is included in the server packageset.)

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: bryce, lvoytek
Uploaders: bryce
MP auto-approved

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

(I tried running autopkgtests for this PPA but caja-extensions has no DEP8 tests.)

Revision history for this message
Lena Voytek (lvoytek) wrote :

Thanks for the suggestions, I updated the sru description. A sponsorship would be great, thanks!

Revision history for this message
Bryce Harrington (bryce) wrote :

Upload sponsored:

$ debuild -S -sa -i -uc -us $(git ubuntu prepare-upload args)
...
$ grep '^Vcs-Git' ../caja-extensions_1.26.0-1ubuntu0.22.04.1_source.changes
Vcs-Git: https://git.launchpad.net/~bryce/ubuntu/+source/caja-extensions
Vcs-Git-Commit: a1705220947285c4438a37ed5dfbae725c37bddf
Vcs-Git-Ref: refs/heads/fix-l-param-jammy
$ dput ubuntu ../caja-extensions_1.26.0-1ubuntu0.22.04.1_source.changes
D: Setting host argument.
Checking signature on .changes
gpg: ../caja-extensions_1.26.0-1ubuntu0.22.04.1_source.changes: Valid signature from E603B2578FB8F0FB
Checking signature on .dsc
gpg: ../caja-extensions_1.26.0-1ubuntu0.22.04.1.dsc: Valid signature from E603B2578FB8F0FB
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading caja-extensions_1.26.0-1ubuntu0.22.04.1.dsc: done.
  Uploading caja-extensions_1.26.0.orig.tar.xz: done.
  Uploading caja-extensions_1.26.0-1ubuntu0.22.04.1.debian.tar.xz: done.
  Uploading caja-extensions_1.26.0-1ubuntu0.22.04.1_source.buildinfo: done.
  Uploading caja-extensions_1.26.0-1ubuntu0.22.04.1_source.changes: done.
Successfully uploaded packages.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index a66c49b..1c34ba5 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+caja-extensions (1.26.0-1ubuntu0.22.04.1) jammy; urgency=medium
7+
8+ * d/p/fix-caja-share-long-param.patch: Fix samba sharing by changing -l
9+ parameter to --long in arguments (LP: #1972057)
10+
11+ -- Lena Voytek <lena.voytek@canonical.com> Thu, 25 Aug 2022 07:37:16 -0700
12+
13 caja-extensions (1.26.0-1) unstable; urgency=medium
14
15 [ Martin Wimpress ]
16diff --git a/debian/control b/debian/control
17index 0457518..892fb55 100644
18--- a/debian/control
19+++ b/debian/control
20@@ -1,7 +1,8 @@
21 Source: caja-extensions
22 Section: x11
23 Priority: optional
24-Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
25+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
26+XSBC-Original-Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
27 Uploaders: Mike Gabriel <sunweaver@debian.org>,
28 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
29 Stefano Karapetsas <stefano@karapetsas.com>,
30diff --git a/debian/patches/fix-caja-share-long-param.patch b/debian/patches/fix-caja-share-long-param.patch
31new file mode 100644
32index 0000000..16b00de
33--- /dev/null
34+++ b/debian/patches/fix-caja-share-long-param.patch
35@@ -0,0 +1,21 @@
36+Description: Fix parameter error that prevents samba shares with caja
37+Author: Knucklesfan <bigfootreserchersoftexas@gmail.com>
38+Origin: upstream, https://github.com/mate-desktop/caja-extensions/commit/8f18dddb00e2b16448b43ff6da5c6b2d439e8cc0
39+Bug: https://github.com/mate-desktop/caja-extensions/issues/111
40+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu-mate/+bug/1972057
41+Forwarded: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018059
42+Last-Update: 2022-08-22
43+---
44+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
45+
46+--- a/share/shares.c
47++++ b/share/shares.c
48+@@ -624,7 +624,7 @@
49+ return FALSE;
50+
51+ argv[0] = "add";
52+- argv[1] = "-l";
53++ argv[1] = "--long";
54+ argv[2] = info->share_name;
55+ argv[3] = info->path;
56+ argv[4] = info->comment;
57diff --git a/debian/patches/series b/debian/patches/series
58index 8e46221..2304f1e 100644
59--- a/debian/patches/series
60+++ b/debian/patches/series
61@@ -1,2 +1,3 @@
62 2001_support-icedove-in-caja-sendto.patch
63 1001_pkg-config-macro-not-cross-compilation-safe.patch
64+fix-caja-share-long-param.patch

Subscribers

People subscribed via source and target branches

to all changes: