fullstaq-ruby / fullstaq-ruby/server-edition

Use more powerful package versions

Open
#141 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
630
Forks
38
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

The package versions of e.g. `fullstaq-ruby-3.3-jemalloc` seem not to follow any Ruby version, which makes it impossible to use these for dpkg dependencies and still profit from automatic upgrades.

For example, we install our applications as Debian packages, and they have a dependency on a ruby interpreter, such as:

```
Depends: fullstaq-ruby-3.3-jemalloc
```

In some case, such as with the bootsnap bug in Ruby 3.3.1, would have a version constraint there, to limit ruby to known good versions, but since the fullstaq packages have versions such as `2-ubuntu-22.04`, this does not work.

**Describe the solution you'd like**

Best would be if the package version would follow the ruby version, since we could have a constraint such as this:

```
Depends: fullstaq-ruby-3.3-jemalloc (>= 3.3.2) | fullstaq-ruby-3.3 (>= 3.3.2)
```

The package must be built with a version like this: `3.3.2-2-ubuntu-22.04`.

**Additional context**

This does make package versions much more consistent with how package versions usually work and would help in many possible scenarios, such as APT pinning, update scanning, or repo mirroring.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Debian package build and versioning entry points for fullstaq-ruby-3.3-jemalloc and the non-jemalloc package. Check how the current 2-ubuntu-22.04 version is assembled. Done means generated packages use the Ruby version first, such as 3.3.2-2-ubuntu-22.04, while remaining installable through the requested dependency constraints.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.