Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rootlesskit for openSUSE:Factory checked in at 2023-06-26 18:16:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rootlesskit (Old) and /work/SRC/openSUSE:Factory/.rootlesskit.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rootlesskit" Mon Jun 26 18:16:27 2023 rev:5 rq:1095354 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rootlesskit/rootlesskit.changes 2023-02-06 14:15:47.752689620 +0100 +++ /work/SRC/openSUSE:Factory/.rootlesskit.new.15902/rootlesskit.changes 2023-06-26 18:16:46.478651830 +0200 @@ -1,0 +2,31 @@ +Tue Jun 20 07:33:53 UTC 2023 - danish.prak...@suse.com + +- Update to version 1.1.1: + * v1.1.1 + * Bump up deps + * Build(deps): Bump github.com/urfave/cli/v2 from 2.25.4 to 2.25.5 + * Build(deps): Bump github.com/urfave/cli/v2 from 2.25.3 to 2.25.4 + * Remove duplicate id ranges returned by getsubu/gid for username/uid + * Build(deps): Bump github.com/sirupsen/logrus from 1.9.1 to 1.9.2 + * Build(deps): Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1 + * Build(deps): Bump golang.org/x/sys from 0.7.0 to 0.8.0 + * Build(deps): Bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.3 + * Build(deps): Bump golang.org/x/sys from 0.6.0 to 0.7.0 + * Build(deps): Bump github.com/urfave/cli/v2 from 2.25.0 to 2.25.1 + * Build(deps): Bump golang.org/x/sys from 0.5.0 to 0.6.0 + * Build(deps): Bump github.com/urfave/cli/v2 from 2.24.4 to 2.25.0 + * Build(deps): Bump golang.org/x/net from 0.1.0 to 0.7.0 + * Build(deps): Bump github.com/urfave/cli/v2 from 2.24.3 to 2.24.4 + * CI: update Docker to v23.0.0 + * Build(deps): Bump golang.org/x/sys from 0.4.0 to 0.5.0 + * Build(deps): Bump github.com/urfave/cli/v2 from 2.24.2 to 2.24.3 + * Build(deps): Bump github.com/urfave/cli/v2 from 2.24.1 to 2.24.2 + * Build(deps): Bump github.com/urfave/cli/v2 from 2.23.7 to 2.24.1 + * CI: update Docker to v23.0.0-rc.1 + * Bump github.com/urfave/cli/v2 from 2.23.6 to 2.23.7 + * Bump golang.org/x/sys from 0.3.0 to 0.4.0 + * Bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.6 + * Bump golang.org/x/sys from 0.2.0 to 0.3.0 + * v1.1.0+dev + +------------------------------------------------------------------- Old: ---- rootlesskit-1.1.0.tar.gz New: ---- rootlesskit-1.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rootlesskit.spec ++++++ --- /var/tmp/diff_new_pack.kaEN21/_old 2023-06-26 18:16:47.298655473 +0200 +++ /var/tmp/diff_new_pack.kaEN21/_new 2023-06-26 18:16:47.302655490 +0200 @@ -24,7 +24,7 @@ %global import_path %{provider_prefix} Name: rootlesskit -Version: 1.1.0 +Version: 1.1.1 Release: 0 Summary: Linux-native fakeroot using user namespaces License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.kaEN21/_old 2023-06-26 18:16:47.334655632 +0200 +++ /var/tmp/diff_new_pack.kaEN21/_new 2023-06-26 18:16:47.338655650 +0200 @@ -4,7 +4,7 @@ <param name="url">https://github.com/rootless-containers/rootlesskit.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v1.1.0</param> + <param name="revision">v1.1.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.kaEN21/_old 2023-06-26 18:16:47.358655739 +0200 +++ /var/tmp/diff_new_pack.kaEN21/_new 2023-06-26 18:16:47.362655757 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/rootless-containers/rootlesskit.git</param> - <param name="changesrevision">6222b477d4c3ce6eea2bcff0586e43c95d1c0bb7</param></service></servicedata> + <param name="changesrevision">a2c596ff9b3fddc0c2becb38f2ef4004f15765b5</param></service></servicedata> (No newline at EOF) ++++++ rootlesskit-1.1.0.tar.gz -> rootlesskit-1.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rootlesskit-1.1.0/.github/workflows/main.yaml new/rootlesskit-1.1.1/.github/workflows/main.yaml --- old/rootlesskit-1.1.0/.github/workflows/main.yaml 2022-11-15 12:09:45.000000000 +0100 +++ new/rootlesskit-1.1.1/.github/workflows/main.yaml 2023-05-30 07:35:48.000000000 +0200 @@ -3,7 +3,7 @@ jobs: test-unit: name: "Unit test" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: "Check out" uses: actions/checkout@v3 @@ -13,14 +13,14 @@ run: docker run --rm --privileged rootlesskit:test-unit test-cross: name: "Cross compilation test" - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: "Build binaries" run: DOCKER_BUILDKIT=1 docker build -o /tmp/artifact --target cross-artifact . test-integration: name: "Integration test" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: "Check out" uses: actions/checkout@v3 @@ -100,7 +100,7 @@ - name: "Check out" uses: actions/checkout@v3 - name: "Build integration test image" - run: DOCKER_BUILDKIT=1 docker build -t rootlesskit:test-integration-docker --target test-integration-docker --build-arg GO_VERSION=1.18 . + run: DOCKER_BUILDKIT=1 docker build -t rootlesskit:test-integration-docker --target test-integration-docker . - name: "Create a custom network to avoid IP confusion" run: docker network create custom - name: "Docker Integration test: net=slirp4netns, port-driver=builtin" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rootlesskit-1.1.0/.github/workflows/release.yaml new/rootlesskit-1.1.1/.github/workflows/release.yaml --- old/rootlesskit-1.1.0/.github/workflows/release.yaml 2022-11-15 12:09:45.000000000 +0100 +++ new/rootlesskit-1.1.1/.github/workflows/release.yaml 2023-05-30 07:35:48.000000000 +0200 @@ -16,7 +16,7 @@ jobs: release: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: "Build binaries" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rootlesskit-1.1.0/Dockerfile new/rootlesskit-1.1.1/Dockerfile --- old/rootlesskit-1.1.0/Dockerfile 2022-11-15 12:09:45.000000000 +0100 +++ new/rootlesskit-1.1.1/Dockerfile 2023-05-30 07:35:48.000000000 +0200 @@ -1,9 +1,10 @@ -ARG GO_VERSION=1.19 -ARG UBUNTU_VERSION=20.04 -ARG SHADOW_VERSION=4.8.1 +ARG GO_VERSION=1.20 +ARG UBUNTU_VERSION=22.04 +ARG SHADOW_VERSION=4.13 ARG SLIRP4NETNS_VERSION=v1.2.0 ARG VPNKIT_VERSION=0.5.0 -ARG DOCKER_VERSION=20.10.21 +ARG DOCKER_VERSION=24.0.2 +ARG DOCKER_CHANNEL=stable FROM golang:${GO_VERSION}-alpine AS build RUN apk add --no-cache file git make @@ -79,7 +80,8 @@ FROM test-integration AS test-integration-docker COPY --from=artifact /rootlesskit-docker-proxy /home/user/bin/ ARG DOCKER_VERSION -RUN curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz | tar xz --strip-components=1 -C /home/user/bin/ +ARG DOCKER_CHANNEL +RUN curl -fsSL https://download.docker.com/linux/static/${DOCKER_CHANNEL}/x86_64/docker-${DOCKER_VERSION}.tgz | tar xz --strip-components=1 -C /home/user/bin/ RUN curl -fsSL -o /home/user/bin/dockerd-rootless.sh https://raw.githubusercontent.com/moby/moby/v${DOCKER_VERSION}/contrib/dockerd-rootless.sh && \ chmod +x /home/user/bin/dockerd-rootless.sh ENV DOCKERD_ROOTLESS_ROOTLESSKIT_NET=slirp4netns diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rootlesskit-1.1.0/go.mod new/rootlesskit-1.1.1/go.mod --- old/rootlesskit-1.1.0/go.mod 2022-11-15 12:09:45.000000000 +0100 +++ new/rootlesskit-1.1.1/go.mod 2023-05-30 07:35:48.000000000 +0200 @@ -6,21 +6,23 @@ github.com/gofrs/flock v0.8.1 github.com/google/uuid v1.3.0 github.com/gorilla/mux v1.8.0 - github.com/insomniacslk/dhcp v0.0.0-20220119180841-3c283ff8b7dd + github.com/insomniacslk/dhcp v0.0.0-20230516061539-49801966e6cb github.com/moby/sys/mountinfo v0.6.2 github.com/moby/vpnkit v0.5.0 - github.com/sirupsen/logrus v1.9.0 + github.com/sirupsen/logrus v1.9.2 github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 - github.com/urfave/cli/v2 v2.23.5 - golang.org/x/sys v0.2.0 + github.com/urfave/cli/v2 v2.25.5 + golang.org/x/sys v0.8.0 gotest.tools/v3 v3.4.0 ) require ( github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect - github.com/google/go-cmp v0.5.5 // indirect + github.com/google/go-cmp v0.5.9 // indirect + github.com/josharian/native v1.1.0 // indirect + github.com/pierrec/lz4/v4 v4.1.17 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/u-root/uio v0.0.0-20210528114334-82958018845c // indirect + github.com/u-root/uio v0.0.0-20230305220412-3e8cd9d6bf63 // indirect github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect - golang.org/x/net v0.1.0 // indirect + golang.org/x/net v0.10.0 // indirect ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rootlesskit-1.1.0/go.sum new/rootlesskit-1.1.1/go.sum --- old/rootlesskit-1.1.0/go.sum 2022-11-15 12:09:45.000000000 +0100 +++ new/rootlesskit-1.1.1/go.sum 2023-05-30 07:35:48.000000000 +0200 @@ -13,6 +13,8 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -21,6 +23,11 @@ github.com/hugelgupf/socketpair v0.0.0-20190730060125-05d35a94e714/go.mod h1:2Goc3h8EklBH5mspfHFxBnEoURQCGzQQH1ga9Myjvis= github.com/insomniacslk/dhcp v0.0.0-20220119180841-3c283ff8b7dd h1:efcJu2Vzz6DoSq245deWNzTz6l/gsqdphm3FjmI88/g= github.com/insomniacslk/dhcp v0.0.0-20220119180841-3c283ff8b7dd/go.mod h1:h+MxyHxRg9NH3terB1nfRIUaQEcI0XOVkdR9LNBlp8E= +github.com/insomniacslk/dhcp v0.0.0-20230516061539-49801966e6cb h1:6fDKEAXwe3rsfS4khW3EZ8kEqmSiV9szhMPcDrD+Y7Q= +github.com/insomniacslk/dhcp v0.0.0-20230516061539-49801966e6cb/go.mod h1:7474bZ1YNCvarT6WFKie4kEET6J0KYRDC4XJqqXzQW4= +github.com/josharian/native v1.0.1-0.20221213033349-c1e37c09b531/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w= +github.com/josharian/native v1.1.0 h1:uuaP0hAbW7Y4l0ZRQ6C9zfb7Mg1mbFKry/xzDAfmtLA= +github.com/josharian/native v1.1.0/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w= github.com/jsimonetti/rtnetlink v0.0.0-20190606172950-9527aa82566a/go.mod h1:Oz+70psSo5OFh8DBl0Zv2ACw7Esh6pPUphlvZG9x7uw= github.com/jsimonetti/rtnetlink v0.0.0-20200117123717-f846d4f6c1f4/go.mod h1:WGuG/smIU4J/54PblvSbh+xvCZmpJnFgr3ds6Z55XMQ= github.com/jsimonetti/rtnetlink v0.0.0-20201009170750-9c6f07d100c1/go.mod h1:hqoO/u39cqLeBLebZ8fWdE96O7FxrAsRYhnVOdgHxok= @@ -37,12 +44,15 @@ github.com/moby/sys/mountinfo v0.6.2/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI= github.com/moby/vpnkit v0.5.0 h1:VcDpS9y+PmT9itf+mH5Qdh9GME7ungLMt9yjf9o4REY= github.com/moby/vpnkit v0.5.0/go.mod h1:KyjUrL9cb6ZSNNAUwZfqRjhwwgJ3BJN+kXh0t43WTUQ= +github.com/pierrec/lz4/v4 v4.1.14/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= +github.com/pierrec/lz4/v4 v4.1.17 h1:kV4Ip+/hUBC+8T6+2EgburRtkE9ef4nbY3f4dFhGjMc= +github.com/pierrec/lz4/v4 v4.1.17/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= -github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sirupsen/logrus v1.9.2 h1:oxx1eChJGI6Uks2ZC4W1zpLlVgqB8ner4EuQwV4Ik1Y= +github.com/sirupsen/logrus v1.9.2/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 h1:TG/diQgUe0pntT/2D9tmUCz4VNwm9MfrtPr0SU2qSX8= @@ -53,8 +63,10 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/u-root/uio v0.0.0-20210528114334-82958018845c h1:BFvcl34IGnw8yvJi8hlqLFo9EshRInwWBs2M5fGWzQA= github.com/u-root/uio v0.0.0-20210528114334-82958018845c/go.mod h1:LpEX5FO/cB+WF4TYGY1V5qktpaZLkKkSegbr0V4eYXA= -github.com/urfave/cli/v2 v2.23.5 h1:xbrU7tAYviSpqeR3X4nEFWUdB/uDZ6DE+HxmRU7Xtyw= -github.com/urfave/cli/v2 v2.23.5/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc= +github.com/u-root/uio v0.0.0-20230305220412-3e8cd9d6bf63 h1:YcojQL98T/OO+rybuzn2+5KrD5dBwXIvYBvQ2cD3Avg= +github.com/u-root/uio v0.0.0-20230305220412-3e8cd9d6bf63/go.mod h1:eLL9Nub3yfAho7qB0MzZizFhTU2QkLeoVsWdHtDW264= +github.com/urfave/cli/v2 v2.25.5 h1:d0NIAyhh5shGscroL7ek/Ya9QYQE0KNabJgiUinIQkc= +github.com/urfave/cli/v2 v2.25.5/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc= github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -73,8 +85,10 @@ golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.1.0 h1:hZ/3BUoy5aId7sCpA/Tc5lt8DkFgdVS2onTpJsZ/fl0= -golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= +golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -92,9 +106,10 @@ golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210525143221-35b2ab0089ea/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220622161953-175b2fd9d664/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A= -golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rootlesskit-1.1.0/pkg/parent/dynidtools/dynidtools.go new/rootlesskit-1.1.1/pkg/parent/dynidtools/dynidtools.go --- old/rootlesskit-1.1.0/pkg/parent/dynidtools/dynidtools.go 2022-11-15 12:09:45.000000000 +0100 +++ new/rootlesskit-1.1.1/pkg/parent/dynidtools/dynidtools.go 2023-05-30 07:35:48.000000000 +0200 @@ -14,6 +14,18 @@ "github.com/sirupsen/logrus" ) +func withoutDuplicates(sliceList []idtools.SubIDRange) []idtools.SubIDRange { + seenKeys := make(map[idtools.SubIDRange]bool) + var list []idtools.SubIDRange + for _, item := range sliceList { + if _, value := seenKeys[item]; !value { + seenKeys[item] = true + list = append(list, item) + } + } + return list +} + func GetSubIDRanges(uid int, username string) ([]idtools.SubIDRange, []idtools.SubIDRange, error) { getsubidsExeName := "getsubids" if v := os.Getenv("GETSUBIDS"); v != "" { @@ -52,8 +64,8 @@ } } - u := append(uByUsername, uByUID...) - g := append(gByUsername, gByUID...) + u := withoutDuplicates(append(uByUsername, uByUID...)) + g := withoutDuplicates(append(gByUsername, gByUID...)) return u, g, nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rootlesskit-1.1.0/pkg/version/version.go new/rootlesskit-1.1.1/pkg/version/version.go --- old/rootlesskit-1.1.0/pkg/version/version.go 2022-11-15 12:09:45.000000000 +0100 +++ new/rootlesskit-1.1.1/pkg/version/version.go 2023-05-30 07:35:48.000000000 +0200 @@ -1,3 +1,3 @@ package version -const Version = "1.1.0" +const Version = "1.1.1" ++++++ vendor.tar.gz ++++++ ++++ 24234 lines of diff (skipped)