#944698 regenerate Gemfile.lock when native gems with gem-install layout is updated

Package:
gitlab
Source:
gitlab
Submitter:
Pirate Praveen
Date:
2021-02-19 14:24:05 UTC
Severity:
important
Tags:
#944698#5
Date:
2019-11-14 01:26:17 UTC
From:
To:
Currently only pure ruby gems are handled in debian/gitlab.triggers
#944698#10
Date:
2019-11-16 12:56:58 UTC
From:
To:
Hi team,

See <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944698>

For example ruby-google-protobuf gets installed in
/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/specifications/
which is dependent on both ruby versions and architecture. I could not
find if trigger file support regular expressions or variables.

Currently we have the following lines in debian/gitlab.triggers file

interest-noawait /usr/lib/ruby/vendor_ruby
interest-noawait /usr/share/rubygems-integration

Any suggestions?

#944698#17
Date:
2019-11-20 08:11:32 UTC
From:
To:
[copying debian-dpkg@d.o]
#944698#22
Date:
2019-11-20 12:24:51 UTC
From:
To:
dpkg triggers have no support for wildcards or regular expressions.
Maybe you want to move the bundler call from postinst to the startup
somehow. With everything installed locally, and the right invocation
(i.e. `bundler --local`), it should be quick enough.

#944698#27
Date:
2021-02-19 14:21:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gitlab, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 944698@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pirate Praveen <praveen@debian.org> (supplier of updated gitlab package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 19 Feb 2021 14:20:13 +0530
Source: gitlab
Architecture: source
Version: 13.6.7-2
Distribution: experimental
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Pirate Praveen <praveen@debian.org>
Closes: 914989 944698
Changes:
 gitlab (13.6.7-2) experimental; urgency=medium
 .
   * Change dependency on ruby to ruby2.7
   * Regenerate Gemfile.lock before gitlab-sidekiq service start. Also provide
     gitlab-update-gemfile-lock command to manually regenerate Gemfile.lock
     (Closes: #944698, #914989)
   * Update minimum version of gitaly (for gitaly-git2go command)
Checksums-Sha1:
 824e6048ebbe8b835c4213ea3438ae11f33954c8 3716 gitlab_13.6.7-2.dsc
 7cdbc797ba9ce6d3843985035a386b821922c949 80796 gitlab_13.6.7-2.debian.tar.xz
 933efa6d12ba7c54284eb4140cc6fd849d5f837f 9028 gitlab_13.6.7-2_amd64.buildinfo
Checksums-Sha256:
 0c9b414da0111243448e6625ca80bd688e7217da6e15495e7f2ff0234903027b 3716 gitlab_13.6.7-2.dsc
 fb5d561b3dd1b368030974ad0038957dd5087e0479aa7263f3e0902e7561771a 80796 gitlab_13.6.7-2.debian.tar.xz
 c7dbdd5b11d0d84b2d69622a40960d55783392f5be8d3981c6eb0223c6a3917b 9028 gitlab_13.6.7-2_amd64.buildinfo
Files:
 8b3255b67d27ee202c1e376e774fe6a7 3716 contrib/net optional gitlab_13.6.7-2.dsc
 4b82ecd1439a7e0046f7c4e52bbb3e9c 80796 contrib/net optional gitlab_13.6.7-2.debian.tar.xz
 8963c7d68540be37f6efa940f523036a 9028 contrib/net optional gitlab_13.6.7-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0whj4mAg5UP0cZqDj1PgGTspS3UFAmAvhVoACgkQj1PgGTsp
S3Vv8w//ahGJdoKAGNqw3TEHfu5Axh1sEDnqY770uZgjxa7LJoxxPmONXI183SkS
7gxosYanIrt8ElgVfw9v6GXHTKY0K7idap3elNTPc+amxobAvUd1LoCdWnjINJlz
rjvSrgrobUsn8V5fCZmw3A/aklgJHZRyGDiW/zaABZEPmZ7kriD/fhw4AZ2aS2K5
pqumwtH2iWRY1v4DhOqTfDXWAv0cgtLV+OVF2fcohiR9tHHSVDkRFmbbisqOhPBS
mfw4JBVAiGk0GC2X2R4zprgEowhprb8tReOjOC20RON+M67eo4qtqDtnPcuW8ZW7
s/H9yUhRBtrpBhVSloYOHsQInhhQX5Uv4Gq0IhsHO7WXJkOp/0setkqidCrl8bKU
cWJaH6ysY3K8jVSKdwx8iIwmxW0eb93IODsqkR/gYiqt1ULZJ+T9jf7IxchWXRWl
lbmwQr/URwJZ0/6lT6c2P4R/gBbIAZOkVif2xHQgZs//3+F2nHiYXdrMi2LwtkE1
Kefoko35LrmoePctk+W404XlB6+djvtqcvEl0r+pfhE2x7NdfS73GyPPKRWihRVb
XI9nwTrxEEzMhtSpH2QjLZijLkxcuCDxsrxivZZk8Dhb861ZwPTHdNroZH7w5Swx
BoLXmt5STyDGQ5lqoKYp3mCqigcwmx3sPxtY74bxGEko6OiVvRk=
=scT7
-----END PGP SIGNATURE-----